Jump to content

HazJ

Download data display from End Game

Recommended Posts

Hi,

I am looking for the download data display from End Game. See image below.

XtWgznr.jpg

I have looked in config viewer, function viewer, and even manually opened the PBO files. I have found:

downloadObject.sqf

downloadProgress.sqf

Etc... Still can't find the display though.

  • Like 1

Share this post


Link to post
Share on other sites

Never mind, found it. I was looking in the wrong place. If you are confused by the x/y/w/h values then read Larrow's post which explains it very well.

 

	class RscHvtPhase
	{
		idd=60491;
		fadein=0.5;
		fadeout=0.5;
		duration=9.9999998e+010;
		scriptName="RscHvtPhase";
		scriptPath="IGUI";
		onLoad="[""onLoad"",_this,""RscHvtPhase"",'IGUI'] call 	(uinamespace getvariable 'BIS_fnc_initDisplay')";
		onUnload="[""onUnload"",_this,""RscHvtPhase"",'IGUI'] call 	(uinamespace getvariable 'BIS_fnc_initDisplay')";
		class Controls
		{
			class Persistent: RscText
			{
				x="safeZoneX";
				style=2;
				shadow=0;
				idc=6610;
				y="5.6 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + 			(safezoneY + safezoneH - 			(			((safezoneW / safezoneH) min 1.2) / 1.2))";
				w="1.3 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
				h="3 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
				colorText[]={1,1,1,1};
				colorBackground[]={0,0,0,0.69999999};
				sizeEx="1.6 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
			};
			class Dynamic: RscText
			{
				x="safeZoneX + 1.3 * 			(			((safezoneW / safezoneH) min 1.2) / 40) + 0.1 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
				shadow=0;
				idc=6611;
				y="5.6 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + 			(safezoneY + safezoneH - 			(			((safezoneW / safezoneH) min 1.2) / 1.2))";
				w="14 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
				h="3 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
				colorText[]={1,1,1,1};
				colorBackground[]={0,0,0,0.69999999};
				sizeEx="1.6 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
			};
			class Download: RscControlsGroupNoScrollbars
			{
				x="safeZoneX + 1.3 * 			(			((safezoneW / safezoneH) min 1.2) / 40) + 0.1 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
				idc=7910;
				y="8.7 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + 			(safezoneY + safezoneH - 			(			((safezoneW / safezoneH) min 1.2) / 1.2))";
				w="15.4 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
				h="3 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
				class controls
				{
					class DownloadContent: RscText
					{
						idc=6613;
						x="0 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						y="1.2 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						w="15.4 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						h="1.8 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						colorBackground[]={0.30000001,0.30000001,0.30000001,0.69999999};
					};
					class DownloadTitle: RscText
					{
						shadow=0;
						idc=6612;
						text="DOWNLOADING...";
						x="0 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						y="0 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						w="8.8 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						h="1.2 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						colorBackground[]={0,0,0,0.69999999};
						sizeEx="1.15 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
					};
					class Multiplier: RscText
					{
						style=2;
						idc=6614;
						text="2x";
						x="0 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						y="1.2 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						w="2.1 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						h="1.8 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						colorText[]={1,1,1,0.5};
						colorBackground[]={0,0,0,0.69999999};
						sizeEx="1.1 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
					};
					class ProgressBar: RscProgress
					{
						idc=6620;
						x="2.1 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						y="1.2 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						w="11.1339 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						h="1.775 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						colorBackground[]={0.80000001,0.5,0,0.69999999};
					};
					class DownloadSpeed: RscText
					{
						style=2;
						idc=6621;
						text="5.67 / 8.09 TB";
						x="3.4 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						y="1.3 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						w="8.5 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						h="1.5 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						colorText[]={1,1,1,0.69999999};
						sizeEx="1.1 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
					};
					class RangeBackground: RscText
					{
						idc=6615;
						x="13.2 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						y="1.2 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						w="2.2 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						h="1.8 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						colorBackground[]={0,0,0,0.5};
					};
					class Range: RscPictureKeepAspect
					{
						idc=6810;
						text="a3\Ui_f\data\IGUI\RscTitles\RscHvtPhase\JAC_A3_Signal_4_ca.paa";
						x="13.2 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						y="1.2 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
						w="2.2 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
						h="1.8 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
					};
				};
			};
			class Timer: RscText
			{
				style=2;
				shadow=0;
				x="safeZoneX + 1.3 * 			(			((safezoneW / safezoneH) min 1.2) / 40) + 0.1 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
				idc=6616;
				text="12:36";
				y="11.8 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + 			(safezoneY + safezoneH - 			(			((safezoneW / safezoneH) min 1.2) / 1.2))";
				w="5 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
				h="3 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
				colorText[]={1,1,1,1};
				colorBackground[]={0,0,0,0.69999999};
				sizeEx="1.6 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
			};
			class CarrierPicture: RscPictureKeepAspect
			{
				x="safeZoneX";
				idc=6811;
				text="#(argb,8,8,3)color(1,1,1,1)";
				y="4.5 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + 			(safezoneY + safezoneH - 			(			((safezoneW / safezoneH) min 1.2) / 1.2))";
				w="1.3 * 			(			((safezoneW / safezoneH) min 1.2) / 40)";
				h="1.3 * 			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
			};
		};
	};

One thing I didn't understand is why use RscControlsGroupNoScrollbars for this? @Larrow

Share this post


Link to post
Share on other sites
  On 2/26/2018 at 1:22 AM, HazJ said:

One thing I didn't understand is why use RscControlsGroupNoScrollbars for this? @Larrow

Only a couple of options come to mind of why I would place controls in a controlsGroup...

  • Design it once, then can be moved anywhere by just moving the controlsGroup
  • So maybe it can be animated or left on screen and not visible by animating/collapsing the controlsGroup
  • Easy reference to controls contained in the group via controlsGroupControl

Share this post


Link to post
Share on other sites

Yeah, that makes sense. A few of their UIs have that setup.

Share this post


Link to post
Share on other sites

@Larrow @HazJ  Hey Guys, This is Amazing catch, but it doesnt seem to work anymore, I also messed with all the Stuff Haz mentioned and Im no Beginner, No joy,
I also updated the Base Defines to Support that New Jankie RscControlsGroupNoScrollbars, Nothing Happened,
Can you Explain How you get to the Results shown in the Video, Cause Mine only shows the Little box on the Left,
(to Mention I didnt Used any kind of Modules etc, Is it Necessary?),


+Edit
NeverMind I made one from Scratch,  

Edited by Builmond. Inc

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

×