123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668 |
- #include "defines.h"
- class RscEdit {
- type = 2;
- style = 0x00 + 0x40;
- font = "PuristaMedium";
- 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 RscListBox {
- style = 16;
- idc = -1;
- type = 5;
- w = 0.275;
- h = 0.04;
- font = "PuristaMedium";
- 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 {
- color[] = {1,1,1,1};
- 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 RscCheckBox {
- 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 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 RscText {
- x = 0;
- y = 0;
- h = 0.037;
- w = 0.3;
- type = 0;
- style = 0;
- shadow = 1;
- colorShadow[] = {0, 0, 0, 0.5};
- font = "PuristaMedium";
- SizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
- text = "";
- colorText[] = {1, 1, 1, 1.0};
- colorBackground[] = {0, 0, 0, 0};
- linespacing = 1;
- };
- class RscTitle:RscText {
- style = 0;
- shadow = 0;
- sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
- colorText[] = {0.95, 0.95, 0.95, 1};
- };
- class 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 = "PuristaMedium";
- 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 = "PuristaMedium";
- color = "#E5E5E5";
- align = "left";
- shadow = "true";
- };
- class AttributesImage
- {
- font = "PuristaMedium";
- color = "#E5E5E5";
- align = "left";
- };
- };
- class RscControlsGroup {
- type = 15;
- idc = -1;
- x = 0;
- y = 0;
- w = 1;
- h = 1;
- shadow = 0;
- style = 16;
- class ScrollBar {
- 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";
- arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
- arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
- border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
- shadow = 0;
- scrollSpeed = 0.05;
- };
-
- class VScrollbar:ScrollBar {
- width = 0.021;
- autoScrollSpeed = -1;
- autoScrollDelay = 5;
- autoScrollRewind = 0;
- shadow = 0;
- color[] = {1, 1, 1, 0.6};
- };
-
- class HScrollbar:ScrollBar {
- height = 0.028;
- shadow = 0;
- color[] = {1, 1, 1, 0.6};
- };
-
- //class ListScrollBar : ScrollBar {};
-
- class Controls {};
- };
- class RscControlsGroupNoScrollbars : RscControlsGroup {
- class VScrollbar : VScrollbar {
- width = 0;
- };
-
- class HScrollbar : HScrollbar {
- height = 0;
- };
- };
- class RscButtonMenu: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 = "PuristaLight";
- 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 TAW_VDMenu {
- idd = MENU_IDD;
- name = "TAW_VDMenu";
- movingEnabled = 0;
- enableSimulation = 1;
-
- onLoad = "((_this select 0) displayCtrl 2999) ctrlSetFade 1; ((_this select 0) displayCtrl 2999) ctrlCommit 0;";
- class controlsBackground {
- class TitleBackground : RscText {
- colorBackground[] = { "(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])" };
- idc = -1;
- x = .3;
- y = .2;
- w = .5;
- h = (1 / 25);
- };
- class MainBackground : RscText {
- colorBackground[] = { 0, 0, 0, .7 };
- idc = -1;
- x = .3;
- y = .2 + (11 / 250);
- w = .5;
- h = .57 - (22 / 250);
- };
-
- class Title : RscTitle {
- colorBackround[] = { 0, 0, 0, 0 };
- idc = -1;
- text = "View Settings (SCRIPT)";
- x = .3;
- y = .2;
- w = .8;
- h = (1 / 25);
- };
- class OnFootText : RscText {
- idc = -1;
- text = "Infantry:";
- x = .32;
- y = .258;
- w = .275;
- h = .04;
- };
- class inCarText : OnFootText {
- text = "Ground:";
- y = .305;
- };
- class inAirText : OnFootText {
- text = "Air:";
- y = .355;
- };
- class ObjectText : OnFootText {
- text = "Object:";
- y = .655;
- };
-
- class DroneText : OnFootText {
- text = "Drone:";
- y = .405;
- };
- class TerrainBackground : TitleBackground {
- text = "Grass Settings";
- shadow = 0;
- y = .46;
- };
- class ObjectBackground : TitleBackground {
- text = "Object Settings";
- y = .55;
- };
- class ButtonClose : RscButtonMenu {
- idc = -1;
- text = "Close";
- onButtonClick = "closeDialog 0;";
- x = 0.3;
- y = 0.77 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- };
-
- class SaveManagerBtn:ButtonClose {
- text = "Saves";
- onButtonClick = "[] call tawvd_fnc_openSaveManager;";
- x = .465;
- };
- };
- class controls {
- //Sliders
- class VD_onFoot_slider : RscXSliderH {
- idc = INFANTRY_SLIDER;
- text = "";
- onSliderPosChanged = "[0, _this select 1] call TAWVD_fnc_onSliderChanged;";
- toolTip = "View Distance while on foot";
- x = .42;
- y = .30 - (1 / 25);
- w = "9 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
- h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
- };
- class VD_inCar_slider : VD_onFoot_slider {
- idc = GROUND_SLIDER;
- toolTip = "View distance while in a ground vehicle";
- onSliderPosChanged = "[1, _this select 1] call TAWVD_fnc_onSliderChanged;";
- y = .35 - (1 / 25);
- };
- class VD_inAir_slider : VD_onFoot_slider {
- idc = AIR_SLIDER;
- toolTip = "View distance while in an aircraft";
- onSliderPosChanged = "[2, _this select 1] call TAWVD_fnc_onSliderChanged;";
- y = .40 - (1 / 25);
- };
- class VD_Object_slider : VD_onFoot_slider {
- idc = OBJECT_SLIDER;
- toolTip = "Object rendering distance";
- onSliderPosChanged = "[3, _this select 1] call TAWVD_fnc_onSliderChanged;";
- y = .7 - (1 / 25);
- };
-
- class VD_Drone_slider:VD_onFoot_slider {
- idc = DRONE_SLIDER;
- toolTip = "View distance while operating a UAV/UGV";
- onSliderPosChanged = "[4, _this select 1] call TAWVD_fnc_onSliderChanged;";
- y = .45 - (1 / 25);
- }
- //Values (RscEdit Butons)
- class VD_onFoot_Edit : RscEdit {
- idc = INFANTRY_EDIT;
- text = "";
- onKeyUp = "[_this select 0, _this select 1, 'ground',true] call TAWVD_fnc_onChar;";
- x = .7;
- y = .258;
- w = .08;
- h = .04;
- };
- class VD_inCar_Edit : VD_onFoot_Edit {
- idc = GROUND_EDIT;
- onKeyUp = "[_this select 0, _this select 1, 'vehicle',true] call TAWVD_fnc_onChar;";
- y = .31;
- };
- class VD_inAir_Edit : VD_onFoot_Edit {
- idc = AIR_EDIT;
- onKeyUp = "[_this select 0, _this select 1, 'air',true] call TAWVD_fnc_onChar;";
- y = .36;
- };
-
- class VD_inDrone_Edit:VD_onFoot_Edit {
- idc = DRONE_EDIT;
- onKeyUp = "[_this select 0, _this select 1, 'drone',true] call TAWVD_fnc_onChar;";
- y = .41;
- };
- class VD_Object_Edit : VD_onFoot_Edit {
- idc = OBJECT_EDIT;
- onKeyUp = "[_this select 0, _this select 1, 'object',true] call TAWVD_fnc_onChar;";
- y = .656;
- };
- //Grass Settings
- class VD_terrain_none {
- idc = TERRAIN_NONE;
- type = 11;
- style = 0;
- font = "PuristaLight";
- color[] = { 1, 1, 1, 1 };
- colorActive[] = { 1, 0.2, 0.2, 1 };
- colorDisabled[] = {0, 0, 0, 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 };
- text = "None";
- action = "['none'] call TAWVD_fnc_onTerrainChanged;";
- sizeEx = 0.04;
- x = .38; y = .505;
- w = .275; h = .04;
- };
- class VD_terrain_low : VD_terrain_none {
- idc = -1;
- text = "Low";
- action = "['low'] call TAWVD_fnc_onTerrainChanged;";
- x = .47;
- };
- class VD_terrain_normal : VD_terrain_none {
- idc = -1;
- text = "Normal";
- action = "['norm'] call TAWVD_fnc_onTerrainChanged;";
- x = .56;
- };
- class VD_terrain_high : VD_terrain_none {
- idc = -1;
- text = "High";
- action = "['high'] call TAWVD_fnc_onTerrainChanged;";
- x = .67;
- };
- class ObjectSyncCheckbox : RscCheckbox
- {
- idc = 2931;
- x = .32; y = .6;
- tooltip = "Sync object rendering with view rendering";
- onCheckedChanged = "if((_this select 1) == 1) then {tawvd_syncObject = true;ctrlEnable [2941,false]; ctrlEnable [2942,false];} else {tawvd_syncObject = false; ctrlEnable [2942,true]; ctrlEnable [2941,true];};";
- w = 1 * GUI_GRID_CENTER_W;
- h = 1 * GUI_GRID_CENTER_H;
- };
- class ObjectSynctext : RscText {
- idc = -1;
- text = "Sync with view";
- x = .345; y = .596;
- w = .35; h = .04;
- };
-
- class Manager:RscControlsGroup {
- idc = MANAGER_GROUP;
-
- x = -0.21; y = .2;
- w = .5; h = 3;
- class Controls {
- class SaveLoadGroup:RscControlsGroupNoScrollbars {
- idc = SAVELOAD_GROUP;
-
- x = 0;
- y = 0;
- w = .5;
- h = 3;
-
- class Controls {
- class MyTitleBackground:RscText {
- colorBackground[] = { "(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])" };
- idc = -1;
- x = 0;
- y = 0;
- w = .5;
- h = (1 / 25);
- };
-
- class Title : RscTitle {
- colorBackround[] = { 0, 0, 0, 0 };
- idc = -1;
- text = "Save Manager";
- x = 0;
- y = 0;
- w = .8;
- h = (1 / 25);
- };
-
- class MainBackground:RscText {
- colorBackground[] = { 0, 0, 0, .7 };
- idc = -1;
- x = 0;
- y = 0 + (11 / 250);
- w = .5;
- h = .57 - (22 / 250);
- };
-
- class SaveList:RscListBox {
- idc = SAVES_LIST;
- sizeEx = 0.04;
- colorBackground[] = {0.1,0.1,0.1,0.9};
- x = 0; y = 0 + (11 / 250);
- w = .5; h = .49 - (22 / 250);
-
- onLBSelChanged = "_this call TAWVD_fnc_onSaveSelectionChanged;";
- };
-
- class SaveSlotName:VD_onFoot_Edit {
- idc = SLOT_NAME;
- text = "SAVE NAME";
- colorBackground[] = {0,0,0,0.6};
- onKeyUp = "";
-
- x = .025; y = .42 + (11 / 250);
- w = .45;
- };
-
- class SaveButton:RscButtonMenu {
- text = "Save";
- onButtonClick = "[] call TAWVD_fnc_onSavePressed;";
- x = 0;
- y = 0.57 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- };
-
- class HideButton:RscButtonMenu {
- text = "Hide";
- onButtonClick = "((findDisplay 2900) displayCtrl 2999) ctrlSetFade 1; ((findDisplay 2900) displayCtrl 2999) ctrlCommit 0.3;";
- x = .16;
- y = 0.57 - (1 / 25);
- w = (6.25 / 40);
- h = (1 / 25);
- };
- };
- };
- };
- };
- };
- };
|