Jump to content
Sign in to follow this  
Yuval

I need help ASAP with screen coordinates.

Recommended Posts

Okey, I am trying to edit the DayZ spawn selection - but my question is relevant to ArmA 2 editing.

I got my background, and spawnpoints ready in *.paa format. Now I want to actually put them together in the Spawn selection display (the dialog thing).

Now, I need to set up the X and Y of the texture, and H and W (height and width?) of the picture.

How do I do it without testing again and again and again and again random coordinates and formulas.

I get the idea that if I want to put the textures in a line their Y (I think?) needs to be the same, so it puts all the textures in the same horizonal line.

But is there any program or online java script that tells me the screen coordinates?

In addition - the script seems to put the coordinates in this formula:

x = 0.524899 * safezoneW + safezoneX;
y = 0.591199 * safezoneH + safezoneY;
w = 0.234287 * safezoneW;
h = 0.3044 * safezoneH;

So there's something called safezone for the X, Y, W, H. If you know what is it please tell me.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×