diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..dfe0770
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+# Auto detect text files and perform LF normalization
+* text=auto
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..c90bc92
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,10 @@
+*.pbo
+*.bak
+*.lnk
+*.bikey
+*.txt
+*.md
+*.p3d
+*.paa
+*.png
+*.ogg
diff --git a/CustomControlClasses.h b/CustomControlClasses.h
deleted file mode 100644
index 958841b..0000000
--- a/CustomControlClasses.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef HG_CustomControlClassesh
-#define HG_CustomControlClassesh 1
-//Create a header guard to prevent duplicate include.
-
-class tun_default_text
-{
- style = 2;
- colorBackground[] = {0,0.102,0.502,1};
- colorText[] = {1,1,1,1};
- font = "PuristaMedium";
- sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
- tooltipColorBox[] = {0.6,0.6,0.6,1};
- tooltipColorText[] = {0.702,0.102,0.102,1};
-
-};
-class tun_firesupport_coordinate_preset
-{
- style = 0+2;
- text = "000";
- autocomplete = "";
- colorBackground[] = {0.2,0.2,0.2,1};
- colorDisabled[] = {0,0,0,0};
- colorSelection[] = {0,0,0,0};
- colorText[] = {1,1,1,1};
- font = "PuristaMedium";
- sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
- access = 0;
- canModify = true;
- maxChars = 5;
- shadow = 0;
- tooltip = "Only Numbers";
- tooltipColorBox[] = {0.6,0,0,1};
- tooltipColorShade[] = {0,0,0,0};
- tooltipColorText[] = {1,1,1,1};
-
-};
-#endif
diff --git a/Data/afilogo.paa b/Data/afilogo.paa
new file mode 100644
index 0000000..f14831f
Binary files /dev/null and b/Data/afilogo.paa differ
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..de47048
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,5 @@
+Arma Public License Share Alike (APL-SA)
+https://www.bohemia.net/community/licenses/arma-public-license-share-alike
+
+
+Can be re-uploaded to workshop if original content is credited and linked.
diff --git a/README.md b/README.md
deleted file mode 100644
index f53e065..0000000
--- a/README.md
+++ /dev/null
@@ -1,17 +0,0 @@
-Wiki is here https://github.com/tuntematonjr/Tun-Firesupport/wiki
-
-Put following line to Description.ext
-#include "Tun_Firesupport_Dialog.h"
-
-In firesupport.sqf you can define what artillery pieces are avaible and ammo counts.
-
-// Define globa lvariable with following syntax [name what shown in UI (must be string), array of artillery units, array of arrays which have ammo classname (string) and ammo count
-tun_battery1 = ["tykit", [tykki1, tykki2, tykki3], [["32Rnd_155mm_Mo_shells", 20]]];
-tun_battery2 = ["morkulat", [mor1, mor2, mor3], [["8Rnd_82mm_Mo_shells",30], ["8Rnd_82mm_Mo_Flare_white",40]]];
-
-//For following globa lvariable. Collect all off your earlier defined globa lvariables in single array.
-GVAR(batteries) = [tun_battery1, tun_battery2, tun_battery3];
-
-
-//Put following line in unit init line. Currently only one Forward Observer is supported.
-[this] call compile preprocessFileLineNumbers "scriptit/firesupport.sqf";
diff --git a/Tun_Firesupport_Dialog.h b/Tun_Firesupport_Dialog.h
deleted file mode 100644
index d763108..0000000
--- a/Tun_Firesupport_Dialog.h
+++ /dev/null
@@ -1,269 +0,0 @@
-//Exported via Arma Dialog Creator (https://github.com/kayler-renslow/arma-dialog-creator)
-
-#include "CustomControlClasses.h"
-class Tun_Firesupport_Dialog
-{
- idd = -1;
-
- class ControlsBackground
- {
-
- };
- class Controls
- {
- class tun_firesupport_tausta
- {
- type = 0;
- idc = -1;
- x = safeZoneX + safeZoneW * 0.18125;
- y = safeZoneY + safeZoneH * 0.07444445;
- w = safeZoneW * 0.6375;
- h = safeZoneH * 0.85;
- style = 48;
- text = "tablet.jpg";
- colorBackground[] = {0,0,0,0};
- colorText[] = {1,1,1,1};
- font = "PuristaMedium";
- sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
-
- };
- class tun_firesupport_header
- {
- type = 0;
- idc = -1;
- x = safeZoneX + safeZoneW * 0.251875;
- y = safeZoneY + safeZoneH * 0.15222223;
- w = safeZoneW * 0.4775;
- h = safeZoneH * 0.05666667;
- style = 2;
- text = "Mobile Supreme Indirect Fire Support Request System For Blahh. A.K.A WIP";
- colorBackground[] = {0,0.102,0.502,1};
- colorText[] = {0.6118,0.949,0.7961,1};
- font = "PuristaSemiBold";
- sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
- shadow = 2;
-
- };
- class tun_firesupport_avaible_batteries
- {
- type = 5;
- idc = 2200;
- x = safeZoneX + safeZoneW * 0.25875;
- y = safeZoneY + safeZoneH * 0.22444445;
- w = safeZoneW * 0.1475;
- h = safeZoneH * 0.47555556;
- style = 16;
- colorBackground[] = {0.2,0.2,0.2,1};
- colorDisabled[] = {0.2,0.2,0.2,1};
- colorSelect[] = {1,0,0,1};
- colorText[] = {1,1,1,1};
- font = "PuristaMedium";
- maxHistoryDelay = 0;
- rowHeight = 0;
- sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
- soundSelect[] = {"\A3\ui_f\data\sound\RscListbox\soundSelect",0.09,1.0};
- onLBSelChanged = "[] call tun_firesupport_fnc_add_AmmoTypes; [] call Tun_firesupport_fnc_eta;";
- class ListScrollBar
- {
- color[] = {1,1,1,1};
- 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";
-
- };
-
- };
- class tun_firesupport_avaible_ammo
- {
- type = 5;
- idc = 2201;
- x = safeZoneX + safeZoneW * 0.41375;
- y = safeZoneY + safeZoneH * 0.22555556;
- w = safeZoneW * 0.1625;
- h = safeZoneH * 0.47555556;
- style = 16;
- colorBackground[] = {0.2,0.2,0.2,1};
- colorDisabled[] = {0.2,0.2,0.2,1};
- colorSelect[] = {1,0,0,1};
- colorText[] = {1,1,1,1};
- font = "PuristaMedium";
- maxHistoryDelay = 0;
- rowHeight = 0;
- sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
- soundSelect[] = {"\A3\ui_f\data\sound\RscListbox\soundSelect",0.09,1.0};
- onLBSelChanged = "[] call Tun_firesupport_fnc_eta; [] call tun_firesupport_fnc_dialog_slider_max_ammo;";
- onMouseEnter = "[] call Tun_firesupport_fnc_eta;";
- onMouseExit = "";
- class ListScrollBar
- {
- color[] = {1,1,1,1};
- 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";
-
- };
-
- };
- class tun_firesupport_eta
- {
- type = 0;
- idc = 2202;
- x = safeZoneX + safeZoneW * 0.60875;
- y = safeZoneY + safeZoneH * 0.69;
- w = safeZoneW * 0.0925;
- h = safeZoneH * 0.04;
- style = 2;
- text = "CANT FIRE";
- colorBackground[] = {0,0.102,0.502,1};
- colorText[] = {1,1,1,1};
- font = "PuristaMedium";
- sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
-
- };
- class tun_firesupport_call_fire
- {
- type = 1;
- idc = 2207;
- x = safeZoneX + safeZoneW * 0.59;
- y = safeZoneY + safeZoneH * 0.75222223;
- w = safeZoneW * 0.1325;
- h = safeZoneH * 0.05888889;
- style = 0+2;
- text = "FIRE!";
- borderSize = 0;
- colorBackground[] = {0.6,0,0,1};
- colorBackgroundActive[] = {1,0,0,1};
- colorBackgroundDisabled[] = {0.2,0.2,0.2,1};
- colorBorder[] = {0.302,0,0.102,1};
- colorDisabled[] = {0.2,0.2,0.2,1};
- colorFocused[] = {0.2,0.2,0.2,1};
- colorShadow[] = {0,0,0,1};
- colorText[] = {0.9255,0.8824,0.1725,1};
- font = "PuristaMedium";
- offsetPressedX = 0.01;
- offsetPressedY = 0.01;
- offsetX = 0.01;
- offsetY = 0.01;
- sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
- soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1.0};
- soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1.0};
- soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1.0};
- soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1.0};
- action = "[] call tun_firesupport_fnc_call_support;";
- onButtonClick = "";
- onMouseEnter = "[] call Tun_firesupport_fnc_eta;";
- shadow = 1;
-
- };
- class tun_firesupport_amount_baground
- {
- type = 0;
- idc = -1;
- x = safeZoneX + safeZoneW * 0.41375;
- y = safeZoneY + safeZoneH * 0.78;
- w = safeZoneW * 0.146875;
- h = safeZoneH * 0.04;
- style = 0;
- text = "";
- colorBackground[] = {0.302,0.302,0.302,1};
- colorText[] = {0,0,0,0};
- font = "PuristaMedium";
- sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
-
- };
- class tun_firesupport_amount
- {
- type = 43;
- idc = 2205;
- x = safeZoneX + safeZoneW * 0.415625;
- y = safeZoneY + safeZoneH * 0.78777778;
- w = safeZoneW * 0.1425;
- h = safeZoneH * 0.02666667;
- style = 1024;
- 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";
- color[] = {0.498,0.6549,0.102,1};
- colorActive[] = {1,1,1,1};
- thumb = "\A3\ui_f\data\GUI\Cfg\Slider\thumb_ca.paa";
- onSliderPosChanged = "[] call tun_firesupport_fnc_slider_update; [] call Tun_firesupport_fnc_eta;";
-
- };
- class tun_firesupport_text_amount
- {
- type = 0;
- idc = 2206;
- x = safeZoneX + safeZoneW * 0.44125;
- y = safeZoneY + safeZoneH * 0.73222223;
- w = safeZoneW * 0.0875;
- h = safeZoneH * 0.04;
- style = 2;
- text = "1";
- colorBackground[] = {0.1333,0.3294,0.6667,1};
- colorText[] = {0.8667,0.6706,0.3333,1};
- font = "PuristaMedium";
- sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
-
- };
- class tun_firesupport_easting : tun_firesupport_coordinate_preset
- {
- type = 2;
- idc = 2203;
- x = safeZoneX + safeZoneW * 0.59375;
- y = safeZoneY + safeZoneH * 0.33444445;
- w = safeZoneW * 0.0625;
- h = safeZoneH * 0.04;
- onDestroy = "[] call tun_firesupport_fnc_save_coordinates;";
- onKeyUp = "[] call Tun_firesupport_fnc_eta;";
-
- };
- class tun_firesupport_northing : tun_firesupport_coordinate_preset
- {
- type = 2;
- idc = 2204;
- x = safeZoneX + safeZoneW * 0.59375;
- y = safeZoneY + safeZoneH * 0.45444445;
- w = safeZoneW * 0.0625;
- h = safeZoneH * 0.04;
- onKeyUp = "[] call Tun_firesupport_fnc_eta;";
-
- };
- class tun_firesupport_text_easting : tun_default_text
- {
- type = 0;
- idc = -1;
- x = safeZoneX + safeZoneW * 0.59375;
- y = safeZoneY + safeZoneH * 0.27444445;
- w = safeZoneW * 0.0625;
- h = safeZoneH * 0.04;
- text = "Easting";
-
- };
- class tun_firesupport_text_northing : tun_default_text
- {
- type = 0;
- idc = -1;
- x = safeZoneX + safeZoneW * 0.59375;
- y = safeZoneY + safeZoneH * 0.40444445;
- w = safeZoneW * 0.0625;
- h = safeZoneH * 0.04;
- text = "Northing";
-
- };
- class tun_firesupport_text_eta : tun_default_text
- {
- type = 0;
- idc = -1;
- x = safeZoneX + safeZoneW * 0.62875;
- y = safeZoneY + safeZoneH * 0.63444445;
- w = safeZoneW * 0.0525;
- h = safeZoneH * 0.04;
- text = "ETA";
-
- };
-
- };
-
-};
diff --git a/addons/artycomputer_models/$PREFIX$ b/addons/artycomputer_models/$PREFIX$
new file mode 100644
index 0000000..618f576
--- /dev/null
+++ b/addons/artycomputer_models/$PREFIX$
@@ -0,0 +1 @@
+x\tun\addons\artycomputer_models
\ No newline at end of file
diff --git a/addons/artycomputer_models/config.cpp b/addons/artycomputer_models/config.cpp
new file mode 100644
index 0000000..93d9337
--- /dev/null
+++ b/addons/artycomputer_models/config.cpp
@@ -0,0 +1,35 @@
+#include "script_component.hpp"
+
+class CfgPatches
+{
+ class tun_artycomputer_models
+ {
+ requiredVersion = 1.94;
+ requiredAddons[] = {"A3_Weapons_F","cba_main","cba_xeh","cba_settings"};
+ units[]={};
+ weapons[]={"tun_tablet"};
+ author = "Immonen & Nurmi";
+ authorUrl = "https://armafinland.fi/";
+ };
+};
+
+class CfgWeapons {
+ class CBA_MiscItem;
+ class CBA_MiscItem_ItemInfo;
+
+
+ class tun_tablet: CBA_MiscItem
+ {
+ displayName="Military Tablet";
+ scope=2;
+ author="Immonen & Nurmi";
+ picture= "\x\Tun\addons\artycomputer_models\data\tablet_icon.paa";
+ model= "\x\Tun\addons\artycomputer_models\tablet.p3d";
+ icon= "\x\Tun\addons\artycomputer_models\data\tablet_icon.paa";
+ descriptionShort="Tablet used to run AFI (Advanced Firesupport Interface)";
+ class ItemInfo: CBA_MiscItem_ItemInfo {
+ mass = 2;
+ };
+ };
+};
+
diff --git a/addons/artycomputer_models/script_component.hpp b/addons/artycomputer_models/script_component.hpp
new file mode 100644
index 0000000..6ac8676
--- /dev/null
+++ b/addons/artycomputer_models/script_component.hpp
@@ -0,0 +1,32 @@
+#define COMPONENT artycomputer_models
+#define PREFIX Tun
+
+#define MAJOR 0
+#define MINOR 4
+#define PATCHLVL 1
+#define BUILD 24012021
+
+#define VERSION MAJOR.MINOR.PATCHLVL.BUILD
+#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD
+
+// MINIMAL required version for the Mod. Components can specify others..
+#define REQUIRED_VERSION 1.94
+
+/*
+ #define DEBUG_ENABLED_SYS_MAIN
+*/
+
+#define DEBUG_MODE_FULL
+
+#ifdef DEBUG_ENABLED_MAIN
+ #define DEBUG_MODE_FULL
+#endif
+
+#include "\x\cba\addons\main\script_macros_common.hpp"
+
+
+// Default versioning level
+#define DEFAULT_VERSIONING_LEVEL 2
+
+//AAR update macro
+#define AAR_UPDATE(OBJ,VARNAME,VALUE) if ( !isnil "afi_aar2" ) then { [OBJ, VARNAME, VALUE] call afi_aar2_fnc_addcustomdata; };
\ No newline at end of file
diff --git a/addons/firesupport/$PREFIX$ b/addons/firesupport/$PREFIX$
new file mode 100644
index 0000000..9920076
--- /dev/null
+++ b/addons/firesupport/$PREFIX$
@@ -0,0 +1 @@
+x\tun\addons\firesupport
\ No newline at end of file
diff --git a/addons/firesupport/CfgSounds.hpp b/addons/firesupport/CfgSounds.hpp
new file mode 100644
index 0000000..5f193b4
--- /dev/null
+++ b/addons/firesupport/CfgSounds.hpp
@@ -0,0 +1,46 @@
+class CfgSounds
+{
+ sounds[] = {};
+ class tun_firemissionDone
+ {
+
+ name = "completed";
+ sound[] = {QPATHTOF(sounds\completed.ogg), 1, 1};
+ titles[] = {};
+ };
+ class tun_targetlocation
+ {
+
+ name = "targetlocation";
+ sound[] = {QPATHTOF(sounds\targetlocation.ogg), 1, 1};
+ titles[] = {};
+ };
+ class tun_lostContact
+ {
+
+ name = "lostContact";
+ sound[] = {QPATHTOF(sounds\lost_Contact.ogg), 1, 1};
+ titles[] = {};
+ };
+ class tun_outOfAmmo
+ {
+
+ name = "outOfAmmo";
+ sound[] = {QPATHTOF(sounds\out_Of_Ammo.ogg), 1, 1};
+ titles[] = {};
+ };
+ class tun_splash
+ {
+
+ name = "splash";
+ sound[] = {QPATHTOF(sounds\splash.ogg), 1, 1};
+ titles[] = {};
+ };
+ class tun_resuply
+ {
+
+ name = "resuply";
+ sound[] = {QPATHTOF(sounds\resuply.ogg), 1, 1};
+ titles[] = {};
+ };
+};
\ No newline at end of file
diff --git a/addons/firesupport/CustomControlClasses.hpp b/addons/firesupport/CustomControlClasses.hpp
new file mode 100644
index 0000000..e4627ff
--- /dev/null
+++ b/addons/firesupport/CustomControlClasses.hpp
@@ -0,0 +1,82 @@
+//Exported via Arma Dialog Creator (https://github.com/kayler-renslow/arma-dialog-creator)
+#ifndef HG_CustomControlClasseshpp
+#define HG_CustomControlClasseshpp 1
+//Create a header guard to prevent duplicate include.
+
+#include "GUIBaseClasses.hpp"
+#include "Firesupport_idc.hpp"
+
+class tun_default_text
+{
+ style = 2;
+ colorBackground[] =
+ {
+ "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
+ 1
+ };
+ colorText[] = {1,1,1,1};
+ font = "PuristaMedium";
+ sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
+ tooltipColorBox[] = {0.6,0.6,0.6,1};
+ tooltipColorText[] = {0.702,0.102,0.102,1};
+
+};
+class tun_firesupport_coordinate_preset
+{
+ style = 0+2;
+ text = "000";
+ autocomplete = "";
+ colorBackground[] = {0.2,0.2,0.2,1};
+ colorDisabled[] = {0,0,0,0};
+ colorSelection[] = {0,0,0,0};
+ colorText[] = {1,1,1,1};
+ font = "PuristaMedium";
+ sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
+ canModify = true;
+ maxChars = 5;
+ shadow = 0;
+ tooltipColorBox[] = {0.6,0,0,1};
+ tooltipColorShade[] = {0,0,0,0};
+ tooltipColorText[] = {1,1,1,1};
+
+};
+class tun_firesupport_default_combo
+{
+ style = 16;
+ arrowEmpty = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_ca.paa";
+ arrowFull = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_active_ca.paa";
+ colorBackground[] = {0.4,0.4,0.4,1};
+ colorDisabled[] = {0,0,0,1};
+ colorSelect[] = {1,1,1,1};
+ colorSelectBackground[] = {0.8,0.502,0.2,1};
+ colorText[] = {1,1,1,1};
+ font = "PuristaSemiBold";
+ maxHistoryDelay = 0;
+ sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
+ soundCollapse[] = {"\A3\ui_f\data\sound\RscCombo\soundCollapse",0.1,1.0};
+ soundExpand[] = {"\A3\ui_f\data\sound\RscCombo\soundExpand",0.1,1.0};
+ soundSelect[] = {"\A3\ui_f\data\sound\RscCombo\soundSelect",0.1,1.0};
+ wholeHeight = 0.3;
+ shadow = 0;
+ tooltipColorBox[] = {0.2,0.2,0.2,1};
+ tooltipColorShade[] = {0.2,0.2,0.2,1};
+ tooltipColorText[] = {1,1,1,1};
+ class ComboScrollBar
+ {
+
+ };
+
+};
+
+class tun_firesupport_button_base : RscButton
+{
+
+};
+
+class tun_firesupport_listbox : RscListBox
+{
+
+};
+#endif
diff --git a/addons/firesupport/Firesupport_dialog.hpp b/addons/firesupport/Firesupport_dialog.hpp
new file mode 100644
index 0000000..2e139c1
--- /dev/null
+++ b/addons/firesupport/Firesupport_dialog.hpp
@@ -0,0 +1,503 @@
+//Exported via Arma Dialog Creator (https://github.com/kayler-renslow/arma-dialog-creator)
+
+#include "CustomControlClasses.hpp"
+//"Default" call BIS_fnc_exportGUIBaseClasses;
+
+class Firesupport_dialog
+{
+ idd = MAIN_IDD;
+ movingEnable = true;
+
+ class ControlsBackground
+ {
+ class tun_firesupport_baground
+ {
+ type = 0;
+ idc = -1;
+ x = safeZoneX + safeZoneW * 0.04980469;
+ y = safeZoneY + safeZoneH * -0.17;
+ w = safeZoneW * 0.90039063;
+ h = safeZoneH * 1.4;
+ style = ST_PICTURE + ST_CENTER;
+ text = "\x\Tun\addons\artycomputer_models\data\ui\tablet_ui.paa";
+ colorBackground[] = {0,0,0,1};
+ colorText[] = {1,1,1,1};
+ font = "PuristaMedium";
+ sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
+ moving = true;
+ onDestroy = "$STR_tun_firesupport_on_close_action";
+
+ };
+
+ };
+ class Controls
+ {
+ class tun_firesupport_remaining_ammo_bar
+ {
+ type = 8;
+ idc = REMAINIG_AMMO_PROGRESBAR_IDC;
+ x = safeZoneX + safeZoneW * 0.31875;
+ y = safeZoneY + safeZoneH * 0.725;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ style = 0;
+ colorBar[] = {1,0,0,1};
+ colorFrame[] = {0.4471,0.2471,0.3804,1};
+ texture = "#(argb,8,8,3)color(1,1,1,1)";
+
+ };
+
+ class tun_firesupport_minimap : RscMapControl
+ {
+ idc = MINIMAP_IDC;
+ x = safeZoneX + safeZoneW * 0.53808594;
+ y = safeZoneY + safeZoneH * 0.44444445;
+ w = safeZoneW * 0.14355469;
+ h = safeZoneH * 0.23263889;
+ };
+
+ class tun_firesupport_fire
+ {
+ type = 1;
+ idc = FIRE_IDC;
+ x = safeZoneX + safeZoneW * 0.61875;
+ y = safeZoneY + safeZoneH * 0.7;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.05;
+ style = 0+2;
+ text = "Fire!";
+ borderSize = 0.01;
+ colorBackground[] = {0.6,0,0,1};
+ colorBackgroundActive[] = {0.702,0.102,0.102,1};
+ colorBackgroundDisabled[] = {0.2,0.2,0.2,1};
+ colorBorder[] = {1,1,1,1};
+ colorDisabled[] = {0.2,0.2,0.2,1};
+ colorFocused[] = {0.6,0,0,1};
+ colorShadow[] = {0,0,0,1};
+ colorText[] = {1,1,1,1};
+ font = "PuristaMedium";
+ offsetPressedX = 0.01;
+ offsetPressedY = 0.01;
+ offsetX = 0.01;
+ offsetY = 0.01;
+ sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1);
+ soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1.0};
+ soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1.0};
+ soundEscape[] = {"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1.0};
+ soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1.0};
+ action = "$STR_tun_firesupport_fire_action";
+ colorFocused2[] = {0.6,0,0,1};
+ default = false;
+ onMouseEnter = "$STR_tun_firesupport_update_everything";
+ shadow = 1;
+
+ };
+ class tun_firesupport_artylist : tun_firesupport_default_combo
+ {
+ type = 4;
+ idc = ARTY_LIST_IDC;
+ x = safeZoneX + safeZoneW * 0.31875;
+ y = safeZoneY + safeZoneH * 0.325;
+ w = safeZoneW * 0.1125;
+ h = safeZoneH * 0.02962963;
+ onLBSelChanged = "$STR_tun_firesupport_artylist_selection_action";
+ class ComboScrollBar
+ {
+ color[] = {1,1,1,1};
+ 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";
+
+ };
+
+ };
+ class tun_firesupport_firing_type : tun_firesupport_default_combo
+ {
+ type = 4;
+ idc = FIRING_TYPE_IDC;
+ x = safeZoneX + safeZoneW * 0.56875;
+ y = safeZoneY + safeZoneH * 0.325;
+ w = safeZoneW * 0.1125;
+ h = safeZoneH * 0.02962963;
+ onLBSelChanged = "$STR_tun_firesupport_firemode_changed_action";
+ class ComboScrollBar
+ {
+ color[] = {1,1,1,1};
+ 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";
+
+ };
+
+ };
+ class tun_firesupport_ammo_type : tun_firesupport_default_combo
+ {
+ type = 4;
+ idc = AMMO_TYPE_IDC;
+ x = safeZoneX + safeZoneW * 0.44375;
+ y = safeZoneY + safeZoneH * 0.325;
+ w = safeZoneW * 0.1125;
+ h = safeZoneH * 0.02962963;
+ onLBSelChanged = "$STR_tun_firesupport_ammotype_lb_change_action";
+ class ComboScrollBar
+ {
+ color[] = {1,1,1,1};
+ 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";
+
+ };
+
+ };
+ class tun_firesupport_easting_value : tun_firesupport_coordinate_preset
+ {
+ type = 2;
+ idc = EASTING_IDC;
+ x = safeZoneX + safeZoneW * 0.31875;
+ y = safeZoneY + safeZoneH * 0.4;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ tooltip = "$STR_tun_firesupport_coordinates_tooltip_easting";
+
+ };
+ class tun_firesupport_easting_text : tun_default_text
+ {
+ type = 0;
+ idc = -1;
+ x = safeZoneX + safeZoneW * 0.31875;
+ y = safeZoneY + safeZoneH * 0.375;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "$STR_tun_firesupport_easting";
+
+ };
+ class tun_firesupport_northing_value : tun_firesupport_coordinate_preset
+ {
+ type = 2;
+ idc = 22202;
+ x = safeZoneX + safeZoneW * 0.39375;
+ y = safeZoneY + safeZoneH * 0.4;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ tooltip = "$STR_tun_firesupport_coordinates_tooltip_northing";
+
+ };
+ class tun_firesupport_northing_text : tun_default_text
+ {
+ type = 0;
+ idc = -1;
+ x = safeZoneX + safeZoneW * 0.39375;
+ y = safeZoneY + safeZoneH * 0.375;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "$STR_tun_firesupport_northing";
+
+ };
+ class tun_firesupport_ammo_count : tun_firesupport_coordinate_preset
+ {
+ type = 2;
+ idc = COUNT_IDC;
+ x = safeZoneX + safeZoneW * 0.46875;
+ y = safeZoneY + safeZoneH * 0.4;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "0";
+ onKillFocus = "$STR_tun_firesupport_check_min_values_ammo";
+ tooltip = "$STR_tun_firesupport_ammocount_tooltip";
+
+ };
+ class tun_firesupport_ammo_text : tun_default_text
+ {
+ type = 0;
+ idc = -1;
+ x = safeZoneX + safeZoneW * 0.46875;
+ y = safeZoneY + safeZoneH * 0.37592593;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "$STR_tun_firesupport_ammocount";
+
+ };
+ class tun_firesupport_radius_text : tun_default_text
+ {
+ type = 0;
+ idc = -1;
+ x = safeZoneX + safeZoneW * 0.54375;
+ y = safeZoneY + safeZoneH * 0.375;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "$STR_tun_firesupport_radius";
+
+ };
+ class tun_firesupport_radius_value : tun_firesupport_coordinate_preset
+ {
+ type = 2;
+ idc = RANGE_IDC;
+ x = safeZoneX + safeZoneW * 0.54375;
+ y = safeZoneY + safeZoneH * 0.4;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "0";
+ onKillFocus = "$STR_tun_firesupport_check_min_values_radius";
+ tooltip = "$STR_tun_firesupport_radius_tooltip";
+
+ };
+ class tun_firesupport_delay_text : tun_default_text
+ {
+ type = 0;
+ idc = -1;
+ x = safeZoneX + safeZoneW * 0.61875;
+ y = safeZoneY + safeZoneH * 0.375;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "$STR_tun_firesupport_delay";
+
+ };
+ class tun_firesupport_delay_value : tun_firesupport_coordinate_preset
+ {
+ type = 2;
+ idc = DELAY_IDC;
+ x = safeZoneX + safeZoneW * 0.61875;
+ y = safeZoneY + safeZoneH * 0.4;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "1";
+ onKillFocus = "$STR_tun_firesupport_check_min_values_delay";
+ onMouseEnter = "$STR_tun_firesupport_check_min_values_delay";
+ onMouseExit = "$STR_tun_firesupport_check_min_values_delay";
+ tooltip = "$STR_tun_firesupport_delay_tooltip";
+
+ };
+ class tun_firesupport_remaining_ammo_text : tun_default_text
+ {
+ type = 0;
+ idc = -1;
+ x = safeZoneX + safeZoneW * 0.31875;
+ y = safeZoneY + safeZoneH * 0.675;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "$STR_tun_firesupport_remainign_ammo";
+ sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.75);
+
+ };
+ class tun_firesupport_remaining_ammo_value : tun_firesupport_coordinate_preset
+ {
+ type = 0;
+ idc = REMAINIG_AMMO_IDC;
+ x = safeZoneX + safeZoneW * 0.31875;
+ y = safeZoneY + safeZoneH * 0.7;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ style = 2;
+ text = "0";
+ tooltip = "$STR_tun_firesupport_remaining_ammo_tooltip";
+
+ };
+ class tun_firesupport_eta_text : tun_default_text
+ {
+ type = 0;
+ idc = -1;
+ x = safeZoneX + safeZoneW * 0.39375;
+ y = safeZoneY + safeZoneH * 0.675;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "$STR_tun_firesupport_eta";
+
+ };
+ class tun_firesupport_eta_value : tun_firesupport_coordinate_preset
+ {
+ type = 0;
+ idc = ETA_IDC;
+ x = safeZoneX + safeZoneW * 0.39375;
+ y = safeZoneY + safeZoneH * 0.7;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ style = 2;
+ text = "Value";
+ tooltip = "$STR_tun_firesupport_eta_tooltip";
+
+ };
+ class tun_firesupport_header : tun_default_text
+ {
+ type = 0;
+ idc = -1;
+ x = safeZoneX + safeZoneW * 0.29375;
+ y = safeZoneY + safeZoneH * 0.25;
+ w = safeZoneW * 0.4125;
+ h = safeZoneH * 0.05;
+ style = 32+2;
+ text = "$STR_tun_firesupport_Header";
+ shadow = 2;
+
+ };
+ class tun_firesupport_easting_end_point_text : tun_default_text
+ {
+ type = 0;
+ idc = EASTING_END_TEXT_IDC;
+ x = safeZoneX + safeZoneW * 0.31875;
+ y = safeZoneY + safeZoneH * 0.45;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "$STR_tun_firesupport_easting_end_point";
+
+ };
+ class tun_firesupport_easting_end_point_value : tun_firesupport_coordinate_preset
+ {
+ type = 2;
+ idc = EASTING_END_IDC;
+ x = safeZoneX + safeZoneW * 0.31875;
+ y = safeZoneY + safeZoneH * 0.475;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ tooltip = "$STR_tun_firesupport_coordinates_tooltip_easting";
+
+ };
+ class tun_firesupport_northing_end_point_value : tun_firesupport_coordinate_preset
+ {
+ type = 2;
+ idc = NORTHING_END_IDC;
+ x = safeZoneX + safeZoneW * 0.39375;
+ y = safeZoneY + safeZoneH * 0.475;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ tooltip = "$STR_tun_firesupport_coordinates_tooltip_northing";
+
+ };
+ class tun_firesupport_northing_end_point_text : tun_default_text
+ {
+ type = 0;
+ idc = NORTHING_END_TEXT_IDC;
+ x = safeZoneX + safeZoneW * 0.39375;
+ y = safeZoneY + safeZoneH * 0.45;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "$STR_tun_firesupport_northing_end_point";
+
+ };
+ class tun_firesupport_status : tun_default_text
+ {
+ type = 0;
+ idc = STATUS_IDC;
+ x = safeZoneX + safeZoneW * 0.54375;
+ y = safeZoneY + safeZoneH * 0.7;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.05;
+ text = "Status";
+
+ };
+ class tun_firesupport_bookmark_list : tun_firesupport_listbox
+ {
+ type = 5;
+ idc = BOOKMARK_LIST_IDC;
+ x = safeZoneX + safeZoneW * 0.54375;
+ y = safeZoneY + safeZoneH * 0.45;
+ w = safeZoneW * 0.1375;
+ h = safeZoneH * 0.2;
+ onLBSelChanged = "$STR_tun_firesupport_bookmark_list_change";
+ };
+ class tun_firesupport_name_bookmark_text : tun_default_text
+ {
+ type = 0;
+ idc = BOOKMARK_NAME_TEXT_IDC;
+ x = safeZoneX + safeZoneW * 0.46875;
+ y = safeZoneY + safeZoneH * 0.45;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "$STR_tun_firesupport_name_bookmark_text";
+ tooltip = "$STR_tun_firesupport_name_text_tooltip";
+
+ };
+ class tun_firesupport_name_bookmark_value : tun_firesupport_coordinate_preset
+ {
+ type = 2;
+ idc = BOOKMARK_NAME_VALUE_IDC;
+ x = safeZoneX + safeZoneW * 0.46875;
+ y = safeZoneY + safeZoneH * 0.475;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.025;
+ text = "Name";
+ maxChars = 20;
+ tooltip = "$STR_tun_firesupport_name_text_tooltip";
+
+ };
+ class tun_firesupport_bookmark_editbox : RscEdit
+ {
+ type = 2;
+ idc = BOOKMARK_EDITBOX_IDC;
+ x = safeZoneX + safeZoneW * 0.29375;
+ y = safeZoneY + safeZoneH * 0.525;
+ w = safeZoneW * 0.1125;
+ h = safeZoneH * 0.125;
+ style = 16;
+ text = "";
+ tooltip = "$STR_tun_firesupport_editbox_tooltip";
+
+ };
+ class tun_firesupport_bookmark_button : tun_firesupport_button_base
+ {
+ type = 1;
+ idc = BOOKMARK_OPEN_BUTTON_IDC;
+ x = safeZoneX + safeZoneW * 0.46875;
+ y = safeZoneY + safeZoneH * 0.7;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.05;
+ text = "$STR_tun_firesupport_bookmark";
+ action = "$STR_tun_firesupport_open_bookmark";
+
+ };
+ class tun_firesupport_add_bookmark_button : tun_firesupport_button_base
+ {
+ type = 1;
+ idc = BOOKMARK_ADD_BOOKMARK_IDC;
+ x = safeZoneX + safeZoneW * 0.46875;
+ y = safeZoneY + safeZoneH * 0.525;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.05;
+ text = "$STR_tun_firesupport_bookmark_add";
+ action = "$STR_tun_firesupport_add_bookmark_action";
+ tooltip = "$STR_tun_firesupport_bookmark_add_tooltip";
+
+ };
+ class tun_firesupport_remove_bookmark_button : tun_firesupport_button_base
+ {
+ type = 1;
+ idc = BOOKMARK_REMOVE_BOOKMARK_IDC;
+ x = safeZoneX + safeZoneW * 0.46875;
+ y = safeZoneY + safeZoneH * 0.6;
+ w = safeZoneW * 0.0625;
+ h = safeZoneH * 0.05;
+ text = "$STR_tun_firesupport_remove_bookmark";
+ action = "$STR_tun_firesupport_remove_bookmark_action";
+ tooltip = "$STR_tun_firesupport_bookmark_remove_tooltip";
+
+ };
+ class tun_firesupport_export_bookmark_button : tun_firesupport_button_base
+ {
+ type = 1;
+ idc = BOOKMARK_EXPORT_BOOKMARK_IDC;
+ x = safeZoneX + safeZoneW * 0.409375;
+ y = safeZoneY + safeZoneH * 0.6;
+ w = safeZoneW * 0.05260417;
+ h = safeZoneH * 0.05;
+ text = "$STR_tun_firesupport_bookmark_export";
+ action = "$STR_tun_firesupport_export_bookmark_action";
+ tooltip = "$STR_tun_firesupport_bookmark_export_tooltip";
+
+ };
+ class tun_firesupport_import_bookmark_button : tun_firesupport_button_base
+ {
+ type = 1;
+ idc = BOOKMARK_IMPORT_BOOKMARK_IDC;
+ x = safeZoneX + safeZoneW * 0.409375;
+ y = safeZoneY + safeZoneH * 0.525;
+ w = safeZoneW * 0.05260417;
+ h = safeZoneH * 0.05;
+ text = "$STR_tun_firesupport_bookmark_import";
+ action = "$STR_tun_firesupport_import_bookmark_action";
+ tooltip = "$STR_tun_firesupport_bookmark_import_tooltip";
+
+ };
+ };
+};
diff --git a/addons/firesupport/Firesupport_idc.hpp b/addons/firesupport/Firesupport_idc.hpp
new file mode 100644
index 0000000..1ef0f5e
--- /dev/null
+++ b/addons/firesupport/Firesupport_idc.hpp
@@ -0,0 +1,29 @@
+#define MAIN_IDD 22200
+#define EASTING_IDC 22201
+#define NORTHING_IDC 22202
+#define COUNT_IDC 22203
+#define RANGE_IDC 22204
+#define DELAY_IDC 22205
+#define EASTING_END_IDC 22206
+#define NORTHING_END_IDC 22207
+#define REMAINIG_AMMO_IDC 22208
+#define REMAINIG_AMMO_PROGRESBAR_IDC 22209
+#define ETA_IDC 22210
+#define STATUS_IDC 22211
+#define FIRE_IDC 22212
+#define ARTY_LIST_IDC 22213
+#define AMMO_TYPE_IDC 22214
+#define FIRING_TYPE_IDC 22215
+#define EASTING_END_TEXT_IDC 22216
+#define NORTHING_END_TEXT_IDC 22217
+#define MINIMAP_IDC 22218
+#define BOOKMARK_OPEN_BUTTON_IDC 22219
+#define BOOKMARK_LIST_IDC 22220
+#define BOOKMARK_ADD_BOOKMARK_IDC 22221
+#define BOOKMARK_NAME_TEXT_IDC 22222
+#define BOOKMARK_NAME_VALUE_IDC 22223
+#define BOOKMARK_REMOVE_BOOKMARK_IDC 22224
+#define BOOKMARK_EDITBOX_IDC 22225
+#define BOOKMARK_IMPORT_BOOKMARK_IDC 22226
+#define BOOKMARK_EXPORT_BOOKMARK_IDC 22227
+
diff --git a/addons/firesupport/GUIBaseClasses.hpp b/addons/firesupport/GUIBaseClasses.hpp
new file mode 100644
index 0000000..6003361
--- /dev/null
+++ b/addons/firesupport/GUIBaseClasses.hpp
@@ -0,0 +1,1820 @@
+// Generated by: "Default" call BIS_fnc_exportGUIBaseClasses;
+
+// Control types
+#define CT_STATIC 0
+#define CT_BUTTON 1
+#define CT_EDIT 2
+#define CT_SLIDER 3
+#define CT_COMBO 4
+#define CT_LISTBOX 5
+#define CT_TOOLBOX 6
+#define CT_CHECKBOXES 7
+#define CT_PROGRESS 8
+#define CT_HTML 9
+#define CT_STATIC_SKEW 10
+#define CT_ACTIVETEXT 11
+#define CT_TREE 12
+#define CT_STRUCTURED_TEXT 13
+#define CT_CONTEXT_MENU 14
+#define CT_CONTROLS_GROUP 15
+#define CT_SHORTCUTBUTTON 16
+#define CT_HITZONES 17
+#define CT_XKEYDESC 40
+#define CT_XBUTTON 41
+#define CT_XLISTBOX 42
+#define CT_XSLIDER 43
+#define CT_XCOMBO 44
+#define CT_ANIMATED_TEXTURE 45
+#define CT_OBJECT 80
+#define CT_OBJECT_ZOOM 81
+#define CT_OBJECT_CONTAINER 82
+#define CT_OBJECT_CONT_ANIM 83
+#define CT_LINEBREAK 98
+#define CT_USER 99
+#define CT_MAP 100
+#define CT_MAP_MAIN 101
+#define CT_LISTNBOX 102
+#define CT_ITEMSLOT 103
+#define CT_CHECKBOX 77
+
+// Static styles
+#define ST_POS 0x0F
+#define ST_HPOS 0x03
+#define ST_VPOS 0x0C
+#define ST_LEFT 0x00
+#define ST_RIGHT 0x01
+#define ST_CENTER 0x02
+#define ST_DOWN 0x04
+#define ST_UP 0x08
+#define ST_VCENTER 0x0C
+
+#define ST_TYPE 0xF0
+#define ST_SINGLE 0x00
+#define ST_MULTI 0x10
+#define ST_TITLE_BAR 0x20
+#define ST_PICTURE 0x30
+#define ST_FRAME 0x40
+#define ST_BACKGROUND 0x50
+#define ST_GROUP_BOX 0x60
+#define ST_GROUP_BOX2 0x70
+#define ST_HUD_BACKGROUND 0x80
+#define ST_TILE_PICTURE 0x90
+#define ST_WITH_RECT 0xA0
+#define ST_LINE 0xB0
+#define ST_UPPERCASE 0xC0
+#define ST_LOWERCASE 0xD0
+
+#define ST_SHADOW 0x100
+#define ST_NO_RECT 0x200
+#define ST_KEEP_ASPECT_RATIO 0x800
+
+// Slider styles
+#define SL_DIR 0x400
+#define SL_VERT 0
+#define SL_HORZ 0x400
+
+#define SL_TEXTURES 0x10
+
+// progress bar
+#define ST_VERTICAL 0x01
+#define ST_HORIZONTAL 0
+
+// Listbox styles
+#define LB_TEXTURES 0x10
+#define LB_MULTI 0x20
+
+// Tree styles
+#define TR_SHOWROOT 1
+#define TR_AUTOCOLLAPSE 2
+
+// Default grid
+#define GUI_GRID_WAbs ((safezoneW / safezoneH) min 1.2)
+#define GUI_GRID_HAbs (GUI_GRID_WAbs / 1.2)
+#define GUI_GRID_W (GUI_GRID_WAbs / 40)
+#define GUI_GRID_H (GUI_GRID_HAbs / 25)
+#define GUI_GRID_X (safezoneX)
+#define GUI_GRID_Y (safezoneY + safezoneH - GUI_GRID_HAbs)
+
+// Default text sizes
+#define GUI_TEXT_SIZE_SMALL (GUI_GRID_H * 0.8)
+#define GUI_TEXT_SIZE_MEDIUM (GUI_GRID_H * 1)
+#define GUI_TEXT_SIZE_LARGE (GUI_GRID_H * 1.2)
+
+// Pixel grid
+#define pixelScale 0.50
+#define GRID_W (pixelW * pixelGrid * pixelScale)
+#define GRID_H (pixelH * pixelGrid * pixelScale)
+
+
+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";
+ 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 = 0;
+ autoScrollSpeed = -1;
+ autoScrollDelay = 5;
+ autoScrollRewind = 0;
+};
+class RscObject
+{
+ access = 0;
+ type = CT_OBJECT;
+ scale = 1;
+ direction[] = {0,0,1};
+ up[] = {0,1,0};
+ shadow = 0;
+};
+class RscText
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_STATIC;
+ idc = -1;
+ colorBackground[] = {0,0,0,0};
+ colorText[] = {1,1,1,1};
+ text = "";
+ fixedWidth = 0;
+ x = 0;
+ y = 0;
+ h = 0.037;
+ w = 0.3;
+ style = ST_LEFT;
+ shadow = 1;
+ colorShadow[] = {0,0,0,0.5};
+ font = "RobotoCondensed";
+ SizeEx = GUI_TEXT_SIZE_MEDIUM;
+ linespacing = 1;
+ tooltipColorText[] = {1,1,1,1};
+ tooltipColorBox[] = {1,1,1,1};
+ tooltipColorShade[] = {0,0,0,0.65};
+};
+class RscFrame
+{
+ type = CT_STATIC;
+ idc = -1;
+ deletable = 0;
+ style = ST_FRAME;
+ shadow = 2;
+ colorBackground[] = {0,0,0,0};
+ colorText[] = {1,1,1,1};
+ font = "RobotoCondensed";
+ sizeEx = 0.02;
+ text = "";
+ x = 0;
+ y = 0;
+ w = 0.3;
+ h = 0.3;
+};
+class RscLine: RscText
+{
+ idc = -1;
+ style = ST_MULTI + ST_TITLE_BAR + ST_HUD_BACKGROUND;
+ x = 0.17;
+ y = 0.48;
+ w = 0.66;
+ h = 0;
+ text = "";
+ colorBackground[] = {0,0,0,0};
+ colorText[] = {1,1,1,1};
+};
+class RscProgress
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_PROGRESS;
+ style = ST_HORIZONTAL;
+ colorFrame[] = {0,0,0,0};
+ colorBar[] =
+ {
+ "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.8])"
+ };
+ x = 0.344;
+ y = 0.619;
+ w = 0.313726;
+ h = 0.0261438;
+ shadow = 2;
+ texture = "#(argb,8,8,3)color(1,1,1,1)";
+};
+class RscPicture
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_STATIC;
+ idc = -1;
+ style = ST_MULTI + ST_TITLE_BAR;
+ colorBackground[] = {0,0,0,0};
+ colorText[] = {1,1,1,1};
+ font = "TahomaB";
+ sizeEx = 0;
+ lineSpacing = 0;
+ text = "";
+ fixedWidth = 0;
+ shadow = 0;
+ 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 RscPictureKeepAspect: RscPicture
+{
+ style = ST_MULTI + ST_TITLE_BAR + ST_KEEP_ASPECT_RATIO;
+};
+class RscVideo: RscPicture
+{
+ autoplay = 1;
+ loops = 1;
+};
+class RscHTML
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_HTML;
+ idc = -1;
+ style = ST_LEFT;
+ filename = "";
+ colorBackground[] = {0,0,0,0};
+ colorText[] = {1,1,1,1};
+ colorBold[] = {1,1,1,1};
+ colorLink[] = {1,1,1,0.75};
+ colorLinkActive[] = {1,1,1,1};
+ colorPicture[] = {1,1,1,1};
+ colorPictureLink[] = {1,1,1,1};
+ colorPictureSelected[] = {1,1,1,1};
+ colorPictureBorder[] = {0,0,0,0};
+ tooltipColorText[] = {1,1,1,1};
+ tooltipColorBox[] = {1,1,1,1};
+ tooltipColorShade[] = {0,0,0,0.65};
+ class H1
+ {
+ font = "RobotoCondensed";
+ fontBold = "RobotoCondensedBold";
+ sizeEx = GUI_TEXT_SIZE_LARGE;
+ align = "left";
+ };
+ class H2
+ {
+ font = "RobotoCondensed";
+ fontBold = "RobotoCondensedBold";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ align = "right";
+ };
+ class H3
+ {
+ font = "RobotoCondensed";
+ fontBold = "RobotoCondensedBold";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ align = "left";
+ };
+ class H4
+ {
+ font = "RobotoCondensed";
+ fontBold = "RobotoCondensedBold";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ align = "left";
+ };
+ class H5
+ {
+ font = "RobotoCondensed";
+ fontBold = "RobotoCondensedBold";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ align = "left";
+ };
+ class H6
+ {
+ font = "RobotoCondensed";
+ fontBold = "RobotoCondensedBold";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ align = "left";
+ };
+ class P
+ {
+ font = "RobotoCondensed";
+ fontBold = "RobotoCondensedBold";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ align = "left";
+ };
+ x = 0;
+ y = 0;
+ w = 0.1;
+ h = 0.1;
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ 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 RscButton
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_BUTTON;
+ text = "";
+ colorText[] = {1,1,1,1};
+ colorDisabled[] = {1,1,1,0.25};
+ colorBackground[] = {0,0,0,0.5};
+ colorBackgroundDisabled[] = {0,0,0,0.5};
+ colorBackgroundActive[] = {0,0,0,1};
+ colorFocused[] = {0,0,0,1};
+ colorShadow[] = {0,0,0,0};
+ colorBorder[] = {0,0,0,1};
+ 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
+ };
+ idc = -1;
+ style = ST_CENTER;
+ x = 0;
+ y = 0;
+ w = 0.095589;
+ h = 0.039216;
+ shadow = 2;
+ font = "RobotoCondensed";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ url = "";
+ offsetX = 0;
+ offsetY = 0;
+ offsetPressedX = 0;
+ offsetPressedY = 0;
+ borderSize = 0;
+};
+class RscShortcutButton
+{
+ deletable = 0;
+ fade = 0;
+ type = CT_SHORTCUTBUTTON;
+ x = 0.1;
+ y = 0.1;
+ class HitZone
+ {
+ left = 0;
+ top = 0;
+ right = 0;
+ bottom = 0;
+ };
+ class ShortcutPos
+ {
+ left = 0;
+ top = ((GUI_GRID_HAbs / 20) - GUI_TEXT_SIZE_MEDIUM) / 2;
+ w = GUI_TEXT_SIZE_MEDIUM * (3/4);
+ h = GUI_TEXT_SIZE_MEDIUM;
+ };
+ class TextPos
+ {
+ left = GUI_TEXT_SIZE_MEDIUM * (3/4);
+ top = ((GUI_GRID_HAbs / 20) - GUI_TEXT_SIZE_MEDIUM) / 2;
+ right = 0.005;
+ bottom = 0;
+ };
+ shortcuts[] = {};
+ textureNoShortcut = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {1,1,1,1};
+ colorFocused[] = {1,1,1,1};
+ color2[] = {0.95,0.95,0.95,1};
+ colorDisabled[] = {1,1,1,0.25};
+ colorBackground[] =
+ {
+ "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
+ 1
+ };
+ colorBackgroundFocused[] =
+ {
+ "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
+ 1
+ };
+ colorBackground2[] = {1,1,1,1};
+ 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 Attributes
+ {
+ font = "RobotoCondensed";
+ color = "#E5E5E5";
+ align = "left";
+ shadow = "true";
+ };
+ idc = -1;
+ style = ST_LEFT;
+ default = 0;
+ shadow = 1;
+ w = 0.183825;
+ h = (GUI_GRID_HAbs / 20);
+ textSecondary = "";
+ colorSecondary[] = {1,1,1,1};
+ colorFocusedSecondary[] = {1,1,1,1};
+ color2Secondary[] = {0.95,0.95,0.95,1};
+ colorDisabledSecondary[] = {1,1,1,0.25};
+ sizeExSecondary = GUI_TEXT_SIZE_MEDIUM;
+ fontSecondary = "RobotoCondensed";
+ 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;
+ period = 0.4;
+ font = "RobotoCondensed";
+ size = GUI_TEXT_SIZE_MEDIUM;
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ text = "";
+ url = "";
+ action = "";
+ class AttributesImage
+ {
+ font = "RobotoCondensed";
+ color = "#E5E5E5";
+ align = "left";
+ };
+};
+class RscEdit
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_EDIT;
+ x = 0;
+ y = 0;
+ h = 0.04;
+ w = 0.2;
+ colorBackground[] = {0,0,0,0};
+ colorText[] = {0.95,0.95,0.95,1};
+ colorDisabled[] = {1,1,1,0.25};
+ colorSelection[] =
+ {
+ "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
+ 1
+ };
+ autocomplete = "";
+ text = "";
+ size = 0.2;
+ style = ST_FRAME;
+ font = "RobotoCondensed";
+ shadow = 2;
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ canModify = 1;
+ tooltipColorText[] = {1,1,1,1};
+ tooltipColorBox[] = {1,1,1,1};
+ tooltipColorShade[] = {0,0,0,0.65};
+};
+class RscCombo
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_COMBO;
+ colorSelect[] = {0,0,0,1};
+ colorText[] = {1,1,1,1};
+ colorBackground[] = {0,0,0,1};
+ colorScrollbar[] = {1,0,0,1};
+ colorDisabled[] = {1,1,1,0.25};
+ colorPicture[] = {1,1,1,1};
+ colorPictureSelected[] = {1,1,1,1};
+ colorPictureDisabled[] = {1,1,1,0.25};
+ colorPictureRight[] = {1,1,1,1};
+ colorPictureRightSelected[] = {1,1,1,1};
+ colorPictureRightDisabled[] = {1,1,1,0.25};
+ colorTextRight[] = {1,1,1,1};
+ colorSelectRight[] = {0,0,0,1};
+ colorSelect2Right[] = {0,0,0,1};
+ tooltipColorText[] = {1,1,1,1};
+ tooltipColorBox[] = {1,1,1,1};
+ tooltipColorShade[] = {0,0,0,0.65};
+ soundSelect[] =
+ {
+ "\A3\ui_f\data\sound\RscCombo\soundSelect",
+ 0.1,
+ 1
+ };
+ soundExpand[] =
+ {
+ "\A3\ui_f\data\sound\RscCombo\soundExpand",
+ 0.1,
+ 1
+ };
+ soundCollapse[] =
+ {
+ "\A3\ui_f\data\sound\RscCombo\soundCollapse",
+ 0.1,
+ 1
+ };
+ maxHistoryDelay = 1;
+ class ComboScrollBar: ScrollBar
+ {
+ color[] = {1,1,1,1};
+ };
+ style = ST_MULTI + ST_NO_RECT;
+ font = "RobotoCondensed";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ shadow = 0;
+ x = 0;
+ y = 0;
+ w = 0.12;
+ h = 0.035;
+ colorSelectBackground[] = {1,1,1,0.7};
+ arrowEmpty = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_ca.paa";
+ arrowFull = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_active_ca.paa";
+ wholeHeight = 0.45;
+ colorActive[] = {1,0,0,1};
+};
+class RscListBox
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_LISTBOX;
+ rowHeight = 0;
+ colorText[] = {1,1,1,1};
+ colorDisabled[] = {1,1,1,0.25};
+ colorScrollbar[] = {1,0,0,0};
+ colorSelect[] = {0,0,0,1};
+ colorSelect2[] = {0,0,0,1};
+ colorSelectBackground[] = {0.95,0.95,0.95,1};
+ colorSelectBackground2[] = {1,1,1,0.5};
+ colorBackground[] = {0,0,0,0.3};
+ soundSelect[] =
+ {
+ "\A3\ui_f\data\sound\RscListbox\soundSelect",
+ 0.09,
+ 1
+ };
+ autoScrollSpeed = -1;
+ autoScrollDelay = 5;
+ autoScrollRewind = 0;
+ arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
+ arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
+ colorPicture[] = {1,1,1,1};
+ colorPictureSelected[] = {1,1,1,1};
+ colorPictureDisabled[] = {1,1,1,0.25};
+ colorPictureRight[] = {1,1,1,1};
+ colorPictureRightSelected[] = {1,1,1,1};
+ colorPictureRightDisabled[] = {1,1,1,0.25};
+ colorTextRight[] = {1,1,1,1};
+ colorSelectRight[] = {0,0,0,1};
+ colorSelect2Right[] = {0,0,0,1};
+ tooltipColorText[] = {1,1,1,1};
+ tooltipColorBox[] = {1,1,1,1};
+ tooltipColorShade[] = {0,0,0,0.65};
+ class ListScrollBar: ScrollBar
+ {
+ color[] = {1,1,1,1};
+ autoScrollEnabled = 1;
+ };
+ x = 0;
+ y = 0;
+ w = 0.3;
+ h = 0.3;
+ style = LB_TEXTURES;
+ font = "RobotoCondensed";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ shadow = 0;
+ colorShadow[] = {0,0,0,0.5};
+ period = 1.2;
+ maxHistoryDelay = 1;
+};
+class RscListNBox
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_LISTNBOX;
+ rowHeight = 0;
+ colorText[] = {1,1,1,1};
+ colorScrollbar[] = {0.95,0.95,0.95,1};
+ colorSelect[] = {0,0,0,1};
+ colorSelect2[] = {0,0,0,1};
+ colorSelectBackground[] = {0.95,0.95,0.95,1};
+ colorSelectBackground2[] = {1,1,1,0.5};
+ colorBackground[] = {0,0,0,1};
+ maxHistoryDelay = 1;
+ soundSelect[] =
+ {
+ "",
+ 0.1,
+ 1
+ };
+ autoScrollSpeed = -1;
+ autoScrollDelay = 5;
+ autoScrollRewind = 0;
+ arrowEmpty = "#(argb,8,8,3)color(1,1,1,1)";
+ arrowFull = "#(argb,8,8,3)color(1,1,1,1)";
+ drawSideArrows = 0;
+ columns[] = {0.3,0.6,0.7};
+ idcLeft = -1;
+ idcRight = -1;
+ class ListScrollBar: ScrollBar
+ {
+ };
+ style = ST_MULTI;
+ shadow = 0;
+ font = "RobotoCondensed";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ color[] = {0.95,0.95,0.95,1};
+ colorDisabled[] = {1,1,1,0.25};
+ colorPicture[] = {1,1,1,1};
+ colorPictureSelected[] = {1,1,1,1};
+ colorPictureDisabled[] = {1,1,1,1};
+ period = 1.2;
+ x = 0;
+ y = 0;
+ w = 0.3;
+ h = 0.3;
+ class ScrollBar: ScrollBar
+ {
+ };
+};
+class RscXListBox
+{
+ deletable = 0;
+ fade = 0;
+ idc = -1;
+ type = CT_XLISTBOX;
+ x = 0.1;
+ y = 0.1;
+ color[] = {1,1,1,0.6};
+ colorActive[] = {1,1,1,1};
+ colorDisabled[] = {1,1,1,0.25};
+ colorSelect[] = {0.95,0.95,0.95,1};
+ colorText[] = {1,1,1,1};
+ soundSelect[] =
+ {
+ "\A3\ui_f\data\sound\RscListbox\soundSelect",
+ 0.09,
+ 1
+ };
+ colorPicture[] = {1,1,1,1};
+ colorPictureSelected[] = {1,1,1,1};
+ colorPictureDisabled[] = {1,1,1,0.25};
+ colorPictureRight[] = {1,1,1,1};
+ colorPictureRightSelected[] = {1,1,1,1};
+ colorPictureRightDisabled[] = {1,1,1,0.25};
+ tooltipColorText[] = {1,1,1,1};
+ tooltipColorBox[] = {1,1,1,1};
+ tooltipColorShade[] = {0,0,0,0.65};
+ style = ST_CENTER + LB_TEXTURES + SL_HORZ;
+ shadow = 2;
+ 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";
+ w = 0.14706;
+ h = 0.039216;
+ font = "RobotoCondensed";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+};
+class RscTree
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_TREE;
+ colorBackground[] = {0,0,0,0};
+ colorSelect[] = {1,1,1,0.7};
+ colorDisabled[] = {1,1,1,0.25};
+ colorText[] = {1,1,1,1};
+ colorSelectText[] = {0,0,0,1};
+ colorBorder[] = {0,0,0,0};
+ colorSearch[] =
+ {
+ "(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.8])"
+ };
+ colorMarked[] = {0.2,0.3,0.7,1};
+ colorMarkedText[] = {0,0,0,1};
+ colorMarkedSelected[] = {0,0.5,0.5,1};
+ multiselectEnabled = 0;
+ colorPicture[] = {1,1,1,1};
+ colorPictureSelected[] = {0,0,0,1};
+ colorPictureDisabled[] = {1,1,1,0.25};
+ colorPictureRight[] = {1,1,1,1};
+ colorPictureRightSelected[] = {0,0,0,1};
+ colorPictureRightDisabled[] = {1,1,1,0.25};
+ colorArrow[] = {1,1,1,1};
+ maxHistoryDelay = 1;
+ shadow = 0;
+ style = ST_LEFT;
+ font = "RobotoCondensed";
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ expandedTexture = "A3\ui_f\data\gui\rsccommon\rsctree\expandedTexture_ca.paa";
+ hiddenTexture = "A3\ui_f\data\gui\rsccommon\rsctree\hiddenTexture_ca.paa";
+ x = 0;
+ y = 0;
+ w = 0.1;
+ h = 0.2;
+ rowHeight = 0.0439091;
+ colorSelectBackground[] = {0,0,0,0.5};
+ colorLines[] = {0,0,0,0};
+ borderSize = 0;
+ expandOnDoubleclick = 1;
+ class ScrollBar: ScrollBar
+ {
+ };
+};
+class RscSlider
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_SLIDER;
+ style = SL_HORZ;
+ color[] = {1,1,1,0.8};
+ colorActive[] = {1,1,1,1};
+ shadow = 0;
+ x = 0;
+ y = 0;
+ w = 0.3;
+ h = 0.025;
+};
+class RscXSliderH
+{
+ deletable = 0;
+ fade = 0;
+ type = CT_XSLIDER;
+ color[] = {1,1,1,0.6};
+ colorActive[] = {1,1,1,1};
+ colorDisable[] = {1,1,1,0.4};
+ style = SL_TEXTURES + SL_HORZ;
+ shadow = 0;
+ x = 0;
+ y = 0;
+ h = 0.029412;
+ w = 0.4;
+ colorDisabled[] = {1,1,1,0.2};
+ 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";
+ tooltipColorText[] = {1,1,1,1};
+ tooltipColorBox[] = {1,1,1,1};
+ tooltipColorShade[] = {0,0,0,0.65};
+};
+class RscActiveText
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_ACTIVETEXT;
+ style = ST_CENTER;
+ color[] = {0,0,0,1};
+ colorActive[] = {0.3,0.4,0,1};
+ colorDisabled[] = {1,1,1,0.25};
+ soundEnter[] =
+ {
+ "",
+ 0.1,
+ 1
+ };
+ soundPush[] =
+ {
+ "",
+ 0.1,
+ 1
+ };
+ soundClick[] =
+ {
+ "",
+ 0.1,
+ 1
+ };
+ soundEscape[] =
+ {
+ "",
+ 0.1,
+ 1
+ };
+ text = "";
+ default = 0;
+ idc = -1;
+ x = 0;
+ y = 0;
+ h = 0.035;
+ w = 0.035;
+ font = "RobotoCondensed";
+ shadow = 2;
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ url = "";
+ tooltipColorText[] = {1,1,1,1};
+ tooltipColorBox[] = {1,1,1,1};
+ tooltipColorShade[] = {0,0,0,0.65};
+};
+class RscActivePicture: RscActiveText
+{
+ style = ST_MULTI + ST_TITLE_BAR;
+ color[] = {1,1,1,0.5};
+ colorActive[] = {1,1,1,1};
+};
+class RscActivePictureKeepAspect: RscActivePicture
+{
+ style = ST_MULTI + ST_TITLE_BAR + ST_KEEP_ASPECT_RATIO;
+};
+class RscStructuredText
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_STRUCTURED_TEXT;
+ idc = -1;
+ style = ST_LEFT;
+ colorText[] = {1,1,1,1};
+ class Attributes
+ {
+ font = "RobotoCondensed";
+ color = "#ffffff";
+ colorLink = "#D09B43";
+ align = "left";
+ shadow = 1;
+ };
+ x = 0;
+ y = 0;
+ h = 0.035;
+ w = 0.1;
+ text = "";
+ size = GUI_TEXT_SIZE_MEDIUM;
+ shadow = 1;
+};
+class RscToolbox
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_TOOLBOX;
+ style = ST_CENTER;
+ 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.13])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
+ "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
+ 0.5
+ };
+ shadow = 0;
+ strings[] =
+ {
+ "",
+ ""
+ };
+ x = 0;
+ y = 0;
+ w = 0.3;
+ h = 0.025;
+ rows = 1;
+ columns = 2;
+ font = "RobotoCondensed";
+ sizeEx = GUI_TEXT_SIZE_SMALL;
+};
+class RscControlsGroup
+{
+ deletable = 0;
+ fade = 0;
+ class VScrollbar: ScrollBar
+ {
+ color[] = {1,1,1,1};
+ width = 0.021;
+ autoScrollEnabled = 1;
+ };
+ class HScrollbar: ScrollBar
+ {
+ color[] = {1,1,1,1};
+ height = 0.028;
+ };
+ class Controls
+ {
+ };
+ type = CT_CONTROLS_GROUP;
+ idc = -1;
+ x = 0;
+ y = 0;
+ w = 1;
+ h = 1;
+ shadow = 0;
+ style = ST_MULTI;
+};
+class RscControlsGroupNoScrollbars: RscControlsGroup
+{
+ class VScrollbar: VScrollbar
+ {
+ width = 0;
+ };
+ class HScrollbar: HScrollbar
+ {
+ height = 0;
+ };
+};
+class RscControlsGroupNoHScrollbars: RscControlsGroup
+{
+ class HScrollbar: HScrollbar
+ {
+ height = 0;
+ };
+};
+class RscControlsGroupNoVScrollbars: RscControlsGroup
+{
+ class VScrollbar: VScrollbar
+ {
+ width = 0;
+ };
+};
+class RscButtonTextOnly: RscButton
+{
+ SizeEx = GUI_TEXT_SIZE_SMALL;
+ 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;
+};
+class RscButtonMenu: RscShortcutButton
+{
+ idc = -1;
+ type = CT_SHORTCUTBUTTON;
+ style = ST_CENTER + ST_FRAME + ST_HUD_BACKGROUND;
+ 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};
+ textSecondary = "";
+ colorSecondary[] = {1,1,1,1};
+ colorFocusedSecondary[] = {0,0,0,1};
+ color2Secondary[] = {0,0,0,1};
+ colorDisabledSecondary[] = {1,1,1,0.25};
+ sizeExSecondary = GUI_TEXT_SIZE_MEDIUM;
+ fontSecondary = "PuristaLight";
+ period = 1.2;
+ periodFocus = 1.2;
+ periodOver = 1.2;
+ size = GUI_TEXT_SIZE_MEDIUM;
+ sizeEx = GUI_TEXT_SIZE_MEDIUM;
+ tooltipColorText[] = {1,1,1,1};
+ tooltipColorBox[] = {1,1,1,1};
+ tooltipColorShade[] = {0,0,0,0.65};
+ class TextPos
+ {
+ left = 0.25 * GUI_GRID_W;
+ top = (GUI_GRID_H - GUI_TEXT_SIZE_MEDIUM) / 2;
+ right = 0.005;
+ bottom = 0;
+ };
+ class Attributes
+ {
+ font = "PuristaLight";
+ color = "#E5E5E5";
+ align = "left";
+ shadow = "false";
+ };
+ class ShortcutPos
+ {
+ left = 5.25 * GUI_GRID_W;
+ top = 0;
+ w = 1 * GUI_GRID_W;
+ h = 1 * GUI_GRID_H;
+ };
+ 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
+ };
+};
+class RscButtonMenuOK: RscButtonMenu
+{
+ idc = 1;
+ shortcuts[] =
+ {
+ "0x00050000 + 0",
+ 28,
+ 57,
+ 156
+ };
+ default = 1;
+ text = "OK";
+ soundPush[] =
+ {
+ "\A3\ui_f\data\sound\RscButtonMenuOK\soundPush",
+ 0.09,
+ 1
+ };
+};
+class RscButtonMenuCancel: RscButtonMenu
+{
+ idc = 2;
+ shortcuts[] =
+ {
+ "0x00050000 + 1"
+ };
+ text = "Cancel";
+};
+class RscButtonMenuSteam: RscButtonMenu
+{
+ colorBackground[] = {0.0313726,0.721569,0.917647,1};
+ textureNoShortcut = "\A3\Ui_f\data\GUI\RscCommon\RscButtonMenuSteam\steam_ca.paa";
+ class TextPos
+ {
+ left = 0.0325;
+ top = (GUI_GRID_H - GUI_TEXT_SIZE_MEDIUM) / 2;
+ right = 0.005;
+ bottom = 0;
+ };
+ class ShortcutPos
+ {
+ left = 0.005;
+ top = 0.005;
+ w = 0.0225;
+ h = 0.03;
+ };
+};
+class RscMapControl
+{
+ deletable = 0;
+ fade = 0;
+ access = 0;
+ type = CT_MAP_MAIN;
+ idc = 51;
+ style = ST_MULTI + ST_TITLE_BAR;
+ colorBackground[] = {0.929412,0.929412,0.929412,1};
+ colorOutside[] = {0.929412,0.929412,0.929412,1};
+ colorText[] = {0,0,0,1};
+ font = "TahomaB";
+ sizeEx = 0.04;
+ colorSea[] = {0.467,0.631,0.851,0.5};
+ colorForest[] = {0.6,0.8,0.2,0.25};
+ colorRocks[] = {0.5,0.5,0.5,0.5};
+ colorCountlines[] = {0.647059,0.533333,0.286275,1};
+ colorMainCountlines[] = {0.858824,0,0,1};
+ 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,0,0,1};
+ colorTracks[] = {0.2,0.13,0,1};
+ colorRoads[] = {0.2,0.13,0,1};
+ colorMainRoads[] = {0,0,0,1};
+ colorTracksFill[] = {1,0.88,0.65,0.3};
+ colorRoadsFill[] = {1,0.88,0.65,1};
+ colorMainRoadsFill[] = {0.94,0.69,0.2,1};
+ colorGrid[] = {0.05,0.1,0,0.6};
+ colorGridMap[] = {0.05,0.1,0,0.4};
+ 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 + GUI_GRID_W;
+ y = SafeZoneY + safezoneH - 4.5 * GUI_GRID_H;
+ w = 10 * GUI_GRID_W;
+ h = 3.5 * GUI_GRID_H;
+ font = "RobotoCondensed";
+ sizeEx = GUI_TEXT_SIZE_SMALL;
+ };
+ 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
+ {
+ taskNone = "#(argb,8,8,3)color(0,0,0,0)";
+ taskCreated = "#(argb,8,8,3)color(0,0,0,1)";
+ taskAssigned = "#(argb,8,8,3)color(1,1,1,1)";
+ taskSucceeded = "#(argb,8,8,3)color(0,1,0,1)";
+ taskFailed = "#(argb,8,8,3)color(1,0,0,1)";
+ taskCanceled = "#(argb,8,8,3)color(1,0.5,0,1)";
+ 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[] = {1,1,1,1};
+ icon = "\a3\ui_f\data\map\mapcontrol\custommark_ca.paa";
+ size = 18;
+ 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 LineMarker
+ {
+ textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)";
+ lineWidthThin = 0.008;
+ lineWidthThick = 0.014;
+ lineDistanceMin = 3e-005;
+ lineLengthMin = 5;
+ };
+ 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 = 16;
+ importance = "2 * 16 * 0.05";
+ coefMin = 0.4;
+ coefMax = 2;
+ };
+ 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[] = {1,1,1,1};
+ importance = 1;
+ coefMin = 1;
+ coefMax = 1;
+ icon = "\a3\ui_f\data\map\mapcontrol\waypoint_ca.paa";
+ size = 18;
+ };
+ class WaypointCompleted
+ {
+ color[] = {1,1,1,1};
+ importance = 1;
+ coefMin = 1;
+ coefMax = 1;
+ icon = "\a3\ui_f\data\map\mapcontrol\waypointcompleted_ca.paa";
+ size = 18;
+ };
+ moveOnEdges = 1;
+ x = "SafeZoneXAbs";
+ y = SafeZoneY + 1.5 * GUI_GRID_H;
+ w = "SafeZoneWAbs";
+ h = SafeZoneH - 1.5 * GUI_GRID_H;
+ shadow = 0;
+ ptsPerSquareSea = 5;
+ ptsPerSquareTxt = 20;
+ ptsPerSquareCLn = 10;
+ ptsPerSquareExp = 10;
+ ptsPerSquareCost = 10;
+ ptsPerSquareFor = 9;
+ ptsPerSquareForEdge = 9;
+ ptsPerSquareRoad = 6;
+ ptsPerSquareObj = 9;
+ scaleMin = 0.001;
+ scaleMax = 1;
+ scaleDefault = 0.16;
+ alphaFadeStartScale = 2;
+ alphaFadeEndScale = 2;
+ colorTrails[] = {0.84,0.76,0.65,0.15};
+ colorTrailsFill[] = {0.84,0.76,0.65,0.65};
+ widthRailWay = 4;
+ fontLabel = "RobotoCondensed";
+ sizeExLabel = GUI_TEXT_SIZE_SMALL;
+ fontGrid = "TahomaB";
+ fontUnits = "TahomaB";
+ sizeExUnits = GUI_TEXT_SIZE_SMALL;
+ fontNames = "RobotoCondensed";
+ sizeExNames = GUI_TEXT_SIZE_SMALL * 2;
+ fontInfo = "RobotoCondensed";
+ sizeExInfo = GUI_TEXT_SIZE_SMALL;
+ fontLevel = "TahomaB";
+ text = "#(argb,8,8,3)color(1,1,1,1)";
+ idcMarkerColor = -1;
+ idcMarkerIcon = -1;
+ textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)";
+ showMarkers = 1;
+ 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[] = {0,0,0,1};
+ };
+ maxSatelliteAlpha = 0.5;
+ sizeExLevel = 0.03;
+ showCountourInterval = 1;
+ sizeExGrid = 0.032;
+};
+class RscMapControlEmpty: RscMapControl
+{
+ type = CT_MAP_MAIN;
+ ptsPerSquareSea = 1000;
+ ptsPerSquareTxt = 1000;
+ ptsPerSquareCLn = 1000;
+ ptsPerSquareExp = 1000;
+ ptsPerSquareCost = 1000;
+ ptsPerSquareFor = 1000;
+ ptsPerSquareForEdge = 1000;
+ ptsPerSquareRoad = 1000;
+ ptsPerSquareObj = 1000;
+ alphaFadeStartScale = 0;
+ alphaFadeEndScale = 0;
+ colorBackground[] = {1,1,1,1};
+ colorOutside[] = {1,1,1,1};
+ colorSea[] = {0,0,0,0};
+ colorForest[] = {0,0,0,0};
+ colorForestBorder[] = {0,0,0,0};
+ colorRocks[] = {0,0,0,0};
+ colorRocksBorder[] = {0,0,0,0};
+ colorLevels[] = {0,0,0,0};
+ colorMainCountlines[] = {0,0,0,0};
+ colorCountlines[] = {0,0,0,0};
+ colorMainCountlinesWater[] = {0,0,0,0};
+ colorCountlinesWater[] = {0,0,0,0};
+ colorPowerLines[] = {0,0,0,0};
+ colorRailWay[] = {0,0,0,0};
+ colorNames[] = {0,0,0,0};
+ colorInactive[] = {0,0,0,0};
+ colorGrid[] = {0,0,0,0};
+ colorGridMap[] = {0,0,0,0};
+ class Task: Task
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ iconCreated = "#(argb,8,8,3)color(0,0,0,0)";
+ iconCanceled = "#(argb,8,8,3)color(0,0,0,0)";
+ iconDone = "#(argb,8,8,3)color(0,0,0,0)";
+ iconFailed = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ colorCreated[] = {0,0,0,0};
+ colorCanceled[] = {0,0,0,0};
+ colorDone[] = {0,0,0,0};
+ colorFailed[] = {0,0,0,0};
+ size = 0;
+ };
+ class Waypoint: Waypoint
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class WaypointCompleted: WaypointCompleted
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class CustomMark: CustomMark
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Command: Command
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Bush: Bush
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Rock: Rock
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class SmallTree: SmallTree
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Tree: Tree
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class busstop: BusStop
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class fuelstation: Fuelstation
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class hospital: Hospital
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class church: Church
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class lighthouse: Lighthouse
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class power: power
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class powersolar: powersolar
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class powerwave: powerwave
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class powerwind: powerwind
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class quay: Quay
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class shipwreck: Shipwreck
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class transmitter: Transmitter
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class watertower: Watertower
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Bunker: Bunker
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Cross: Cross
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Fortress: Fortress
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Fountain: Fountain
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Chapel: Chapel
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Ruin: Ruin
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Stack: Stack
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class Tourism: Tourism
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+ class ViewTower: ViewTower
+ {
+ icon = "#(argb,8,8,3)color(0,0,0,0)";
+ color[] = {0,0,0,0};
+ size = 0;
+ };
+};
+class RscCheckBox
+{
+ idc = -1;
+ type = CT_CHECKBOX;
+ deletable = 0;
+ style = ST_LEFT;
+ checked = 0;
+ x = "0.375 * safezoneW + safezoneX";
+ y = "0.36 * safezoneH + safezoneY";
+ w = "0.025 * safezoneW";
+ h = "0.04 * safezoneH";
+ color[] = {1,1,1,0.7};
+ colorFocused[] = {1,1,1,1};
+ colorHover[] = {1,1,1,1};
+ colorPressed[] = {1,1,1,1};
+ colorDisabled[] = {1,1,1,0.2};
+ colorBackground[] = {0,0,0,0};
+ colorBackgroundFocused[] = {0,0,0,0};
+ colorBackgroundHover[] = {0,0,0,0};
+ colorBackgroundPressed[] = {0,0,0,0};
+ colorBackgroundDisabled[] = {0,0,0,0};
+ textureChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
+ textureUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
+ textureFocusedChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
+ textureFocusedUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
+ 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";
+ tooltipColorText[] = {1,1,1,1};
+ tooltipColorBox[] = {1,1,1,1};
+ tooltipColorShade[] = {0,0,0,0.65};
+ soundEnter[] =
+ {
+ "",
+ 0.1,
+ 1
+ };
+ soundPush[] =
+ {
+ "",
+ 0.1,
+ 1
+ };
+ soundClick[] =
+ {
+ "",
+ 0.1,
+ 1
+ };
+ soundEscape[] =
+ {
+ "",
+ 0.1,
+ 1
+ };
+};
diff --git a/addons/firesupport/Stringtable.xml b/addons/firesupport/Stringtable.xml
new file mode 100644
index 0000000..7c72d59
--- /dev/null
+++ b/addons/firesupport/Stringtable.xml
@@ -0,0 +1,991 @@
+
+
+
+
+
+ EASTING
+ EASTING
+ EASTING
+ EASTING
+ EASTING
+ EASTING
+ EASTING
+ EASTING
+ EASTING
+ EASTING
+
+
+ NORTHING
+ NORTHING
+ NORTHING
+ NORTHING
+ NORTHING
+ NORTHING
+ NORTHING
+ NORTHING
+ NORTHING
+ NORTHING
+
+
+ Rounds to Fire
+ Rounds to Fire
+ Rounds to Fire
+ Rounds to Fire
+ Rounds to Fire
+ Rounds to Fire
+ Rounds to Fire
+ Rounds to Fire
+ Rounds to Fire
+ Rounds to Fire
+
+
+ Radius
+ Radius
+ Radius
+ Radius
+ Radius
+ Radius
+ Radius
+ Radius
+ Radius
+ Radius
+
+
+ Delay
+ Delay
+ Delay
+ Delay
+ Delay
+ Delay
+ Delay
+ Delay
+ Delay
+ Delay
+
+
+ 2nd EASTING
+ 2nd EASTING
+ 2nd EASTING
+ 2nd EASTING
+ 2nd EASTING
+ 2nd EASTING
+ 2nd EASTING
+ 2nd EASTING
+ 2nd EASTING
+ 2nd EASTING
+
+
+ 2nd NORTHING
+ 2nd NORTHING
+ 2nd NORTHING
+ 2nd NORTHING
+ 2nd NORTHING
+ 2nd NORTHING
+ 2nd NORTHING
+ 2nd NORTHING
+ 2nd NORTHING
+ 2nd NORTHING
+
+
+ Remaining Ammo
+ Remaining Ammo
+ Remaining Ammo
+ Remaining Ammo
+ Remaining Ammo
+ Remaining Ammo
+ Remaining Ammo
+ Remaining Ammo
+ Remaining Ammo
+ Remaining Ammo
+
+
+ ETA
+ ETA
+ ETA
+ ETA
+ ETA
+ ETA
+ ETA
+ ETA
+ ETA
+ ETA
+
+
+
+ Bookmarks
+ Bookmarks
+ Bookmarks
+ Bookmarks
+ Bookmarks
+ Bookmarks
+ Bookmarks
+ Bookmarks
+ Bookmarks
+ Bookmarks
+
+
+ Name
+ Name
+ Name
+ Name
+ Name
+ Name
+ Name
+ Name
+ Name
+ Name
+
+
+ Remove
+ Remove
+ Remove
+ Remove
+ Remove
+ Remove
+ Remove
+ Remove
+ Remove
+ Remove
+
+
+ Add
+ Add
+ Add
+ Add
+ Add
+ Add
+ Add
+ Add
+ Add
+ Add
+
+
+ Import
+ Import
+ Import
+ Import
+ Import
+ Import
+ Import
+ Import
+ Import
+ Import
+
+
+ Export
+ Export
+ Export
+ Export
+ Export
+ Export
+ Export
+ Export
+ Export
+ Export
+
+
+ Minimap
+ Minimap
+ Minimap
+ Minimap
+ Minimap
+ Minimap
+ Minimap
+ Minimap
+ Minimap
+ Minimap
+
+
+
+
+ [] call tun_firesupport_fnc_fire;
+ [] call tun_firesupport_fnc_fire;
+ [] call tun_firesupport_fnc_fire;
+ [] call tun_firesupport_fnc_fire;
+ [] call tun_firesupport_fnc_fire;
+ [] call tun_firesupport_fnc_fire;
+ [] call tun_firesupport_fnc_fire;
+ [] call tun_firesupport_fnc_fire;
+ [] call tun_firesupport_fnc_fire;
+ [] call tun_firesupport_fnc_fire;
+
+
+ [] call tun_firesupport_fnc_gun_ammo_dialog
+ [] call tun_firesupport_fnc_gun_ammo_dialog
+ [] call tun_firesupport_fnc_gun_ammo_dialog
+ [] call tun_firesupport_fnc_gun_ammo_dialog
+ [] call tun_firesupport_fnc_gun_ammo_dialog
+ [] call tun_firesupport_fnc_gun_ammo_dialog
+ [] call tun_firesupport_fnc_gun_ammo_dialog
+ [] call tun_firesupport_fnc_gun_ammo_dialog
+ [] call tun_firesupport_fnc_gun_ammo_dialog
+ [] call tun_firesupport_fnc_gun_ammo_dialog
+
+
+ [] call tun_firesupport_fnc_dialog_close
+ [] call tun_firesupport_fnc_dialog_close
+ [] call tun_firesupport_fnc_dialog_close
+ [] call tun_firesupport_fnc_dialog_close
+ [] call tun_firesupport_fnc_dialog_close
+ [] call tun_firesupport_fnc_dialog_close
+ [] call tun_firesupport_fnc_dialog_close
+ [] call tun_firesupport_fnc_dialog_close
+ [] call tun_firesupport_fnc_dialog_close
+ [] call tun_firesupport_fnc_dialog_close
+
+
+ [] call tun_firesupport_fnc_update_ammo_count
+ [] call tun_firesupport_fnc_update_ammo_count
+ [] call tun_firesupport_fnc_update_ammo_count
+ [] call tun_firesupport_fnc_update_ammo_count
+ [] call tun_firesupport_fnc_update_ammo_count
+ [] call tun_firesupport_fnc_update_ammo_count
+ [] call tun_firesupport_fnc_update_ammo_count
+ [] call tun_firesupport_fnc_update_ammo_count
+ [] call tun_firesupport_fnc_update_ammo_count
+ [] call tun_firesupport_fnc_update_ammo_count
+
+
+ ["ammo"] call tun_firesupport_fnc_check_min_values
+ ["ammo"] call tun_firesupport_fnc_check_min_values
+ ["ammo"] call tun_firesupport_fnc_check_min_values
+ ["ammo"] call tun_firesupport_fnc_check_min_values
+ ["ammo"] call tun_firesupport_fnc_check_min_values
+ ["ammo"] call tun_firesupport_fnc_check_min_values
+ ["ammo"] call tun_firesupport_fnc_check_min_values
+ ["ammo"] call tun_firesupport_fnc_check_min_values
+ ["ammo"] call tun_firesupport_fnc_check_min_values
+ ["ammo"] call tun_firesupport_fnc_check_min_values
+
+
+ ["delay"] call tun_firesupport_fnc_check_min_values
+ ["delay"] call tun_firesupport_fnc_check_min_values
+ ["delay"] call tun_firesupport_fnc_check_min_values
+ ["delay"] call tun_firesupport_fnc_check_min_values
+ ["delay"] call tun_firesupport_fnc_check_min_values
+ ["delay"] call tun_firesupport_fnc_check_min_values
+ ["delay"] call tun_firesupport_fnc_check_min_values
+ ["delay"] call tun_firesupport_fnc_check_min_values
+ ["delay"] call tun_firesupport_fnc_check_min_values
+ ["delay"] call tun_firesupport_fnc_check_min_values
+
+
+ ["radius"] call tun_firesupport_fnc_check_min_values
+ ["radius"] call tun_firesupport_fnc_check_min_values
+ ["radius"] call tun_firesupport_fnc_check_min_values
+ ["radius"] call tun_firesupport_fnc_check_min_values
+ ["radius"] call tun_firesupport_fnc_check_min_values
+ ["radius"] call tun_firesupport_fnc_check_min_values
+ ["radius"] call tun_firesupport_fnc_check_min_values
+ ["radius"] call tun_firesupport_fnc_check_min_values
+ ["radius"] call tun_firesupport_fnc_check_min_values
+ ["radius"] call tun_firesupport_fnc_check_min_values
+
+
+ [] call tun_firesupport_fnc_update_everything
+ [] call tun_firesupport_fnc_update_everything
+ [] call tun_firesupport_fnc_update_everything
+ [] call tun_firesupport_fnc_update_everything
+ [] call tun_firesupport_fnc_update_everything
+ [] call tun_firesupport_fnc_update_everything
+ [] call tun_firesupport_fnc_update_everything
+ [] call tun_firesupport_fnc_update_everything
+ [] call tun_firesupport_fnc_update_everything
+ [] call tun_firesupport_fnc_update_everything
+
+
+ [] call tun_firesupport_fnc_update_firemode
+ [] call tun_firesupport_fnc_update_firemode
+ [] call tun_firesupport_fnc_update_firemode
+ [] call tun_firesupport_fnc_update_firemode
+ [] call tun_firesupport_fnc_update_firemode
+ [] call tun_firesupport_fnc_update_firemode
+ [] call tun_firesupport_fnc_update_firemode
+ [] call tun_firesupport_fnc_update_firemode
+ [] call tun_firesupport_fnc_update_firemode
+ [] call tun_firesupport_fnc_update_firemode
+
+
+ [] call tun_firesupport_fnc_toggle_bookmarks;
+ [] call tun_firesupport_fnc_toggle_bookmarks;
+ [] call tun_firesupport_fnc_toggle_bookmarks;
+ [] call tun_firesupport_fnc_toggle_bookmarks;
+ [] call tun_firesupport_fnc_toggle_bookmarks;
+ [] call tun_firesupport_fnc_toggle_bookmarks;
+ [] call tun_firesupport_fnc_toggle_bookmarks;
+ [] call tun_firesupport_fnc_toggle_bookmarks;
+ [] call tun_firesupport_fnc_toggle_bookmarks;
+ [] call tun_firesupport_fnc_toggle_bookmarks;
+
+
+ [] call tun_firesupport_fnc_selected_bookmark;
+ [] call tun_firesupport_fnc_selected_bookmark;
+ [] call tun_firesupport_fnc_selected_bookmark;
+ [] call tun_firesupport_fnc_selected_bookmark;
+ [] call tun_firesupport_fnc_selected_bookmark;
+ [] call tun_firesupport_fnc_selected_bookmark;
+ [] call tun_firesupport_fnc_selected_bookmark;
+ [] call tun_firesupport_fnc_selected_bookmark;
+ [] call tun_firesupport_fnc_selected_bookmark;
+ [] call tun_firesupport_fnc_selected_bookmark;
+
+
+ [false] call tun_firesupport_fnc_save_bookmarks;
+ [false] call tun_firesupport_fnc_save_bookmarks;
+ [false] call tun_firesupport_fnc_save_bookmarks;
+ [false] call tun_firesupport_fnc_save_bookmarks;
+ [false] call tun_firesupport_fnc_save_bookmarks;
+ [false] call tun_firesupport_fnc_save_bookmarks;
+ [false] call tun_firesupport_fnc_save_bookmarks;
+ [false] call tun_firesupport_fnc_save_bookmarks;
+ [false] call tun_firesupport_fnc_save_bookmarks;
+ [false] call tun_firesupport_fnc_save_bookmarks;
+
+
+ [true] call tun_firesupport_fnc_save_bookmarks;
+ [true] call tun_firesupport_fnc_save_bookmarks;
+ [true] call tun_firesupport_fnc_save_bookmarks;
+ [true] call tun_firesupport_fnc_save_bookmarks;
+ [true] call tun_firesupport_fnc_save_bookmarks;
+ [true] call tun_firesupport_fnc_save_bookmarks;
+ [true] call tun_firesupport_fnc_save_bookmarks;
+ [true] call tun_firesupport_fnc_save_bookmarks;
+ [true] call tun_firesupport_fnc_save_bookmarks;
+ [true] call tun_firesupport_fnc_save_bookmarks;
+
+
+ [true] call tun_firesupport_fnc_modify_bookmarks;
+ [true] call tun_firesupport_fnc_modify_bookmarks;
+ [true] call tun_firesupport_fnc_modify_bookmarks;
+ [true] call tun_firesupport_fnc_modify_bookmarks;
+ [true] call tun_firesupport_fnc_modify_bookmarks;
+ [true] call tun_firesupport_fnc_modify_bookmarks;
+ [true] call tun_firesupport_fnc_modify_bookmarks;
+ [true] call tun_firesupport_fnc_modify_bookmarks;
+ [true] call tun_firesupport_fnc_modify_bookmarks;
+ [true] call tun_firesupport_fnc_modify_bookmarks;
+
+
+ [false] call tun_firesupport_fnc_modify_bookmarks;
+ [false] call tun_firesupport_fnc_modify_bookmarks;
+ [false] call tun_firesupport_fnc_modify_bookmarks;
+ [false] call tun_firesupport_fnc_modify_bookmarks;
+ [false] call tun_firesupport_fnc_modify_bookmarks;
+ [false] call tun_firesupport_fnc_modify_bookmarks;
+ [false] call tun_firesupport_fnc_modify_bookmarks;
+ [false] call tun_firesupport_fnc_modify_bookmarks;
+ [false] call tun_firesupport_fnc_modify_bookmarks;
+ [false] call tun_firesupport_fnc_modify_bookmarks;
+
+
+
+
+ Only Numbers. How many rounds will be shot.
+ Only Numbers. How many rounds will be shot.
+ Only Numbers. How many rounds will be shot.
+ Only Numbers. How many rounds will be shot.
+ Only Numbers. How many rounds will be shot.
+ Only Numbers. How many rounds will be shot.
+ Only Numbers. How many rounds will be shot.
+ Only Numbers. How many rounds will be shot.
+ Only Numbers. How many rounds will be shot.
+ Only Numbers. How many rounds will be shot.
+
+
+ Only numbers. Spread for fire mission (meters)
+ Only numbers. Spread for fire mission (meters)
+ Only numbers. Spread for fire mission (meters)
+ Only numbers. Spread for fire mission (meters)
+ Only numbers. Spread for fire mission (meters)
+ Only numbers. Spread for fire mission (meters)
+ Only numbers. Spread for fire mission (meters)
+ Only numbers. Spread for fire mission (meters)
+ Only numbers. Spread for fire mission (meters)
+ Only numbers. Spread for fire mission (meters)
+
+
+ Only numbers. Delay between splashes.
+ Only numbers. Delay between splashes.
+ Only numbers. Delay between splashes.
+ Only numbers. Delay between splashes.
+ Only numbers. Delay between splashes.
+ Only numbers. Delay between splashes.
+ Only numbers. Delay between splashes.
+ Only numbers. Delay between splashes.
+ Only numbers. Delay between splashes.
+ Only numbers. Delay between splashes.
+
+
+ Only numbers. Northing is y (vertical) axis (read from left or right side of map).
+ Only numbers. Northing is y (vertical) axis (read from left or right side of map).
+ Only numbers. Northing is y (vertical) axis (read from left or right side of map).
+ Only numbers. Northing is y (vertical) axis (read from left or right side of map).
+ Only numbers. Northing is y (vertical) axis (read from left or right side of map).
+ Only numbers. Northing is y (vertical) axis (read from left or right side of map).
+ Only numbers. Northing is y (vertical) axis (read from left or right side of map).
+ Only numbers. Northing is y (vertical) axis (read from left or right side of map).
+ Only numbers. Northing is y (vertical) axis (read from left or right side of map).
+ Only numbers. Northing is y (vertical) axis (read from left or right side of map).
+
+
+ Only numbers. Easting is x (horizontal) axis (read from top or bottom side of map).
+ Only numbers. Easting is x (horizontal) axis (read from top or bottom side of map).
+ Only numbers. Easting is x (horizontal) axis (read from top or bottom side of map).
+ Only numbers. Easting is x (horizontal) axis (read from top or bottom side of map).
+ Only numbers. Easting is x (horizontal) axis (read from top or bottom side of map).
+ Only numbers. Easting is x (horizontal) axis (read from top or bottom side of map).
+ Only numbers. Easting is x (horizontal) axis (read from top or bottom side of map).
+ Only numbers. Easting is x (horizontal) axis (read from top or bottom side of map).
+ Only numbers. Easting is x (horizontal) axis (read from top or bottom side of map).
+ Only numbers. Easting is x (horizontal) axis (read from top or bottom side of map).
+
+
+ Remaining ammo
+ Remaining ammo
+ Remaining ammo
+ Remaining ammo
+ Remaining ammo
+ Remaining ammo
+ Remaining ammo
+ Remaining ammo
+ Remaining ammo
+ Remaining ammo
+
+
+ Estimated time to splash
+ Estimated time to splash
+ Estimated time to splash
+ Estimated time to splash
+ Estimated time to splash
+ Estimated time to splash
+ Estimated time to splash
+ Estimated time to splash
+ Estimated time to splash
+ Estimated time to splash
+
+
+ Give name for firemission to bookmark
+ Give name for firemission to bookmark
+ Give name for firemission to bookmark
+ Give name for firemission to bookmark
+ Give name for firemission to bookmark
+ Give name for firemission to bookmark
+ Give name for firemission to bookmark
+ Give name for firemission to bookmark
+ Give name for firemission to bookmark
+ Give name for firemission to bookmark
+
+
+ To export, copy and save this array somwhere, like desktop text file. To import bookmarks, copy your array of values here.
+ To export, copy and save this array somwhere, like desktop text file. To import bookmarks, copy your array of values here.
+ To export, copy and save this array somwhere, like desktop text file. To import bookmarks, copy your array of values here.
+ To export, copy and save this array somwhere, like desktop text file. To import bookmarks, copy your array of values here.
+ To export, copy and save this array somwhere, like desktop text file. To import bookmarks, copy your array of values here.
+ To export, copy and save this array somwhere, like desktop text file. To import bookmarks, copy your array of values here.
+ To export, copy and save this array somwhere, like desktop text file. To import bookmarks, copy your array of values here.
+ To export, copy and save this array somwhere, like desktop text file. To import bookmarks, copy your array of values here.
+ To export, copy and save this array somwhere, like desktop text file. To import bookmarks, copy your array of values here.
+ To export, copy and save this array somwhere, like desktop text file. To import bookmarks, copy your array of values here.
+
+
+ Copy paste array of values to editbox at left and press this
+ Copy paste array of values to editbox at left and press this
+ Copy paste array of values to editbox at left and press this
+ Copy paste array of values to editbox at left and press this
+ Copy paste array of values to editbox at left and press this
+ Copy paste array of values to editbox at left and press this
+ Copy paste array of values to editbox at left and press this
+ Copy paste array of values to editbox at left and press this
+ Copy paste array of values to editbox at left and press this
+ Copy paste array of values to editbox at left and press this
+
+
+ After pressing this button. Copy paste array from editbox at left somewhere else, like text file at your desktop and save it.
+ After pressing this button. Copy paste array from editbox at left somewhere else, like text file at your desktop and save it.
+ After pressing this button. Copy paste array from editbox at left somewhere else, like text file at your desktop and save it.
+ After pressing this button. Copy paste array from editbox at left somewhere else, like text file at your desktop and save it.
+ After pressing this button. Copy paste array from editbox at left somewhere else, like text file at your desktop and save it.
+ After pressing this button. Copy paste array from editbox at left somewhere else, like text file at your desktop and save it.
+ After pressing this button. Copy paste array from editbox at left somewhere else, like text file at your desktop and save it.
+ After pressing this button. Copy paste array from editbox at left somewhere else, like text file at your desktop and save it.
+ After pressing this button. Copy paste array from editbox at left somewhere else, like text file at your desktop and save it.
+ After pressing this button. Copy paste array from editbox at left somewhere else, like text file at your desktop and save it.
+
+
+ Remove currently selected bookmark
+ Remove currently selected bookmark
+ Remove currently selected bookmark
+ Remove currently selected bookmark
+ Remove currently selected bookmark
+ Remove currently selected bookmark
+ Remove currently selected bookmark
+ Remove currently selected bookmark
+ Remove currently selected bookmark
+ Remove currently selected bookmark
+
+
+ Save currently added settings as bookmakr
+ Save currently added settings as bookmakr
+ Save currently added settings as bookmakr
+ Save currently added settings as bookmakr
+ Save currently added settings as bookmakr
+ Save currently added settings as bookmakr
+ Save currently added settings as bookmakr
+ Save currently added settings as bookmakr
+ Save currently added settings as bookmakr
+ Save currently added settings as bookmakr
+
+
+
+
+ Is item required
+ Is item required
+ Is item required
+ Is item required
+ Is item required
+ Is item required
+ Is item required
+ Is item required
+ Is item required
+ Is item required
+
+
+ Is specifig item required
+ Is specifig item required
+ Is specifig item required
+ Is specifig item required
+ Is specifig item required
+ Is specifig item required
+ Is specifig item required
+ Is specifig item required
+ Is specifig item required
+ Is specifig item required
+
+
+ TUN Firesupport
+ TUN Firesupport
+ TUN Firesupport
+ TUN Firesupport
+ TUN Firesupport
+ TUN Firesupport
+ TUN Firesupport
+ TUN Firesupport
+ TUN Firesupport
+ TUN Firesupport
+
+
+ Required items
+ Required items
+ Required items
+ Required items
+ Required items
+ Required items
+ Required items
+ Required items
+ Required items
+ Required items
+
+
+ Required items classnames. Must be strings, seperated by comas
+ Required items classnames. Must be strings, seperated by comas
+ Required items classnames. Must be strings, seperated by comas
+ Required items classnames. Must be strings, seperated by comas
+ Required items classnames. Must be strings, seperated by comas
+ Required items classnames. Must be strings, seperated by comas
+ Required items classnames. Must be strings, seperated by comas
+ Required items classnames. Must be strings, seperated by comas
+ Required items classnames. Must be strings, seperated by comas
+ Required items classnames. Must be strings, seperated by comas
+
+
+ Debug mode
+ Debug mode
+ Debug mode
+ Debug mode
+ Debug mode
+ Debug mode
+ Debug mode
+ Debug mode
+ Debug mode
+ Debug mode
+
+
+
+
+ Standard
+ Standard
+ Standard
+ Standard
+ Standard
+ Standard
+ Standard
+ Standard
+ Standard
+ Standard
+
+
+ Creeping barrage
+ Creeping barrage
+ Creeping barrage
+ Creeping barrage
+ Creeping barrage
+ Creeping barrage
+ Creeping barrage
+ Creeping barrage
+ Creeping barrage
+ Creeping barrage
+
+
+ The Wall
+ The Wall
+ The Wall
+ The Wall
+ The Wall
+ The Wall
+ The Wall
+ The Wall
+ The Wall
+ The Wall
+
+
+
+
+ Tun firesupport ammo
+ Tun firesupport ammo
+ Tun firesupport ammo
+ Tun firesupport ammo
+ Tun firesupport ammo
+ Tun firesupport ammo
+ Tun firesupport ammo
+ Tun firesupport ammo
+ Tun firesupport ammo
+ Tun firesupport ammo
+
+
+ Tun Firesupport
+ Tun Firesupport
+ Tun Firesupport
+ Tun Firesupport
+ Tun Firesupport
+ Tun Firesupport
+ Tun Firesupport
+ Tun Firesupport
+ Tun Firesupport
+ Tun Firesupport
+
+
+ Ammo
+ Ammo
+ Ammo
+ Ammo
+ Ammo
+ Ammo
+ Ammo
+ Ammo
+ Ammo
+ Ammo
+
+
+ Put ammo classname here
+ Put ammo classname here
+ Put ammo classname here
+ Put ammo classname here
+ Put ammo classname here
+ Put ammo classname here
+ Put ammo classname here
+ Put ammo classname here
+ Put ammo classname here
+ Put ammo classname here
+
+
+ Amount
+ Amount
+ Amount
+ Amount
+ Amount
+ Amount
+ Amount
+ Amount
+ Amount
+ Amount
+
+
+ Amount
+ Count
+ Count
+ Count
+ Count
+ Count
+ Count
+ Count
+ Count
+ Count
+
+
+ WIP
+ WIP
+ WIP
+ WIP
+ WIP
+ WIP
+ WIP
+ WIP
+ WIP
+ WIP
+
+
+
+
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+
+
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+ Gun Classname
+
+
+ Tun Firesupport Gun
+ Tun Firesupport Gun
+ Tun Firesupport Gun
+ Tun Firesupport Gun
+ Tun Firesupport Gun
+ Tun Firesupport Gun
+ Tun Firesupport Gun
+ Tun Firesupport Gun
+ Tun Firesupport Gun
+ Tun Firesupport Gun
+
+
+ Give classname for gun which will be used.
+ Give classname for gun which will be used.
+ Give classname for gun which will be used.
+ Give classname for gun which will be used.
+ Give classname for gun which will be used.
+ Give classname for gun which will be used.
+ Give classname for gun which will be used.
+ Give classname for gun which will be used.
+ Give classname for gun which will be used.
+ Give classname for gun which will be used.
+
+
+ Displayname
+ Displayname
+ Displayname
+ Displayname
+ Displayname
+ Displayname
+ Displayname
+ Displayname
+ Displayname
+ Displayname
+
+
+ Unique name wich is shown in arty list. MUST BE UNIQUE
+ Unique name wich is shown in arty list. MUST BE UNIQUE
+ Unique name wich is shown in arty list. MUST BE UNIQUE
+ Unique name wich is shown in arty list. MUST BE UNIQUE
+ Unique name wich is shown in arty list. MUST BE UNIQUE
+ Unique name wich is shown in arty list. MUST BE UNIQUE
+ Unique name wich is shown in arty list. MUST BE UNIQUE
+ Unique name wich is shown in arty list. MUST BE UNIQUE
+ Unique name wich is shown in arty list. MUST BE UNIQUE
+ Unique name wich is shown in arty list. MUST BE UNIQUE
+
+
+ Countdown (Seconds)
+ Countdown (Seconds)
+ Countdown (Seconds)
+ Countdown (Seconds)
+ Countdown (Seconds)
+ Countdown (Seconds)
+ Countdown (Seconds)
+ Countdown (Seconds)
+ Countdown (Seconds)
+ Countdown (Seconds)
+
+
+ Delay until rounds are fired (calculation delay. Seconds)
+ Delay until rounds are fired (calculation delay. Seconds)
+ Delay until rounds are fired (calculation delay. Seconds)
+ Delay until rounds are fired (calculation delay. Seconds)
+ Delay until rounds are fired (calculation delay. Seconds)
+ Delay until rounds are fired (calculation delay. Seconds)
+ Delay until rounds are fired (calculation delay. Seconds)
+ Delay until rounds are fired (calculation delay. Seconds)
+ Delay until rounds are fired (calculation delay. Seconds)
+ Delay until rounds are fired (calculation delay. Seconds)
+
+
+ Min Delay
+ Min Delay
+ Min Delay
+ Min Delay
+ Min Delay
+ Min Delay
+ Min Delay
+ Min Delay
+ Min Delay
+ Min Delay
+
+
+ Min delay between shots (Seconds)
+ Min delay between shots (Seconds)
+ Min delay between shots (Seconds)
+ Min delay between shots (Seconds)
+ Min delay between shots (Seconds)
+ Min delay between shots (Seconds)
+ Min delay between shots (Seconds)
+ Min delay between shots (Seconds)
+ Min delay between shots (Seconds)
+ Min delay between shots (Seconds)
+
+
+ Min Spread
+ Min Spread
+ Min Spread
+ Min Spread
+ Min Spread
+ Min Spread
+ Min Spread
+ Min Spread
+ Min Spread
+ Min Spread
+
+
+ Min spread for rounds. default:100m
+ Min spread for rounds. default:100m
+ Min spread for rounds. default:100m
+ Min spread for rounds. default:100m
+ Min spread for rounds. default:100m
+ Min spread for rounds. default:100m
+ Min spread for rounds. default:100m
+ Min spread for rounds. default:100m
+ Min spread for rounds. default:100m
+ Min spread for rounds. default:100m
+
+
+ Side
+ Side
+ Side
+ Side
+ Side
+ Side
+ Side
+ Side
+ Side
+ Side
+
+
+ Which sides gun is this: west, east, resistance, civilian
+ Which sides gun is this: west, east, resistance, civilian
+ Which sides gun is this: west, east, resistance, civilian
+ Which sides gun is this: west, east, resistance, civilian
+ Which sides gun is this: west, east, resistance, civilian
+ Which sides gun is this: west, east, resistance, civilian
+ Which sides gun is this: west, east, resistance, civilian
+ Which sides gun is this: west, east, resistance, civilian
+ Which sides gun is this: west, east, resistance, civilian
+ Which sides gun is this: west, east, resistance, civilian
+
+
+ Min Range
+ Min Range
+ Min Range
+ Min Range
+ Min Range
+ Min Range
+ Min Range
+ Min Range
+ Min Range
+ Min Range
+
+
+ Minium range where this artillery unit can shoot
+ Minium range where this artillery unit can shoot
+ Minium range where this artillery unit can shoot
+ Minium range where this artillery unit can shoot
+ Minium range where this artillery unit can shoot
+ Minium range where this artillery unit can shoot
+ Minium range where this artillery unit can shoot
+ Minium range where this artillery unit can shoot
+ Minium range where this artillery unit can shoot
+ Minium range where this artillery unit can shoot
+
+
+ Max Range
+ Max Range
+ Max Range
+ Max Range
+ Max Range
+ Max Range
+ Max Range
+ Max Range
+ Max Range
+ Max Range
+
+
+ Max Range where this artillery can shoot.
+ Max Range where this artillery can shoot.
+ Max Range where this artillery can shoot.
+ Max Range where this artillery can shoot.
+ Max Range where this artillery can shoot.
+ Max Range where this artillery can shoot.
+ Max Range where this artillery can shoot.
+ Max Range where this artillery can shoot.
+ Max Range where this artillery can shoot.
+ Max Range where this artillery can shoot.
+
+
+ Create marker
+ Create marker
+ Create marker
+ Create marker
+ Create marker
+ Create marker
+ Create marker
+ Create marker
+ Create marker
+ Create marker
+
+
+ Create marker to map.
+ Create marker to map.
+ Create marker to map.
+ Create marker to map.
+ Create marker to map.
+ Create marker to map.
+ Create marker to map.
+ Create marker to map.
+ Create marker to map.
+ Create marker to map.
+
+
+
+
\ No newline at end of file
diff --git a/addons/firesupport/XEH_postInit.sqf b/addons/firesupport/XEH_postInit.sqf
new file mode 100644
index 0000000..84f2529
--- /dev/null
+++ b/addons/firesupport/XEH_postInit.sqf
@@ -0,0 +1 @@
+#include "script_component.hpp"
\ No newline at end of file
diff --git a/addons/firesupport/XEH_preInit.sqf b/addons/firesupport/XEH_preInit.sqf
new file mode 100644
index 0000000..9ba6943
--- /dev/null
+++ b/addons/firesupport/XEH_preInit.sqf
@@ -0,0 +1,40 @@
+#include "script_component.hpp"
+#include "XEH_prep.sqf"
+
+ISNILS(GVAR(guns_west),[]);
+ISNILS(GVAR(guns_east),[]);
+ISNILS(GVAR(guns_resistance),[]);
+ISNILS(GVAR(guns_civilian),[]);
+ISNILS(GVAR(bookmarkValues),[]);
+ISNILS(GVAR(bookmarkOpen),false);
+ISNILS(GVAR(BookmarkSkip),false);
+
+if (isServer) then {
+ GVAR(namespace) = true call CBA_fnc_createNamespace;
+ publicVariable QGVAR(namespace);
+};
+
+
+//Main settings
+[
+ QGVAR(is_required), // Unique setting name. Matches resulting variable name
+ "CHECKBOX", // Type of setting. Can be "CHECKBOX", "EDITBOX", "LIST", "SLIDER" or "COLOR"
+ [localize "STR_tun_firesupport_cba_is_required", localize "STR_tun_firesupport_cba_is_required_tooltip"], // Display name or display name + tooltip (optional, default: same as setting name)
+ localize "STR_tun_firesupport_cba_Category_main", // Category for the settings menu + optional sub-category
+ true, // Extra properties of the setting depending of _settingType.
+ 1, // 1: all clients share the same setting, 2: setting can't be overwritten (optional, default: 0)
+ {}, // Script to execute when setting is changed. (optional)
+ true //Setting will be marked as needing mission restart after being changed. (optional, default false)
+] call CBA_Settings_fnc_init;
+
+
+[
+ QGVAR(debug), // Unique setting name. Matches resulting variable name
+ "CHECKBOX", // Type of setting. Can be "CHECKBOX", "EDITBOX", "LIST", "SLIDER" or "COLOR"
+ [localize "STR_tun_firesupport_cba_debug", localize "STR_tun_firesupport_cba_debug"], // Display name or display name + tooltip (optional, default: same as setting name)
+ localize "STR_tun_firesupport_cba_Category_main", // Category for the settings menu + optional sub-category
+ false, // Extra properties of the setting depending of _settingType.
+ 0, // 1: all clients share the same setting, 2: setting can't be overwritten (optional, default: 0)
+ {}, // Script to execute when setting is changed. (optional)
+ false //Setting will be marked as needing mission restart after being changed. (optional, default false)
+] call CBA_Settings_fnc_init;
diff --git a/addons/firesupport/XEH_prep.sqf b/addons/firesupport/XEH_prep.sqf
new file mode 100644
index 0000000..fd3f1c2
--- /dev/null
+++ b/addons/firesupport/XEH_prep.sqf
@@ -0,0 +1,21 @@
+#include "script_component.hpp"
+
+#undef PREP
+#define PREP(fncName) [QPATHTOF(functions\DOUBLES(fnc,fncName).sqf), QFUNC(fncName)] call CBA_fnc_compileFunction
+
+PREP(calculate_eta);
+PREP(check_min_values);
+PREP(dialog_close);
+PREP(fire);
+PREP(get_realpos);
+PREP(gun_ammo_dialog);
+PREP(modify_bookmarks);
+PREP(module_gun);
+PREP(open_dialog);
+PREP(save_bookmarks);
+PREP(selected_bookmark);
+PREP(toggle_bookmarks);
+PREP(update_ammo_count);
+PREP(update_bookmarks);
+PREP(update_everything);
+PREP(update_firemode);
\ No newline at end of file
diff --git a/addons/firesupport/config.cpp b/addons/firesupport/config.cpp
new file mode 100644
index 0000000..82c2413
--- /dev/null
+++ b/addons/firesupport/config.cpp
@@ -0,0 +1,168 @@
+#include "script_component.hpp"
+
+class CfgPatches
+{
+ class Tun_Firesupport
+ {
+ units[] = { QGVAR(gun_classname) };
+ weapons[] = {};
+ requiredVersion = 1.94;
+ requiredAddons[] = {"A3_Modules_F","3DEN","cba_main","cba_xeh","cba_settings","ace_common","ace_interaction","ace_interact_menu"};
+ author = "Tuntematon";
+ authorUrl = "https://armafinland.fi/";
+ };
+};
+
+#include "Firesupport_dialog.hpp"
+#include "CfgSounds.hpp"
+
+class CfgFactionClasses
+{
+ class NO_CATEGORY;
+ class GVAR(category) : NO_CATEGORY
+ {
+ displayName = $STR_tun_firesupport_module_category;
+ };
+};
+
+
+
+class Extended_PostInit_EventHandlers {
+ class Tun_Firesupport {
+ init = QUOTE(call COMPILE_FILE(XEH_postInit));
+ };
+};
+
+class Extended_PreInit_EventHandlers {
+ class Tun_Firesupport {
+ init = QUOTE( call COMPILE_FILE(XEH_preInit) );
+ };
+};
+
+class CfgVehicles {
+ class Man;
+ class CAManBase: Man {
+ class ACE_SelfActions {
+ class ACE_Equipment {
+ class GVAR(openDialog) {
+ displayName = "Firesupport";
+ condition = QUOTE('tun_tablet' in items _player);
+ statement = QUOTE([] call FUNC(open_dialog));
+ exceptions[] = {"isNotDragging", "notOnMap", "isNotInside", "isNotSitting"};
+ icon = "\x\Tun\addons\artycomputer_models\data\tablet_icon.paa";
+ };
+ };
+ };
+ };
+
+
+ class ACE_Module;
+ class GVAR(gun_classname): ACE_Module {
+ author = "Tuntematon";
+ category = QGVAR(category);
+ displayName = $STR_tun_firesupport_module_gun;
+ function = QFUNC(module_gun);
+ scope = 2;// Editor visibility; 2 will show it in the menu, 1 will hide it.
+ isGlobal = 1; // 0 for server only execution, 1 for global execution, 2 for persistent global execution
+ isTriggerActivated = 0;
+ isDisposable = 0; // 1 if modules is to be disabled once it's activated (i.e., repeated trigger activation won't work)
+ //icon = QPATHTOF(UI\Icon_Module_Slideshow_ca.paa);
+ class Arguments {
+ class className {
+ displayName = $STR_tun_firesupport_module_gun_class_displayname;
+ description = $STR_tun_firesupport_module_gun_class_description;
+ typeName = "STRING";
+ defaultValue = "B_Mortar_01_F";
+ };
+
+ class displayName {
+ displayName = $STR_tun_firesupport_module_gun_name_displayname;
+ description = $STR_tun_firesupport_module_gun_name_description;
+ typeName = "STRING";
+ defaultValue = "";
+ };
+
+ class countDown {
+ displayName = $STR_tun_firesupport_module_gun_countDown_displayname;
+ description = $STR_tun_firesupport_module_gun_countDown_description;
+ typeName = "NUMBER";
+ defaultValue = 60;
+ };
+
+ class delayMin {
+ displayName = $STR_tun_firesupport_module_gun_delayMin_displayname;
+ description = $STR_tun_firesupport_module_gun_delayMin_description;
+ typeName = "NUMBER";
+ defaultValue = 2;
+ };
+
+ class spreadMin {
+ displayName = $STR_tun_firesupport_module_gun_spreadMin_displayname;
+ description = $STR_tun_firesupport_module_gun_spreadMin_description;
+ typeName = "NUMBER";
+ defaultValue = 50;
+ };
+
+ class side {
+ displayName = $STR_tun_firesupport_module_gun_side_displayname;
+ description = $STR_tun_firesupport_module_gun_side_description;
+ typeName = "STRING";
+ defaultValue = "";
+ };
+
+ class minRange {
+ displayName = $STR_tun_firesupport_module_gun_minRange_displayname;
+ description = $STR_tun_firesupport_module_gun_minRange_description;
+ typeName = "NUMBER";
+ defaultValue = 0;
+ };
+
+ class maxRange {
+ displayName = $STR_tun_firesupport_module_gun_maxRange_displayname;
+ description = $STR_tun_firesupport_module_gun_maxRange_description;
+ typeName = "NUMBER";
+ defaultValue = 10000;
+ };
+
+ class marker {
+ displayName = $STR_tun_firesupport_module_gun_markerToggle_displayname;
+ description = $STR_tun_firesupport_module_gun_markerToggle_description;
+ typeName = "BOOL";
+ defaultValue = true;
+ };
+
+ };
+ class ModuleDescription {
+ description = $STR_tun_firesupport_module_description_gun;
+ };
+ };
+
+ class GVAR(gun_ammo): ACE_Module {
+ author = "Tuntematon";
+ category = QGVAR(category);
+ displayName = $STR_tun_firesupport_module_ammo;
+ function = "";
+ scope = 2;// Editor visibility; 2 will show it in the menu, 1 will hide it.
+ isGlobal = 1; // 0 for server only execution, 1 for global execution, 2 for persistent global execution
+ isTriggerActivated = 0;
+ isDisposable = 0; // 1 if modules is to be disabled once it's activated (i.e., repeated trigger activation won't work)
+ //icon = QPATHTOF(UI\Icon_Module_Slideshow_ca.paa);
+ class Arguments {
+ class Ammo {
+ displayName = $STR_tun_firesupport_module_ammo_displayname;
+ description = $STR_tun_firesupport_module_ammo_description;
+ typeName = "STRING";
+ defaultValue = "8Rnd_82mm_Mo_shells";
+ };
+ class Count {
+ displayName = $STR_tun_firesupport_module_ammo_count_displayName;
+ description = $STR_tun_firesupport_module_ammo_count_description;
+ typeName = "NUMBER";
+ defaultValue = 0;
+ };
+ };
+ class ModuleDescription {
+ description = $STR_tun_firesupport_module_descriptio_ammo;
+ };
+ };
+};
\ No newline at end of file
diff --git a/addons/firesupport/functions/fnc_calculate_eta.sqf b/addons/firesupport/functions/fnc_calculate_eta.sqf
new file mode 100644
index 0000000..5a3366e
--- /dev/null
+++ b/addons/firesupport/functions/fnc_calculate_eta.sqf
@@ -0,0 +1,94 @@
+/*
+ * Author: [Tuntematon]
+ * [Description]
+ *
+ * Arguments:
+ * 0: The first argument
+ * 1: The second argument