Yup, I saw MANY people wanted this weapon from SMOD, so I decided I'd make it with Kogitsune's help.
Delete the older version, Install to Steam/steamapps/<Steamname>/garrysmod/garrysmod/addons.
[release]
Features:
- Breaking doors (!), that means that if you hit a door it will break and fall down instead of opening. A broken door will restore after 140 seconds, if people want doors not to restore, I can do that ;).
- Quick-Kicking system! Press and hold your USE key then press your SECONDARY ATTACK key to Quick-Kick!
Changelog:
1.3
+ Added a Quick-Hitting function! You can also turn it on/off by typing quickkick into console (you have to be an admin)
/\ Fixed a bug which gave you 24 pistol ammo on spawn
/\ Fixed a bug which showed some weird ammo indicator
Usage:
Left Click - Swing your leg!
Hold your USE key and press your SECONDARY ATTACK key to Quick-Kick!
Known Bugs:
None.
Download Link (Version 1.3 Newest):
[url=http://www.garrysmod.org/downloads/?a=view&id=69881][img]http://www.garrysmod.org/img/?t=dll&id=69881[/img][/url]
YouTube Video (1.3):
[media]http://www.youtube.com/watch?v=Cetp9Nl25vo[/media]
Credits:
L337N008;
Kogitsune;
The_Funktasm.
[/release]
Damn, it is finally out for gmod!!!
Lua king mate, good work!
What does it look like in multiplayer? Can other people see you kick?
[QUOTE=Jmax]What does it look like in multiplayer? Can other people see you kick?[/QUOTE]
Sorry, no, other people can't see you hit someone.
It's a shame there's no kick animation on the world models of players, or this would be even better.
Nice job :4chan:.
[QUOTE=Kogitsune]It's a shame there's no kick animation on the world models of players, or this would be even better.
Nice job :4chan:.[/QUOTE]
Thanks :).
In SMOD, the damage effect of the kick takes place right as the foot hits the target. This kills or damages a target before the foot reaches it. Better than nothing, though.
[QUOTE=Keychain]In SMOD, the damage effect of the kick takes place right as the foot hits the target. This kills or damages a target before the foot reaches it. Better than nothing, though.[/QUOTE]
I know, but the P.S. Says:
[quote]
Post Your codes here IF You know how to improve it .
[/quote]
I think i will lower the damage down so it has the same damage as the fist weapon. A little unrealistic to kill with one hit.
And another one bites the dust...
[url]http://www.garrysmod.org/downloads/?a=view&id=51259[/url]
He just changed the model and nothing more! haha
Actually, he was working on getting the timing to work when he asked me for help. He didn't copy from that as far as I believe.
Well, to fix the timing issue, you need to know how long the animation is.
Open the model in HLMV ( part of the SDK ), and then go to the sequences, get the framerate it runs at if you drag the slider to the far left ( n at 30x or something like that ). It should be fairly obvious on the form if you look for it, near the slider.
After you have that number, slide that bar to the right to stop the animation entirely, and the drag the long bar at the bottom to the far right to get the number of frames the animation takes.
[lua]
timer.Simple( frames / framerate, SWEP.DamageFunctionHere, SWEP )
[/lua]
That's all it will take to get the animation to be in-sync with the damage. However, I think you already did that when you were asking me for help, so it might just be a logic error somewhere. Will look at when I get home this evening.
I was really expecting a kick weapon that was not a SWEP, but this is good, too. Good work.
You should fix the credits...
Add the Smod team for making the model and animations.
Otherwise, good job
Make it able to kick open doors! :D
[QUOTE=KeksMan]Damn, it is finally out for gmod!!!
Lua king mate, good work![/QUOTE] I thought you said Lui Kang at first :P WHICH somebody should also make as a SMOD weapon, would be awesome, ya know, his move where he does a flying kick across the screen. Maybe just edit this one so you can charge it up, or as an alternate fire or something :P
Is it binded to a key (can use it anytime like Smod), or is it a SWEP?
[QUOTE=Sippeangelo]Make it able to kick open doors! :D[/QUOTE]
THIS THIS THIS THIS
Well.. I have a suggestion. If you want to do it bound to a key you could make it a swep. but you can make it so that when you press a certain key then it will switch to the swep and attack once and switch back to the weapon you had before.
I'm working on version 1.1, from now on, hitting a closed door will open it (even if it's LOCKED).
Dude... This is the Smod Tactical delta KICK! And the Smod kick swep from Useless
Weapons is BETTER!
[QUOTE=joost1120]Dude... This is the Smod Tactical delta KICK! And the Smod kick swep from Useless
Weapons is BETTER![/QUOTE]
Dude, I know that it's from SMOD tactical, I made this SWEP, and if that one is better, i can just copy-paste the code, but I'd steal in that case.
EDIT:
I'm about to release Version 1.1, fixes/adds:
/\ Fixed the bad animation timing has been fixed WITHOUT 'stealing' ANY of other codes.
/\ Lowered the damage every hit deals for more reality.
+ Now when you hit a door with the SWEP, even if it's locked, it will open.
Nice job!
[QUOTE=joost1120]Dude... This is the Smod Tactical delta KICK! And the Smod kick swep from Useless
Weapons is BETTER![/QUOTE]
Don't post if you don't have constructive criticism.
Kicking open locked doors? Will be useful for RP.
In the next version, could you make it a script which enables you to kick by pressing a certain key?
[QUOTE=Pwn-o-Matic]Don't post if you don't have constructive criticism.
Kicking open locked doors? Will be useful for RP.
In the next version, could you make it a script which enables you to kick by pressing a certain key?[/QUOTE]
I'll try.
UPDATE RELEASED! Link:
[url]http://www.garrysmod.org/downloads/?a=view&id=52160[/url]
[QUOTE=L337N008]I'll try.
UPDATE RELEASED! Link:
[url]http://www.garrysmod.org/downloads/?a=view&id=52160[/url][/QUOTE]
I saw this on garrysmod.org before i saw it here lol.
Very very nice!
Sorry, you need to Log In to post a reply to this thread.