Garry's Mod

Garry's Mod

Not enough ratings
TTT Base Grenade Update
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Map
Addon Tags: Fun, Realism
File Size
Posted
Updated
71.729 KB
26 Mar, 2020 @ 3:55pm
7 Apr, 2020 @ 10:25am
5 Change Notes ( view )

Subscribe to download
TTT Base Grenade Update

In 1 collection by Karate Walrus
Titan TTT
70 items
Description
==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 Comments
Karate Walrus  [author] 6 Jun, 2020 @ 1:18pm 
feel free
PlatynumGhost 2 Jun, 2020 @ 3:51pm 
I really appreciate your addon could i contact you privately to ask you 2 things?
Karate Walrus  [author] 8 Apr, 2020 @ 9:45pm 
welcome
Jasorn 8 Apr, 2020 @ 9:42pm 
yes, works now thanks!
Karate Walrus  [author] 8 Apr, 2020 @ 9:23pm 
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 @ 8:06pm 
ERROR: BaseGrenadeProjectile explosion code not overridden!