branchrust_reboot/main/show_sprinkler_rangecancel
23 Commits over 0 Days - ∞cph!
Added convar to allow enable/disable
Remove unneeded ddraw commands
Fixed inaccurate sprinkler radius
Fixed volume guide being slightly offset towards the player
- Huge code cleanup
- Ensure spheres and hemisphere prefabs can be correctly swapped between
Volume guide now disables properly when turning off
Further heater zone placement refinements
Corrected some incorrect heater growable sizes
Corrected a bunch of incorrect visual sprinkler radius size calculations
Ensure sphere prefab loads into memory correctly
- Proper prefab based volumes support
- Ensured prefab scales properly
Setup volume prefab support
more crappy volume changes
- show area of electric heater
- more accurate sprinkler radius
- can see volume materials when inside it
- sprinkler and heater scales are now mulitplied by the actual replicated convar values
- Allow reversing of volume rotations
- Scale volume based on sprinkler radius if used with sprinkler
Fix errors with deploy guides that dont have volume renderers
Shader and colour refinements. Added hemisphere support
Setup a scrolling diagonal material
Show range with a custom material. Use Graphics.DrawMesh rather than spawning an actual prefab. Cach property block, mesh and material stuff on the guide renderer
Moved the code into deploy guide renderer instead
When placing a sprinkler, a sphere will now be visible indicating its range