Garry's Mod

Garry's Mod

评价数不足
[TTT/2] Last Stand [FEATURE]
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 卡通, 快乐
标签: misc
文件大小
发表于
更新日期
6.959 KB
2018 年 4 月 7 日 下午 7:49
2020 年 11 月 8 日 下午 1:03
4 项改动说明 ( 查看 )

订阅以下载
[TTT/2] Last Stand [FEATURE]

在 dhkatz 的 1 个合集中
LAN Party
208 件物品
描述
NOTICE: This Addon only works for the "Trouble in Terrorist Town" and "TTT2" gamemodes.

Features

This is a passive feature for TTT. When an Innocent is last alive, they can wait out an amount of time (configurable) and have a chance (configurable) to become a Detective.

Compatibility
This addon should not have any compatibility issues with other addons.

ConVars
- ttt_laststand_enable (def: 1) - Is the Last Stand feature enabled?
- ttt_laststand_chance (def: 1.0) - Chance the last Innocent will become a Detective. (0.0 - 1.0)
- ttt_laststand_time (def: 60) - Time (seconds) the Innocent must wait before becoming a Detective.
- ttt_laststand_credits (def: 2) - Number of credits the Innocent will receive upon becoming a Detective.
- ttt_laststand_multiple (def: 0) - Can more than one Innocent be turned into a Detective per round? (Ex: If a new Detective revives somebody and then dies.)
- ttt_laststand_strict (def: 0) - Do Innocents become a Detective if they killed an Innocent last?

Server Info
Add it to your server by following this guide: http://wiki.garrysmod.com/page/Server/Workshop

You can add the following items to your translation file, to translate this addon:
  • "laststand_name"
  • "laststand_alert"
  • "laststand_block"
  • "laststand_update"
  • "laststand_survived"
  • "laststand_cancel"

Thanks for reading, enjoy and have fun!

Source
The whole source code can be found on GitHub[github.com], feel free to contribute.
8 条留言
dhkatz  [作者] 2023 年 3 月 22 日 下午 4:20 
Thank you for the kind words. If you would like any changes or configuration options added to this mod let me know :)
TITAN 2023 年 3 月 22 日 下午 4:04 
dude your addons are fire finally found someone who makes stuff for detectives and innocents to challenge those OP traitor addons! Great work. :steamthumbsup:
dhkatz  [作者] 2020 年 11 月 8 日 上午 10:31 
The source code is now available on GitHub under the MIT license. https://github.com/gmod-workshop/ttt-laststand
dhkatz  [作者] 2020 年 11 月 7 日 下午 8:02 
Added better support for TTT2. A status icon now shows for the last alive innocent to show how long they have to wait before becoming a detective.

I also added the settings to the TTT2 ULX addons menu for easy configuring.
fskin 2018 年 4 月 10 日 上午 7:43 
Yeee this is mainly just a nitpick because I'm playing in sessions with 6-8 players mostly where it's fun to deceive the inno 'til the end.

I think even being able to customize the time 'til the detective transformation in relation to the amount of traitors would be cool.
dhkatz  [作者] 2018 年 4 月 9 日 下午 6:16 
@Skatcat I feel like if 2 Traitors are left against 1 Innocent, they're already just going to slaughter the Innocent in most cases. So I don't really see that as an issue in most cases.

However in the interest in making this better for everyone, what do you suggest that I do to combat the issue?

From what I can tell you want an option so you make it activate when there is only 1 Traitor and 1 Innocent. Have an option for 1v1s only?
fskin 2018 年 4 月 9 日 上午 7:17 
Cool idea!

Nitpick:

Could you make it configurable in regards to the amount of traitors left? Because let's say there's 1 inno and 2 traitors left but the last inno doesn't know there's 2 traitors, if he turns into a detective, he knows that only traitors are left.
Coolsurf6 2018 年 4 月 7 日 下午 9:52 
This actually seems like a good idea!

Lets hope it gets added!