Raised This Month: $ Target: $400
 0% 

coordinate system(not pev_origin)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kielor
Senior Member
Join Date: Jan 2009
Location: Russia, Novosibirsk
Old 06-18-2009 , 02:27   coordinate system(not pev_origin)
Reply With Quote #1

how to create new coordinate system using amxx?
and how to calculate player's origin referring to it?

i want this because i need much precision than in pev_origin
p.s. as a null there can be any object, i don't want the origin to be right ,i only want that to calculate distance that player traveled
kielor is offline
Send a message via ICQ to kielor Send a message via Skype™ to kielor
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-18-2009 , 02:36   Re: coordinate system(not pev_origin)
Reply With Quote #2

More precision? I don't believe you.
__________________
fysiks is offline
kielor
Senior Member
Join Date: Jan 2009
Location: Russia, Novosibirsk
Old 06-18-2009 , 02:39   Re: coordinate system(not pev_origin)
Reply With Quote #3

test it yourself
pev_origin return values rounded up to tenhundreds >_<
kielor is offline
Send a message via ICQ to kielor Send a message via Skype™ to kielor
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-18-2009 , 02:43   Re: coordinate system(not pev_origin)
Reply With Quote #4

tenhundreds => one thousandths => 0.001? How is that not enough precision?
__________________
fysiks is offline
kielor
Senior Member
Join Date: Jan 2009
Location: Russia, Novosibirsk
Old 06-18-2009 , 02:44   Re: coordinate system(not pev_origin)
Reply With Quote #5

i need not rounded values..

edit: not tenhundreds but tenthousands
kielor is offline
Send a message via ICQ to kielor Send a message via Skype™ to kielor
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-18-2009 , 02:45   Re: coordinate system(not pev_origin)
Reply With Quote #6

Quote:
Originally Posted by kielor View Post
i need not rounded values..

edit: not tenhundreds but tenthousands
Why would anybody need 0.0001 precision in a video game? It's negligible.
__________________

Last edited by fysiks; 06-18-2009 at 02:50.
fysiks is offline
kielor
Senior Member
Join Date: Jan 2009
Location: Russia, Novosibirsk
Old 06-18-2009 , 02:59   Re: coordinate system(not pev_origin)
Reply With Quote #7

you know what is longjump stats? it is the plugin that shows distance that you jumped. It's not measuring, it's calculating..
to calculate it perfect or even with most possible precision i need origin..

Last edited by kielor; 06-18-2009 at 03:23.
kielor is offline
Send a message via ICQ to kielor Send a message via Skype™ to kielor
Old 06-18-2009, 02:59
Arkshine
This message has been deleted by Arkshine. Reason: nvm
kielor
Senior Member
Join Date: Jan 2009
Location: Russia, Novosibirsk
Old 06-18-2009 , 04:21   Re: coordinate system(not pev_origin)
Reply With Quote #8

close thread
__________________
try using +karma if i helped you...
kielor is offline
Send a message via ICQ to kielor Send a message via Skype™ to kielor
Reply


Thread Tools
Display Modes

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 15:26.


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