Thread: Origin to Hud
View Single Post
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 01-23-2023 , 01:37   Re: Origin to Hud
Reply With Quote #3

I was noticing that problem as soon as I started testing the code. By using the debug to print the values of fHudPos[0] and fHudPos[1], I noticed that the values suddenly jumped from 0.1 or 0.9 to negative values, which I guess was making left origin positions go right positions in the hud. Also even large numbers were found such as 2383181.0 one time, after clamping the values it all went well.

I always wanted something like that, after finding out about it I decided to share. The calculation was well built and even though I don't understand it, seems impressive.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline