Damage Angle
Does anyone know the damage angle codes ?
meaning like someone hit you. your angle will change to weird angle like this in the video. look carefully at 1.06 when the zombie hit the victim. |
Re: Damage Angle
I believe that is called "punchangle"
|
Re: Damage Angle
Engine:
Code:
FakeMeta: Code:
If I remember correctly, then fAngle should be measured with respect to the player's current angle. So, if you want to punch his view up, for example, just do something like fAngle[0] = 60.0. You need to test this, because sometimes a positive angle means down, sometimes a positive angle means up. |
Re: Damage Angle
Quote:
I don't understand this part: Code:
//... |
Re: Damage Angle
That means you put whatever code you want/need there. Have fun and do what ever you want. You need to at least determine what the angle will be and set it to that vector.
|
Re: Damage Angle
That's a comment.
When you declare a variable, it defaults to 0. So, you should fill the variable with some angles before you set the punchangle. EDIT: lol fysiks, we're double-posting |
Re: Damage Angle
Quote:
|
Re: Damage Angle
I still don't understand :cry:
Can someone provide me a plugin with the codes ? |
Re: Damage Angle
Code:
|
Re: Damage Angle
And, I think the angles are pitch, yaw, and roll respectively.
Stupok, I'm surprised you haven't plugged your thread yet :) http://forums.alliedmods.net/showthread.php?t=91474 |
| All times are GMT -4. The time now is 13:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.