Closed ZacharyDK closed 5 months ago
It would be useful to have a Dev option to force a ship to reconfigure. I.E. find all thrusters, powersource, recalculate weight, etc. Possibly pump out a log about what it did....
Upon further testing. Things seem to work fine when you load a save for the first time, but when you reload a save from the same Rimworld session, things break. Solution -> Close rimworld, reopen the save
Log
Exception drawing Blueprint_Install_ShipMoveBlueprint2775763: System.NullReferenceException: Object reference not set to an instance of an object at RimWorld.Blueprint_Install.get_Graphic () [0x0000e] in <0f44124915ec469b8a0ef6daf05b1c19>:0 at Verse.Thing.DrawAt (UnityEngine.Vector3 drawLoc, System.Boolean flip) [0x00000] in <0f44124915ec469b8a0ef6daf05b1c19>:0 at Verse.Thing.Draw () [0x00015] in <0f44124915ec469b8a0ef6daf05b1c19>:0 at Verse.ThingWithComps.Draw () [0x0000e] in <0f44124915ec469b8a0ef6daf05b1c19>:0 at Verse.DynamicDrawManager.DrawDynamicThings () [0x000d8] in <0f44124915ec469b8a0ef6daf05b1c19>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string) Verse.DynamicDrawManager:DrawDynamicThings () (wrapper dynamic-method) Verse.Map:Verse.Map.MapUpdate_Patch3 (Verse.Map) (wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game) Verse.Root_Play:Update ()
Behavior
go to map with 2 pawns on the planet, and launch ship. Select an area to place your ship. Then nothing happens.
Upon saving and reloading, launch button is disabled because "missing critical ship component, rocket engines." Except the ship has 5 nuclear rocket engines...
Additionally, when trying to capture a ship I get no fuel warning. Despite there being fuel in the engine. This warning is inconsistent, and I was able to somehow capture the ship. Othertimes I would place the capture marker but nothing would happen.
Two saves are uploaded. WarpSpeedX - before successful capture WarpSpeed - after successful capture. Somehow.
Turns out I can't launch any ship from the planet anymore. Have a look around and try launching the ships with AI cores. I did update from a slightly older version....
WSSaves.zip