Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
12 posts, 6 people · 5,990 views Thread Rating: ★★★★★
closedpunch
Started by |OnEHiTwOnDeR|SoCal on 04-11-2007, 04:37 PM
| |OnEHiTwOnDeR|SoCal
started this thread
Posts: 320
Threads: 37
Joined: Mar 2007
04-11-2007, 04:37 PM #1

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?

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
04-11-2007, 11:09 PM #2

ya it was a dod port for the brassknuckles plugin..nni know i have one his versions around here somewhere..

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
04-12-2007, 01:48 AM #3

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.

| |OnEHiTwOnDeR|SoCal
started this thread
Posts: 320
Threads: 37
Joined: Mar 2007
04-12-2007, 02:49 AM #4

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?

{SR} *Raggy*
posted here
Posts: 370
Threads: 27
Joined: Apr 2006
04-12-2007, 06:41 AM #5

You just contradicted yourself(I can't spell that damn word :P)

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
04-12-2007, 11:01 AM #6

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.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
04-12-2007, 08:33 PM #7

lol just noticed this one at the amxx forums...

=|[76AD]|= TatsuSaisei
posted here
Posts: 794
Threads: 54
Joined: May 2005
04-12-2007, 09:20 PM #8
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

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
04-18-2007, 03:42 AM #9

Tatsu, that plugin has no models though..rnrnDiamond, that is badass.

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
12-20-2007, 07:16 AM #10

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 );n
nnThat'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.

TigerMan4
posted here
Posts: 317
Threads: 37
Joined: Aug 2006
12-20-2007, 10:10 AM #11

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...

Wilson [29th ID]
posted here
Posts: 623
Threads: 57
Joined: Oct 2005
12-20-2007, 03:27 PM #12

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.

DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC