2015-04-06 13:51:59 +00:00
|
|
|
#define ST_LEFT 0
|
|
|
|
#define ST_RIGHT 1
|
|
|
|
#define ST_CENTER 2
|
|
|
|
|
2015-04-07 21:03:30 +00:00
|
|
|
class ATragMX_RscText {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
type=0;
|
|
|
|
style=256;
|
|
|
|
colorDisabled[]={0,0,0,0.0};
|
|
|
|
colorBackground[]={0,0,0,0};
|
|
|
|
colorText[]={0,0,0,1};
|
|
|
|
text="";
|
|
|
|
x=0;
|
|
|
|
y=0;
|
|
|
|
h=0.037;
|
|
|
|
w=0.30;
|
|
|
|
font="TahomaB";
|
|
|
|
SizeEx=0.03;
|
|
|
|
shadow=0;
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
text="";
|
|
|
|
colorText[]={0,0,0,1};
|
|
|
|
colorDisabled[]={0,0,0,0.0};
|
|
|
|
colorBackground[]={0,0,0,0};
|
|
|
|
colorBackgroundDisabled[]={0,0,0,0};
|
|
|
|
colorBackgroundActive[]={0,0,0,0};
|
|
|
|
colorFocused[]={0,0,0,0};
|
|
|
|
colorShadow[]={0,0,0,0};
|
|
|
|
colorBorder[]={0,0,0,1};
|
|
|
|
soundEnter[]={"",0,1};
|
|
|
|
soundPush[]={"",0,1};
|
|
|
|
soundClick[]={"",0,1};
|
|
|
|
soundEscape[]={"",0,1};
|
|
|
|
type=1;
|
|
|
|
style="0x02+0x100";
|
|
|
|
x=0;
|
|
|
|
y=0;
|
|
|
|
w=0.03;
|
|
|
|
h=0.03;
|
|
|
|
font="TahomaB";
|
|
|
|
SizeEx=0.025;
|
|
|
|
offsetX=0.003;
|
|
|
|
offsetY=0.003;
|
|
|
|
offsetPressedX=0.0020;
|
|
|
|
offsetPressedY=0.0020;
|
|
|
|
borderSize=0;
|
|
|
|
shadow=0;
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class ATragMX_RscEdit {
|
2015-04-07 20:44:26 +00:00
|
|
|
access=0;
|
|
|
|
type=2;
|
|
|
|
style=ST_RIGHT;
|
|
|
|
x=0;
|
|
|
|
y=0;
|
|
|
|
w=0.05;
|
|
|
|
h=0.03;
|
|
|
|
colorDisabled[]={0,0,0,0.0};
|
|
|
|
colorBackground[]={0,0,0,0};
|
|
|
|
colorText[]={0,0,0,1};
|
|
|
|
colorSelection[]={0,0,0,0.25};
|
|
|
|
font="TahomaB";
|
|
|
|
sizeEx=0.025;
|
|
|
|
text="";
|
|
|
|
size=0.2;
|
|
|
|
autocomplete="";
|
|
|
|
shadow=0;
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class ATragMX_RscToolbox {
|
2015-04-07 20:44:26 +00:00
|
|
|
type=6;
|
|
|
|
style=ST_LEFT;
|
|
|
|
x=0;
|
|
|
|
y=0;
|
|
|
|
w=0.2;
|
|
|
|
h=0.03;
|
|
|
|
colorDisabled[]={0,0,0,0.0};
|
|
|
|
colorBackground[]={1,1,1,1};
|
|
|
|
colorText[]={0,0,0,1};
|
|
|
|
color[]={0,0,0,0};
|
|
|
|
colorTextSelect[]={0.8,0.8,0.8,1};
|
|
|
|
colorSelect[]={0,0,0,1};
|
|
|
|
colorSelectedBg[]={0,0,0,1};
|
|
|
|
colorTextDisable[]={0.4,0.4,0.4,1};
|
2015-04-07 21:03:30 +00:00
|
|
|
colorDisable[]={0.4,0.4,0.4,1};
|
2015-04-07 20:44:26 +00:00
|
|
|
font="TahomaB";
|
|
|
|
sizeEx=0.027;
|
|
|
|
rows=1;
|
|
|
|
columns=2;
|
|
|
|
strings[]={"Entry 1","Entry 2"};
|
|
|
|
values[]={1,0};
|
|
|
|
onToolBoxSelChanged="";
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class ATragMX_RscListBox {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
type=5;
|
|
|
|
style=0;
|
|
|
|
font="TahomaB";
|
|
|
|
sizeEx=0.028;
|
2015-04-06 13:51:59 +00:00
|
|
|
rowHeight=0.03;
|
2015-04-07 20:44:26 +00:00
|
|
|
colorDisabled[]={0,0,0,0.0};
|
|
|
|
colorBackground[]={1,1,1,1};
|
|
|
|
colorText[]={0,0,0,1};
|
|
|
|
colorScrollbar[]={0.95,0.95,0.95,1};
|
|
|
|
colorSelect[]={0,0,0,1};
|
|
|
|
colorSelect2[]={0,0,0,1};
|
|
|
|
colorSelectBackground[]={0.925,0.925,0.925,1};
|
|
|
|
colorSelectBackground2[]={0.925,0.925,0.925,1};
|
|
|
|
period=0;
|
|
|
|
maxHistoryDelay=1.0;
|
|
|
|
autoScrollSpeed=-1;
|
|
|
|
autoScrollDelay=5;
|
|
|
|
autoScrollRewind=0;
|
|
|
|
soundSelect[]={"",0.09,1};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
2015-04-07 20:44:26 +00:00
|
|
|
class ScrollBar {
|
|
|
|
color[]={1,1,1,0.6};
|
|
|
|
colorActive[]={1,1,1,1};
|
|
|
|
colorDisabled[]={1,1,1,0.3};
|
2015-04-14 10:34:27 +00:00
|
|
|
//thumb="\ca\ui\data\igui_scrollbar_thumb_ca.paa";
|
|
|
|
//arrowFull="\ca\ui\data\igui_arrow_top_active_ca.paa";
|
|
|
|
//arrowEmpty="\ca\ui\data\igui_arrow_top_ca.paa";
|
|
|
|
//border="\ca\ui\data\igui_border_scroll_ca.paa";
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
2015-04-07 20:44:26 +00:00
|
|
|
class ListScrollBar : ScrollBar {
|
|
|
|
};
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class ATragMX_RscListNBox: ATragMX_RscListBox {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
type=102;
|
2015-04-21 14:01:53 +00:00
|
|
|
columns[]={0.0, 0.225, 0.475, 0.7};
|
2015-04-07 20:44:26 +00:00
|
|
|
drawSideArrows=0;
|
|
|
|
idcLeft=-1;
|
|
|
|
idcRight=-1;
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class ATragMX_RscLineBreak {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
type=98;
|
|
|
|
shadow=0;
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class ATragMX_Display {
|
2015-04-07 20:44:26 +00:00
|
|
|
name="ATragMX_Display";
|
|
|
|
idd=-1;
|
|
|
|
onLoad="uiNamespace setVariable ['ATragMX_Display', (_this select 0)]";
|
|
|
|
movingEnable=1;
|
|
|
|
controlsBackground[]={};
|
|
|
|
objects[]={};
|
2015-04-07 21:03:30 +00:00
|
|
|
class controls {
|
|
|
|
class BACKGROUND {
|
2015-04-07 20:44:26 +00:00
|
|
|
moving=1;
|
|
|
|
type=0;
|
|
|
|
font="TahomaB";
|
|
|
|
SizeEX=0.025;
|
|
|
|
idc=-1;
|
|
|
|
style=48;
|
|
|
|
x=0.55*safezoneW+safezoneX-0.256;
|
|
|
|
y=0.265*safezoneH+safezoneY-0.1;
|
|
|
|
w=1.024;
|
|
|
|
h=1.024*4/3;
|
|
|
|
colorBackground[]={1,1,1,1};
|
|
|
|
colorText[]={1,1,1,1};
|
|
|
|
text=PATHTOF(UI\atrag.paa);
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class POWER: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
x=0.55*safezoneW+safezoneX+0.145;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.94;
|
|
|
|
w=0.045;
|
|
|
|
h=0.045*4/3;
|
|
|
|
colorBackground[]={0,0,0,0.0};
|
|
|
|
action="closeDialog 0";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class BACK: POWER {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
w=0.06;
|
|
|
|
x=0.55*safezoneW+safezoneX+0.3122;
|
2015-04-06 20:56:14 +00:00
|
|
|
action=QUOTE(call FUNC(init); call FUNC(update_target_selection));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class WINDOWS: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
x=0.55*safezoneW+safezoneX+0.130;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.88;
|
|
|
|
w=0.035;
|
|
|
|
h=0.035*4/3;
|
|
|
|
colorBackground[]={0,0,0,0.0};
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class OK: WINDOWS {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
x=0.55*safezoneW+safezoneX+0.347;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.878;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TOP: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
x=0.55*safezoneW+safezoneX+0.242;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.85;
|
|
|
|
w=0.03;
|
|
|
|
h=0.03;
|
|
|
|
colorBackground[]={0,0,0,0.0};
|
2015-04-17 22:11:53 +00:00
|
|
|
action=QUOTE(-1 call FUNC(cycle_gun_list));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class BOTTOM: TOP {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.955;
|
2015-04-17 22:11:53 +00:00
|
|
|
action=QUOTE(+1 call FUNC(cycle_gun_list));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class LEFT: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
x=0.55*safezoneW+safezoneX+0.1925;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.9;
|
|
|
|
w=0.05;
|
|
|
|
h=0.03;
|
|
|
|
colorBackground[]={0,0,0,0};
|
2015-04-16 16:14:32 +00:00
|
|
|
action=QUOTE(((4 + GVAR(currentTarget) - 1) % 4) call FUNC(change_target_slot));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class RIGHT: LEFT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
x=0.55*safezoneW+safezoneX+0.2725;
|
2015-04-16 16:14:32 +00:00
|
|
|
action=QUOTE(((4 + GVAR(currentTarget) + 1) % 4) call FUNC(change_target_slot));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TOP_LEFT: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
x=0.55*safezoneW+safezoneX+0.162;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.82;
|
|
|
|
w=0.031;
|
|
|
|
h=0.031*4/3;
|
|
|
|
colorBackground[]={0,0,0,0.0};
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TOP_RIGHT: TOP_LEFT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=-1;
|
|
|
|
x=0.55*safezoneW+safezoneX+0.315;
|
|
|
|
};
|
2015-04-18 20:58:23 +00:00
|
|
|
|
|
|
|
class TEXT_GUN_FRAME: ATragMX_RscText {
|
|
|
|
idc=1001;
|
|
|
|
style=64;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.11;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.25;
|
|
|
|
w=0.0925;
|
|
|
|
h=0.205;
|
|
|
|
text="";
|
|
|
|
};
|
|
|
|
class TEXT_ATMOSPHERE_FRAME: TEXT_GUN_FRAME {
|
|
|
|
idc=1002;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.205;
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_FRAME: TEXT_GUN_FRAME {
|
|
|
|
idc=1003;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.3;
|
|
|
|
};
|
|
|
|
class TEXT_RESULT_FRAME: TEXT_GUN_FRAME {
|
|
|
|
idc=1004;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.11;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.46;
|
|
|
|
w=0.2825;
|
|
|
|
h=0.15;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_GUN_PROFILE: ATragMX_RscText {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=1000;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.11;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.20;
|
|
|
|
w=0.18;
|
|
|
|
h=0.03;
|
|
|
|
style=ST_LEFT;
|
|
|
|
sizeEx=0.025;
|
|
|
|
text="";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_D: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=600;
|
|
|
|
w=0.0231;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.29;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.20;
|
|
|
|
colorText[]={0,0,0,1};
|
|
|
|
colorDisabled[]={0.8,0.8,0.8,1};
|
|
|
|
colorBackgroundDisabled[]={0,0,0,1};
|
|
|
|
colorBackgroundActive[]={0,0,0,0};
|
|
|
|
text="D";
|
2015-04-08 09:05:28 +00:00
|
|
|
action=QUOTE(GVAR(currentUnit)=0; call FUNC(update_unit_selection));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_E: TEXT_D {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=601;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.3131;
|
|
|
|
text="E";
|
2015-04-08 09:05:28 +00:00
|
|
|
action=QUOTE(GVAR(currentUnit)=1; call FUNC(update_unit_selection));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_M: TEXT_E {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=602;
|
2015-04-07 21:03:30 +00:00
|
|
|
x=0.550*safezoneW+safezoneX+0.3362;
|
2015-04-07 20:44:26 +00:00
|
|
|
text="M";
|
2015-04-08 09:05:28 +00:00
|
|
|
action=QUOTE(GVAR(currentUnit)=2; call FUNC(update_unit_selection));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD: TEXT_D {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=603;
|
|
|
|
w=0.03;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.36;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
colorFocused[]={0.15,0.21,0.23,0.2};
|
|
|
|
text="RC";
|
|
|
|
action=QUOTE(call FUNC(toggle_range_card));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
|
|
|
class TEXT_GUN: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=4000;
|
|
|
|
w=0.0925;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.11;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.25;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
colorFocused[]={0.15,0.21,0.23,0.2};
|
|
|
|
text="Gun";
|
2015-04-17 22:11:53 +00:00
|
|
|
action=QUOTE(call FUNC(toggle_gun_ammo_data));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_BORE_HEIGHT: TEXT_GUN_PROFILE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=10;
|
|
|
|
style=ST_LEFT;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.285;
|
|
|
|
text="BH";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_BORE_HEIGHT_OUTPUT: TEXT_BORE_HEIGHT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=100;
|
2015-04-17 22:11:53 +00:00
|
|
|
style=ST_RIGHT;
|
2015-04-07 20:44:26 +00:00
|
|
|
w=0.058;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.145;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.285;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_BULLET_MASS: TEXT_BORE_HEIGHT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=11;
|
|
|
|
style=ST_LEFT;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.320;
|
|
|
|
text="BW";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_BULLET_MASS_OUTPUT: TEXT_BORE_HEIGHT_OUTPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=110;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.320;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_AIR_FRICTION: TEXT_BORE_HEIGHT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=12;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.355;
|
|
|
|
text="C1";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_AIR_FRICTION_OUTPUT: TEXT_BORE_HEIGHT_OUTPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=120;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.355;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_MUZZLE_VELOCITY: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=13;
|
|
|
|
style=0;
|
|
|
|
w=0.03;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.11;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.390;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
colorFocused[]={0.15,0.21,0.23,0.2};
|
|
|
|
text="MV";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_MUZZLE_VELOCITY_OUTPUT: TEXT_BORE_HEIGHT_OUTPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=130;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.390;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_ZERO_RANGE: TEXT_BORE_HEIGHT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=14;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.425;
|
|
|
|
text="ZR";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_ZERO_RANGE_OUTPUT: TEXT_BORE_HEIGHT_OUTPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=140;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.425;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_ATMOSPHERE: TEXT_GUN {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=4001;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.205;
|
|
|
|
text="Atmsphr";
|
2015-04-17 22:11:53 +00:00
|
|
|
action=QUOTE(0 call FUNC(toggle_atmo_env_data));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TEMPERATURE: TEXT_BULLET_MASS {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=20;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.20;
|
|
|
|
text="Tmp";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_TEMPERATURE_OUTPUT: TEXT_TEMPERATURE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=200;
|
2015-04-17 22:11:53 +00:00
|
|
|
style=ST_RIGHT;
|
2015-04-07 20:44:26 +00:00
|
|
|
w=0.050;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.245;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.320;
|
|
|
|
text="";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_BAROMETRIC_PRESSURE: TEXT_AIR_FRICTION {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=21;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.20;
|
|
|
|
text="BP";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_BAROMETRIC_PRESSURE_OUTPUT: TEXT_TEMPERATURE_OUTPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=210;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.355;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RELATIVE_HUMIDITY: TEXT_AIR_FRICTION {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=22;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.20;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.390;
|
|
|
|
text="RH";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_RELATIVE_HUMIDITY_OUTPUT: TEXT_TEMPERATURE_OUTPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=220;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.390;
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_ALTITUDE: TEXT_BORE_HEIGHT {
|
|
|
|
idc=23;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.20;
|
|
|
|
text="Alt";
|
|
|
|
};
|
|
|
|
class TEXT_ALTITUDE_OUTPUT: TEXT_TEMPERATURE_OUTPUT {
|
|
|
|
idc=230;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.285;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_A: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=500;
|
|
|
|
w=0.0231;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.205;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.425;
|
|
|
|
colorText[]={0,0,0,1};
|
|
|
|
colorDisabled[]={0.8,0.8,0.8,1};
|
|
|
|
colorBackgroundDisabled[]={0,0,0,1};
|
|
|
|
colorBackgroundActive[]={0,0,0,0};
|
|
|
|
text="A";
|
2015-04-16 16:14:32 +00:00
|
|
|
action=QUOTE(0 call FUNC(change_target_slot));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_B: TEXT_TARGET_A {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=501;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.2281;
|
|
|
|
text="B";
|
2015-04-16 16:14:32 +00:00
|
|
|
action=QUOTE(1 call FUNC(change_target_slot));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-18 20:58:23 +00:00
|
|
|
class TEXT_TARGET_C: TEXT_TARGET_A {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=502;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.2512;
|
|
|
|
text="C";
|
2015-04-16 16:14:32 +00:00
|
|
|
action=QUOTE(2 call FUNC(change_target_slot));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-18 20:58:23 +00:00
|
|
|
class TEXT_TARGET_D: TEXT_TARGET_A {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=503;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.2743;
|
|
|
|
text="D";
|
2015-04-16 16:14:32 +00:00
|
|
|
action=QUOTE(3 call FUNC(change_target_slot));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
|
|
|
class TEXT_TARGET: TEXT_GUN {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=4002;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.3;
|
|
|
|
text="Target";
|
2015-04-17 22:11:53 +00:00
|
|
|
action=QUOTE(0 call FUNC(toggle_target_data));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_WIND_SPEED: TEXT_BORE_HEIGHT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=30;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.3;
|
|
|
|
text="WS";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_WIND_SPEED_OUTPUT: TEXT_BORE_HEIGHT_OUTPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=300;
|
|
|
|
w=0.058;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.335;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.285;
|
|
|
|
text="0";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_WIND_DIRECTION: TEXT_BULLET_MASS {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=31;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.3;
|
|
|
|
text="WD";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_WIND_DIRECTION_OUTPUT: TEXT_WIND_SPEED_OUTPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=310;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.32;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_INCLINATION_ANGLE: TEXT_AIR_FRICTION {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=32;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.3;
|
|
|
|
text="IA";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_INCLINATION_ANGLE_OUTPUT: TEXT_WIND_SPEED_OUTPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=320;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.355;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED: TEXT_MUZZLE_VELOCITY {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=33;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.3;
|
|
|
|
text="TS";
|
2015-04-17 22:11:53 +00:00
|
|
|
action=QUOTE(0 call FUNC(toggle_target_speed_assist));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_TARGET_SPEED_OUTPUT: TEXT_WIND_SPEED_OUTPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=330;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.39;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE: TEXT_TARGET_SPEED {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=34;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.425;
|
|
|
|
text="TR";
|
|
|
|
action=QUOTE(0 call FUNC(toggle_target_range_assist));
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_TARGET_RANGE_INPUT: TEXT_WIND_SPEED_OUTPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=340;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.425;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
|
|
|
class TEXT_ELEVATION: TEXT_GUN_PROFILE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=40;
|
|
|
|
w=0.05;
|
2015-04-18 20:58:23 +00:00
|
|
|
x=0.550*safezoneW+safezoneX+0.115;
|
2015-04-07 20:44:26 +00:00
|
|
|
y=0.265*safezoneH+safezoneY+0.50;
|
|
|
|
text="Elev";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_ABSOLUTE: TEXT_GUN_PROFILE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=4003;
|
|
|
|
w=0.07;
|
|
|
|
style=ST_CENTER;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.17;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.47;
|
|
|
|
text="Abs";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RELATIVE: TEXT_ABSOLUTE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=4004;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.245;
|
|
|
|
text="Rel";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_CURRENT: TEXT_ABSOLUTE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=4005;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.32;
|
|
|
|
text="Cur";
|
|
|
|
};
|
2015-04-21 09:53:28 +00:00
|
|
|
class TEXT_ELEVATION_OUTPUT_ABSOLUTE: ATragMX_RscText {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=400;
|
2015-04-21 09:53:28 +00:00
|
|
|
style=160;
|
|
|
|
sizeEx=0.025;
|
|
|
|
w=0.065;
|
|
|
|
h=0.032;
|
2015-04-07 20:44:26 +00:00
|
|
|
x=0.550*safezoneW+safezoneX+0.17;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.50;
|
|
|
|
text="";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_ELEVATION_OUTPUT_RELATIVE: TEXT_ELEVATION_OUTPUT_ABSOLUTE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=401;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.2465;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_ELEVATION_INPUT_CURRENT: TEXT_ELEVATION_OUTPUT_ABSOLUTE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=402;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.323;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_WINDAGE: TEXT_ELEVATION {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=41;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.535;
|
|
|
|
text="Wind";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_WINDAGE_OUTPUT_ABSOLUTE: TEXT_ELEVATION_OUTPUT_ABSOLUTE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=410;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.535;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_WINDAGE_OUTPUT_RELATIVE: TEXT_WINDAGE_OUTPUT_ABSOLUTE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=411;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.2465;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_WINDAGE_INPUT_CURRENT: TEXT_WINDAGE_OUTPUT_ABSOLUTE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=412;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.323;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_LEAD: TEXT_GUN {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=42;
|
|
|
|
w=0.05;
|
2015-04-18 20:58:23 +00:00
|
|
|
x=0.550*safezoneW+safezoneX+0.115;
|
2015-04-07 20:44:26 +00:00
|
|
|
y=0.265*safezoneH+safezoneY+0.57;
|
|
|
|
text="Lead";
|
2015-04-18 13:08:54 +00:00
|
|
|
action=QUOTE(GVAR(showWind2) = !GVAR(showWind2); call FUNC(update_result); call FUNC(update_target));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_LEAD_OUTPUT: TEXT_ELEVATION_OUTPUT_ABSOLUTE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=420;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.57;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RESET_SCOPE_ZERO: TEXT_GUN {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=4006;
|
|
|
|
w=0.07;
|
|
|
|
style=ST_CENTER;
|
|
|
|
colorBackground[]={0,0,0,0};
|
|
|
|
x=0.550*safezoneW+safezoneX+0.2465;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.57;
|
|
|
|
text="Reset";
|
|
|
|
action=QUOTE(call FUNC(reset_relative_click_memory));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_UPDATE_SCOPE_ZERO: TEXT_RESET_SCOPE_ZERO {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=4007;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.323;
|
|
|
|
text="Update";
|
|
|
|
action=QUOTE(call FUNC(update_relative_click_memory));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_GUN_LIST: TEXT_GUN {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=4008;
|
|
|
|
style=ST_LEFT;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.65;
|
|
|
|
text="GunList";
|
|
|
|
action=QUOTE(call FUNC(toggle_gun_list));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_SCOPE_UNIT: TEXT_GUN_LIST {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=2000;
|
|
|
|
style=ST_CENTER;
|
2015-04-21 09:24:59 +00:00
|
|
|
w=0.06;
|
2015-04-07 20:44:26 +00:00
|
|
|
x=0.550*safezoneW+safezoneX+0.205;
|
|
|
|
colorBackground[]={0,0,0,0};
|
|
|
|
text="TMOA";
|
|
|
|
action=QUOTE(call FUNC(cycle_scope_unit));
|
|
|
|
};
|
2015-04-21 09:24:59 +00:00
|
|
|
class TEXT_SCOPE_CLICK_NUMBER: TEXT_GUN_LIST {
|
|
|
|
idc=2001;
|
|
|
|
style=ST_CENTER;
|
|
|
|
w=0.03;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.27;
|
|
|
|
text="4";
|
2015-04-21 13:01:23 +00:00
|
|
|
action=QUOTE(call FUNC(toggle_solution_setup));
|
2015-04-21 09:24:59 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_CALCULATE: TEXT_SCOPE_UNIT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=3000;
|
|
|
|
style=ST_RIGHT;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.3;
|
|
|
|
text="Calc";
|
|
|
|
action=QUOTE(call FUNC(calculate_target_solution));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
|
|
|
class TEXT_RANGE_CARD_SCOPE_UNIT: TEXT_GUN_PROFILE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=5000;
|
|
|
|
text="";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_SETUP: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=5001;
|
|
|
|
w=0.055675;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.28;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.20;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
colorFocused[]={0.15,0.21,0.23,0.2};
|
|
|
|
text="Setup";
|
|
|
|
action=QUOTE(call FUNC(toggle_range_card_setup));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_DONE: TEXT_RANGE_CARD_SETUP {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=5002;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.3362;
|
|
|
|
text="Done";
|
|
|
|
action=QUOTE(call FUNC(toggle_range_card));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_COLUMN_1_CAPTION: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=5003;
|
|
|
|
style=ST_LEFT;
|
|
|
|
w=0.07;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.11;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.24;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
text="Meters";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_COLUMN_2_CAPTION: TEXT_RANGE_CARD_COLUMN_1_CAPTION {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=5004;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.180625;
|
|
|
|
text="Elev";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_COLUMN_3_CAPTION: TEXT_RANGE_CARD_COLUMN_1_CAPTION {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=5005;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.25125;
|
|
|
|
text="Wind";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_COLUMN_4_CAPTION: TEXT_RANGE_CARD_COLUMN_1_CAPTION {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=5006;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.321875;
|
|
|
|
text="TmFlt";
|
|
|
|
action=QUOTE(call FUNC(cycle_range_card_columns));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_OUTPUT: ATragMX_RscListNBox {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=5007;
|
|
|
|
idcLeft=50061;
|
|
|
|
idcRight=50062;
|
|
|
|
w=0.285;
|
|
|
|
h=0.42;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.11;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.27;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
|
|
|
class TEXT_GUN_LIST_OUTPUT: ATragMX_RscListBox {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=6000;
|
|
|
|
w=0.16;
|
|
|
|
h=0.45;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.11;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.24;
|
2015-04-18 20:58:23 +00:00
|
|
|
sizeEx=0.025;
|
2015-04-07 20:44:26 +00:00
|
|
|
colorSelectBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
colorSelectBackground2[]={0.15,0.21,0.23,0.3};
|
|
|
|
onMouseButtonDblClick=QUOTE(true call FUNC(toggle_gun_list));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_GUN_LIST_COLUMN_CAPTION: TEXT_GUN_PROFILE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=6001;
|
|
|
|
w=0.16;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
text="AtragGun.gun";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_GUN_LIST_OPEN_GUN: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=6002;
|
|
|
|
style=ST_RIGHT;
|
|
|
|
w=0.115;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.28;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.20;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
colorFocused[]={0.15,0.21,0.23,0.2};
|
|
|
|
sizeEx=0.024;
|
|
|
|
text="Open Gun";
|
|
|
|
action=QUOTE(true call FUNC(toggle_gun_list));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_GUN_LIST_SAVE_GUN: TEXT_GUN_LIST_OPEN_GUN {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=6003;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.24;
|
|
|
|
text="Save Gun";
|
|
|
|
action=QUOTE(call FUNC(save_gun));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_GUN_LIST_ADD_NEW_GUN: TEXT_GUN_LIST_OPEN_GUN {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=6004;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.28;
|
|
|
|
text="Add New Gun";
|
|
|
|
action=QUOTE(false call FUNC(show_gun_list); true call FUNC(show_add_new_gun));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_GUN_LIST_DELETE_GUN: TEXT_GUN_LIST_OPEN_GUN {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=6005;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.34;
|
|
|
|
text="Delete Gun";
|
|
|
|
action=QUOTE(call FUNC(delete_gun));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_GUN_LIST_NOTE: TEXT_GUN_LIST_OPEN_GUN {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=6006;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.40;
|
|
|
|
text="Note";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_GUN_LIST_DONE: TEXT_GUN_LIST_OPEN_GUN {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=6007;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.65;
|
|
|
|
text="Done";
|
|
|
|
action=QUOTE(false call FUNC(toggle_gun_list));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
|
|
|
class TEXT_TARGET_RANGE_ASSIST_CAPTION: ATragMX_RscText {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7000;
|
|
|
|
style=16+0x200;
|
|
|
|
lineSpacing=1.0;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.11;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.24;
|
|
|
|
w=0.29;
|
|
|
|
h=0.10;
|
|
|
|
sizeEx=0.022;
|
|
|
|
text="When using WIDTH to size a target, UP/Down Angle does not effect range calculation but will effect bullet drop.";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_MEASUREMENT_METHOD: TEXT_TARGET_RANGE_ASSIST_CAPTION {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7001;
|
|
|
|
style=ST_LEFT;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.115;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.35;
|
|
|
|
w=0.12;
|
|
|
|
h=0.03;
|
|
|
|
sizeEx=0.027;
|
|
|
|
text="Using Target:";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_WIDTH_HEIGHT: ATragMX_RscToolbox {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7002;
|
|
|
|
w=0.14;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.24;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.35;
|
|
|
|
strings[]={"Height","Width"};
|
|
|
|
values[]={1,0};
|
2015-04-27 15:48:06 +00:00
|
|
|
onToolBoxSelChanged=QUOTE(GVAR(rangeAssistUseTargetHeight) = ((_this select 1) == 0));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE: TEXT_TARGET_RANGE_ASSIST_MEASUREMENT_METHOD {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7003;
|
|
|
|
style=ST_RIGHT;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.10;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.4;
|
|
|
|
text="Target Size";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7004;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.45;
|
|
|
|
text="Image Size";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_ANGLE: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7005;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.5;
|
|
|
|
text="Angle";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7006;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.55;
|
|
|
|
text="Est Range";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_CALC_1: TEXT_MUZZLE_VELOCITY {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7007;
|
|
|
|
w=0.0231;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.22;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.4;
|
|
|
|
sizeEx=0.03;
|
|
|
|
text="!";
|
|
|
|
action=QUOTE(0 call FUNC(calculate_target_range_assist));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_CALC_2: TEXT_TARGET_RANGE_ASSIST_CALC_1 {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7008;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.45;
|
|
|
|
action=QUOTE(1 call FUNC(calculate_target_range_assist));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_CALC_3: TEXT_TARGET_RANGE_ASSIST_CALC_1 {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7009;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.55;
|
|
|
|
action=QUOTE(2 call FUNC(calculate_target_range_assist));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT: ATragMX_RscEdit {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7010;
|
|
|
|
w=0.065;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.2475;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.4;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_INPUT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7011;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.45;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_ANGLE_INPUT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7012;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.5;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE_INPUT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7013;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.55;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_UNIT: TEXT_TARGET_RANGE_ASSIST_CALC_1 {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7014;
|
|
|
|
w=0.07;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.32;
|
|
|
|
text="cm";
|
2015-04-17 22:11:53 +00:00
|
|
|
action=QUOTE(call FUNC(cycle_target_size_units));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_UNIT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_UNIT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7015;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.45;
|
|
|
|
text="MIL";
|
2015-04-17 22:11:53 +00:00
|
|
|
action=QUOTE(call FUNC(cycle_image_size_units));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE_UNIT: TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7016;
|
|
|
|
style=ST_LEFT;
|
|
|
|
w=0.07;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.32;
|
|
|
|
text="Meters";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_DONE: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7017;
|
|
|
|
style=ST_CENTER;
|
|
|
|
w=0.07;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.11;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.60;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
colorFocused[]={0.15,0.21,0.23,0.2};
|
|
|
|
text="Done";
|
|
|
|
action=QUOTE(1 call FUNC(toggle_target_range_assist));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_CANCEL: TEXT_TARGET_RANGE_ASSIST_DONE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7018;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.180625;
|
|
|
|
text="Cancel";
|
|
|
|
action=QUOTE(0 call FUNC(toggle_target_range_assist));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_PREV: TEXT_TARGET_RANGE_ASSIST_DONE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7019;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.25125;
|
|
|
|
text="Prev";
|
|
|
|
action="";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_RANGE_ASSIST_NEXT: TEXT_TARGET_RANGE_ASSIST_DONE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=7020;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.321875;
|
|
|
|
text="Next";
|
|
|
|
action="";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TARGET_RANGE: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8000;
|
2015-04-17 22:11:53 +00:00
|
|
|
x=0.550*safezoneW+safezoneX+0.13;
|
2015-04-07 20:44:26 +00:00
|
|
|
text="Target Range";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_NUM_TICKS: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8001;
|
2015-04-17 22:11:53 +00:00
|
|
|
x=0.550*safezoneW+safezoneX+0.13;
|
2015-04-07 20:44:26 +00:00
|
|
|
text="Num Ticks";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TIME: TEXT_TARGET_RANGE_ASSIST_ANGLE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8002;
|
2015-04-17 22:11:53 +00:00
|
|
|
x=0.550*safezoneW+safezoneX+0.13;
|
2015-04-07 20:44:26 +00:00
|
|
|
text="Time (secs)";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TARGET_ESTIMATED_SPEED: TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8003;
|
2015-04-17 22:11:53 +00:00
|
|
|
x=0.550*safezoneW+safezoneX+0.13;
|
2015-04-07 20:44:26 +00:00
|
|
|
text="Est Speed";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TARGET_RANGE_INPUT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8004;
|
|
|
|
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(calculate_target_speed_assist)});
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_NUM_TICKS_INPUT: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_INPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8005;
|
|
|
|
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(calculate_target_speed_assist)});
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TIME_INPUT: TEXT_TARGET_RANGE_ASSIST_ANGLE_INPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8006;
|
|
|
|
onKeyUp=QUOTE(if (_this select 1 == 28) then {call FUNC(calculate_target_speed_assist)});
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TARGET_ESTIMATED_SPEED_OUTPUT: TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8007;
|
|
|
|
w=0.065;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.2475;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.55;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
text="0";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TARGET_RANGE_UNIT: TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE_UNIT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8008;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.4;
|
|
|
|
text="Meters";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_NUM_TICKS_UNIT: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_UNIT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8009;
|
|
|
|
text="MIL";
|
2015-04-17 22:11:53 +00:00
|
|
|
action=QUOTE(call FUNC(cycle_num_ticks_units));
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TIMER_START: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_UNIT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8010;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.5;
|
|
|
|
text="Start";
|
|
|
|
action=QUOTE(call FUNC(target_speed_assist_timer));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TARGET_ESTIMATED_SPEED_UNIT: TEXT_TARGET_RANGE_ASSIST_ESTIMATED_RANGE_UNIT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8011;
|
|
|
|
text="m/s";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_DONE: TEXT_TARGET_RANGE_ASSIST_DONE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8012;
|
|
|
|
action=QUOTE(1 call FUNC(toggle_target_speed_assist));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_CANCEL: TEXT_TARGET_RANGE_ASSIST_CANCEL {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8013;
|
|
|
|
action=QUOTE(0 call FUNC(toggle_target_speed_assist));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_PREV: TEXT_TARGET_RANGE_ASSIST_PREV {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8014;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_NEXT: TEXT_TARGET_RANGE_ASSIST_NEXT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=8015;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TIMER_STOP_BACKGROUND: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=9000;
|
|
|
|
w=0.285;
|
|
|
|
h=0.49;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.11;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.2;
|
|
|
|
colorBackground[]={0,0,0,0};
|
|
|
|
colorBackgroundActive[]={0,0,0,0};
|
2015-04-10 16:08:38 +00:00
|
|
|
action=QUOTE(GVAR(speedAssistTimer)=false);
|
2015-04-07 21:03:30 +00:00
|
|
|
};
|
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TIME_OUTPUT: ATragMX_RscText {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=9001;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.22;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.51;
|
|
|
|
w=0.08;
|
|
|
|
h=0.09;
|
|
|
|
style=ST_CENTER;
|
|
|
|
sizeEx=0.05;
|
|
|
|
text="0.0";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_TARGET_SPEED_ASSIST_TIMER_STOP: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=9002;
|
|
|
|
style=ST_CENTER;
|
|
|
|
w=0.07;
|
|
|
|
h=0.04;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.225;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.60;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
colorFocused[]={0.15,0.21,0.23,0.2};
|
|
|
|
text="Stop";
|
2015-04-10 16:08:38 +00:00
|
|
|
action=QUOTE(GVAR(speedAssistTimer)=false);
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
|
|
|
class TEXT_RANGE_CARD_SETUP_START_RANGE: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=10000;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.12;
|
|
|
|
text="Start Range";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_SETUP_END_RANGE: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=10001;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.12;
|
|
|
|
text="End Range";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_SETUP_INCREMENT: TEXT_TARGET_RANGE_ASSIST_ANGLE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=10002;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.12;
|
|
|
|
text="Increment";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_SETUP_START_RANGE_INPUT: TEXT_TARGET_RANGE_ASSIST_TARGET_SIZE_INPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=10003;
|
|
|
|
onKeyUp=QUOTE(if (_this select 1 == 28) then {1 call FUNC(toggle_range_card_setup)});
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_SETUP_END_RANGE_INPUT: TEXT_TARGET_RANGE_ASSIST_IMAGE_SIZE_INPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=10004;
|
|
|
|
onKeyUp=QUOTE(if (_this select 1 == 28) then {1 call FUNC(toggle_range_card_setup)});
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_SETUP_INCREMENT_INPUT: TEXT_TARGET_RANGE_ASSIST_ANGLE_INPUT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=10005;
|
|
|
|
onKeyUp=QUOTE(if (_this select 1 == 28) then {1 call FUNC(toggle_range_card_setup)});
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_SETUP_DONE: TEXT_TARGET_SPEED_ASSIST_DONE {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=10006;
|
|
|
|
action=QUOTE(1 call FUNC(toggle_range_card_setup));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_SETUP_CANCEL: TEXT_TARGET_SPEED_ASSIST_CANCEL {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=10007;
|
|
|
|
action=QUOTE(0 call FUNC(toggle_range_card_setup));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_SETUP_PREV: TEXT_TARGET_SPEED_ASSIST_PREV {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=10008;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_RANGE_CARD_SETUP_NEXT: TEXT_TARGET_SPEED_ASSIST_NEXT {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=10009;
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
|
|
|
|
class TEXT_ADD_NEW_GUN_CAPTION: ATragMX_RscText {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=11000;
|
|
|
|
style=ST_LEFT;
|
|
|
|
w=0.25;
|
|
|
|
h=0.04;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.12;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.24;
|
|
|
|
sizeEx=0.025;
|
|
|
|
text="New Gun Name";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_ADD_NEW_GUN_GUN_NAME_INPUT: ATragMX_RscEdit {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=11001;
|
|
|
|
style=ST_LEFT;
|
|
|
|
w=0.225;
|
|
|
|
h=0.04;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.12;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.28;
|
|
|
|
text="";
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_ADD_NEW_GUN_OK: ATragMX_RscButton {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=11002;
|
|
|
|
style=ST_CENTER;
|
|
|
|
w=0.1;
|
|
|
|
h=0.04;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.12;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.33;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
colorFocused[]={0.15,0.21,0.23,0.2};
|
|
|
|
text="OK";
|
|
|
|
action=QUOTE(call FUNC(add_new_gun); false call FUNC(show_add_new_gun); true call FUNC(show_gun_list));
|
|
|
|
};
|
2015-04-07 21:03:30 +00:00
|
|
|
class TEXT_ADD_NEW_GUN_CANCEL: TEXT_ADD_NEW_GUN_OK {
|
2015-04-07 20:44:26 +00:00
|
|
|
idc=11003;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.245;
|
|
|
|
text="Cancel";
|
|
|
|
action=QUOTE(false call FUNC(show_add_new_gun); true call FUNC(show_gun_list));
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
|
|
|
|
class TEXT_GUN_AMMO_DATA_BORE_HEIGHT: TEXT_BORE_HEIGHT {
|
|
|
|
idc=12000;
|
|
|
|
w=0.22;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.28;
|
|
|
|
text="Bore (cm)";
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_BORE_HEIGHT_INPUT: ATragMX_RscEdit {
|
|
|
|
idc=120000;
|
|
|
|
w=0.06;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.335;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.28;
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_BULLET_MASS: TEXT_GUN_AMMO_DATA_BORE_HEIGHT {
|
|
|
|
idc=12001;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.320;
|
|
|
|
text="Bullet Weight (grams)";
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_BULLET_MASS_INPUT: TEXT_GUN_AMMO_DATA_BORE_HEIGHT_INPUT {
|
|
|
|
idc=120010;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.320;
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_BULLET_DIAMETER: TEXT_GUN_AMMO_DATA_BORE_HEIGHT {
|
|
|
|
idc=12002;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.360;
|
|
|
|
text="Bullet Diam (cm)";
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_BULLET_DIAMETER_INPUT: TEXT_GUN_AMMO_DATA_BORE_HEIGHT_INPUT {
|
|
|
|
idc=120020;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.360;
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_AIR_FRICTION: TEXT_GUN_AMMO_DATA_BORE_HEIGHT {
|
|
|
|
idc=12003;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.400;
|
|
|
|
text="C1 Coefficient";
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_AIR_FRICTION_INPUT: TEXT_GUN_AMMO_DATA_BORE_HEIGHT_INPUT {
|
|
|
|
idc=120030;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.400;
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_RIFLE_TWIST: TEXT_GUN_AMMO_DATA_BORE_HEIGHT {
|
|
|
|
idc=12004;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.440;
|
|
|
|
text="Rifle Twist (cm/trn)";
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_RIFLE_TWIST_INPUT: TEXT_GUN_AMMO_DATA_BORE_HEIGHT_INPUT {
|
|
|
|
idc=120040;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.440;
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_MUZZLE_VELOCITY: TEXT_GUN_AMMO_DATA_BORE_HEIGHT {
|
|
|
|
idc=12005;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.480;
|
|
|
|
text="Muzzle Velocity (m/s)";
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_MUZZLE_VELOCITY_INPUT: TEXT_GUN_AMMO_DATA_BORE_HEIGHT_INPUT {
|
|
|
|
idc=120050;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.480;
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_ZERO_RANGE: TEXT_GUN_AMMO_DATA_BORE_HEIGHT {
|
|
|
|
idc=12006;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.520;
|
|
|
|
text="Zero Range (meters)";
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_ZERO_RANGE_INPUT: TEXT_GUN_AMMO_DATA_BORE_HEIGHT_INPUT {
|
|
|
|
idc=120060;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.520;
|
|
|
|
};
|
2015-04-20 08:36:20 +00:00
|
|
|
class TEXT_GUN_AMMO_DATA_ZERO_RANGE_METER_INDICATOR: TEXT_GUN_AMMO_DATA_BORE_HEIGHT {
|
|
|
|
idc=120061;
|
|
|
|
w=0.05;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.315;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.520;
|
|
|
|
text="";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_GUN_AMMO_DATA_DONE: TEXT_TARGET_SPEED_ASSIST_DONE {
|
|
|
|
idc=12008;
|
|
|
|
action=QUOTE(1 call FUNC(toggle_gun_ammo_data));
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_CANCEL: TEXT_TARGET_SPEED_ASSIST_CANCEL {
|
|
|
|
idc=12009;
|
|
|
|
action=QUOTE(0 call FUNC(toggle_gun_ammo_data));
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_PREV: TEXT_TARGET_SPEED_ASSIST_PREV {
|
|
|
|
idc=12010;
|
|
|
|
};
|
|
|
|
class TEXT_GUN_AMMO_DATA_NEXT: TEXT_TARGET_SPEED_ASSIST_NEXT {
|
|
|
|
idc=12011;
|
|
|
|
};
|
|
|
|
|
|
|
|
class TEXT_ATMO_ENV_DATA_DEFAULT: TEXT_LEAD {
|
|
|
|
idc=13000;
|
|
|
|
w=0.08;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.15;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.320;
|
|
|
|
text="Default";
|
|
|
|
action=QUOTE(call FUNC(restore_atmo_default));
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_AT: TEXT_TARGET_A {
|
|
|
|
idc=13001;
|
|
|
|
w=0.04;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.24;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.320;
|
|
|
|
text="AT";
|
|
|
|
action=QUOTE(GVAR(atmosphereModeTBH) = false; call FUNC(update_atmo_selection));
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_TBH: TEXT_ATMO_ENV_DATA_AT {
|
|
|
|
idc=13002;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.28;
|
|
|
|
text="TBH";
|
|
|
|
action=QUOTE(GVAR(atmosphereModeTBH) = true; call FUNC(update_atmo_selection));
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_ALTITUDE: TEXT_GUN_AMMO_DATA_BORE_HEIGHT {
|
|
|
|
idc=13003;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.115;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.400;
|
|
|
|
text="Altitude (ft)";
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_ALTITUDE_INPUT: TEXT_GUN_AMMO_DATA_BORE_HEIGHT_INPUT {
|
|
|
|
idc=130030;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.330;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.400;
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_TEMPERATURE: TEXT_ATMO_ENV_DATA_ALTITUDE {
|
|
|
|
idc=13004;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.440;
|
|
|
|
text="temperature (F)";
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_TEMPERATURE_INPUT: TEXT_ATMO_ENV_DATA_ALTITUDE_INPUT {
|
|
|
|
idc=130040;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.440;
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_BAROMETRIC_PRESSURE: TEXT_ATMO_ENV_DATA_ALTITUDE {
|
|
|
|
idc=13005;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.480;
|
|
|
|
text="Barom Pres (in.merc.)";
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_BAROMETRIC_PRESSURE_INPUT: TEXT_ATMO_ENV_DATA_ALTITUDE_INPUT {
|
|
|
|
idc=130050;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.480;
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_RELATIVE_HUMIDITY: TEXT_ATMO_ENV_DATA_ALTITUDE {
|
|
|
|
idc=13006;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.520;
|
|
|
|
text="Relative Humidity (%)";
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_RELATIVE_HUMIDITY_INPUT: TEXT_ATMO_ENV_DATA_ALTITUDE_INPUT {
|
|
|
|
idc=130060;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.520;
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_DONE: TEXT_TARGET_SPEED_ASSIST_DONE {
|
|
|
|
idc=13007;
|
|
|
|
action=QUOTE(1 call FUNC(toggle_atmo_env_data));
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_CANCEL: TEXT_TARGET_SPEED_ASSIST_CANCEL {
|
|
|
|
idc=13008;
|
|
|
|
action=QUOTE(0 call FUNC(toggle_atmo_env_data));
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_PREV: TEXT_TARGET_SPEED_ASSIST_PREV {
|
|
|
|
idc=13009;
|
|
|
|
};
|
|
|
|
class TEXT_ATMO_ENV_DATA_NEXT: TEXT_TARGET_SPEED_ASSIST_NEXT {
|
|
|
|
idc=13010;
|
|
|
|
};
|
2015-04-18 17:22:24 +00:00
|
|
|
class TEXT_ATMO_ENV_DATA_CALC_METHOD: TEXT_GUN_AMMO_DATA_BORE_HEIGHT {
|
|
|
|
idc=13011;
|
2015-04-21 09:43:16 +00:00
|
|
|
style=64;
|
|
|
|
w=0.14;
|
|
|
|
h=0.07;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.235;
|
2015-04-18 17:22:24 +00:00
|
|
|
y=0.265*safezoneH+safezoneY+0.29;
|
|
|
|
text="Calc Method";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
|
|
|
|
class TEXT_TARGET_DATA_LATITUDE: TEXT_BORE_HEIGHT {
|
|
|
|
idc=14000;
|
|
|
|
w=0.22;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.28;
|
|
|
|
text="Latitude";
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_LATITUDE_INPUT: ATragMX_RscEdit {
|
|
|
|
idc=140000;
|
|
|
|
w=0.06;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.335;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.28;
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_DIR_OF_FIRE: TEXT_TARGET_DATA_LATITUDE {
|
|
|
|
idc=14001;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.320;
|
|
|
|
text="Dir of Fire (deg from N)";
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_DIR_OF_FIRE_INPUT: TEXT_TARGET_DATA_LATITUDE_INPUT {
|
|
|
|
idc=140010;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.320;
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_WIND_SPEED: TEXT_TARGET_DATA_LATITUDE {
|
|
|
|
idc=14002;
|
2015-04-18 17:22:24 +00:00
|
|
|
w=1.2;
|
2015-04-17 22:11:53 +00:00
|
|
|
y=0.265*safezoneH+safezoneY+0.360;
|
|
|
|
text="Wind Speed (m/s)";
|
|
|
|
};
|
2015-04-18 17:22:24 +00:00
|
|
|
class TEXT_TARGET_DATA_WIND_SPEED_1: TEXT_TARGET_DATA_LATITUDE {
|
|
|
|
idc=141020;
|
|
|
|
colorText[]={0,0,0,0.6};
|
|
|
|
w=0.05;
|
|
|
|
h=0.03;
|
|
|
|
sizeEx=0.025;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.270;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.357;
|
|
|
|
text="1";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_TARGET_DATA_WIND_SPEED_INPUT_1: TEXT_TARGET_DATA_LATITUDE_INPUT {
|
|
|
|
idc=140020;
|
|
|
|
w=0.045;
|
2015-04-18 17:22:24 +00:00
|
|
|
x=0.550*safezoneW+safezoneX+0.290;
|
2015-04-17 22:11:53 +00:00
|
|
|
y=0.265*safezoneH+safezoneY+0.360;
|
|
|
|
};
|
2015-04-18 17:22:24 +00:00
|
|
|
class TEXT_TARGET_DATA_WIND_SPEED_2: TEXT_TARGET_DATA_WIND_SPEED_1 {
|
|
|
|
idc=141021;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.330;
|
|
|
|
text="2";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_TARGET_DATA_WIND_SPEED_INPUT_2: TEXT_TARGET_DATA_LATITUDE_INPUT {
|
|
|
|
idc=140021;
|
|
|
|
w=0.045;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.350;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.360;
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_WIND_DIRECTION: TEXT_TARGET_DATA_LATITUDE {
|
|
|
|
idc=14003;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.400;
|
|
|
|
text="Wind Direction (clock)";
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_WIND_DIRECTION_INPUT: TEXT_TARGET_DATA_LATITUDE_INPUT {
|
|
|
|
idc=140030;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.400;
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_INCLINATION_ANGLE: TEXT_TARGET_DATA_LATITUDE {
|
|
|
|
idc=14004;
|
2015-04-18 17:22:24 +00:00
|
|
|
w=1.2;
|
2015-04-17 22:11:53 +00:00
|
|
|
y=0.265*safezoneH+safezoneY+0.440;
|
|
|
|
text="Inclination Angle";
|
|
|
|
};
|
2015-04-18 17:22:24 +00:00
|
|
|
class TEXT_TARGET_DATA_INCLINATION_ANGLE_COSINE: TEXT_TARGET_DATA_LATITUDE {
|
|
|
|
idc=141041;
|
|
|
|
colorText[]={0,0,0,0.6};
|
|
|
|
w=0.05;
|
|
|
|
h=0.03;
|
|
|
|
sizeEx=0.025;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.270;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.437;
|
|
|
|
text="c";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_TARGET_DATA_INCLINATION_ANGLE_INPUT_COSINE: TEXT_TARGET_DATA_LATITUDE_INPUT {
|
|
|
|
idc=140041;
|
|
|
|
w=0.045;
|
2015-04-18 17:22:24 +00:00
|
|
|
x=0.550*safezoneW+safezoneX+0.290;
|
2015-04-17 22:11:53 +00:00
|
|
|
y=0.265*safezoneH+safezoneY+0.440;
|
2015-04-18 13:52:06 +00:00
|
|
|
onKeyUp=QUOTE(if (_this select 1 == 28) then {0 call FUNC(update_inclination_angle)});
|
2015-04-17 22:11:53 +00:00
|
|
|
};
|
2015-04-18 17:22:24 +00:00
|
|
|
class TEXT_TARGET_DATA_INCLINATION_ANGLE_DEGREE: TEXT_TARGET_DATA_INCLINATION_ANGLE_COSINE {
|
|
|
|
idc=141040;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.330;
|
|
|
|
text="d";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_TARGET_DATA_INCLINATION_ANGLE_INPUT_DEGREE: TEXT_TARGET_DATA_LATITUDE_INPUT {
|
|
|
|
idc=140040;
|
|
|
|
w=0.045;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.350;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.440;
|
2015-04-18 13:52:06 +00:00
|
|
|
onKeyUp=QUOTE(if (_this select 1 == 28) then {1 call FUNC(update_inclination_angle)});
|
2015-04-17 22:11:53 +00:00
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_TARGET_SPEED: TEXT_TARGET_DATA_LATITUDE {
|
|
|
|
idc=14005;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.480;
|
|
|
|
text="Target Speed (m/s)";
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_TARGET_SPEED_INPUT: TEXT_TARGET_DATA_LATITUDE_INPUT {
|
|
|
|
idc=140050;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.480;
|
|
|
|
};
|
2015-04-21 13:46:53 +00:00
|
|
|
class TEXT_TARGET_DATA_TARGET_SPEED_DIRECTION: ATragMX_RscButton {
|
|
|
|
idc=140051;
|
|
|
|
colorBackground[]={0.15,0.21,0.23,0.3};
|
|
|
|
colorFocused[]={0.15,0.21,0.23,0.2};
|
|
|
|
w=0.0231;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.305;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.480;
|
|
|
|
text=">";
|
|
|
|
action=QUOTE(call FUNC(cycle_target_speed_direction));
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_TARGET_DATA_TARGET_RANGE: TEXT_TARGET_DATA_LATITUDE {
|
|
|
|
idc=14006;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.520;
|
|
|
|
text="Target Range (meters)";
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_TARGET_RANGE_INPUT: TEXT_TARGET_DATA_LATITUDE_INPUT {
|
|
|
|
idc=140060;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.520;
|
|
|
|
};
|
2015-04-20 08:36:20 +00:00
|
|
|
class TEXT_TARGET_DATA_TARGET_RANGE_METER_INDICATOR: TEXT_TARGET_DATA_LATITUDE {
|
|
|
|
idc=140061;
|
|
|
|
w=0.05;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.315;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.520;
|
|
|
|
text="";
|
|
|
|
};
|
2015-04-17 22:11:53 +00:00
|
|
|
class TEXT_TARGET_DATA_DONE: TEXT_TARGET_SPEED_ASSIST_DONE {
|
|
|
|
idc=14008;
|
|
|
|
action=QUOTE(1 call FUNC(toggle_target_data));
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_CANCEL: TEXT_TARGET_SPEED_ASSIST_CANCEL {
|
|
|
|
idc=14009;
|
|
|
|
action=QUOTE(0 call FUNC(toggle_target_data));
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_PREV: TEXT_TARGET_SPEED_ASSIST_PREV {
|
|
|
|
idc=14010;
|
|
|
|
};
|
|
|
|
class TEXT_TARGET_DATA_NEXT: TEXT_TARGET_SPEED_ASSIST_NEXT {
|
|
|
|
idc=14011;
|
|
|
|
};
|
2015-04-21 13:01:23 +00:00
|
|
|
|
|
|
|
class TEXT_SOLUTION_SETUP_SHOW_RESULT_IN: TEXT_GUN_AMMO_DATA_BORE_HEIGHT {
|
|
|
|
idc=15000;
|
|
|
|
style=64;
|
|
|
|
w=0.25;
|
|
|
|
h=0.07;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.13;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.32;
|
|
|
|
text="Show result in";
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_SHOW_RESULT_IN_1: TEXT_TARGET_A {
|
|
|
|
idc=15001;
|
|
|
|
w=0.04;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.14;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.35;
|
|
|
|
text="1";
|
|
|
|
action=QUOTE(GVAR(currentScopeClickNumberTemp) = 1; call FUNC(update_solution_setup));
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_SHOW_RESULT_IN_2: TEXT_SOLUTION_SETUP_SHOW_RESULT_IN_1 {
|
|
|
|
idc=15002;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.18;
|
|
|
|
text="2";
|
|
|
|
action=QUOTE(GVAR(currentScopeClickNumberTemp) = 2; call FUNC(update_solution_setup));
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_SHOW_RESULT_IN_3: TEXT_SOLUTION_SETUP_SHOW_RESULT_IN_1 {
|
|
|
|
idc=15003;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.22;
|
|
|
|
text="3";
|
|
|
|
action=QUOTE(GVAR(currentScopeClickNumberTemp) = 3; call FUNC(update_solution_setup));
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_SHOW_RESULT_IN_4: TEXT_SOLUTION_SETUP_SHOW_RESULT_IN_1 {
|
|
|
|
idc=15004;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.26;
|
|
|
|
text="4";
|
|
|
|
action=QUOTE(GVAR(currentScopeClickNumberTemp) = 4; call FUNC(update_solution_setup));
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_SHOW_RESULT_IN_8: TEXT_SOLUTION_SETUP_SHOW_RESULT_IN_1 {
|
|
|
|
idc=15005;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.30;
|
|
|
|
text="8";
|
|
|
|
action=QUOTE(GVAR(currentScopeClickNumberTemp) = 8; call FUNC(update_solution_setup));
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_SHOW_RESULT_IN_10: TEXT_SOLUTION_SETUP_SHOW_RESULT_IN_1 {
|
|
|
|
idc=15006;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.34;
|
|
|
|
text="10";
|
|
|
|
action=QUOTE(GVAR(currentScopeClickNumberTemp) = 10; call FUNC(update_solution_setup));
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_CLICKS_PER: TEXT_GUN_AMMO_DATA_BORE_HEIGHT {
|
|
|
|
idc=15007;
|
|
|
|
style=64;
|
|
|
|
w=0.25;
|
|
|
|
h=0.07;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.13;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.42;
|
|
|
|
text="Clicks per";
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_CLICKS_PER_TMOA: TEXT_TARGET_A {
|
|
|
|
idc=15008;
|
|
|
|
w=0.05;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.15;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.45;
|
|
|
|
text="TMOA";
|
|
|
|
action=QUOTE(GVAR(currentScopeClickUnitTemp) = 0; call FUNC(update_solution_setup));
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_CLICKS_PER_SMOA: TEXT_SOLUTION_SETUP_CLICKS_PER_TMOA {
|
|
|
|
idc=15009;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.23;
|
|
|
|
text="SMOA";
|
|
|
|
action=QUOTE(GVAR(currentScopeClickUnitTemp) = 1; call FUNC(update_solution_setup));
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_CLICKS_PER_MILS: TEXT_SOLUTION_SETUP_CLICKS_PER_TMOA {
|
|
|
|
idc=15010;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.31;
|
|
|
|
text="MILS";
|
|
|
|
action=QUOTE(GVAR(currentScopeClickUnitTemp) = 2; call FUNC(update_solution_setup));
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_DONE: TEXT_TARGET_SPEED_ASSIST_DONE {
|
|
|
|
idc=15011;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.18;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.55;
|
|
|
|
action=QUOTE(1 call FUNC(toggle_solution_setup));
|
|
|
|
};
|
|
|
|
class TEXT_SOLUTION_SETUP_CANCEL: TEXT_TARGET_SPEED_ASSIST_CANCEL {
|
|
|
|
idc=15012;
|
|
|
|
x=0.550*safezoneW+safezoneX+0.26;
|
|
|
|
y=0.265*safezoneH+safezoneY+0.55;
|
|
|
|
action=QUOTE(0 call FUNC(toggle_solution_setup));
|
|
|
|
};
|
2015-04-07 20:44:26 +00:00
|
|
|
};
|
2015-04-06 13:51:59 +00:00
|
|
|
};
|