branchrust_reboot/main/qol_building_blocked_visualcancel
14 Commits over 0 Days - ∞cph!
Finally fix building blocked guides not showing in standalone builds
- find the largest volume before PreProcess destroys the heirarchy
Merge from main -> qol_building_blocked_visual
Fix NRE when loading into server
Fix NRE when switching servers
- caused by not removing from static List when monument is destroyed
merge from main -> qol_building_blocked_visual
Fix unity somehow removing "Show Building Blocked" I added to the options menu
Don't show red building boundary around substations inside monuments (only outside or on edge)
Only show building blocked to 100m from outside of border and 15m inside of border of building blocked
- convar to modify distance `building_blocked_preview_distance`
Mark `show_building_blocked` as a saved convar
Expose `Show Building Blocked` in the options menu
Add `show_building_blocked` convar to disable the building preview on client
Add `show_building_blocked_server` replicated convar so servers can turn off the feature (if needed for modding)
Codegen
Increase height of supermarket building blocked box to clip underground slightly (like the sphere did)
Change supermarket to only a single square `prevent_building` collider
- removed the extra sphere collider but resized the square to be the same overall shape
S2P supermarket
Show building blocked of monuments with the BR sphere effect
- will only show monuments & caves (not roads or rails)
- only will show when holding building plan
https://files.facepunch.com/jakerich/IgNQuA7CXFEAEXaM/1TDceAwIsJp7iV7A.mp4