Garry's Mod

Garry's Mod

TTT Grav Nade
27 則留言
Irish Dragon 2023 年 2 月 25 日 下午 4:28 
@ForgetfulCat thanks! will give it a try
ForgetfulCat  [作者] 2023 年 2 月 25 日 下午 3:04 
@Irish Dragon, I believe if you put "SWEP.detonate_timer = 2" in the shared.lua (without the quotation marks), that would do it. The default timer is 5 for all TTT grenades, you can change this value to whatever you want, 2 would be pretty quick.
Don't quote me on this tho, it's been a looong time since i did any gmod coding. :)
Irish Dragon 2023 年 2 月 25 日 下午 2:17 
doubt you still pay attention to this but any way to lower the cooktimer ?
Cattos 2022 年 2 月 24 日 下午 6:50 
Please make american dad map next.


Love the content!
fskin 2019 年 3 月 7 日 上午 8:33 
The addon doesn't save Perks (Body Armor, other addons like Zombie Perks, Hermes Boots etc.) after unragdolling.
ForgetfulCat  [作者] 2017 年 8 月 25 日 下午 7:11 
Oh, good catch! I'll take a gander at that, I didn't even think of that happening.
Lykrast 2017 年 8 月 25 日 下午 4:52 
Ok probably better with the actual behavior my bad :
If you get to next round while ragdolled, your camera get stuck and you're basically no longer here, and your console spams

[ERROR] gamemodes/terrortown/gamemode/cl_targetid.lua:43: attempt to call method 'GetTraitor' (a nil value)
1. unknown - gamemodes/terrortown/gamemode/cl_targetid.lua:43
Lykrast 2017 年 8 月 25 日 下午 4:27 
There's some big issues that happen when a new round starts and you're ragdolled. Probably be worth to add something to automatically unragdoll people just before the next round starts.
ForgetfulCat  [作者] 2016 年 12 月 11 日 下午 12:05 
If you use Steam Workshop for your server, yes. I don't though; I prefer working with files I can modify.
Vis 2016 年 12 月 11 日 上午 9:24 
Oh, and by the way, you don't need to extract the addon to install it if the server has a steam workshop collection you can just add this to the collection.
http://wiki.garrysmod.com/page/Workshop_for_Dedicated_Servers
ForgetfulCat  [作者] 2016 年 12 月 10 日 下午 2:33 
That'd be cool. If you figure out ways to fix those two things, you could definitely upload it to workshop, and I'd delete this one. I just reuploaded this from someone else anyway.
Vis 2016 年 12 月 10 日 下午 1:33 
As a note to my last comment: I can take a look at the ragdoll sticking/losing credits and porting to Sandbox. Shouldn't be too difficult.
Vis 2016 年 12 月 10 日 下午 1:33 
I could take a look at it if you want. I might be able to figure something out.
ForgetfulCat  [作者] 2016 年 11 月 30 日 上午 8:38 
It can't be used in Sandbox in its current state, but the code may be able to be modified so that it could be. That's a task well beyond my capabilities though. :/
chroamor 2016 年 11 月 29 日 下午 12:02 
is it posible to use/port it to sandbox?
Lykrast 2015 年 12 月 3 日 上午 11:13 
Well if that's the case then it's alright. Good luck with it.
ForgetfulCat  [作者] 2015 年 12 月 3 日 上午 9:26 
I was thinking the unstuck command that is used most commonly in Prop Hunt could be automatically run after the player unragdolls. However, I'm not enough of a coder to know how to do it. I've tried some things, but nothing has worked yet. I have people who can help though, so it's most likely only a matter of time until this issue is fixed.
Lykrast 2015 年 12 月 1 日 下午 10:26 
For the credit part, I think you could just store the credits as integers for each player before you ragdoll them, then once they unragdoll check for that stored value and change their credit to the appropriate number.

The per-player storage could be done using this : http://wiki.garrysmod.com/page/Entity/SetNWInt
As for the fuctions to know the number of credits and how to set them, you'll probably have to dig in the TTT files, but I'm sure that won't take that long.

The stuck part is gonna be much more of an hassle to fix if you want my advice, but I know the default TTT teleporter has a check to see if the player can fit into the teleported location. Problem is the teleporter just cancels the teleport, whereas here it would need to find a valid position, but I'm sure it's still doable if you (or someone else) can figure it out.
ForgetfulCat  [作者] 2015 年 12 月 1 日 下午 9:18 
@Cryoraptor That is probably why. That and if you're a traitor or detective, you lose your credits after you unragdoll. Those two things can be pretty annoying, but this addon is so dang fun to mess with that it usually doesn't matter too much.
If you could learn how to fix it though, that'd be awesome!
Cryoraptor 2015 年 12 月 1 日 下午 6:21 
I think the reason he took it down is he couldn't figure out how to fix the problems with it perhaps? It sends players flying all over but when they are unragdolled they get stuck in any part of the map they are near. I"m not sure how to fix this but I'll have to disect it.
Lykrast 2015 年 4 月 25 日 下午 12:48 
Cool enough, I'll take it.
ForgetfulCat  [作者] 2015 年 4 月 25 日 上午 10:33 
@Lykrast It's a weapon for the traitor shop that has interesting effects. It's hard to describe, so I'll upload a video of what it does.
Lykrast 2015 年 4 月 25 日 上午 7:02 
So... what does it do exactly ?
DimitrisTheGentlemanGreece 2015 年 4 月 17 日 下午 11:42 
Its realy cool illusion
DimitrisTheGentlemanGreece 2015 年 4 月 17 日 下午 11:42 
yea
ForgetfulCat  [作者] 2015 年 4 月 17 日 上午 9:49 
@Jim-SnoopDog That's actually really cool xD. I know what I'm going to be doing for the next few days.
DimitrisTheGentlemanGreece 2015 年 4 月 17 日 上午 7:34 
scroll up and down the photo and u will see is moving