Garry's Mod

Garry's Mod

53 értékelés
TTT Dead Man's Switch Bomb
   
Díjazás
Kedvenc
Kedvenc
Törlés
Content Type: Addon
Addon Type: Weapon
Fájlméret:
Közzétéve:
Frissítve:
548.578 KB
2017. jún. 22., 14:51
2017. szept. 18., 16:55
6 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
TTT Dead Man's Switch Bomb

2 TTF készítette gyűjteményben
TTF server
251 elem
Reduced content collectin
138 elem
Leírás
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 megjegyzés
dabing kingdom 2019. aug. 27., 17:43 
Why
DaVid | 苔蘚 2019. máj. 31., 13:18 
finaly found it... allah i needed it... dont ask why
TTF  [készítő] 2018. júl. 8., 14: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. júl. 8., 0:06 
its black and pink what do i need?
Drake Wyrm Silverwing 2017. jún. 28., 14:57 
ooh i realy like this idea!:floweyevil:
NecroDamer(Praise the Hive) 2017. jún. 28., 12:42 
can you make this work for dark rp and sandbox ?
TTF  [készítő] 2017. jún. 25., 13: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. jún. 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  [készítő] 2017. jún. 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. jún. 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: