Garry's Mod

Garry's Mod

评价数不足
Advanced Draw Settings
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑, 风景
文件大小
发表于
6.081 KB
2022 年 7 月 8 日 下午 6:28
1 项改动说明 ( 查看 )

订阅以下载
Advanced Draw Settings

在 Klen_list 🎀 的 1 个合集中
[ServerContent] Bombass - Основная коллекция
15 件物品
描述

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 条留言
Koptevo 2022 年 11 月 5 日 下午 7:53 
Thanks for this thing.