branchrust_reboot/main/satellite_crashcancel
81 Commits over 92 Days - 0.04cph!
Briefly show an "unsuitable location" error popup
Focus map on final targeting position when locking in.
Rework thruster debug labels so they fit nicely.
Disable thruster UI buttons for tried & failed thruster actions. Synch when remounting too.
Cache failed thruster type attempts from current targeting location.
Check cache before doing any thruster attempts (and the expensive checks) from the current location. Clear when moving to a new location.
Add some super lenient dismount positions to targeting computer to make my life easier.
Convar'd and refactored a bunch of stuff for easier tweaking and testing.
Don't recent the targeting area on the final impact location when position is calculated, keep it at the last target location.
Instead, show a map debug icon at the exact final location for testing.
Split EvaluateCrashSpot into sub functions ready for further changes.
Add profiling to each.
Add debug logging behind a convar for satellite crash location calculations
Fixed issue allow random position to fall outside of the targeting radius.
Reworked to also be more random and less weighted around center of targeting radius.
Fix rotation/offset bug now I can actually see what the thrusters are meant to be doing.
Added ConVar.Satellite.show_thruster_effects to toggle editor debug display.
Some wip refactor/cleanup.
Thruster UI button tweak to allow for the extra text
Show the thruster effect type in thruster UI when client+server for easier testing.
Don't seen anything at all except thruster labels to the client for consistency + security.
Refactor/rename for more obvious separation of targeting and final calculation positions.
Add free fuel servervar for easier testing.
Codegen.
Determine the exact crash location within the radius as soon as target is locked.
Initial avoidance wip.
Refactor to cache calculated crash position instead of recalculating it needlessly.
Serialze te cached position too.
Refactor SatelliteCrash serialization to use it's own new protobuf message too.
Add SatelliteControlComputer protobuf definition.
Serialize shit
Tweak placeholder remains size/pos/rot
Added crash remains prefab/entity script.
Hook up to satellite prefab.
Setup spawning an impact entity on impact so I can assign one later (crashed satellite version)
Shrink/expand thruster actions don't consume fuel if already at min/max. Shrink doesn't do the movement nudge in this situation either.
Fix lock trajectory token
Delete old SatelliteOrbit prefab
Satellite kills players on impact. Added killRadius and debug draw.
Fix fuel cells draining in wrong order
Rework/refcactor calcs.
Add convar'd initial offset range. This also means the rotate thruster effects will be visible from the go.