branchrust_reboot/main/gunshot_network_range_improvementscancel

15 Commits over 0 Days - Infinitycph!

1 Year Ago
Ensure the AK variants have the same sound range as the base ak
1 Year Ago
Bolty, HMLMG, L96, M249 and Minigun can be heard from 600 meters away
1 Year Ago
LR and AK can be heard from 500 meters away
1 Year Ago
Restored bolt and l9 to be 700 meters
1 Year Ago
All weapons can now be heard up to 400 meters away (50~ meters higher than regular network range)
1 Year Ago
Improve performance of BaseNetworkable::GetConnectionsWithin() by using a spatial grid to reduce the amount of players we need to check - rather than iterating over every player connection
1 Year Ago
main -> gunshot_network_range_Improvements
1 Year Ago
Remove logs
1 Year Ago
Bolty and l96 can be heard from up to 700~ meters away Max before was around 350
1 Year Ago
main -> gunshot_network_range_improvements
1 Year Ago
Fixed a bug causing simple signal broadcast happen when it should be the more complex one More debug logging
1 Year Ago
Set MP5 high for the same reason
1 Year Ago
Every projectile weapon now has a maximum effect distance that the effect can be heard Set the bolt to an insanely high value (FOR TESTING - NOT FINAL)
1 Year Ago
Effects can now be provided with a max distance If this new max distance is provided then we will do an additional distance check to see if the effect should be sent to any connection within the new max distance Eg effect will check distance to see if the other player is close enough regardless of default network range
1 Year Ago
Add in convar to enable/disable long distance sounds, force the longer ShouldNetworkTo entity signal check if i or occlusion are enabled