Jump to content

Pasta_Bake

Members
  • Content Count

    60
  • Joined

  • Last visited

Community Reputation

14 Decent

2 Followers

About Pasta_Bake

  • Rank
    Advanced Member
  • Birthday 07/02/1998

Recent Profile Visitors

1,195 profile views
  1. Pasta_Bake

    More Secure Fed [5.0x]

    Hey @Kaiden, Land_ConcreteWall_01_l_gate_F is the gates I am talking about, its the concrete gates wall (tall) that were added in during the release of the Apex DLC.
  2. Pasta_Bake

    More Secure Fed [5.0x]

    I have been working on this script for a day or so now and Now got it in a working condition. What this script does is makes the fed be more secure by adding gates that require the robbers to cut the lock with bolt cutters in order to gain access to the fed then they can go ahead and start the normal fed robbery, The Police are able to repair the gates after they have been cut. 1. Make a new folder in your Root and call it APX then make a folder in that folder called Fed. 2. Make 3 new files in the APX\Fed folder and name the first one fn_boltcutgate.sqf // Made by Apex #include "..\..\script_macros.hpp" private["_curTarget","_unit","_victim","_crime","_target","_revivable","_targetName","_ui","_progressBar","_titleText","_cP","_title"]; _building = param [0,objNull,[objNull]]; _curTarget = cursorTarget; _target = cursorTarget; _chance = round (random 100); _chance; _doors = FETCH_CONFIG2(getNumber,"CfgVehicles",(typeOf _building),"numberOfDoors"); _door = 0; if (life_inv_boltcutter > 0) then { life_action_inUse = true; _upp = "Cutting Lock on gate... (4m)"; //Setup our progress bar. disableSerialization; "progressBar" cutRsc ["life_progress","PLAIN"]; _ui = uiNamespace getVariable "life_progress"; _progress = _ui displayCtrl 38201; _pgText = _ui displayCtrl 38202; _pgText ctrlSetText format ["%2 (1%1)...","%",_upp]; _progress progressSetPosition 0.01; _cP = 0.0000001; for "_i" from 0 to 1 step 0 do { if (animationState player != "AinvPknlMstpSnonWnonDnon_medic_1") then { [player,"AinvPknlMstpSnonWnonDnon_medic_1",true] remoteExecCall ["life_fnc_animSync",RCLIENT]; player switchMove "AinvPknlMstpSnonWnonDnon_medic_1"; player playMoveNow "AinvPknlMstpSnonWnonDnon_medic_1"; }; uiSleep 0.09; _cP = _cP + 0.01; _progress progressSetPosition _cP; _pgText ctrlSetText format ["%3 (%1%2)...",round(_cP * 100),"%",_upp]; if (_cP >= 1 || !alive player) exitWith {}; if (player distance _target > 4) exitWith { "progressBar" cutText ["","PLAIN"]; ["You have moved to far away from the gate.",true] call life_fnc_show; }; if (!alive player) exitWith {}; }; if (life_istazed) exitWith {}; //Tazed if (life_isknocked) exitWith {}; //Knocked if (life_interrupted) exitWith {}; if((player getVariable["restrained",false])) exitWith {}; if(player distance _target > 4) exitWith {["You moved to far away from the gate.", true] call life_fnc_show; "progressBar" cutText ["","PLAIN"];}; if (_chance > 50) exitWith {life_action_inUse = false; "progressBar" cutText ["","PLAIN"]; format["%1 has attempted to break into the Federal Reserve.", profileName] remoteexec ["hint", west]; ["The lock has been cut, you have also triggred the security systems.", true] call life_fnc_show; gate2 setVariable ["bis_disabled_Door_1",0,false]; gate1 setVariable ["bis_disabled_Door_1",0,false]; [player, "lockpick"] remoteExec ["life_fnc_say3D", RANY]; gate1 animateSource ["Door_1_sound_source", 1]; gate2 animateSource ["Door_1_noSound_source", 1];}; if (_cP >= 1) then { life_action_inUse = false; "progressBar" cutText ["","PLAIN"]; player playActionNow "stop"; gate2 setVariable ["bis_disabled_Door_1",0,true]; gate1 setVariable ["bis_disabled_Door_1",0,true]; gate1 animateSource ["Door_1_sound_source", 1]; gate2 animateSource ["Door_1_noSound_source", 1]; [player, "lockpick"] remoteExec ["life_fnc_say3D", RANY]; ["The gate is now open.", true] call life_fnc_show; [getPlayerUID player,profileName,"459"] remoteExecCall ["life_fnc_wantedAdd",RSERV]; }; }; 3. Make another file in the same place as the first file and call this one fn_fixdoor.sqf // Made by Apex #include "..\..\script_macros.hpp" private["_curTarget","_unit","_victim","_crime","_target","_revivable","_targetName","_ui","_progressBar","_titleText","_cP","_title"]; _building = param [0,objNull,[objNull]]; //_object = "Land_ConcreteWall_01_l_gate_F"; //_pos = [[16211.9,17005.4,0], [15939.1,16992.5,0.00199986]]; _curTarget = cursorTarget; _target = cursorTarget; _doors = FETCH_CONFIG2(getNumber,"CfgVehicles",(typeOf _building),"numberOfDoors"); _door = 1; if (playerSide isEqualTo west) then { if (alive player) then { life_action_inUse = true; _upp = "Repairing and Closing the gate... (4m)"; //Setup our progress bar. disableSerialization; "progressBar" cutRsc ["life_progress","PLAIN"]; _ui = uiNamespace getVariable "life_progress"; _progress = _ui displayCtrl 38201; _pgText = _ui displayCtrl 38202; _pgText ctrlSetText format ["%2 (1%1)...","%",_upp]; _progress progressSetPosition 0.01; _cP = 0.0000001; for "_i" from 0 to 1 step 0 do { if (animationState player != "AinvPknlMstpSnonWnonDnon_medic_1") then { [player,"AinvPknlMstpSnonWnonDnon_medic_1",true] remoteExecCall ["life_fnc_animSync",RCLIENT]; player switchMove "AinvPknlMstpSnonWnonDnon_medic_1"; player playMoveNow "AinvPknlMstpSnonWnonDnon_medic_1"; }; uiSleep 0.09; _cP = _cP + 0.01; _progress progressSetPosition _cP; _pgText ctrlSetText format ["%3 (%1%2)...",round(_cP * 100),"%",_upp]; if (_cP >= 1 || !alive player) exitWith {}; if (player distance _target > 4) exitWith { "progressBar" cutText ["","PLAIN"]; ["You have moved to far away from the gate.",true] call life_fnc_show; }; if (!alive player) exitWith {}; }; if (life_istazed) exitWith {}; //Tazed if (life_isknocked) exitWith {}; //Knocked if (life_interrupted) exitWith {}; if((player getVariable["restrained",false])) exitWith {}; if(player distance _target > 4) exitWith {["You moved to far away from the gate.", true] call life_fnc_show; "progressBar" cutText ["","PLAIN"];}; if (_cP >= 1) then { life_action_inUse = false; "progressBar" cutText ["","PLAIN"]; player playActionNow "stop"; gate1 animateSource ["Door_1_sound_source", 0]; gate2 animateSource ["Door_1_noSound_source", 0]; gate2 setVariable ["bis_disabled_Door_1",1,true]; gate1 setVariable ["bis_disabled_Door_1",1,true]; }; }; }; 4. Now make the last file and call it fn_lockgates.sqf // Made by Apex gate2 setVariable ["bis_disabled_Door_1",1,true]; gate1 setVariable ["bis_disabled_Door_1",1,true]; 5. Now go into your core\setupactions.sqf and paste this under the West case. // open fed gates life_actions pushBack (player addAction["Repair Lock",life_fnc_fixdoor,"",0,false,false,"",' !isNull cursorTarget && player distance cursorTarget < 2.5 && !dialog && typeOf cursorTarget == "Land_ConcreteWall_01_l_gate_F"']); 6. The same file as the last step and paste this under the civilian class // open fed gates life_actions pushBack (player addAction["Cut Lock",life_fnc_boltcutDoor,"",0,false,false,"",' !isNull cursorTarget && player distance cursorTarget < 2.5 && !dialog && typeOf cursorTarget == "Land_ConcreteWall_01_l_gate_F"']); 7. Now go into your Functions.hpp or Functions.h whichever you are using and paste this underneath Life_client_Core. class APXFed { file = "APX\Fed"; class boltcutDoor {}; class fixdoor {}; }; 8. I have made an SQM all you need to do is just select the objects in it and then go into your mission and right click then select edit then click paste in original position. 9. Go into init.sqf in your main mission directory and paste this at the bottom of the file. [] execVM "APX\Fed\fn_lockgates.sqf"; If you have issues post them here and I shall assist. NOTE: DE100's notification system I am using for the messages to the player if you would like to change them to hints then you have my permission. fededits.Altis.rar
  3. Pasta_Bake

    [Tutorial] New Vehicle Shop Dialog and Garage

    It should be sizeEx= 0.5;
  4. Pasta_Bake

    [Tutorial] New Vehicle Shop Dialog and Garage

    Hey John, If you paste it in there it should be fine I don't think it would affect anything as I just look at the 3D preview dialogue Five minutes ago and I don't see anything that would break it If you go ahead and paste it in there but take a back up first. If not I'll work on one that supports 3D preview, Hope this helps.
  5. Pasta_Bake

    [Tutorial] New Vehicle Shop Dialog and Garage

    Sorry about this Man, I set the SizeEX, Ill update the post and put on 0.5 sorry about this.
  6. Hello, I have another Dialog today, this time I have a vehicle garage and Shop. Step one: Go into Dialog\Impound.hpp and paste the following. class Life_impound_menu { idd = 2800; name="life_vehicle_shop"; movingEnable = 0; enableSimulation = 1; onLoad = "ctrlShow [2330,false];"; class controlsBackground { class Background: Life_RscText { colorBackground[] = {0,0,0,0.7}; idc = -1; x = 0.716562 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.273281 * safezoneW; h = 0.968 * safezoneH; }; class Background2: Life_RscText { colorBackground[] = {0,0,0,0.7}; idc = -1; x = 0.716563 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.273281 * safezoneW; h = 0.968 * safezoneH; }; class Title: Life_RscStructuredText { idc = 1100; text = "Your Garage"; //--- ToDo: Localize; x = 0.824844 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.0825 * safezoneW; h = 0.033 * safezoneH; }; class VehicleInfoText: Life_RscStructuredText { idc = 1106; text = "Vehicle Information"; //--- ToDo: Localize; x = 0.732031 * safezoneW + safezoneX; y = 0.588 * safezoneH + safezoneY; w = 0.0825 * safezoneW; h = 0.022 * safezoneH; }; class CloseButtonKey: Life_RscButtonMenu { onButtonClick = "closeDialog 0;"; idc = 2400; text = "Exit"; //--- ToDo: Localize; x = 0.732031 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.022 * safezoneH; }; class SellCar: Life_RscButtonMenu { onButtonClick = "[] call life_fnc_sellGarage;"; idc = 2401; text = "Sell"; //--- ToDo: Localize; x = 0.9125 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.022 * safezoneH; }; class RetrieveCar: Life_RscButtonMenu { onButtonClick = "[] call life_fnc_unimpound;"; idc = 2402; text = "Retrieve"; //--- ToDo: Localize; x = 0.840312 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.022 * safezoneH; }; }; class controls { class vehicleInfomationList: Life_RscStructuredText { idc = 2803; x = 0.732031 * safezoneW + safezoneX; y = 0.621 * safezoneH + safezoneY; w = 0.242344 * safezoneW; h = 0.275 * safezoneH; }; class MainHideText: Life_RscText { idc = 2811; text = "Looking for your vehicles..."; //--- ToDo: Localize; x = 0.809375 * safezoneW + safezoneX; y = 0.313 * safezoneH + safezoneY; w = 0.103125 * safezoneW; h = 0.132 * safezoneH; }; class VehicleList: Life_RscListbox { onLBSelChanged = "_this call life_fnc_garageLBChange;"; sizeEX = 0.5; idc = 2802; x = 0.732031 * safezoneW + safezoneX; y = 0.06 * safezoneH + safezoneY; w = 0.242344 * safezoneW; h = 0.517 * safezoneH; }; }; }; Step two: Paste the following code into Dialog\Vehicleshop.hpp class Life_Vehicle_Shop_v2 { idd = 2300; name="life_vehicle_shop"; movingEnabled = 0; enableSimulation = 1; onLoad = "ctrlShow [2330,false];"; class controlsBackground { class Background: Life_RscText { colorBackground[] = {0,0,0,0.7}; idc = -1; x = 0.716562 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.273281 * safezoneW; h = 0.968 * safezoneH; }; class Background2: Life_RscText { colorBackground[] = {0,0,0,0.7}; idc = -1; x = 0.716563 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.273281 * safezoneW; h = 0.968 * safezoneH; }; class Title: Life_RscStructuredText { idc = 1100; text = "Vehicle Shop"; //--- ToDo: Localize; x = 0.824844 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.0825 * safezoneW; h = 0.033 * safezoneH; }; class VehicleInfoText: Life_RscStructuredText { idc = 1106; text = "Vehicle Information"; //--- ToDo: Localize; x = 0.732031 * safezoneW + safezoneX; y = 0.5 * safezoneH + safezoneY; w = 0.0825 * safezoneW; h = 0.022 * safezoneH; }; class CloseBtn: Life_RscButtonMenu { onButtonClick = "closeDialog 0; [] call life_fnc_playerSkins;"; idc = 2400; text = "Exit"; //--- ToDo: Localize; x = 0.732031 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.022 * safezoneH; }; class BuyCar: Life_RscButtonMenu { onButtonClick = "[true] spawn life_fnc_vehicleShopBuy;"; idc = 2309; text = "Buy"; //--- ToDo: Localize; x = 0.9125 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.022 * safezoneH; }; class RentCar: Life_RscButtonMenu { onButtonClick = "[false] spawn life_fnc_vehicleShopBuy;"; idc = -1; text = "Rent"; //--- ToDo: Localize; x = 0.840312 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.022 * safezoneH; }; }; class controls { class vehicleInfomationList: Life_RscStructuredText { idc = 2303; x = 0.732031 * safezoneW + safezoneX; y = 0.533 * safezoneH + safezoneY; w = 0.242344 * safezoneW; h = 0.275 * safezoneH; }; class colorList: Life_RscCombo { idc = 2304; x = 0.840312 * safezoneW + safezoneX; y = 0.819 * safezoneH + safezoneY; w = 0.139219 * safezoneW; h = 0.022 * safezoneH; tooltip = "Use this to change to diffrent vehicle skins."; //--- ToDo: Localize; }; class VehicleList: Life_RscListbox { onLBSelChanged = "_this call life_fnc_vehicleShopLBChange"; idc = 2302; x = 0.732031 * safezoneW + safezoneX; y = 0.06 * safezoneH + safezoneY; w = 0.242344 * safezoneW; h = 0.429 * safezoneH; }; }; }; Step three: Go to Dialog folder again and paste in the following into common.hpp #define ST_LEFT 0x00 #define ST_MULTI 0x10 #define GUI_GRID_CENTER_WAbs ((safezoneW / safezoneH) min 1.2) #define GUI_GRID_CENTER_HAbs (GUI_GRID_CENTER_WAbs / 1.2) #define GUI_GRID_CENTER_W (GUI_GRID_CENTER_WAbs / 40) #define GUI_GRID_CENTER_H (GUI_GRID_CENTER_HAbs / 25) #define GUI_GRID_CENTER_X (safezoneX + (safezoneW - GUI_GRID_CENTER_WAbs)/2) #define GUI_GRID_CENTER_Y (safezoneY + (safezoneH - GUI_GRID_CENTER_HAbs)/2) class Life_Checkbox { access = 0; // Control access (0 - ReadAndWrite, 1 - ReadAndCreate, 2 - ReadOnly, 3 - ReadOnlyVerified) idc = -1; // Control identification (without it, the control won't be displayed) type = 77; // Type style = ST_LEFT + ST_MULTI; // Style default = 0; // Control selected by default (only one within a display can be used) blinkingPeriod = 0; // Time in which control will fade out and back in. Use 0 to disable the effect. x = 0; y = 0; w = 1 * GUI_GRID_CENTER_W; // Width h = 1 * GUI_GRID_CENTER_H; // Height //Colors color[] = { 1, 1, 1, 0.7 }; // Texture color colorFocused[] = { 1, 1, 1, 1 }; // Focused texture color colorHover[] = { 1, 1, 1, 1 }; // Mouse over texture color colorPressed[] = { 1, 1, 1, 1 }; // Mouse pressed texture color colorDisabled[] = { 1, 1, 1, 0.2 }; // Disabled texture color //Background colors colorBackground[] = { 0, 0, 0, 0 }; // Fill color colorBackgroundFocused[] = { 0, 0, 0, 0 }; // Focused fill color colorBackgroundHover[] = { 0, 0, 0, 0 }; // Mouse hover fill color colorBackgroundPressed[] = { 0, 0, 0, 0 }; // Mouse pressed fill color colorBackgroundDisabled[] = { 0, 0, 0, 0 }; // Disabled fill color //Textures textureChecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa"; //Texture of checked CheckBox. textureUnchecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa"; //Texture of unchecked CheckBox. textureFocusedChecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa"; //Texture of checked focused CheckBox (Could be used for showing different texture when focused). textureFocusedUnchecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa"; //Texture of unchecked focused CheckBox. textureHoverChecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa"; textureHoverUnchecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa"; texturePressedChecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa"; texturePressedUnchecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa"; textureDisabledChecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa"; textureDisabledUnchecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa"; tooltip = ""; // Tooltip text tooltipColorShade[] = { 0, 0, 0, 1 }; // Tooltip background color tooltipColorText[] = { 1, 1, 1, 1 }; // Tooltip text color tooltipColorBox[] = { 1, 1, 1, 1 }; // Tooltip frame color //Sounds soundClick[] = { "\A3\ui_f\data\sound\RscButton\soundClick", 0.09, 1 }; // Sound played after control is activated in format {file, volume, pitch} soundEnter[] = { "\A3\ui_f\data\sound\RscButton\soundEnter", 0.09, 1 }; // Sound played when mouse cursor enters the control soundPush[] = { "\A3\ui_f\data\sound\RscButton\soundPush", 0.09, 1 }; // Sound played when the control is pushed down soundEscape[] = { "\A3\ui_f\data\sound\RscButton\soundEscape", 0.09, 1 }; // Sound played when the control is released after pushing down }; class Life_RscScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa"; arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa"; shadow = 0; scrollSpeed = 0.06; width = 0; height = 0; autoScrollEnabled = 1; autoScrollSpeed = -1; autoScrollDelay = 5; autoScrollRewind = 0; }; class Life_RscControlsGroup { type = 15; idc = -1; x = 0; y = 0; w = 1; h = 1; shadow = 0; style = 16; class VScrollBar : Life_RscScrollBar { width = 0.021; autoScrollEnabled = 1; }; class HScrollBar : Life_RscScrollBar { height = 0.028; }; class Controls {}; }; class Life_RscControlsGroupNoScrollbars : Life_RscControlsGroup { class VScrollbar : VScrollbar { width = 0; }; class HScrollbar : HScrollbar { height = 0; }; }; class Life_RscHud { idc = -1; type = 0; style = 0x00; colorBackground[] = { 1 , 1 , 1 , 0 }; colorText[] = { 1 , 1 , 1 , 1 }; font = "RobotoCondensedBold"; sizeEx = 0.025; h = 0.25; text = ""; }; class Life_IGUIBack { type = 0; idc = 124; style = 128; text = ""; colorText[] = { 0, 0, 0, 0 }; font = "RobotoCondensed"; sizeEx = 0; shadow = 0; x = 0.1; y = 0.1; w = 0.1; h = 0.1; colorbackground[] = { "(profilenamespace getvariable ['IGUI_BCG_RGB_R',0])", "(profilenamespace getvariable ['IGUI_BCG_RGB_G',1])", "(profilenamespace getvariable ['IGUI_BCG_RGB_B',1])", "(profilenamespace getvariable ['IGUI_BCG_RGB_A',0.8])" }; }; class Life_RscListNBox { style = 16; type = 102; shadow = 0; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; color[] = {0.95,0.95,0.95,1}; colorText[] = {1,1,1,1.0}; colorDisabled[] = {1,1,1,0.25}; colorScrollbar[] = {0.95,0.95,0.95,1}; colorSelect[] = {0,0,0,1}; colorSelect2[] = {0,0,0,1}; colorSelectBackground[] = {0.8,0.8,0.8,1}; colorSelectBackground2[] = {1,1,1,0.5}; colorPicture[] = {1,1,1,1}; colorPictureSelected[] = {1,1,1,1}; colorPictureDisabled[] = {1,1,1,1}; soundSelect[] = {"",0.1,1}; soundExpand[] = {"",0.1,1}; soundCollapse[] = {"",0.1,1}; period = 1.2; maxHistoryDelay = 0.5; autoScrollSpeed = -1; autoScrollDelay = 5; autoScrollRewind = 0; class ListScrollBar: Life_RscScrollBar{}; class ScrollBar: Life_RscScrollBar{}; }; class Life_RscText { x = 0; y = 0; h = 0.037; w = 0.3; type = 0; style = 0; shadow = 1; colorShadow[] = {0, 0, 0, 0.5}; font = "RobotoCondensed"; SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; text = ""; colorText[] = {1, 1, 1, 1.0}; colorBackground[] = {0, 0, 0, 0}; linespacing = 1; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; }; class Life_RscLine: Life_RscText { idc = -1; style = 176; x = 0.17; y = 0.48; w = 0.66; h = 0; text = ""; colorBackground[] = {0, 0, 0, 0}; colorText[] = {1, 1, 1, 1.0}; }; class Life_RscTree { style = 2; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; expandedTexture = "A3\ui_f\data\gui\Rsccommon\Rsctree\expandedTexture_ca.paa"; hiddenTexture = "A3\ui_f\data\gui\Rsccommon\Rsctree\hiddenTexture_ca.paa"; rowHeight = 0.0439091; color[] = {1, 1, 1, 1}; colorSelect[] = {0.7, 0.7, 0.7, 1}; colorBackground[] = {0, 0, 0, 0}; colorSelectBackground[] = {0, 0, 0, 0.5}; colorBorder[] = {0, 0, 0, 0}; borderSize = 0; }; class Life_RscTitle: Life_RscText { style = 0; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; colorText[] = {0.95, 0.95, 0.95, 1}; }; class life_RscPicture { shadow = 0; type = 0; style = 48; sizeEx = 0.023; font = "RobotoCondensed"; colorBackground[] = {}; colorText[] = {}; x = 0; y = 0; w = 0.2; h = 0.15; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; }; class Life_RscTextMulti: Life_RscText { linespacing = 1; style = 0 + 16 + 0x200; }; class Life_RscPictureKeepAspect : Life_RscPicture { style = 0x30 + 0x800; }; class Life_RscStructuredText { type = 13; style = 0; x = 0; y = 0; h = 0.035; w = 0.1; text = ""; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; colorText[] = {1, 1, 1, 1.0}; shadow = 1; class Attributes { font = "RobotoCondensed"; color = "#ffffff"; align = "left"; shadow = 1; }; }; class Life_RscActiveText { idc = -1; type = 11; style = 0; x = 0; y = 0; h = 0.037; w = 0.3; sizeEx = 0.040; font = "RobotoCondensedLight"; color[] = {1, 1, 1, 1}; colorActive[] = {1, 0.2, 0.2, 1}; soundEnter[] = {"\A3\ui_f\data\sound\onover", 0.09, 1}; soundPush[] = {"\A3\ui_f\data\sound\new1", 0.0, 0}; soundClick[] = {"\A3\ui_f\data\sound\onclick", 0.07, 1}; soundEscape[] = {"\A3\ui_f\data\sound\onescape", 0.09, 1}; action = ""; text = ""; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; }; class Life_RscButton { style = 2; x = 0; y = 0; w = 0.095589; h = 0.039216; shadow = 2; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; colorText[] = {1,1,1,1.0}; colorDisabled[] = {0.4,0.4,0.4,1}; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",0.7}; colorBackgroundActive[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1}; colorBackgroundDisabled[] = {0.95,0.95,0.95,1}; offsetX = 0.003; offsetY = 0.003; offsetPressedX = 0.002; offsetPressedY = 0.002; colorFocused[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1}; colorShadow[] = {0,0,0,1}; colorBorder[] = {0,0,0,1}; borderSize = 0.0; soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1}; soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1}; soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1}; soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1}; }; class Life_RscButtonTextOnly : Life_RscButton { SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; colorBackground[] = {1, 1, 1, 0}; colorBackgroundActive[] = {1, 1, 1, 0}; colorBackgroundDisabled[] = {1, 1, 1, 0}; colorFocused[] = {1, 1, 1, 0}; colorShadow[] = {1, 1, 1, 0}; borderSize = 0.0; }; class Life_RscShortcutButton { idc = -1; style = 0; default = 0; shadow = 1; w = 0.183825; h = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)"; color[] = {1,1,1,1.0}; colorFocused[] = {1,1,1,1.0}; color2[] = {0.95,0.95,0.95,1}; colorDisabled[] = {1,1,1,0.25}; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1}; colorBackgroundFocused[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1}; colorBackground2[] = {1,1,1,1}; animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa"; animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa"; animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa"; animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\over_ca.paa"; animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\focus_ca.paa"; animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\down_ca.paa"; periodFocus = 1.2; periodOver = 0.8; class HitZone { left = 0.0; top = 0.0; right = 0.0; bottom = 0.0; }; class ShortcutPos { left = 0; top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2"; w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)"; h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; }; class TextPos { left = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)"; top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2"; right = 0.005; bottom = 0.0; }; period = 0.4; font = "RobotoCondensed"; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; text = ""; soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1}; soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1}; soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1}; soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1}; action = ""; class Attributes { font = "RobotoCondensed"; color = "#E5E5E5"; align = "left"; shadow = "true"; }; class AttributesImage { font = "RobotoCondensed"; color = "#E5E5E5"; align = "left"; }; }; class Life_RscButtonMenu : Life_RscShortcutButton { idc = -1; type = 16; style = "0x02 + 0xC0"; default = 0; shadow = 0; x = 0; y = 0; w = 0.095589; h = 0.039216; animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)"; animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)"; animTextureOver = "#(argb,8,8,3)color(1,1,1,1)"; animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)"; animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)"; animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)"; colorBackground[] = {0,0,0,0.8}; colorBackgroundFocused[] = {1,1,1,1}; colorBackground2[] = {0.75,0.75,0.75,1}; color[] = {1,1,1,1}; colorFocused[] = {0,0,0,1}; color2[] = {0,0,0,1}; colorText[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.25}; period = 1.2; periodFocus = 1.2; periodOver = 1.2; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; class TextPos { left = "0.25 * (((safezoneW / safezoneH) min 1.2) / 40)"; top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2"; right = 0.005; bottom = 0.0; }; class Attributes { font = "RobotoCondensedLight"; color = "#E5E5E5"; align = "left"; shadow = "false"; }; class ShortcutPos { left = "(6.25 * (((safezoneW / safezoneH) min 1.2) / 40)) - 0.0225 - 0.005"; top = 0.005; w = 0.0225; h = 0.03; }; soundEnter[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundEnter",0.09,1}; soundPush[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundPush",0.09,1}; soundClick[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundClick",0.09,1}; soundEscape[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundEscape",0.09,1}; textureNoShortcut = ""; }; class Life_RscShortcutButtonMain : Life_RscShortcutButton { idc = -1; style = 0; default = 0; w = 0.313726; h = 0.104575; color[] = {1, 1, 1, 1.0}; colorDisabled[] = {1, 1, 1, 0.25}; class HitZone { left = 0.0; top = 0.0; right = 0.0; bottom = 0.0; }; class ShortcutPos { left = 0.0145; top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2"; w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2) * (3/4)"; h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)"; }; class TextPos { left = "( ((safezoneW / safezoneH) min 1.2) / 32) * 1.5"; top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)*2 - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2"; right = 0.005; bottom = 0.0; }; animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa"; animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\disabled_ca.paa"; animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\over_ca.paa"; animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\focus_ca.paa"; animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\down_ca.paa"; animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa"; period = 0.5; font = "RobotoCondensed"; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)"; text = ""; soundEnter[] = {"\A3\ui_f\data\sound\onover", 0.09, 1}; soundPush[] = {"\A3\ui_f\data\sound\new1", 0.0, 0}; soundClick[] = {"\A3\ui_f\data\sound\onclick", 0.07, 1}; soundEscape[] = {"\A3\ui_f\data\sound\onescape", 0.09, 1}; action = ""; class Attributes { font = "RobotoCondensed"; color = "#E5E5E5"; align = "left"; shadow = "false"; }; class AttributesImage { font = "RobotoCondensed"; color = "#E5E5E5"; align = "false"; }; }; class Life_RscCheckbox { idc = -1; type = 7; style = 0; x = "LINE_X(XVAL)"; y = LINE_Y; w = "LINE_W(WVAL)"; h = 0.029412; colorText[] = {1, 0, 0, 1}; color[] = {0, 0, 0, 0}; colorBackground[] = {0, 0, 1, 1}; colorTextSelect[] = {0, 0.8, 0, 1}; colorSelectedBg[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1}; colorSelect[] = {0, 0, 0, 1}; colorTextDisable[] = {0.4, 0.4, 0.4, 1}; colorDisable[] = {0.4, 0.4, 0.4, 1}; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; rows = 1; 5ns = 1; strings[] = {UNCHECKED}; checked_strings[] = {CHECKED}; }; class Life_RscProgress { type = 8; style = 0; x = 0.344; y = 0.619; w = 0.313726; h = 0.0261438; texture = ""; shadow = 2; colorFrame[] = {0, 0, 0, 1}; colorBackground[] = {0,0,0,0.7}; colorBar[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; }; class Life_RscListBox { style = 16; idc = -1; type = 5; w = 0.275; h = 0.04; font = "RobotoCondensed"; colorSelect[] = {1, 1, 1, 1}; colorText[] = {1, 1, 1, 1}; colorBackground[] = {0.28,0.28,0.28,0.28}; colorSelect2[] = {1, 1, 1, 1}; colorSelectBackground[] = {0.95, 0.95, 0.95, 0.5}; colorSelectBackground2[] = {1, 1, 1, 0.5}; colorScrollbar[] = {0.2, 0.2, 0.2, 1}; colorPicture[] = {1,1,1,1}; colorPictureSelected[] = {1,1,1,1}; colorPictureDisabled[] = {1,1,1,1}; arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; wholeHeight = 0.45; rowHeight = 0.04; color[] = {0.7, 0.7, 0.7, 1}; colorActive[] = {0,0,0,1}; colorDisabled[] = {0,0,0,0.3}; sizeEx = 0.023; soundSelect[] = {"",0.1,1}; soundExpand[] = {"",0.1,1}; soundCollapse[] = {"",0.1,1}; maxHistoryDelay = 1; autoScrollSpeed = -1; autoScrollDelay = 5; autoScrollRewind = 0; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; class ListScrollBar: Life_RscScrollBar { color[] = {1,1,1,1}; autoScrollEnabled = 1; }; }; class Life_RscEdit { type = 2; style = 0x00 + 0x40; font = "RobotoCondensed"; shadow = 2; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; colorBackground[] = {0, 0, 0, 1}; soundSelect[] = {"",0.1,1}; soundExpand[] = {"",0.1,1}; colorText[] = {0.95, 0.95, 0.95, 1}; colorDisabled[] = {1, 1, 1, 0.25}; autocomplete = false; colorSelection[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1}; canModify = 1; }; class Life_RscSlider { h = 0.025; color[] = {1, 1, 1, 0.8}; colorActive[] = {1, 1, 1, 1}; }; class life_RscXSliderH { style = 1024; type = 43; shadow = 2; x = 0; y = 0; h = 0.029412; w = 0.400000; color[] = { 1, 1, 1, 0.7 }; colorActive[] = { 1, 1, 1, 1 }; colorDisabled[] = { 1, 1, 1, 0.500000 }; arrowEmpty = "\A3\ui_f\data\gui\cfg\slider\arrowEmpty_ca.paa"; arrowFull = "\A3\ui_f\data\gui\cfg\slider\arrowFull_ca.paa"; border = "\A3\ui_f\data\gui\cfg\slider\border_ca.paa"; thumb = "\A3\ui_f\data\gui\cfg\slider\thumb_ca.paa"; }; class Life_RscFrame { type = 0; idc = -1; style = 64; shadow = 2; colorBackground[] = {0, 0, 0, 0}; colorText[] = {1, 1, 1, 1}; font = "RobotoCondensed"; sizeEx = 0.02; text = ""; }; class Life_RscBackground: Life_RscText { type = 0; IDC = -1; style = 512; shadow = 0; x = 0.0; y = 0.0; w = 1.0; h = 1.0; text = ""; ColorBackground[] = {0.48, 0.5, 0.35, 1}; ColorText[] = {0.1, 0.1, 0.1, 1}; font = "RobotoCondensed"; SizeEx = 1; }; class Life_RscHTML { colorText[] = {1, 1, 1, 1.0}; colorBold[] = {1, 1, 1, 1.0}; colorLink[] = {1, 1, 1, 0.75}; colorLinkActive[] = {1, 1, 1, 1.0}; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; prevPage = "\A3\ui_f\data\gui\Rsccommon\Rschtml\arrow_left_ca.paa"; nextPage = "\A3\ui_f\data\gui\Rsccommon\Rschtml\arrow_right_ca.paa"; shadow = 2; class H1 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)"; align = "left"; }; class H2 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "right"; }; class H3 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "left"; }; class H4 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "left"; }; class H5 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "left"; }; class H6 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "left"; }; class P { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "left"; }; }; class Life_RscHitZones { x = 0; y = 0; w = 0.1; h = 0.1; xCount = 1; yCount = 1; xSpace = 0; ySpace = 0; }; class Life_RscMapControl { access = 0; type = 101; idc = 51; style = 48; colorBackground[] = {0.969,0.957,0.949,1}; colorOutside[] = {0,0,0,1}; colorText[] = {0,0,0,1}; font = "TahomaB"; sizeEx = 0.04; colorSea[] = {0.467,0.631,0.851,0.5}; colorForest[] = {0.624,0.78,0.388,0.5}; colorRocks[] = {0,0,0,0.3}; colorCountlines[] = {0.572,0.354,0.188,0.25}; colorMainCountlines[] = {0.572,0.354,0.188,0.5}; colorCountlinesWater[] = {0.491,0.577,0.702,0.3}; colorMainCountlinesWater[] = {0.491,0.577,0.702,0.6}; colorForestBorder[] = {0,0,0,0}; colorRocksBorder[] = {0,0,0,0}; colorPowerLines[] = {0.1,0.1,0.1,1}; colorRailWay[] = {0.8,0.2,0,1}; colorNames[] = {0.1,0.1,0.1,0.9}; colorInactive[] = {1,1,1,0.5}; colorLevels[] = {0.286,0.177,0.094,0.5}; colorTracks[] = {0.84,0.76,0.65,0.15}; colorRoads[] = {0.7,0.7,0.7,1}; colorMainRoads[] = {0.9,0.5,0.3,1}; colorTracksFill[] = {0.84,0.76,0.65,1}; colorRoadsFill[] = {1,1,1,1}; colorMainRoadsFill[] = {1,0.6,0.4,1}; colorGrid[] = {0.1,0.1,0.1,0.6}; colorGridMap[] = {0.1,0.1,0.1,0.6}; stickX[] = {0.2,{"Gamma",1,1.5}}; stickY[] = {0.2,{"Gamma",1,1.5}}; class Legend { colorBackground[] = {1,1,1,0.5}; color[] = {0,0,0,1}; x = "SafeZoneX + (((safezoneW / safezoneH) min 1.2) / 40)"; y = "SafeZoneY + safezoneH - 4.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w = "10 * (((safezoneW / safezoneH) min 1.2) / 40)"; h = "3.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; }; class ActiveMarker { color[] = {0.3,0.1,0.9,1}; size = 50; }; class Command { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa"; size = 18; importance = 1; coefMin = 1; coefMax = 1; }; class Task { colorCreated[] = {1,1,1,1}; colorCanceled[] = {0.7,0.7,0.7,1}; colorDone[] = {0.7,1,0.3,1}; colorFailed[] = {1,0.3,0.2,1}; color[] = {"(profilenamespace getvariable ['IGUI_TEXT_RGB_R',0])","(profilenamespace getvariable ['IGUI_TEXT_RGB_G',1])","(profilenamespace getvariable ['IGUI_TEXT_RGB_B',1])","(profilenamespace getvariable ['IGUI_TEXT_RGB_A',0.8])"}; icon = "\A3\ui_f\data\map\mapcontrol\taskIcon_CA.paa"; iconCreated = "\A3\ui_f\data\map\mapcontrol\taskIconCreated_CA.paa"; iconCanceled = "\A3\ui_f\data\map\mapcontrol\taskIconCanceled_CA.paa"; iconDone = "\A3\ui_f\data\map\mapcontrol\taskIconDone_CA.paa"; iconFailed = "\A3\ui_f\data\map\mapcontrol\taskIconFailed_CA.paa"; size = 27; importance = 1; coefMin = 1; coefMax = 1; }; class CustomMark { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\custommark_ca.paa"; size = 24; importance = 1; coefMin = 1; coefMax = 1; }; class Tree { color[] = {0.45,0.64,0.33,0.4}; icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa"; size = 12; importance = "0.9 * 16 * 0.05"; coefMin = 0.25; coefMax = 4; }; class SmallTree { color[] = {0.45,0.64,0.33,0.4}; icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa"; size = 12; importance = "0.6 * 12 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Bush { color[] = {0.45,0.64,0.33,0.4}; icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa"; size = "14/2"; importance = "0.2 * 14 * 0.05 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Church { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\church_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Chapel { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\Chapel_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Cross { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\Cross_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Rock { color[] = {0.1,0.1,0.1,0.8}; icon = "\A3\ui_f\data\map\mapcontrol\rock_ca.paa"; size = 12; importance = "0.5 * 12 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Bunker { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa"; size = 14; importance = "1.5 * 14 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Fortress { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa"; size = 16; importance = "2 * 16 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Fountain { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\fountain_ca.paa"; size = 11; importance = "1 * 12 * 0.05"; coefMin = 0.25; coefMax = 4; }; class ViewTower { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\viewtower_ca.paa"; size = 16; importance = "2.5 * 16 * 0.05"; coefMin = 0.5; coefMax = 4; }; class Lighthouse { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\lighthouse_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Quay { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\quay_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Fuelstation { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\fuelstation_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Hospital { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\hospital_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class BusStop { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\busstop_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Transmitter { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\transmitter_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Stack { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\stack_ca.paa"; size = 20; importance = "2 * 16 * 0.05"; coefMin = 0.9; coefMax = 4; }; class Ruin { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\ruin_ca.paa"; size = 16; importance = "1.2 * 16 * 0.05"; coefMin = 1; coefMax = 4; }; class Tourism { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\tourism_ca.paa"; size = 16; importance = "1 * 16 * 0.05"; coefMin = 0.7; coefMax = 4; }; class Watertower { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\watertower_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Waypoint { color[] = {0,0,0,1}; size = 24; importance = 1; coefMin = 1; coefMax = 1; icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa"; }; class WaypointCompleted { color[] = {0,0,0,1}; size = 24; importance = 1; coefMin = 1; coefMax = 1; icon = "\A3\ui_f\data\map\mapcontrol\waypointCompleted_ca.paa"; }; moveOnEdges = 0;//1; x = "SafeZoneXAbs"; y = "SafeZoneY + 1.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w = "SafeZoneWAbs"; h = "SafeZoneH - 1.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; shadow = 0; ptsPerSquareSea = 5; ptsPerSquareTxt = 3; ptsPerSquareCLn = 10; ptsPerSquareExp = 10; ptsPerSquareCost = 10; ptsPerSquareFor = 9; ptsPerSquareForEdge = 9; ptsPerSquareRoad = 6; ptsPerSquareObj = 9; showCountourInterval = 0; scaleMin = 0.001; scaleMax = 1; scaleDefault = 0.16; maxSatelliteAlpha = 0.85; alphaFadeStartScale = 0.35; alphaFadeEndScale = 0.4; fontLabel = "RobotoCondensed"; sizeExLabel = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; fontGrid = "TahomaB"; sizeExGrid = 0.02; fontUnits = "TahomaB"; sizeExUnits = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; fontNames = "RobotoCondensed"; sizeExNames = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8) * 2"; fontInfo = "RobotoCondensed"; sizeExInfo = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; fontLevel = "TahomaB"; sizeExLevel = 0.02; text = "#(argb,8,8,3)color(1,1,1,1)"; //text = "\a3\ui_f\data\map_background2_co.paa"; class power { icon = "\A3\ui_f\data\map\mapcontrol\power_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1,1,1,1}; }; class powersolar { icon = "\A3\ui_f\data\map\mapcontrol\powersolar_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1,1,1,1}; }; class powerwave { icon = "\A3\ui_f\data\map\mapcontrol\powerwave_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1,1,1,1}; }; class powerwind { icon = "\A3\ui_f\data\map\mapcontrol\powerwind_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1,1,1,1}; }; class shipwreck { icon = "\A3\ui_f\data\map\mapcontrol\shipwreck_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1,1,1,1}; }; class LineMarker { lineDistanceMin = 3e-005; lineLengthMin = 5; lineWidthThick = 0.014; lineWidthThin = 0.008; textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)"; }; }; class Life_RscCombo { style = 16; type = 4; x = 0; y = 0; w = 0.12; h = 0.035; shadow = 0; colorSelect[] = {0, 0, 0, 1}; soundExpand[] = {"",0.1,1}; colorText[] = {0.95, 0.95, 0.95, 1}; soundCollapse[] = {"",0.1,1}; maxHistoryDelay = 1; colorBackground[] = {0.4,0.4,0.4,0.4}; colorSelectBackground[] = {1, 1, 1, 0.7}; colow_Rscrollbar[] = {1, 0, 0, 1}; soundSelect[] = { "", 0.000000, 1 }; arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; wholeHeight = 0.45; color[] = {1, 1, 1, 1}; colorActive[] = {1, 0, 0, 1}; colorDisabled[] = {1, 1, 1, 0.25}; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; class ComboScrollBar : Life_RscScrollBar {}; }; class Life_RscToolbox { colorText[] = {0.95, 0.95, 0.95, 1}; color[] = {0.95, 0.95, 0.95, 1}; colorTextSelect[] = {0.95, 0.95, 0.95, 1}; colorSelect[] = {0.95, 0.95, 0.95, 1}; colorTextDisable[] = {0.4, 0.4, 0.4, 1}; colorDisable[] = {0.4, 0.4, 0.4, 1}; colorSelectedBg[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; }; And you are now done, Enjoy the Dialog if you want to see what It looks like then have a look below.
  7. Pasta_Bake

    [TUTORIAL] New Gun shop Dialog

    I shall give that a Try, it does look ok to see out of screenshots.
  8. Pasta_Bake

    [TUTORIAL] New Gun shop Dialog

    Screenshot added
  9. Pasta_Bake

    [TUTORIAL] New Gun shop Dialog

    Hello, I have made a New gun shop Dialog this is for version 5 of altis life. Dont see why I wont work for other versions. Step one: Go into dialog folder and copy this into shops.hpp class life_weapon_shop { idd = 38400; movingEnable = 0; enableSimulation = 1; class controlsBackground { class Background: Life_IGUIBack { colorBackground[] = {0,0,0,0.7}; idc = 2200; x = 0.716562 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.273281 * safezoneW; h = 0.968 * safezoneH; }; class Background2: Life_IGUIBack { colorBackground[] = {0,0,0,0.7}; idc = 2201; x = 0.716563 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.273281 * safezoneW; h = 0.968 * safezoneH; }; class Title: Life_RscStructuredText { idc = 1100; text = "Weapon Store"; //--- ToDo: Localize; x = 0.824844 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.0825 * safezoneW; h = 0.033 * safezoneH; }; class Title2: Life_RscStructuredText { idc = 1106; text = "Weapon Information"; //--- ToDo: Localize; x = 0.732031 * safezoneW + safezoneX; y = 0.588 * safezoneH + safezoneY; w = 0.0825 * safezoneW; h = 0.022 * safezoneH; }; }; class controls { class ButtonMags: Life_RscButtonMenu { onButtonClick = "_this call life_fnc_weaponShopMags; _this call life_fnc_weaponShopFilter"; idc = 38406; text = "Magazines"; //--- ToDo: Localize; x = 0.840312 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.022 * safezoneH; }; class itemList: Life_RscListbox { onLBSelChanged = "_this call life_fnc_weaponShopSelection"; idc = 38403; x = 0.732031 * safezoneW + safezoneX; y = 0.06 * safezoneH + safezoneY; w = 0.242344 * safezoneW; h = 0.517 * safezoneH; }; class CloseButtonKey: Life_RscButtonMenu { onButtonClick = "closeDialog 0; [] call life_fnc_playerSkins;"; idc = 2400; text = "Exit"; //--- ToDo: Localize; x = 0.9125 * safezoneW + safezoneX; y = 0.786 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.022 * safezoneH; }; class ButtonBuySell: Life_RscButtonMenu { onButtonClick = "[] spawn life_fnc_weaponShopBuySell; true"; idc = 38405; text = "Buy Weapon"; //--- ToDo: Localize; x = 0.9125 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.022 * safezoneH; }; class itemInfo: Life_RscStructuredText { idc = 38404; x = 0.732031 * safezoneW + safezoneX; y = 0.632 * safezoneH + safezoneY; w = 0.2475 * safezoneW; h = 0.143 * safezoneH; }; class FilterList: Life_RscCombo { onLBSelChanged = "_this call life_fnc_weaponShopFilter"; idc = 38402; x = 0.732031 * safezoneW + safezoneX; y = 0.786 * safezoneH + safezoneY; w = 0.113437 * safezoneW; h = 0.022 * safezoneH; }; class ButtonAccs: Life_RscButtonMenu { onButtonClick = "_this call life_fnc_weaponShopAccs; _this call life_fnc_weaponShopFilter"; idc = 38407; text = "Attachments"; //--- ToDo: Localize; x = 0.762969 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.0721875 * safezoneW; h = 0.022 * safezoneH; }; }; }; Step two: Go into Dialog\common.hpp and replace the whole file. #define ST_LEFT 0x00 #define ST_MULTI 0x10 #define GUI_GRID_CENTER_WAbs ((safezoneW / safezoneH) min 1.2) #define GUI_GRID_CENTER_HAbs (GUI_GRID_CENTER_WAbs / 1.2) #define GUI_GRID_CENTER_W (GUI_GRID_CENTER_WAbs / 40) #define GUI_GRID_CENTER_H (GUI_GRID_CENTER_HAbs / 25) #define GUI_GRID_CENTER_X (safezoneX + (safezoneW - GUI_GRID_CENTER_WAbs)/2) #define GUI_GRID_CENTER_Y (safezoneY + (safezoneH - GUI_GRID_CENTER_HAbs)/2) class Life_Checkbox { access = 0; // Control access (0 - ReadAndWrite, 1 - ReadAndCreate, 2 - ReadOnly, 3 - ReadOnlyVerified) idc = -1; // Control identification (without it, the control won't be displayed) type = 77; // Type style = ST_LEFT + ST_MULTI; // Style default = 0; // Control selected by default (only one within a display can be used) blinkingPeriod = 0; // Time in which control will fade out and back in. Use 0 to disable the effect. x = 0; y = 0; w = 1 * GUI_GRID_CENTER_W; // Width h = 1 * GUI_GRID_CENTER_H; // Height //Colors color[] = { 1, 1, 1, 0.7 }; // Texture color colorFocused[] = { 1, 1, 1, 1 }; // Focused texture color colorHover[] = { 1, 1, 1, 1 }; // Mouse over texture color colorPressed[] = { 1, 1, 1, 1 }; // Mouse pressed texture color colorDisabled[] = { 1, 1, 1, 0.2 }; // Disabled texture color //Background colors colorBackground[] = { 0, 0, 0, 0 }; // Fill color colorBackgroundFocused[] = { 0, 0, 0, 0 }; // Focused fill color colorBackgroundHover[] = { 0, 0, 0, 0 }; // Mouse hover fill color colorBackgroundPressed[] = { 0, 0, 0, 0 }; // Mouse pressed fill color colorBackgroundDisabled[] = { 0, 0, 0, 0 }; // Disabled fill color //Textures textureChecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa"; //Texture of checked CheckBox. textureUnchecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa"; //Texture of unchecked CheckBox. textureFocusedChecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa"; //Texture of checked focused CheckBox (Could be used for showing different texture when focused). textureFocusedUnchecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa"; //Texture of unchecked focused CheckBox. textureHoverChecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa"; textureHoverUnchecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa"; texturePressedChecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa"; texturePressedUnchecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa"; textureDisabledChecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa"; textureDisabledUnchecked = "\A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa"; tooltip = ""; // Tooltip text tooltipColorShade[] = { 0, 0, 0, 1 }; // Tooltip background color tooltipColorText[] = { 1, 1, 1, 1 }; // Tooltip text color tooltipColorBox[] = { 1, 1, 1, 1 }; // Tooltip frame color //Sounds soundClick[] = { "\A3\ui_f\data\sound\RscButton\soundClick", 0.09, 1 }; // Sound played after control is activated in format {file, volume, pitch} soundEnter[] = { "\A3\ui_f\data\sound\RscButton\soundEnter", 0.09, 1 }; // Sound played when mouse cursor enters the control soundPush[] = { "\A3\ui_f\data\sound\RscButton\soundPush", 0.09, 1 }; // Sound played when the control is pushed down soundEscape[] = { "\A3\ui_f\data\sound\RscButton\soundEscape", 0.09, 1 }; // Sound played when the control is released after pushing down }; class Life_RscScrollBar { color[] = {1,1,1,0.6}; colorActive[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.3}; thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa"; arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa"; shadow = 0; scrollSpeed = 0.06; width = 0; height = 0; autoScrollEnabled = 1; autoScrollSpeed = -1; autoScrollDelay = 5; autoScrollRewind = 0; }; class Life_RscControlsGroup { type = 15; idc = -1; x = 0; y = 0; w = 1; h = 1; shadow = 0; style = 16; class VScrollBar : Life_RscScrollBar { width = 0.021; autoScrollEnabled = 1; }; class HScrollBar : Life_RscScrollBar { height = 0.028; }; class Controls {}; }; class Life_RscControlsGroupNoScrollbars : Life_RscControlsGroup { class VScrollbar : VScrollbar { width = 0; }; class HScrollbar : HScrollbar { height = 0; }; }; class Life_RscHud { idc = -1; type = 0; style = 0x00; colorBackground[] = { 1 , 1 , 1 , 0 }; colorText[] = { 1 , 1 , 1 , 1 }; font = "RobotoCondensedBold"; sizeEx = 0.025; h = 0.25; text = ""; }; class Life_IGUIBack { type = 0; idc = 124; style = 128; text = ""; colorText[] = { 0, 0, 0, 0 }; font = "RobotoCondensed"; sizeEx = 0; shadow = 0; x = 0.1; y = 0.1; w = 0.1; h = 0.1; colorbackground[] = { "(profilenamespace getvariable ['IGUI_BCG_RGB_R',0])", "(profilenamespace getvariable ['IGUI_BCG_RGB_G',1])", "(profilenamespace getvariable ['IGUI_BCG_RGB_B',1])", "(profilenamespace getvariable ['IGUI_BCG_RGB_A',0.8])" }; }; class Life_RscListNBox { style = 16; type = 102; shadow = 0; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; color[] = {0.95,0.95,0.95,1}; colorText[] = {1,1,1,1.0}; colorDisabled[] = {1,1,1,0.25}; colorScrollbar[] = {0.95,0.95,0.95,1}; colorSelect[] = {0,0,0,1}; colorSelect2[] = {0,0,0,1}; colorSelectBackground[] = {0.8,0.8,0.8,1}; colorSelectBackground2[] = {1,1,1,0.5}; colorPicture[] = {1,1,1,1}; colorPictureSelected[] = {1,1,1,1}; colorPictureDisabled[] = {1,1,1,1}; soundSelect[] = {"",0.1,1}; soundExpand[] = {"",0.1,1}; soundCollapse[] = {"",0.1,1}; period = 1.2; maxHistoryDelay = 0.5; autoScrollSpeed = -1; autoScrollDelay = 5; autoScrollRewind = 0; class ListScrollBar: Life_RscScrollBar{}; class ScrollBar: Life_RscScrollBar{}; }; class Life_RscText { x = 0; y = 0; h = 0.037; w = 0.3; type = 0; style = 0; shadow = 1; colorShadow[] = {0, 0, 0, 0.5}; font = "RobotoCondensed"; SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; text = ""; colorText[] = {1, 1, 1, 1.0}; colorBackground[] = {0, 0, 0, 0}; linespacing = 1; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; }; class Life_RscLine: Life_RscText { idc = -1; style = 176; x = 0.17; y = 0.48; w = 0.66; h = 0; text = ""; colorBackground[] = {0, 0, 0, 0}; colorText[] = {1, 1, 1, 1.0}; }; class Life_RscTree { style = 2; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; expandedTexture = "A3\ui_f\data\gui\Rsccommon\Rsctree\expandedTexture_ca.paa"; hiddenTexture = "A3\ui_f\data\gui\Rsccommon\Rsctree\hiddenTexture_ca.paa"; rowHeight = 0.0439091; color[] = {1, 1, 1, 1}; colorSelect[] = {0.7, 0.7, 0.7, 1}; colorBackground[] = {0, 0, 0, 0}; colorSelectBackground[] = {0, 0, 0, 0.5}; colorBorder[] = {0, 0, 0, 0}; borderSize = 0; }; class Life_RscTitle: Life_RscText { style = 0; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; colorText[] = {0.95, 0.95, 0.95, 1}; }; class life_RscPicture { shadow = 0; type = 0; style = 48; sizeEx = 0.023; font = "RobotoCondensed"; colorBackground[] = {}; colorText[] = {}; x = 0; y = 0; w = 0.2; h = 0.15; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; }; class Life_RscTextMulti: Life_RscText { linespacing = 1; style = 0 + 16 + 0x200; }; class Life_RscPictureKeepAspect : Life_RscPicture { style = 0x30 + 0x800; }; class Life_RscStructuredText { type = 13; style = 0; x = 0; y = 0; h = 0.035; w = 0.1; text = ""; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; colorText[] = {1, 1, 1, 1.0}; shadow = 1; class Attributes { font = "RobotoCondensed"; color = "#ffffff"; align = "left"; shadow = 1; }; }; class Life_RscActiveText { idc = -1; type = 11; style = 0; x = 0; y = 0; h = 0.037; w = 0.3; sizeEx = 0.040; font = "RobotoCondensedLight"; color[] = {1, 1, 1, 1}; colorActive[] = {1, 0.2, 0.2, 1}; soundEnter[] = {"\A3\ui_f\data\sound\onover", 0.09, 1}; soundPush[] = {"\A3\ui_f\data\sound\new1", 0.0, 0}; soundClick[] = {"\A3\ui_f\data\sound\onclick", 0.07, 1}; soundEscape[] = {"\A3\ui_f\data\sound\onescape", 0.09, 1}; action = ""; text = ""; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; }; class Life_RscButton { style = 2; x = 0; y = 0; w = 0.095589; h = 0.039216; shadow = 2; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; colorText[] = {1,1,1,1.0}; colorDisabled[] = {0.4,0.4,0.4,1}; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",0.7}; colorBackgroundActive[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1}; colorBackgroundDisabled[] = {0.95,0.95,0.95,1}; offsetX = 0.003; offsetY = 0.003; offsetPressedX = 0.002; offsetPressedY = 0.002; colorFocused[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1}; colorShadow[] = {0,0,0,1}; colorBorder[] = {0,0,0,1}; borderSize = 0.0; soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1}; soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1}; soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1}; soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1}; }; class Life_RscButtonTextOnly : Life_RscButton { SizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; colorBackground[] = {1, 1, 1, 0}; colorBackgroundActive[] = {1, 1, 1, 0}; colorBackgroundDisabled[] = {1, 1, 1, 0}; colorFocused[] = {1, 1, 1, 0}; colorShadow[] = {1, 1, 1, 0}; borderSize = 0.0; }; class Life_RscShortcutButton { idc = -1; style = 0; default = 0; shadow = 1; w = 0.183825; h = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)"; color[] = {1,1,1,1.0}; colorFocused[] = {1,1,1,1.0}; color2[] = {0.95,0.95,0.95,1}; colorDisabled[] = {1,1,1,0.25}; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1}; colorBackgroundFocused[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.69])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.75])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.5])",1}; colorBackground2[] = {1,1,1,1}; animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa"; animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa"; animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\normal_ca.paa"; animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\over_ca.paa"; animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\focus_ca.paa"; animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButton\down_ca.paa"; periodFocus = 1.2; periodOver = 0.8; class HitZone { left = 0.0; top = 0.0; right = 0.0; bottom = 0.0; }; class ShortcutPos { left = 0; top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2"; w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)"; h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; }; class TextPos { left = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * (3/4)"; top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2"; right = 0.005; bottom = 0.0; }; period = 0.4; font = "RobotoCondensed"; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; text = ""; soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1}; soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1}; soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1}; soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1}; action = ""; class Attributes { font = "RobotoCondensed"; color = "#E5E5E5"; align = "left"; shadow = "true"; }; class AttributesImage { font = "RobotoCondensed"; color = "#E5E5E5"; align = "left"; }; }; class Life_RscButtonMenu : Life_RscShortcutButton { idc = -1; type = 16; style = "0x02 + 0xC0"; default = 0; shadow = 0; x = 0; y = 0; w = 0.095589; h = 0.039216; animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)"; animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)"; animTextureOver = "#(argb,8,8,3)color(1,1,1,1)"; animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)"; animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)"; animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)"; colorBackground[] = {0,0,0,0.8}; colorBackgroundFocused[] = {1,1,1,1}; colorBackground2[] = {0.75,0.75,0.75,1}; color[] = {1,1,1,1}; colorFocused[] = {0,0,0,1}; color2[] = {0,0,0,1}; colorText[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.25}; period = 1.2; periodFocus = 1.2; periodOver = 1.2; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; class TextPos { left = "0.25 * (((safezoneW / safezoneH) min 1.2) / 40)"; top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)) / 2"; right = 0.005; bottom = 0.0; }; class Attributes { font = "RobotoCondensedLight"; color = "#E5E5E5"; align = "left"; shadow = "false"; }; class ShortcutPos { left = "(6.25 * (((safezoneW / safezoneH) min 1.2) / 40)) - 0.0225 - 0.005"; top = 0.005; w = 0.0225; h = 0.03; }; soundEnter[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundEnter",0.09,1}; soundPush[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundPush",0.09,1}; soundClick[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundClick",0.09,1}; soundEscape[] = {"\A3\ui_f\data\sound\RscButtonMenu\soundEscape",0.09,1}; textureNoShortcut = ""; }; class Life_RscShortcutButtonMain : Life_RscShortcutButton { idc = -1; style = 0; default = 0; w = 0.313726; h = 0.104575; color[] = {1, 1, 1, 1.0}; colorDisabled[] = {1, 1, 1, 0.25}; class HitZone { left = 0.0; top = 0.0; right = 0.0; bottom = 0.0; }; class ShortcutPos { left = 0.0145; top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20) - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2"; w = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2) * (3/4)"; h = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)"; }; class TextPos { left = "( ((safezoneW / safezoneH) min 1.2) / 32) * 1.5"; top = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 20)*2 - (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)) / 2"; right = 0.005; bottom = 0.0; }; animTextureNormal = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa"; animTextureDisabled = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\disabled_ca.paa"; animTextureOver = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\over_ca.paa"; animTextureFocused = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\focus_ca.paa"; animTexturePressed = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\down_ca.paa"; animTextureDefault = "\A3\ui_f\data\GUI\RscCommon\RscShortcutButtonMain\normal_ca.paa"; period = 0.5; font = "RobotoCondensed"; size = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)"; text = ""; soundEnter[] = {"\A3\ui_f\data\sound\onover", 0.09, 1}; soundPush[] = {"\A3\ui_f\data\sound\new1", 0.0, 0}; soundClick[] = {"\A3\ui_f\data\sound\onclick", 0.07, 1}; soundEscape[] = {"\A3\ui_f\data\sound\onescape", 0.09, 1}; action = ""; class Attributes { font = "RobotoCondensed"; color = "#E5E5E5"; align = "left"; shadow = "false"; }; class AttributesImage { font = "RobotoCondensed"; color = "#E5E5E5"; align = "false"; }; }; class Life_RscCheckbox { idc = -1; type = 7; style = 0; x = "LINE_X(XVAL)"; y = LINE_Y; w = "LINE_W(WVAL)"; h = 0.029412; colorText[] = {1, 0, 0, 1}; color[] = {0, 0, 0, 0}; colorBackground[] = {0, 0, 1, 1}; colorTextSelect[] = {0, 0.8, 0, 1}; colorSelectedBg[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1}; colorSelect[] = {0, 0, 0, 1}; colorTextDisable[] = {0.4, 0.4, 0.4, 1}; colorDisable[] = {0.4, 0.4, 0.4, 1}; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; rows = 1; 5ns = 1; strings[] = {UNCHECKED}; checked_strings[] = {CHECKED}; }; class Life_RscProgress { type = 8; style = 0; x = 0.344; y = 0.619; w = 0.313726; h = 0.0261438; texture = ""; shadow = 2; colorFrame[] = {0, 0, 0, 1}; colorBackground[] = {0,0,0,0.7}; colorBar[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; }; class Life_RscListBox { style = 16; idc = -1; type = 5; w = 0.275; h = 0.04; font = "RobotoCondensed"; colorSelect[] = {1, 1, 1, 1}; colorText[] = {1, 1, 1, 1}; colorBackground[] = {0.28,0.28,0.28,0.28}; colorSelect2[] = {1, 1, 1, 1}; colorSelectBackground[] = {0.95, 0.95, 0.95, 0.5}; colorSelectBackground2[] = {1, 1, 1, 0.5}; colorScrollbar[] = {0.2, 0.2, 0.2, 1}; colorPicture[] = {1,1,1,1}; colorPictureSelected[] = {1,1,1,1}; colorPictureDisabled[] = {1,1,1,1}; arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; wholeHeight = 0.45; rowHeight = 0.04; color[] = {0.7, 0.7, 0.7, 1}; colorActive[] = {0,0,0,1}; colorDisabled[] = {0,0,0,0.3}; sizeEx = 0.023; soundSelect[] = {"",0.1,1}; soundExpand[] = {"",0.1,1}; soundCollapse[] = {"",0.1,1}; maxHistoryDelay = 1; autoScrollSpeed = -1; autoScrollDelay = 5; autoScrollRewind = 0; tooltipColorText[] = {1,1,1,1}; tooltipColorBox[] = {1,1,1,1}; tooltipColorShade[] = {0,0,0,0.65}; class ListScrollBar: Life_RscScrollBar { color[] = {1,1,1,1}; autoScrollEnabled = 1; }; }; class Life_RscEdit { type = 2; style = 0x00 + 0x40; font = "RobotoCondensed"; shadow = 2; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; colorBackground[] = {0, 0, 0, 1}; soundSelect[] = {"",0.1,1}; soundExpand[] = {"",0.1,1}; colorText[] = {0.95, 0.95, 0.95, 1}; colorDisabled[] = {1, 1, 1, 0.25}; autocomplete = false; colorSelection[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 1}; canModify = 1; }; class Life_RscSlider { h = 0.025; color[] = {1, 1, 1, 0.8}; colorActive[] = {1, 1, 1, 1}; }; class life_RscXSliderH { style = 1024; type = 43; shadow = 2; x = 0; y = 0; h = 0.029412; w = 0.400000; color[] = { 1, 1, 1, 0.7 }; colorActive[] = { 1, 1, 1, 1 }; colorDisabled[] = { 1, 1, 1, 0.500000 }; arrowEmpty = "\A3\ui_f\data\gui\cfg\slider\arrowEmpty_ca.paa"; arrowFull = "\A3\ui_f\data\gui\cfg\slider\arrowFull_ca.paa"; border = "\A3\ui_f\data\gui\cfg\slider\border_ca.paa"; thumb = "\A3\ui_f\data\gui\cfg\slider\thumb_ca.paa"; }; class Life_RscFrame { type = 0; idc = -1; style = 64; shadow = 2; colorBackground[] = {0, 0, 0, 0}; colorText[] = {1, 1, 1, 1}; font = "RobotoCondensed"; sizeEx = 0.02; text = ""; }; class Life_RscBackground: Life_RscText { type = 0; IDC = -1; style = 512; shadow = 0; x = 0.0; y = 0.0; w = 1.0; h = 1.0; text = ""; ColorBackground[] = {0.48, 0.5, 0.35, 1}; ColorText[] = {0.1, 0.1, 0.1, 1}; font = "RobotoCondensed"; SizeEx = 1; }; class Life_RscHTML { colorText[] = {1, 1, 1, 1.0}; colorBold[] = {1, 1, 1, 1.0}; colorLink[] = {1, 1, 1, 0.75}; colorLinkActive[] = {1, 1, 1, 1.0}; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; prevPage = "\A3\ui_f\data\gui\Rsccommon\Rschtml\arrow_left_ca.paa"; nextPage = "\A3\ui_f\data\gui\Rsccommon\Rschtml\arrow_right_ca.paa"; shadow = 2; class H1 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)"; align = "left"; }; class H2 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "right"; }; class H3 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "left"; }; class H4 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "left"; }; class H5 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "left"; }; class H6 { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "left"; }; class P { font = "RobotoCondensed"; fontBold = "RobotoCondensedBold"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; align = "left"; }; }; class Life_RscHitZones { x = 0; y = 0; w = 0.1; h = 0.1; xCount = 1; yCount = 1; xSpace = 0; ySpace = 0; }; class Life_RscMapControl { access = 0; type = 101; idc = 51; style = 48; colorBackground[] = {0.969,0.957,0.949,1}; colorOutside[] = {0,0,0,1}; colorText[] = {0,0,0,1}; font = "TahomaB"; sizeEx = 0.04; colorSea[] = {0.467,0.631,0.851,0.5}; colorForest[] = {0.624,0.78,0.388,0.5}; colorRocks[] = {0,0,0,0.3}; colorCountlines[] = {0.572,0.354,0.188,0.25}; colorMainCountlines[] = {0.572,0.354,0.188,0.5}; colorCountlinesWater[] = {0.491,0.577,0.702,0.3}; colorMainCountlinesWater[] = {0.491,0.577,0.702,0.6}; colorForestBorder[] = {0,0,0,0}; colorRocksBorder[] = {0,0,0,0}; colorPowerLines[] = {0.1,0.1,0.1,1}; colorRailWay[] = {0.8,0.2,0,1}; colorNames[] = {0.1,0.1,0.1,0.9}; colorInactive[] = {1,1,1,0.5}; colorLevels[] = {0.286,0.177,0.094,0.5}; colorTracks[] = {0.84,0.76,0.65,0.15}; colorRoads[] = {0.7,0.7,0.7,1}; colorMainRoads[] = {0.9,0.5,0.3,1}; colorTracksFill[] = {0.84,0.76,0.65,1}; colorRoadsFill[] = {1,1,1,1}; colorMainRoadsFill[] = {1,0.6,0.4,1}; colorGrid[] = {0.1,0.1,0.1,0.6}; colorGridMap[] = {0.1,0.1,0.1,0.6}; stickX[] = {0.2,{"Gamma",1,1.5}}; stickY[] = {0.2,{"Gamma",1,1.5}}; class Legend { colorBackground[] = {1,1,1,0.5}; color[] = {0,0,0,1}; x = "SafeZoneX + (((safezoneW / safezoneH) min 1.2) / 40)"; y = "SafeZoneY + safezoneH - 4.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w = "10 * (((safezoneW / safezoneH) min 1.2) / 40)"; h = "3.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; }; class ActiveMarker { color[] = {0.3,0.1,0.9,1}; size = 50; }; class Command { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa"; size = 18; importance = 1; coefMin = 1; coefMax = 1; }; class Task { colorCreated[] = {1,1,1,1}; colorCanceled[] = {0.7,0.7,0.7,1}; colorDone[] = {0.7,1,0.3,1}; colorFailed[] = {1,0.3,0.2,1}; color[] = {"(profilenamespace getvariable ['IGUI_TEXT_RGB_R',0])","(profilenamespace getvariable ['IGUI_TEXT_RGB_G',1])","(profilenamespace getvariable ['IGUI_TEXT_RGB_B',1])","(profilenamespace getvariable ['IGUI_TEXT_RGB_A',0.8])"}; icon = "\A3\ui_f\data\map\mapcontrol\taskIcon_CA.paa"; iconCreated = "\A3\ui_f\data\map\mapcontrol\taskIconCreated_CA.paa"; iconCanceled = "\A3\ui_f\data\map\mapcontrol\taskIconCanceled_CA.paa"; iconDone = "\A3\ui_f\data\map\mapcontrol\taskIconDone_CA.paa"; iconFailed = "\A3\ui_f\data\map\mapcontrol\taskIconFailed_CA.paa"; size = 27; importance = 1; coefMin = 1; coefMax = 1; }; class CustomMark { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\custommark_ca.paa"; size = 24; importance = 1; coefMin = 1; coefMax = 1; }; class Tree { color[] = {0.45,0.64,0.33,0.4}; icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa"; size = 12; importance = "0.9 * 16 * 0.05"; coefMin = 0.25; coefMax = 4; }; class SmallTree { color[] = {0.45,0.64,0.33,0.4}; icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa"; size = 12; importance = "0.6 * 12 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Bush { color[] = {0.45,0.64,0.33,0.4}; icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa"; size = "14/2"; importance = "0.2 * 14 * 0.05 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Church { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\church_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Chapel { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\Chapel_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Cross { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\Cross_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Rock { color[] = {0.1,0.1,0.1,0.8}; icon = "\A3\ui_f\data\map\mapcontrol\rock_ca.paa"; size = 12; importance = "0.5 * 12 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Bunker { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa"; size = 14; importance = "1.5 * 14 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Fortress { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa"; size = 16; importance = "2 * 16 * 0.05"; coefMin = 0.25; coefMax = 4; }; class Fountain { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\fountain_ca.paa"; size = 11; importance = "1 * 12 * 0.05"; coefMin = 0.25; coefMax = 4; }; class ViewTower { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\viewtower_ca.paa"; size = 16; importance = "2.5 * 16 * 0.05"; coefMin = 0.5; coefMax = 4; }; class Lighthouse { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\lighthouse_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Quay { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\quay_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Fuelstation { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\fuelstation_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Hospital { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\hospital_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class BusStop { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\busstop_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Transmitter { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\transmitter_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Stack { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\stack_ca.paa"; size = 20; importance = "2 * 16 * 0.05"; coefMin = 0.9; coefMax = 4; }; class Ruin { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\ruin_ca.paa"; size = 16; importance = "1.2 * 16 * 0.05"; coefMin = 1; coefMax = 4; }; class Tourism { color[] = {0,0,0,1}; icon = "\A3\ui_f\data\map\mapcontrol\tourism_ca.paa"; size = 16; importance = "1 * 16 * 0.05"; coefMin = 0.7; coefMax = 4; }; class Watertower { color[] = {1,1,1,1}; icon = "\A3\ui_f\data\map\mapcontrol\watertower_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; }; class Waypoint { color[] = {0,0,0,1}; size = 24; importance = 1; coefMin = 1; coefMax = 1; icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa"; }; class WaypointCompleted { color[] = {0,0,0,1}; size = 24; importance = 1; coefMin = 1; coefMax = 1; icon = "\A3\ui_f\data\map\mapcontrol\waypointCompleted_ca.paa"; }; moveOnEdges = 0;//1; x = "SafeZoneXAbs"; y = "SafeZoneY + 1.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w = "SafeZoneWAbs"; h = "SafeZoneH - 1.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; shadow = 0; ptsPerSquareSea = 5; ptsPerSquareTxt = 3; ptsPerSquareCLn = 10; ptsPerSquareExp = 10; ptsPerSquareCost = 10; ptsPerSquareFor = 9; ptsPerSquareForEdge = 9; ptsPerSquareRoad = 6; ptsPerSquareObj = 9; showCountourInterval = 0; scaleMin = 0.001; scaleMax = 1; scaleDefault = 0.16; maxSatelliteAlpha = 0.85; alphaFadeStartScale = 0.35; alphaFadeEndScale = 0.4; fontLabel = "RobotoCondensed"; sizeExLabel = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; fontGrid = "TahomaB"; sizeExGrid = 0.02; fontUnits = "TahomaB"; sizeExUnits = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; fontNames = "RobotoCondensed"; sizeExNames = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8) * 2"; fontInfo = "RobotoCondensed"; sizeExInfo = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; fontLevel = "TahomaB"; sizeExLevel = 0.02; text = "#(argb,8,8,3)color(1,1,1,1)"; //text = "\a3\ui_f\data\map_background2_co.paa"; class power { icon = "\A3\ui_f\data\map\mapcontrol\power_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1,1,1,1}; }; class powersolar { icon = "\A3\ui_f\data\map\mapcontrol\powersolar_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1,1,1,1}; }; class powerwave { icon = "\A3\ui_f\data\map\mapcontrol\powerwave_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1,1,1,1}; }; class powerwind { icon = "\A3\ui_f\data\map\mapcontrol\powerwind_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1,1,1,1}; }; class shipwreck { icon = "\A3\ui_f\data\map\mapcontrol\shipwreck_CA.paa"; size = 24; importance = 1; coefMin = 0.85; coefMax = 1; color[] = {1,1,1,1}; }; class LineMarker { lineDistanceMin = 3e-005; lineLengthMin = 5; lineWidthThick = 0.014; lineWidthThin = 0.008; textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)"; }; }; class Life_RscCombo { style = 16; type = 4; x = 0; y = 0; w = 0.12; h = 0.035; shadow = 0; colorSelect[] = {0, 0, 0, 1}; soundExpand[] = {"",0.1,1}; colorText[] = {0.95, 0.95, 0.95, 1}; soundCollapse[] = {"",0.1,1}; maxHistoryDelay = 1; colorBackground[] = {0.4,0.4,0.4,0.4}; colorSelectBackground[] = {1, 1, 1, 0.7}; colow_Rscrollbar[] = {1, 0, 0, 1}; soundSelect[] = { "", 0.000000, 1 }; arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa"; arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa"; wholeHeight = 0.45; color[] = {1, 1, 1, 1}; colorActive[] = {1, 0, 0, 1}; colorDisabled[] = {1, 1, 1, 0.25}; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; class ComboScrollBar : Life_RscScrollBar {}; }; class Life_RscToolbox { colorText[] = {0.95, 0.95, 0.95, 1}; color[] = {0.95, 0.95, 0.95, 1}; colorTextSelect[] = {0.95, 0.95, 0.95, 1}; colorSelect[] = {0.95, 0.95, 0.95, 1}; colorTextDisable[] = {0.4, 0.4, 0.4, 1}; colorDisable[] = {0.4, 0.4, 0.4, 1}; colorSelectedBg[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; font = "RobotoCondensed"; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)"; }; That's it, this Dialog will also change the general store.
  10. Pasta_Bake

    [TUTORIAL] New Clothing Dialog

    Funny I am in that process
  11. Pasta_Bake

    [TUTORIAL] New Clothing Dialog

    Hey Everyone, I made this dialogue for any store but I'm only showing this for the Clothing store. Just simply copy the code below and pas it into, Dialog \ clothing.hpp class Life_Clothing { idd = 3100; name= "Life_Clothing"; movingEnable = 1; enableSimulation = 1; //onLoad = "[] execVM 'core\client\keychain\init.sqf'"; class controlsBackground { class Background: Life_RscText { idc = -1; colorBackground[] = {0, 0, 0, 0.7}; x = 0.716562 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.273281 * safezoneW; h = 0.968 * safezoneH; }; class Background2: Life_RscText { idc = -1; colorBackground[] = {0, 0, 0, 0.7}; x = 0.716563 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.273281 * safezoneW; h = 0.968 * safezoneH; }; }; class controls { class Title: Life_RscStructuredText { idc = 1100; colorBackground[] = {0, 0, 0, 0}; text = "Clothing Shop"; //--- ToDo: Localize; x = 0.824844 * safezoneW + safezoneX; y = 0.016 * safezoneH + safezoneY; w = 0.0825 * safezoneW; h = 0.033 * safezoneH; }; class ClothingList: Life_RscListbox { onLBSelChanged = "[_this] call life_fnc_changeClothes;"; idc = 3101; x = 0.732031 * safezoneW + safezoneX; y = 0.06 * safezoneH + safezoneY; w = 0.242344 * safezoneW; h = 0.748 * safezoneH; }; class PriceTag: Life_RscStructuredText { idc = 3102; x = 0.778437 * safezoneW + safezoneX; y = 0.907 * safezoneH + safezoneY; w = 0.0567187 * safezoneW; h = 0.022 * safezoneH; }; class TotalPrice: Life_RscStructuredText { idc = 3106; x = 0.778437 * safezoneW + safezoneX; y = 0.874 * safezoneH + safezoneY; w = 0.0567187 * safezoneW; h = 0.022 * safezoneH; }; class FilterList: Life_RscCombo { onLBSelChanged = "_this call life_fnc_clothingFilter"; idc = 3105; x = 0.835156 * safezoneW + safezoneX; y = 0.819 * safezoneH + safezoneY; w = 0.139219 * safezoneW; h = 0.022 * safezoneH; tooltip = "Use this to change to backpack or vests or some other section."; //--- ToDo: Localize; }; class Total: Life_RscStructuredText { idc = 1103; text = "Total Price:"; //--- ToDo: Localize; x = 0.732031 * safezoneW + safezoneX; y = 0.874 * safezoneH + safezoneY; w = 0.0515625 * safezoneW; h = 0.022 * safezoneH; }; class ItemPrice: Life_RscStructuredText { idc = 1104; text = "Item Price:"; //--- ToDo: Localize; x = 0.732031 * safezoneW + safezoneX; y = 0.907 * safezoneH + safezoneY; w = 0.0515625 * safezoneW; h = 0.022 * safezoneH; }; class CloseButtonKey: Life_RscButtonMenu { onButtonClick = "closeDialog 0; [] call life_fnc_playerSkins;"; idc = -1; text = "Exit"; //--- ToDo: Localize; x = 0.732031 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.022 * safezoneH; }; class BuyButtonKey: Life_RscButtonMenu { onButtonClick = "[] call life_fnc_buyClothes;"; idc = -1; text = "Buy"; //--- ToDo: Localize; x = 0.9125 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.0670312 * safezoneW; h = 0.022 * safezoneH; }; class viewAngle: life_RscXSliderH { onSliderPosChanged = "[4,_this select 1] call life_fnc_s_onSliderChange;"; idc = 3107; color[] = {1, 1, 1, 0.45}; colorActive[] = {1, 1, 1, 0.65}; text = ""; x = 0.00499997 * safezoneW + safezoneX; y = 0.951 * safezoneH + safezoneY; w = 0.221719 * safezoneW; h = 0.033 * safezoneH; tooltip = "Use this to see your person and what they will look like with thier new snazzy clothes."; //--- ToDo: Localize; }; }; }; Then that's it, This is my first post on the release section so please be nice any issues let me know. This was tested on version 5.0 but I see no reason for it to not work on lower versions. I have also attached a Screenshot below.
  12. Pasta_Bake

    [HELP] life_server is broken

    I have the most recent RPT here cleaned up most of the errors. https://pastebin.com/QAyV8zmJ
  13. Pasta_Bake

    [HELP] life_server is broken

    I sure do, could they be related to the life_server not working?
  14. Pasta_Bake

    [HELP] life_server is broken

    Hey, Most recent RPT as requested, https://pastebin.com/fisKueYF please ignore the mods as they are disabled on the server but not on my client.
  15. Pasta_Bake

    [HELP] life_server is broken

    Hey, Wackbatt still the same thing as before that error with fn_fn_asyncCall.sqf
×