Garry's Mod

Garry's Mod

Otillräckligt med betyg
TTT Base Grenade Update
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Map
Addon Tags: Fun, Realism
Filstorlek
Lades upp
Uppdaterades
71.729 KB
26 mar, 2020 @ 15:55
7 apr, 2020 @ 10:25
5 ändringsnotiser ( visa )

Abonnera för att ladda ner
TTT Base Grenade Update

I 1 samling av Karate Walrus
Titan TTT
70 artiklar
Beskrivning
==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
6 kommentarer
Karate Walrus  [skapare] 6 jun, 2020 @ 13:18 
feel free
PlatynumGhost 2 jun, 2020 @ 15:51 
I really appreciate your addon could i contact you privately to ask you 2 things?
Karate Walrus  [skapare] 8 apr, 2020 @ 21:45 
welcome
Jasorn 8 apr, 2020 @ 21:42 
yes, works now thanks!
Karate Walrus  [skapare] 8 apr, 2020 @ 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 apr, 2020 @ 20:06 
ERROR: BaseGrenadeProjectile explosion code not overridden!