Jump to content

Recommended Posts

Hey everyone,

 

I've been wondering this for a while now, maybe someone here can help me out.  I've been making UI's the same way for a long time, via the GUI Editor and exporting them using SafeZone.  However this positioning technique overlaps controls when you're on different resolutions and display sizes.  I looked around the 3DEN displays and controls in their configs and saw that the positions and completely different to safeZone:

		class Picture: ctrlStaticPictureKeepAspect
		{
			text="\a3\3DEN\Data\Displays\Display3DENMsgBox\picture_ca.paa";
			x="(	(0.5 - 0.5 * 	75 * (pixelW * pixelGrid * 	0.50))) + (2) * (pixelW * pixelGrid * 	0.50)";
			y="(	(0.5 - 0.5 * 	25 * (pixelH * pixelGrid * 	0.50))) + (	5 + 2) * (pixelH * pixelGrid * 	0.50)";
			w="10 * (pixelW * pixelGrid * 	0.50)";
			h="5 * (pixelH * pixelGrid * 	0.50)";
		};

Is there a way I can start creating displays using this positioning technique?

 

Thanks in advance,

Skirmish_

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

×