Garry's Mod

Garry's Mod

70 ratings
Prop Traffic Decreaser Script
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay, Realism
File Size
Posted
Updated
4.081 KB
21 Jan @ 5:52pm
13 May @ 9:25am
4 Change Notes ( view )

Subscribe to download
Prop Traffic Decreaser Script

Description
QoL Script that adds the EFL_NO_THINK_FUNCTION engine flag to props each time on map boot and admin cleanup, preventing them from "thinking" as long as they exist. Affecting props that aren't named, parented or are unused by the map in any form for anything critical (such as a door with animations)

Screenshot taken in gm_engarde with 715 dynamic and 593 physics props present.

Commands:
sv_autoCeaseGlobalPropThinking 60 | set to 0 to disable the automatic thinking halt cycle
CeaseGlobalPropThinking | Command to manually disable thinking of props

More QoL addons

Tags: FPS Booster
14 Comments
NextKurome76TheSoldier 13 May @ 11:44am 
fixed
>KB> >KEKSQUAD 12 May @ 11:36pm 
[Prop Traffic Decreaser Script] lua/weapons/gmod_tool/stools/thinkceaser.lua:24: attempt to index global 'v' (a nil value)
1. LeftClick - lua/weapons/gmod_tool/stools/thinkceaser.lua:24
2. unknown - gamemodes/sandbox/entities/weapons/gmod_tool/shared.lua:235
NextKurome76TheSoldier 9 May @ 5:45pm 
try it now
>KB> >KEKSQUAD 9 May @ 3:57pm 
Anything that can make it runnable from panel would be great really
NextKurome76TheSoldier 9 May @ 12:34am 
I could try turning it into an convar instead of an command, which would eliminate the check and allow me to probably repurpose it for something like a check cycle
NextKurome76TheSoldier 9 May @ 12:21am 
I cant verify if the player is an admin otherwise if i were to get rid of the check
>KB> >KEKSQUAD 8 May @ 11:42pm 
This should be runnable from server console, because I get an error that seems to imply a superadmin has to run it from their client console or it won't work.
DexT25 23 Feb @ 6:51am 
can you make a mod that makes the rpg from half life 2 not remote guided just like the one from half life 1?
Fighter_Builder 27 Jan @ 11:30pm 
the prop lobotomizer

jokes aside, great addon 👍
Rutas_Vadec 27 Jan @ 10:02am 
@siobhan >ω< most nextbots lags is due to the navmesh and the target itself if the target either an npc or a player is on an area without navmesh the nextbot will just tweak and make the game lag