I want to get velocity by viewangle
but doesn't work
Quote:
Quote:
|
Re: I want to get velocity by viewangle
as seen in holoduke plugin by vet:
PHP Code:
|
Re: I want to get velocity by viewangle
i meant move left or right not forward
|
Re: I want to get velocity by viewangle
-_-if i need the code that makes the player move left or right?with pev_velocity
|
Re: I want to get velocity by viewangle
The velocity_by_aim native calculates the player's velocity according to the determined speed and the player's view angles. So I used the player's maxspeed to determine his velocity while walking.
As you asked: Quote:
|
Re: I want to get velocity by viewangle
wow awesome. did you solve the problem? i was trying to do that too. Can anyone tell how it's beeing done?
+karma |
Re: I want to get velocity by viewangle
|
Re: I want to get velocity by viewangle
How do you use velocity_by_aim to move left (IN_MOVELEFT), right (IN_MOVERIGHT), back (IN_BACK) etc.?
I've been trying that for a some time: Question about noclip #5 could you post an example how to use velocity_by_aim for IN_MOVELEFT ? Code:
if(buttons & IN_MOVELEFT){ |
Re: I want to get velocity by viewangle
Quote:
Code:
|
Re: I want to get velocity by viewangle
i could not figure out how to make it work. what do i have to edit in the code?
|
| All times are GMT -4. The time now is 09:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.