Raised This Month: $51 Target: $400
 12% 

Half-Life Position, Velocity, and Angles (for n00bs)


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-01-2009 , 17:00   Re: Half-Life Position, Velocity, and Angles (for n00bs)
Reply With Quote #11

For speed, vector_lengh() works as well as floatsqroot(), except the with floatsqroot you can select a 1 dimension speed.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 05-01-2009 at 17:03.
ConnorMcLeod is offline
stupok
Veteran Member
Join Date: Feb 2006
Old 05-01-2009 , 17:14   Re: Half-Life Position, Velocity, and Angles (for n00bs)
Reply With Quote #12

I forgot about that one. Thanks
__________________
stupok is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 05-01-2009 , 17:17   Re: Half-Life Position, Velocity, and Angles (for n00bs)
Reply With Quote #13

Quote:
Originally Posted by stupok View Post
Hmm?

Good job with the tut.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-01-2009 , 17:52   Re: Half-Life Position, Velocity, and Angles (for n00bs)
Reply With Quote #14

Quote:
Originally Posted by stupok View Post
I forgot about that one. Thanks
You could add that to get horizontal speed you have to do :

New Float:fHorizSpeed = floatsqroot( fVelocity[0] * fVelocity[0] + fVelocity[1] * fVelocity[1])
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-01-2009 , 17:58   Re: Half-Life Position, Velocity, and Angles (for n00bs)
Reply With Quote #15

Nice tut stupok.
__________________
Bugsy is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-01-2009 , 18:02   Re: Half-Life Position, Velocity, and Angles (for n00bs)
Reply With Quote #16

Quote:
I'm going to use your imagination to make this easy to understand. Imagine a hotdog and place it on the desk in front of you with one end pointing at the monitor.
You could stole some image from here, I think it's a good visual example.
Arkshine is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 05-01-2009 , 18:08   Re: Half-Life Position, Velocity, and Angles (for n00bs)
Reply With Quote #17

Quote:
Originally Posted by arkshine View Post
You could stole some image from here, I think it's a good visual example.
Nice colors.
__________________
joaquimandrade is offline
stupok
Veteran Member
Join Date: Feb 2006
Old 05-01-2009 , 18:27   Re: Half-Life Position, Velocity, and Angles (for n00bs)
Reply With Quote #18

Thanks bugsy and arkshine
__________________
stupok is offline
--kml--
Senior Member
Join Date: Jan 2009
Old 05-03-2009 , 21:28   Re: Half-Life Position, Velocity, and Angles (for n00bs)
Reply With Quote #19

woops

me kindda having problem with this tuto

Last edited by --kml--; 05-05-2009 at 08:07. Reason: dun use bad words :D (note to me)
--kml-- is offline
stupok
Veteran Member
Join Date: Feb 2006
Old 05-03-2009 , 22:32   Re: Half-Life Position, Velocity, and Angles (for n00bs)
Reply With Quote #20

Ok, I'll assume your comment is not a joke.

Do you speak English? It will be hard to read if you are not fluent in English.

Also, ask a question instead of saying "wtf is this". If you tell me what you do not understand, I can try to make it more understandable.
__________________
stupok is offline
Old 05-04-2009, 08:47
ehha
This message has been deleted by ehha. Reason: my bad
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode