Garry's Mod

Garry's Mod

55 평점
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

Time Traveling Fetus님의 2 모음집
TTF server
아이템 249개
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
Time Traveling Fetus  [작성자] 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(Embrace The Unknown ) 2017년 6월 28일 오후 12시 42분 
can you make this work for dark rp and sandbox ?
Time Traveling Fetus  [작성자] 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.
Time Traveling Fetus  [작성자] 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: