Garry's Mod

Garry's Mod

53 次評價
TTT Dead Man's Switch Bomb
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: Weapon
檔案大小
發佈於
更新時間
548.578 KB
2017 年 6 月 22 日 下午 2:51
2017 年 9 月 18 日 下午 4:55
6 項更新註記 (檢視)

訂閱以下載
TTT Dead Man's Switch Bomb

在 TTF 的 2 個收藏中
TTF server
251 個項目
Reduced content collectin
138 個項目
描述
This is a traitor weapon that explodes when you die or let go of the switch.
Left click (or primary attack) primes the bomb.
Dying while the bomb is primed causes an immediate large explosion (2x radius of incendiary bomb's initial explosion)
Holstering a primed bomb causes bomb to spark and explode with less damage and a smaller radius after a short time.
Dropping a primed bomb does the same as holstering, but the user will only die if they are near the dropped bomb when it explodes.

You'll need CSS textures installed unless you're ok with it having black and pink textures
10 則留言
dabing kingdom 2019 年 8 月 27 日 下午 5:43 
Why
DaVid | 苔蘚 2019 年 5 月 31 日 下午 1:18 
finaly found it... allah i needed it... dont ask why
TTF  [作者] 2018 年 7 月 8 日 下午 2:19 
you need CSS textures. I'd link you to a video to explain how to install them but steam is blocking the link so google it i guess.
Adrian 2018 年 7 月 8 日 上午 12:06 
its black and pink what do i need?
Drake Wyrm Silverwing 2017 年 6 月 28 日 下午 2:57 
ooh i realy like this idea!:floweyevil:
NecroDamer(Praise the Hive) 2017 年 6 月 28 日 下午 12:42 
can you make this work for dark rp and sandbox ?
TTF  [作者] 2017 年 6 月 25 日 下午 1:38 
wow i didn't even think about that. i feel foolish. this is my first script so i'm still trying to become familiar with gmod's code
Hagen 2017 年 6 月 25 日 上午 9:52 
SetNWEntity would have worked, and its not documented due to being a part of TTT, you can try for yourself or look in the code on github.
TTF  [作者] 2017 年 6 月 25 日 上午 9:33 
Thank you! I can't seem to fine the PreDrop hook on the wiki. Is it not documented or is it part of an addon? And yes, the game seems to read the entity's identification as an entity rather than a string, which is lucky for me because i couldn't think of a simpler way to identify the owner after self.Owner becomes null
Hagen 2017 年 6 月 25 日 上午 2:12 
Actually really good code and comments! I like it :D But just a quick note, in TTT there is SWEP:PreDrop() which gets called a little before the Weapon gets dropped. And is this whole NWString thing working? Because I never knew you could send Entites with a string o: