Garry's Mod

Garry's Mod

评价数不足
TTT Random Traitor Count / Ratio
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
2.538 KB
2020 年 4 月 23 日 上午 11:05
2020 年 4 月 28 日 上午 10:48
3 项改动说明 ( 查看 )

订阅以下载
TTT Random Traitor Count / Ratio

在 Obunga 的 1 个合集中
TTT Collectie
40 件物品
描述
About
This addon randomizes the traitor count/ratio for the Trouble in Terrorist Town game mode.
It also won't notify the players about the amount of traitors set.

! Only the host/server needs to download this plugin !

Available commands
* rtc_minval: Min number of traitors ( def 1 ) rtc_usepercentage needs to be 0 for this to be enabled.
* rtc_maxval: Max number of traitors ( def 3 ) rtc_usepercentage needs to be 0 for this to be enabled.
* rtc_usepercentage: Use percentages instead of 'raw' player numbers ( def 0 )
* rtc_enabled: Enables or disables the addon ( def 1 )

Extra, instead of traitor numbers a traitor ratio can be used. This needs to be between 0.0 and 1.0
* rtc_minpct: Min traitor percentage (def 0.20) Traitor number is calculated by: player count * rtc_minpct rounded down. rtc_usepercentage needs to be 1 for this to be enabled.
* rtc_maxpct: Max traitor percentage (def 0.35) Traitor number is calculated by: player count * rtc_maxpct rounded down. rtc_usepercentage needs to be 1 for this to be enabled.
6 条留言
Luukullus 2020 年 6 月 30 日 上午 8:32 
Thank you for your quick answer (both).

It is working for me too. Also in TTT2.

but i realized, there are a few rounds without a random amount of traitors.
But is is working at all.

Thank you for your work :)
tomatosoup 2020 年 6 月 30 日 上午 5:35 
TTT2 uses the same stock variables as TTT, I'm using it on mine and it seems to work fine.
Obunga  [作者] 2020 年 6 月 30 日 上午 4:14 
@Luulkullus This is made for the original TTT. I have not tested this on TTT2
Luukullus 2020 年 6 月 29 日 上午 12:25 
Hey there. Is this working for TTT2?
Or better asked, does it work at all?

Would be vry happy to get an answer :).
tomatosoup 2020 年 5 月 28 日 上午 10:37 
Nevermind, found the GMA and took a peek, I understand how it works with the client side script now. Thank you so much for your work on this!
tomatosoup 2020 年 5 月 28 日 上午 9:53 
If you don't mind me asking, do you have the source code for this available somewhere? I was tearing my hair out trying to set up something exactly like this yesterday and could not for the life of me figure out how to suppress the convar servermsgs like this addon is doing.