AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   coordinate system(not pev_origin) (https://forums.alliedmods.net/showthread.php?t=94987)

kielor 06-18-2009 02:27

coordinate system(not pev_origin)
 
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

fysiks 06-18-2009 02:36

Re: coordinate system(not pev_origin)
 
More precision? I don't believe you.

kielor 06-18-2009 02:39

Re: coordinate system(not pev_origin)
 
test it yourself
pev_origin return values rounded up to tenhundreds >_<

fysiks 06-18-2009 02:43

Re: coordinate system(not pev_origin)
 
tenhundreds => one thousandths => 0.001? How is that not enough precision?

kielor 06-18-2009 02:44

Re: coordinate system(not pev_origin)
 
i need not rounded values..

edit: not tenhundreds but tenthousands

fysiks 06-18-2009 02:45

Re: coordinate system(not pev_origin)
 
Quote:

Originally Posted by kielor (Post 851382)
i need not rounded values..

edit: not tenhundreds but tenthousands

Why would anybody need 0.0001 precision in a video game? It's negligible.

kielor 06-18-2009 02:59

Re: coordinate system(not pev_origin)
 
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..

kielor 06-18-2009 04:21

Re: coordinate system(not pev_origin)
 
close thread


All times are GMT -4. The time now is 15:26.

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