3,108 Commits over 915 Days - 0.14cph!
Fix icelake showing a 1m red sphere in middle
- caused by no buillding blocked for the "monument" so it defaults to 1m instead of being disabled
Show "Can't place on monument" when trying to place barricades onto concrete inside monument instead of `Failed Check: Sphere Test ( "assets/blah/blah/blah" )`
- work with detailed error mode
Merge main -> fix_barricade_building_error
Fix invoke NRE caused when trying to fix a different InvokeHandler NRE
Fix barricades showing the long debug error of "Not In Terrain" to normal players
- switch from admin check to convar`detailed_building_errors` to turn on debug building error messages
Fix console spam from mixing table loot panel
Prevent barricades, seeds & ladders from showing the building blocked outline around monuments
Fix ladders being placeable inside monuments
Fix NRE when teammate's building guide is near certain building blocked volumes
Implement lerping to smooth the 10hz update rate of teammates building guide
- fix player guides being removed & recreated every update (due to client team comparison)
- snap to last position whenever building prefab is changed
- fix building guide not disappearing when going to sleep
Fix rocket consuming ammo before EyeHack is checked, causing rocket to be consumed even though nothing was fired
merge from qol_show_teammate_building_guide -> aux2
merge from allow_barricades_monuments -> aux2
Attempt #3 to get the monument of a collider, keeping in mind that client builds split the monument into a flat hierarchy so we can't just look for the MonumentInfo in the parent
- fast path is see if the `prevent_building` collider is already tagged
- slow path is using a physics cast to search for `prevent_building`
- caches to avoid falling back on the slow path every time
Pass null when checking IsInvoking() instead of getting a profiler key
Fix NRE in profiling key creation if an entity is killed while an invoke is happening
Merge from main -> allow_barricade_monuments
Add "Building Guide Preview" to options menu
- Always
- When Building (default)
- Disabled
Split off code into static class BuildingGuideManager.cs instead of inside Planner (where there can be multiple)
Start adding convar
Merge from main -> qol_show_teammate_building_guide
Reduce F15 flyby volume by 45%
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
merge from allow_barricades_monuments -> aux2
Merge from main -> allow_barricades_monuments
Cache if a collider is part of a monument with `MonumentColliderTag` component(so it works in standalone builds)
merge from main -> allow_barricades_monuments
Show building guide of teammates
- must be holding building plan yourself to see your teammate's guide
https://files.facepunch.com/jakerich/Hx1lUhI4usjugLyn/hfjwskjS6uxH0G4x.mp4
Fix incendiary ammo not requiring BP for mixing table
Fix odd item amounts splitting properly
Fix splitter not resetting when dragging items onto your selected item stack
Fix item split slider resetting every time you split an item
- still resets to half if you split off half or more of a stack
https://files.facepunch.com/jakerich/aDIXKDjIfFRGE61D/FlMW109GZ8dB41WI.mp4
Attempt #2 taking into consideration all deployables use the same planner entity
- fixes stuck placing building block when trying to place mixing table
merge from main -> fix_planner_reset_construction
Fix NRE when loading into server
Fix NRE when switching servers
- caused by not removing from static List when monument is destroyed
merge from allow_barricades_monuments -> aux2
Apply same treatment to stone, concrete & sandbag barricades (can't place on monument concrete, can place on the terrain)
Wooden barricade only buildable on the terrain parts of a monument, block it on all the concrete parts of a monument
https://files.facepunch.com/jakerich/fyl41vRDD6IA5gyt/BM9AhaPzcWubIRbQ.mp4
merge from main -> qol_building_blocked_visual
merge from main -> allow_barricades_monuments
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