branchrust_reboot/main/qol_io_arrowscancel
29 Commits over 31 Days - 0.04cph!
Fix telephone and CCTV camera port arrows not working
merge from main -> qol_io_arrows
Fix IO arrows casting shadows
Fix the sound DLC "sound light entity" IO arrows appearing in the wrong place because the renderering component was attached to the MeshRenderer child Transform instead of the DeployableGuide parent Transform
Fix IO arrows not updating when plugging in a wire
Fix fluid combiner, flasher light, sprinkler, boombox, speaker & microphone stand ports
Fix weapon rack not showing ports while deploying
merge from main -> qol_io_arrows
Add ability for IO arrows to be offset per port
- made water barrel top arrow offset to make it easier to see
Handle entities that have IO implemented as a separate child entity
- calculate the offset between the child & parent
- manually offset IO ports to account for this
Fix elevator and fluid splitter
Fix arrows trying to render when the IO port doesn't have a direction configured and flooding F1 console with warnings
Fix & add IO port directions on a bunch more IO entities
Fix compile errors on CLIENT and SERVER
Add io arrow accessibility settings to options menu
- already existed as convars but weren't in menu
Change from DDraw for arrows to using real meshes for arrows
- still uses ddraw when editing IO entities in scene view
merge from main -> qol_io_arrows
Hook up accessibility color options
Cleanup and fix debug spam
Hook up convars for configuring if arrows should show for deploy guide, on deployed entities or both
- now a different convar for if it should show important ports or all ports
Fix ports & arrows not working with the deploy guide when the mesh is scaled
- hard to spot because it worked on deployed entities but not with the deploy guide
Show the white cubes and arrows when deploying IO entities too
Configure a bunch more prefabs & configure important vs unimportant ports
Fix water IO ports not working
High priority ports will show regardless of being marked as "main power"
Reposition industrial conveyor electrical ports so power in & out is on top & sensor outposts are on the bottom
- did while marking direction of each port
Mark certain IO ports as higher priority, only show the important ports by default
- main input, output & passthrough power considered important by default
- `io_arrow_mode` convar to control behavior
DDraw arrows in & out of IO ports when looking with a wire tool
Show IO port direction as an arrow instead of a line in the editor gizmo
Configure a direction for every IO port for every deployable IO entity