| closedpunch |
| Started by |OnEHiTwOnDeR|SoCal on 04-11-2007, 04:37 PM |
Threads: 37
Joined: Mar 2007
any way this can be done..punching a player. I believe a few yrs ago zor made this but was glitchy. Oh it was called brassnuckes.amxx cant find it anywhere. used to be on here wayy back. Is this still possible?
Threads: 103
Joined: May 2005
ya it was a dod port for the brassknuckles plugin..nni know i have one his versions around here somewhere..
Threads: 57
Joined: Oct 2005
The only reason I haven't made a brass knuckles or buttsmack plugin is because of the lack of client side effect.rnrnI can make it look like you're swinging your gun to everyone else, but there is no animation in the v_ model of the weapons and I can't think of a way to make it look like you're swinging it.rnrnBut I'm open to ideas.
Threads: 37
Joined: Mar 2007
well how it was before it showed to the client himself (me, or u playing and seeing 1st person) the animation of a swing of a punch - dont recall exactly killing anyone with it due to the bugs it had but yea i remember that animation being done by Zor if im not mistaken. I think the brass knuckles where taken from cs not sure might be wrong. rnrnWilson:rn"I can make it look like you're swinging your gun to everyone else, but there is no animation in the v_ model of the weapons and I can't think of a way to make it look like you're swinging it."rnrnthat a bit confuses me? u can or cant make it look like its swinging?
Threads: 27
Joined: Apr 2006
You just contradicted yourself(I can't spell that damn word :P)
Threads: 57
Joined: Oct 2005
I can't make it look like you're swinging a gun. It'd be nice to figure out how to do that though, so no models would have to be downloaded.
Threads: 103
Joined: May 2005
lol just noticed this one at the amxx forums...
Threads: 54
Joined: May 2005
lol just noticed this one at the amxx forums...n nfew pages in was thisn nhttp://forums.alliedmods.net/showpost.php?p=206199&postcount=11
Threads: 57
Joined: Oct 2005
Tatsu, that plugin has no models though..rnrnDiamond, that is badass.
Threads: 57
Joined: Oct 2005
All right check this out. Register clcmd to butt_smack and press the button in game.nn
npublic butt_smack( id ) {n new Float:m_pitch = 25.0;n new Float:m_yaw = 25.0;n n engfunc( EngFunc_CrosshairAngle, id, m_pitch, m_yaw );n emit_sound(id, CHAN_WEAPON, "weapons/knifeswing.wav", VOL_NORM, ATTN_NORM, 0, PITCH_NORM);n n set_task( Float:0.1, "butt_normal", id );n return PLUGIN_HANDLED;n}nnpublic butt_normal( id ) engfunc( EngFunc_CrosshairAngle, id, Float:0.0, Float:0.0 );nnnThat's the furthest over the weapon will go. I would do a punchangle, but the xhair gets moved and it winds up looking like you got buttsmacked. If you have any other ideas of how to make it look like you're swinging your gun, please voice them.nnNow to make that distance-based melee attack to harm those near you.Threads: 37
Joined: Aug 2006
On my K43 , I dont see myself swinging the gun now...and I dont think I ever used a custom model for that gun.rnrnit doesnt bother me , it makes the noise and I know I klunked people when they die...
Threads: 57
Joined: Oct 2005
It should swing it like half way. You should be able to notice.nnTry increasing the time in the first parameter of the set_task. Maybe I just get better fps or something.

