- What permissions do you give others to modify and/or maintain your submission?
- Modify: YES - Maintain: YES - I give permission for my entire submission to be modified by others or used in their own work. I give permission for my entire submission to be maintained by others as well.
This lua script reduces lag from maps significantly by deactivating all objects on spawn and only activating them while they're within a certain radius of any player. Objects activated by proximity will deactive a few seconds after the player leaves the radius.
Use the
Technically works in multiplayer but with diminishing returns based on player count. Will probably actually make lag worse with a high amount of players.
If you want to change the activation range modify the
Demonstration (activation radius for visibility):
Use the
perfstats 2
and ps_samplesize 175
console commands to compare map performance.Technically works in multiplayer but with diminishing returns based on player count. Will probably actually make lag worse with a high amount of players.
If you want to change the activation range modify the
dist
variable in the script.Demonstration (activation radius for visibility):