Garry's Mod

Garry's Mod

Nedostatek hodnocení
TTT Base Grenade Update
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: Map
Addon Tags: Fun, Realism
Velikost souboru
Přidáno
Aktualizováno
71.729 KB
26. bře. 2020 v 15.55
7. dub. 2020 v 10.25
Poznámky ke změnám (5) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
TTT Base Grenade Update

V 1 kolekci od uživatele Karate Walrus
Titan TTT
70 položek
Popis
==About Me==
I could use some help. I'm very sick and need medical treatment that isn't covered by insurance -
https://gofund.me/7dc2a010
and youtube.com/feoleb is whats going on with me in general

This addon is only for Trouble in Terrorist Town Gamemode.
This updates the weapon_tttbasegrenade.lua file so that all of the grenades using it (smoke, fire, discombob, some workshop grenades) will pull the pin properly and show throwing animations as well. I also added throwing sounds.


server convars:
ttt_no_nade_throw_during_prep - default is 0. If you replace that with 1 then nobody will be able to throw grenades until the round starts.
ttt_grenade_toss_sound - default is normaltoss.wav, but you can change it to retross.wav on the server or in console.


If there are any issues feel free to let me know.

The 1st person animations line up well with the grenade release but third person aren't as precise. This is because both animations end at the same time, but the third person animation is slower to complete. If I can figure out a way to speed up that world animation then it will look precise as well. It's not bad though.

The server does need this. It's not clientside.

If you want to test it out on a map yourself, load up a ttt map using gamemode ttt instead of sandbox, open a console (ctrl + ~) and type the following:
ttt_minimum_players 1
ttt_debug_preventwin 1
ttt_firstpreptime 0
ttt_preptime_seconds 0
Then if you die you can type ttt_roundrestart to respawn
Počet komentářů: 6
Karate Walrus  [autor] 6. čvn. 2020 v 13.18 
feel free
PlatynumGhost 2. čvn. 2020 v 15.51 
I really appreciate your addon could i contact you privately to ask you 2 things?
Karate Walrus  [autor] 8. dub. 2020 v 21.45 
welcome
Jasorn 8. dub. 2020 v 21.42 
yes, works now thanks!
Karate Walrus  [autor] 8. dub. 2020 v 21.23 
Hey I accidentally messed up the lua at some point. I deleted line 14 on the discombob as it was in the wrong place. Everything good now?
Jasorn 8. dub. 2020 v 20.06 
ERROR: BaseGrenadeProjectile explosion code not overridden!