Jump to content
manlikeg

Apex Dialog Buttons

Recommended Posts

Put this in debug console:

"" call BIS_fnc_exportGUIBaseClasses;

Open your text/code editor and Ctrl + V (paste).

Share this post


Link to post
Share on other sites
18 hours ago, HazJ said:

Put this in debug console:


"" call BIS_fnc_exportGUIBaseClasses;

Open your text/code editor and Ctrl + V (paste).

ff9015e66ef1c28d2f696c0e5fa2c9fe.png

 

cant get rid of this it breaks the mission, i just replaced my old defines with the one you gave.

Share this post


Link to post
Share on other sites
3 minutes ago, HazJ said:

Here:

https://1drv.ms/u/s!ArYSs9w5RSIDhDiP-FdFrLbbPg-N

Not sure why this one works. Maybe @Larrow will know since he used them for crate logistics example he made? You can also manually modify the existing buttons to look like that or however you want.

sorry man one more thing as you know alot lol how do i find photos in the files such as A3\map_Stratis\data\pictureMap_ca.paa btw i appreciate all the help you have given me thanks alot man

Share this post


Link to post
Share on other sites

ehm am i doing something wrong here

 

78a3e381964b718b84c5de5242cc8743.png

b288ea225adeb91fae49eb4e537a6f73.jpg

 

that ok doesnt look like this one

 

586c83b8fe89e98b2976644a5513644a.png

 

Share this post


Link to post
Share on other sites

It's ctrlButton but even then, you still need to style it. I can't find that one to use instantly, not without tweaking it. It's also got a different width and height. Again, you'll need to do that. Unless someone else knows how to do this? Maybe this will help you accomplish similar or close results:

action = "";
animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)";
animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)";
animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)";
animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)";
animTextureOver = "#(argb,8,8,3)color(1,1,1,1)";
animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)";
color[] = {1,1,1,1};
color2[] = {0,0,0,1};
color2Secondary[] = {0,0,0,1};
colorBackground[] = {0,0,0,1};
colorBackground2[] = {0.75,0.75,0.75,1};
colorBackgroundFocused[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.25};
colorDisabledSecondary[] = {1,1,1,0.25};
colorFocused[] = {0,0,0,1};
colorFocusedSecondary[] = {0,0,0,1};
colorSecondary[] = {1,1,1,1};
colorText[] = {1,1,1,1};
default = 0;
deletable = 0;
fade = 0;
font = "RobotoCondensed";
fontSecondary = "PuristaLight";
h = "1 * 					(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
idc = 235107;
period = 1.2;
periodFocus = 1.2;
periodOver = 1.2;
shadow = 0;
shortcuts[] = {"0x00050000 + 1"};
size = "(			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
sizeEx = "(			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
sizeExSecondary = "(			(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
soundClick[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundClick",0.09,1};
soundEnter[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundEnter",0.09,1};
soundEscape[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundEscape",0.09,1};
soundPush[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundPush",0.09,1};
style = "0x02 + 0xC0";
text = "Cancel";
textSecondary = "";
textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)";
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
tooltipColorText[] = {1,1,1,1};
type = 16;
url = "";
w = "6.2 * 					(			((safezoneW / safezoneH) min 1.2) / 40)";
x = "12.6 * 					(			((safezoneW / safezoneH) min 1.2) / 40)";
y = "2.9 * 					(			(			((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
configfile >> "RscDisplayGarage3DEN" >> "Controls" >> "MessageBox" >> "Controls" >> "ButtonCancel"

 

Share this post


Link to post
Share on other sites
On 11/3/2017 at 7:50 PM, HazJ said:

Not sure why this one works. Maybe @Larrow will know since he used them for crate logistics example he made?

As @HazJ says use the ctrl# variants as these are what Eden are built from. ctrlButton is what I used in the crate logistics example with no extra styling needed.

 

On 11/3/2017 at 7:19 PM, manlikeg said:

cant get rid of this it breaks the mission, i just replaced my old defines with the one you gave.

There is currently a problem with the export of the ctrl# defines and the hierarchy is broken and needs manually reordering. Which is of no use to beginners and is something I have reported in the development branch forums. Just use the baseDefines.hpp HazJ provided a link to.

 

  • Like 1

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

×