Garry's Mod

Garry's Mod

评价数不足
TTT Base Grenade Update
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 地图
插件标签: 快乐, 写实
文件大小
发表于
更新日期
71.729 KB
2020 年 3 月 26 日 下午 3:55
2020 年 4 月 7 日 上午 10:25
5 项改动说明 ( 查看 )

订阅以下载
TTT Base Grenade Update

在 Karate Walrus 的 1 个合集中
Titan TTT
70 件物品
描述
==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 条留言
Karate Walrus  [作者] 2020 年 6 月 6 日 下午 1:18 
feel free
PlatynumGhost 2020 年 6 月 2 日 下午 3:51 
I really appreciate your addon could i contact you privately to ask you 2 things?
Karate Walrus  [作者] 2020 年 4 月 8 日 下午 9:45 
welcome
Jasorn 2020 年 4 月 8 日 下午 9:42 
yes, works now thanks!
Karate Walrus  [作者] 2020 年 4 月 8 日 下午 9: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 2020 年 4 月 8 日 下午 8:06 
ERROR: BaseGrenadeProjectile explosion code not overridden!