branchsbox-deathmatch/maincancel
10 Commits over 31 Days - 0.01cph!
Revert "Improve player spawn performance" so we can optimize for go clone/creation performance
This reverts commit 318474ee16bf9e057c1e8fbc8e2ee7877cf4dcd2.
Improve player spawn performance, by enabling/disabling player go instead of destroy/create
Before:
Function Name: GameManager.SpawnPlayer
Number of Functions: 22
Average: 9ms 448µs
Median: 8ms 353µs
After:
Function Name: GameManager.SpawnPlayer
Number of Functions: 21
Average: 4ms 945µs
Median: 4ms 870µs
Copy bone scale from GameObject instead of internal bone
Can't use TryGetBoneTransform because it still holds the old transform (before gibbing)
Fixes: sbox-deathmatch/issues/129
Remove duplicate key to fix resource compilation
Fix NRE for gluon gun, happened if player died before RPC was processed.
Fixes sbox-deathmatch/issues/121
Gluon Hose Shader
https://files.facepunch.com/lolleko/2025/February/07_14-11-LavishTinamou.mp4
Move some files
Spawn players at the spawn point furthest away from other players
Optimize Player.Inherit 2.3ms -> 300μs.
Could probably still be optimized more.
Fix damage indicator showing for local player when shooting bots
Merge branch 'main' of sbox-deathmatch
Make bots shoot at players and other bots
Add basic bots can be spawned via `bot_add <count>`