Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - WolfoftheWest

#1
I'm making a new Shuttle for SOS2, but every time i try to launch the shuttle it removes all fuel, deletes the cargo/occupants, and throws this error

Root level exception in OnGUI(): System.InvalidCastException: Specified cast is not valid.
  at RimWorld.CompShuttleLaunchable.TryLaunch (RimWorld.Planet.GlobalTargetInfo target, RimWorld.Planet.TransportPodsArrivalAction arrivalAction) [0x00500] in <a8039eeba20243a5931287784964ef0d>:0
  at RimWorld.CompShuttleLaunchable.ChoseWorldTarget (RimWorld.Planet.GlobalTargetInfo target) [0x009f1] in <a8039eeba20243a5931287784964ef0d>:0
  at RimWorld.WorldTargeter.ProcessInputEvents () [0x00040] in <c36f9493c9844ddaa7fb5c788416098f>:0
  at RimWorld.WorldInterface.HandleLowPriorityInput () [0x00007] in <c36f9493c9844ddaa7fb5c788416098f>:0
  at RimWorld.UIRoot_Play.UIRootOnGUI () [0x000c9] in <c36f9493c9844ddaa7fb5c788416098f>:0
  at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)

I'm assuming that its telling me that I'm missing an "arrival" def, but I haven't found one in Save Our Ship 2's files to use as a base, so I'm requesting help
#2
Support / Save Our Ship 2 Shuttle Mod Help
April 04, 2021, 05:02:11 PM
I'm making a Save Our Ship 2 addon mod that adds a new type of shuttle, but whenever I try to launch the shuttle it removes all fuel from it's fuel capacity, deletes the cargo, and throws up this error

Root level exception in OnGUI(): System.InvalidCastException: Specified cast is not valid.
  at RimWorld.CompShuttleLaunchable.TryLaunch (RimWorld.Planet.GlobalTargetInfo target, RimWorld.Planet.TransportPodsArrivalAction arrivalAction) [0x00500] in <a8039eeba20243a5931287784964ef0d>:0
  at RimWorld.CompShuttleLaunchable.ChoseWorldTarget (RimWorld.Planet.GlobalTargetInfo target) [0x009f1] in <a8039eeba20243a5931287784964ef0d>:0
  at RimWorld.WorldTargeter.ProcessInputEvents () [0x00040] in <c36f9493c9844ddaa7fb5c788416098f>:0
  at RimWorld.WorldInterface.HandleLowPriorityInput () [0x00007] in <c36f9493c9844ddaa7fb5c788416098f>:0
  at RimWorld.UIRoot_Play.UIRootOnGUI () [0x000c9] in <c36f9493c9844ddaa7fb5c788416098f>:0
  at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root)

I'm assuming that its telling me that I'm missing an "arrival" def, but I haven't found one in Save Our Ship 2's files to use as a base, so I'm requesting help