Garry's Mod

Garry's Mod

评价数不足
[TTT] Jester Emulator
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件标签: 快乐, 角色扮演
文件大小
发表于
19.218 KB
2020 年 5 月 8 日 上午 11:44
1 项改动说明 ( 查看 )

订阅以下载
[TTT] Jester Emulator

在 beans? 的 2 个合集中
GMOD 4 big bois
201 件物品
beans?'s TTT addons
4 件物品
描述
Note: This addon only works with trouble in terrorist town (TTT). This addon works best with addons that introduce a jester or similar role, like Custom Roles for TTT or Town of Terror.

Description
This weapon is purchasable by traitors from the buy menu. While looking like an M16, it does no damage upon firing. This allows the traitor to mislead other terrorists into thinking they are the jester (or similar), lulling them into a false sense of security.

Acknowledgements
This is my first addon for Garry's mod and I mostly used it to start to learn lua coding. It's honestly pretty straightforward; it took me more time to make the icon and work out how to upload to the workshop.

Check out my other addons.

If you have any comments, improvements or bugs that need fixed let me know!
(also please rate up if you like it <3)

4 条留言
Malivil 2023 年 4 月 4 日 下午 5:51 
Hi, I noticed an issue with how this is set up. Since the code for it is in "entities/weapons/shared.lua" which is a common path, it's being overwritten by some other addon. This makes it so this gun doesn't get loaded and doesn't show in the shop.

The fix is pretty easy, you just have to rename "shared.lua" to something like "weapon_ttt_jestergun.lua".
Also while you're in there, can you please change "SWEP.Primary.Automatic = false" to "SWEP.Primary.Automatic = true" so it's full-auto like the real M16?

Thanks =)
faye 2022 年 5 月 6 日 上午 4:33 
This is a really cool idea! Is it possible to update it to be a fully automatic M16 though? Currently it's single fire, which can make it a bit obvious if someone shoots. Traitors can also be told to "shoot the gun fast" and if they can't, people know they're a traitor
pawel99uk 2022 年 2 月 15 日 上午 10:12 
what about ttt2 jester?
♪ Gormi 2020 年 8 月 6 日 下午 2:22 
Could you edit it so you are able to hold left click to shoot, like with the normal M16?