Garry's Mod

Garry's Mod

Not enough ratings
Advanced Draw Settings
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Scenic
File Size
Posted
6.081 KB
8 Jul, 2022 @ 6:28pm
1 Change Note ( view )

Subscribe to download
Advanced Draw Settings

In 1 collection by Klen_list 🎀
[ServerContent] Bombass - Основная коллекция
19 items
Description

Allows you disable the drawing of certain constrains types.
Now supported: rope-based constrains, trails.
Hiding map constraints such as rope is also supported (check ConVar info).





How this works
The constrains drawing is caused by engine entities such as keyframe_rope and env_spritetrail, this addon allows you to tell the server: "Hey, don't send me information about these objects", which makes these entities disappear from your client-side with their rendering. Network load is also the reason why it was impossible to do with the usual disabling of rendering on the client-side.


How to use it
Open context menu (hold C), open submenu "Drawing" at topbar and toggle needed.
Also you can open SpawnMenu -> Utilities -> User -> Advanced Draw Settings.

ConVars
Realm
ConVar
Default Value
Destiny
Server
ads_net_cooldown
1
Max cooldown in seconds after applys ADS settings on server-side for one client (Min - 0.1, Max - 300)
Client
ads_applytomapents
0
Allow ADS apply your draw settings to entities created by map (like ropes at power lines) [0 = disallowed]
Client
r_drawropes2
1
Should draw rope-based constrains? [0 = disable draw]
Client
r_drawtrails
1
Should draw trails constrains? [0 = disable draw]

Known issues
When you change your client settings too quickly, they may not be applied, this is due to in-addon network anti-flood protection, you can lower the value of ads_net_cooldown convar to avoid this, but it is not recommended to do for public multiplayer servers.



[github.com]



Tags: Draw Extended Disable Render Rope Trail Settings
1 Comments
Koptevo 5 Nov, 2022 @ 7:53pm 
Thanks for this thing.