Garry's Mod

Garry's Mod

70 个评价
TTT: Death Faker
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
文件大小
发表于
更新日期
3.638 KB
2016 年 10 月 22 日 下午 12:51
2017 年 7 月 3 日 上午 5:19
6 项改动说明 ( 查看 )

订阅以下载
TTT: Death Faker

描述
Nothing special.
Just a death faker for the famous gamemode Trouble in Terroristtown.

You can change the death reason by clicking the Reload-Key.
Primary Key will throw the fake body.
If you enable role changing, then your Secondary-Key

This death faker works even if you are using addons like the Spectator Deathmatch or any other addon that modifies the scoreboard!

It should work with almost every addon.
If you encounter any problems with some addons, contact me and I'll see what I can do to fix the problems.

GitHub Repository: https://github.com/markusmarkusz/ttt_death_faker

ConVars
ttt_df_allow_role_change
Set to "1" if you want to enable that traitors can change their role.

Hooks
FakedDeath(Player, Role)
Player is the player who used the Death Faker.
Role is the role of the body (important, if the change of the role has been allowed).
The hook is internally used for the DamageLog Message for Tommys DamageLog.

Tommy228's TTTDamageLogs
You can find his DamageLog Addon here:
https://github.com/Tommy228/TTTDamagelogs
http://facepunch.com/showthread.php?t=1416843
24 条留言
Carnivorous Belly Button 2022 年 8 月 17 日 下午 4:53 
So, I have been looking for a death faker, and I found this is pretty good. The only issue I found is that it seems to have issues when using custom player models.
lavalamp 2020 年 4 月 15 日 下午 2:42 
how use this
markusmarkusz  [作者] 2017 年 8 月 16 日 上午 5:40 
Don't edit any lua files if you don't know what you're doing.
Just set the ConVar "ttt_df_allow_role_change" to "1".
Noelroma 2017 年 8 月 14 日 上午 10:57 
How can I change the role now as traitor, I changed in in the lua file
Avalon 2017 年 6 月 15 日 下午 3:26 
Will do.
markusmarkusz  [作者] 2017 年 6 月 15 日 下午 3:13 
You can send me this addon via a private message.
Then I can look at it and see what can be done. :)
Avalon 2017 年 6 月 15 日 上午 9:06 
Tried to edit a lot of different stuff but nothing seems to be working when it comes to the player icons when using the "ttt custom ui" addon. I noticed the same thing with different ui addons as well. It only seems to be working with the regular ui.
Avalon 2017 年 6 月 15 日 上午 7:39 
Found the reason why it's not working. It's the addon "TTT custom ui".
markusmarkusz  [作者] 2017 年 6 月 15 日 上午 7:06 
The icon should work, I haven't seen any problems.
markusmarkusz  [作者] 2017 年 6 月 15 日 上午 3:17 
Role change has to be enabled by setting the ConVar "ttt_df_allow_role_change" to 1.
Then you can change to role by using your key for secondary attack.

No, the question mark as icon isn't normal. Actually, it should work. I'll look at it again.