From e02e058ecb549733e7e3366fb2d06e836b9eb9e2 Mon Sep 17 00:00:00 2001 From: KoffeinFlummi Date: Mon, 12 Jan 2015 11:02:44 +0100 Subject: [PATCH 01/18] First port of AGM_FireControlSystem -> ace_fcs Untested --- TO_MERGE/agm/FireControlSystem/Optics.hpp | 257 ----- TO_MERGE/agm/FireControlSystem/clientInit.sqf | 3 - TO_MERGE/agm/FireControlSystem/config.cpp | 899 ------------------ .../functions/fn_canUseFCS.sqf | 14 - .../functions/fn_getImpactPoint.sqf | 36 - .../FireControlSystem/functions/fn_reset.sqf | 22 - addons/fcs/Optics.hpp | 254 +++++ addons/fcs/XEH_clientInit.sqf | 5 + addons/fcs/XEH_preInit.sqf | 12 + addons/fcs/config.cpp | 385 ++++++++ .../fcs/functions/fnc_adjustRange.sqf | 12 +- addons/fcs/functions/fnc_canUseFCS.sqf | 17 + .../fcs/functions/fnc_canUseRangefinder.sqf | 8 +- .../fcs/functions/fnc_firedEH.sqf | 17 +- .../fcs/functions/fnc_getAngle.sqf | 9 +- .../fcs/functions/fnc_getRange.sqf | 10 +- .../fcs/functions/fnc_keyDown.sqf | 10 +- .../fcs/functions/fnc_keyUp.sqf | 48 +- addons/fcs/functions/fnc_reset.sqf | 24 + .../fcs/functions/fnc_vehicleInit.sqf | 18 +- addons/fcs/script_component.hpp | 12 + .../fcs}/stringtable.xml | 18 +- 22 files changed, 791 insertions(+), 1299 deletions(-) delete mode 100644 TO_MERGE/agm/FireControlSystem/Optics.hpp delete mode 100644 TO_MERGE/agm/FireControlSystem/clientInit.sqf delete mode 100644 TO_MERGE/agm/FireControlSystem/config.cpp delete mode 100644 TO_MERGE/agm/FireControlSystem/functions/fn_canUseFCS.sqf delete mode 100644 TO_MERGE/agm/FireControlSystem/functions/fn_getImpactPoint.sqf delete mode 100644 TO_MERGE/agm/FireControlSystem/functions/fn_reset.sqf create mode 100644 addons/fcs/Optics.hpp create mode 100644 addons/fcs/XEH_clientInit.sqf create mode 100644 addons/fcs/XEH_preInit.sqf create mode 100644 addons/fcs/config.cpp rename TO_MERGE/agm/FireControlSystem/functions/fn_adjustRange.sqf => addons/fcs/functions/fnc_adjustRange.sqf (74%) create mode 100644 addons/fcs/functions/fnc_canUseFCS.sqf rename TO_MERGE/agm/FireControlSystem/functions/fn_canUseRangefinder.sqf => addons/fcs/functions/fnc_canUseRangefinder.sqf (68%) rename TO_MERGE/agm/FireControlSystem/functions/fn_firedEH.sqf => addons/fcs/functions/fnc_firedEH.sqf (68%) rename TO_MERGE/agm/FireControlSystem/functions/fn_getAngle.sqf => addons/fcs/functions/fnc_getAngle.sqf (91%) rename TO_MERGE/agm/FireControlSystem/functions/fn_getRange.sqf => addons/fcs/functions/fnc_getRange.sqf (75%) rename TO_MERGE/agm/FireControlSystem/functions/fn_keyDown.sqf => addons/fcs/functions/fnc_keyDown.sqf (79%) rename TO_MERGE/agm/FireControlSystem/functions/fn_keyUp.sqf => addons/fcs/functions/fnc_keyUp.sqf (80%) create mode 100644 addons/fcs/functions/fnc_reset.sqf rename TO_MERGE/agm/FireControlSystem/functions/fn_vehicleInit.sqf => addons/fcs/functions/fnc_vehicleInit.sqf (63%) create mode 100644 addons/fcs/script_component.hpp rename {TO_MERGE/agm/FireControlSystem => addons/fcs}/stringtable.xml (89%) diff --git a/TO_MERGE/agm/FireControlSystem/Optics.hpp b/TO_MERGE/agm/FireControlSystem/Optics.hpp deleted file mode 100644 index 0024a9d7ce..0000000000 --- a/TO_MERGE/agm/FireControlSystem/Optics.hpp +++ /dev/null @@ -1,257 +0,0 @@ - -#define MACRO_RANGERFINDER \ - class CA_Distance; \ - class AGM_CA_Distance: CA_Distance { \ - idc = 1713151; \ - text = "----"; \ - }; \ - class AGM_Rangehelper: RscMapControl { \ - onDraw = "((ctrlParent (_this select 0)) displayCtrl 1713151) ctrlShow (cameraView == 'GUNNER');"; \ - w = 0; \ - h = 0; \ - }; - -class RscControlsGroup; -class RscMapControl; - -class RscInGameUI { - class RscUnitInfo; - class RscUnitInfo_AH64D_gunner { - onLoad = ""; - controls[] = {"CA_Distance", "AGM_CA_Distance"}; - MACRO_RANGERFINDER - }; - class RscWeaponRangeFinder { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; - controls[] = {"CA_Distance", "AGM_CA_Distance"}; - MACRO_RANGERFINDER - }; - //class RscWeaponRangeArtillery - //class RscWeaponRangeArtilleryAuto - - class RscWeaponRangeFinderPAS13 { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; - MACRO_RANGERFINDER - }; - class RscOptics_Rangefinder: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_LaserDesignator { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscWeaponRangeFinderMAAWS { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscWeaponRangeFinderAbramsCom { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; - controls[] = {"CA_Distance", "AGM_CA_Distance"}; - MACRO_RANGERFINDER - }; - class RscWeaponRangeFinderAbramsGun { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; - controls[] = {"CA_Distance", "AGM_CA_Distance"}; - MACRO_RANGERFINDER - }; - class RscWeaponRangeFinderStrykerMGSGun { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; - controls[] = {"CA_Distance", "AGM_CA_Distance"}; - MACRO_RANGERFINDER - }; - class RscOptics_crows: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_strider_commander { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - - class RscWeaponRangeZeroing: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - controls[] = {"CA_Zeroing", "CA_DistanceText", "CA_Distance", "AGM_CA_Distance", "AGM_Rangehelper"}; - MACRO_RANGERFINDER - }; - class RscOptics_sos: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_nightstalker: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_tws: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_punisher { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_tws_sniper: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_SDV_periscope { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_Heli_Attack_02_gunner: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_Heli_Attack_01_gunner: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_UAV_gunner: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_UGV_gunner: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_APC_Tracked_01_gunner: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_APC_Tracked_03_gunner: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_APC_Wheeled_01_gunner: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_APC_Wheeled_03_commander: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_APC_Wheeled_03_gunner: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_MBT_01_commander: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_MBT_01_gunner: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_MBT_02_commander: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_MBT_02_gunner: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; - class RscOptics_MBT_03_gunner: RscUnitInfo { - onLoad = "uiNamespace setVariable ['AGM_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; - class CA_IGUI_elements_group: RscControlsGroup { - class controls { - MACRO_RANGERFINDER - }; - }; - }; -}; diff --git a/TO_MERGE/agm/FireControlSystem/clientInit.sqf b/TO_MERGE/agm/FireControlSystem/clientInit.sqf deleted file mode 100644 index 291cfeedd5..0000000000 --- a/TO_MERGE/agm/FireControlSystem/clientInit.sqf +++ /dev/null @@ -1,3 +0,0 @@ -AGM_FCSEnabled = true; -AGM_FCSTime = -1; -AGM_FCSPosition = [0,0,0]; diff --git a/TO_MERGE/agm/FireControlSystem/config.cpp b/TO_MERGE/agm/FireControlSystem/config.cpp deleted file mode 100644 index e5e279ef6e..0000000000 --- a/TO_MERGE/agm/FireControlSystem/config.cpp +++ /dev/null @@ -1,899 +0,0 @@ -class CfgPatches { - class AGM_FireControlSystem { - units[] = {}; - weapons[] = {}; - requiredVersion = 0.60; - requiredAddons[] = {AGM_Core, AGM_Interaction}; - version = "0.95"; - versionStr = "0.95"; - versionAr[] = {0,95,0}; - author[] = {"KoffeinFlummi","BadGuy (simon84)"}; - authorUrl = "https://github.com/KoffeinFlummi/"; - }; -}; - -// @todo: clean up inheritance and remove old code - -class CfgFunctions { - class AGM_FCS { - class AGM_FCS { - file = "AGM_FireControlSystem\functions"; - class adjustRange; - class canUseFCS; - class canUseRangefinder; - class firedEH; - class getAngle; - class getImpactPoint; - class getRange; - class keyDown; - class keyUp; - class reset; - class vehicleInit; - }; - }; -}; - -class Extended_PostInit_EventHandlers { - class AGM_FCS { - clientInit = "call compile preprocessFileLineNumbers '\AGM_FireControlSystem\clientInit.sqf'"; - }; -}; - -class Extended_Init_EventHandlers { - class AllVehicles { - class AGM_FCS { - clientInit = "_this call AGM_FCS_fnc_vehicleInit"; - }; - }; -}; - -class AGM_Core_Default_Keys { - class laseTarget { - displayName = "$STR_AGM_FireControlSystem_LaseTarget"; - condition = "call AGM_FCS_fnc_canUseRangefinder || AGM_FCS_fnc_canUseFCS"; - statement = "_range = call AGM_FCS_fnc_getRange; if (call AGM_FCS_fnc_canUseFCS) then {[_vehicle, _range] call AGM_FCS_fnc_keyDown};"; - conditionUp = "AGM_FCSEnabled && AGM_FCS_fnc_canUseFCS"; - statementUp = "_range = call AGM_FCS_fnc_getRange; if (AGM_FCSEnabled && AGM_FCS_fnc_canUseFCS) then {[_vehicle, _range] call AGM_FCS_fnc_keyUp};"; - key = 15; - shift = 0; - control = 0; - alt = 0; - }; - class adjustRangeUp { - displayName = "$STR_AGM_FireControlSystem_AdjustRangeUp"; - condition = "player == gunner _vehicle && {getNumber (configFile >> 'CfgVehicles' >> (typeOf _vehicle) >> 'AGM_FCSEnabled') == 1}"; - statement = "[_vehicle, 50] call AGM_FCS_fnc_adjustRange"; - key = 201; - shift = 0; - control = 0; - alt = 0; - allowHolding = 1; - }; - class adjustRangeDown: adjustRangeUp { - displayName = "$STR_AGM_FireControlSystem_AdjustRangeDown"; - statement = "[_vehicle, -50] call AGM_FCS_fnc_adjustRange"; - key = 209; - }; -}; - -class CfgVehicles { - class All { - class Turrets; - }; - - class AllVehicles: All { - AGM_FCSEnabled = 0; - AGM_FCSMinDistance = 200; - AGM_FCSMaxDistance = 9990; - AGM_FCSDistanceInterval = 5; - class NewTurret { - class Turrets; - }; - class CargoTurret; - }; - - class Land: AllVehicles {}; - - class LandVehicle: Land { - class CommanderOptics; - }; - - class Car: LandVehicle { - class AGM_SelfActions { - class AGM_ResetFCS { - displayName = "$STR_AGM_FireControlSystem_ResetFCS"; - condition = "(count (vehicle _player getVariable ['AGM_FCSMagazines', []]) > 1) and (_player == gunner (vehicle _player))"; - statement = "[vehicle _player] call AGM_FCS_fnc_reset;"; - showDisabled = 0; - priority = -1; - }; - }; - }; - - class Tank: LandVehicle { - AGM_FCSEnabled = 1; // all tracked vehicles get one by default - class AGM_SelfActions { - class AGM_ResetFCS { - displayName = "$STR_AGM_FireControlSystem_ResetFCS"; - enableInside = 1; - condition = "(count (_vehicle getVariable ['AGM_FCSMagazines', []]) > 1) and (_player == gunner _vehicle)"; - statement = "[vehicle _player] call AGM_FCS_fnc_reset;"; - showDisabled = 0; - priority = 1; - icon = ""; - }; - }; - class Turrets { - class MainTurret: NewTurret { - class Turrets { - class CommanderOptics; - }; - }; - }; - }; - - class APC: Tank { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - };*/ - }; - - class Air: AllVehicles {}; - - class Helicopter: Air { - class Turrets { - class MainTurret; - }; - }; - - class Plane: Air {}; - - class Ship: AllVehicles { - class Turrets { - class MainTurret; - }; - }; - - class Helicopter_Base_F: Helicopter { - class Turrets: Turrets { - class CopilotTurret; - }; - }; - - class Helicopter_Base_H: Helicopter_Base_F { - class Turrets: Turrets { - class CopilotTurret; - }; - }; - - class Heli_Light_01_base_F: Helicopter_Base_H { - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - };*/ - }; - - class B_Heli_Light_01_F: Heli_Light_01_base_F { - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - class CargoTurret_03: CargoTurret_02 {}; - class CargoTurret_04: CargoTurret_01 {}; - };*/ - }; - - class Heli_Light_01_armed_base_F: Heli_Light_01_base_F { - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - };*/ - }; - - class Heli_Light_02_base_F: Helicopter_Base_H { - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - };*/ - }; - - class Plane_Base_F: Plane { - class Turrets { - class CopilotTurret; - }; - }; - - class Heli_Attack_01_base_F: Helicopter_Base_F { - AGM_FCSEnabled = 1; - class Turrets: Turrets { - class MainTurret: MainTurret { - discreteDistance[] = {}; - discreteDistanceInitIndex = 0; - }; - }; - }; - - class Heli_Attack_02_base_F: Helicopter_Base_F { - AGM_FCSEnabled = 1; - class Turrets: Turrets { - class MainTurret: MainTurret { - discreteDistance[] = {}; - discreteDistanceInitIndex = 0; - }; - }; - }; - - class Heli_Transport_01_base_F: Helicopter_Base_H { - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - class MainTurret: MainTurret {}; - class RightDoorGun: MainTurret {}; - };*/ - }; - - class Heli_Transport_02_base_F: Helicopter_Base_H { - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class I_Heli_light_03_base_F: Helicopter_Base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - };*/ - }; - - class I_Heli_light_03_F: I_Heli_light_03_base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class Plane_CAS_01_base_F: Plane_Base_F { - class Turrets; - }; - - class Plane_CAS_02_base_F: Plane_Base_F { - class Turrets; - }; - - class Plane_Fighter_03_base_F: Plane_Base_F { - class Turrets; - }; - - class Tank_F: Tank { - class Turrets { - class MainTurret: NewTurret { - class Turrets { - class CommanderOptics;//: CommanderOptics {}; - }; - }; - }; - }; - - class Car_F: Car { - class Turrets { - class MainTurret; - }; - }; - - class Wheeled_APC_F: Car_F { - class Turrets { - class MainTurret: NewTurret { - class Turrets { - class CommanderOptics;//: CommanderOptics {}; - }; - }; - }; - }; - - class APC_Tracked_01_base_F: Tank_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret { - class Turrets; - }; - };*/ - }; - - class B_APC_Tracked_01_base_F: APC_Tracked_01_base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - };*/ - }; - - class B_APC_Tracked_01_rcws_F: B_APC_Tracked_01_base_F { - AGM_FCSEnabled = 0; - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - class CommanderOptics: CommanderOptics {}; - };*/ - }; - - class B_APC_Tracked_01_CRV_F: B_APC_Tracked_01_base_F { - AGM_FCSEnabled = 0; - }; - - class B_APC_Tracked_01_AA_F: B_APC_Tracked_01_base_F { - class Turrets: Turrets { - class MainTurret: MainTurret { - discreteDistance[] = {}; - discreteDistanceInitIndex = 0; - magazines[] += {"AGM_120Rnd_35mm_ABM_shells_Tracer_Red"}; - /*class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - };*/ - }; - }; - }; - - class APC_Tracked_02_base_F: Tank_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret { - class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - }; - }; - };*/ - }; - - class O_APC_Tracked_02_base_F: APC_Tracked_02_base_F {}; - - class O_APC_Tracked_02_cannon_F: O_APC_Tracked_02_base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - };*/ - }; - - class O_APC_Tracked_02_AA_F: O_APC_Tracked_02_base_F { - class Turrets: Turrets { - class MainTurret: MainTurret { - magazines[] += {"AGM_120Rnd_35mm_ABM_shells_Tracer_Green"}; - /*class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - };*/ - }; - }; - }; - - class APC_Tracked_03_base_F: Tank_F { - class Turrets: Turrets { - class MainTurret: MainTurret { - discreteDistance[] = {}; - discreteDistanceInitIndex = 0; - /*class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - };*/ - }; - }; - }; - - class MBT_03_base_F: Tank_F { - class Turrets: Turrets { - class MainTurret: MainTurret { - discreteDistance[] = {}; - discreteDistanceInitIndex = 0; - /*class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - };*/ - }; - }; - }; - - class MBT_01_base_F: Tank_F { - class Turrets: Turrets { - class MainTurret: MainTurret { - discreteDistance[] = {}; - discreteDistanceInitIndex = 0; - /*class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - };*/ - }; - }; - }; - - class B_MBT_01_base_F: MBT_01_base_F {}; - - class B_MBT_01_cannon_F: B_MBT_01_base_F {}; - - class MBT_01_arty_base_F: MBT_01_base_F { - AGM_FCSEnabled = 0; - /*class Turrets: Turrets { - class MainTurret: MainTurret { - class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - }; - }; - };*/ - }; - - class MBT_01_mlrs_base_F: MBT_01_base_F { - AGM_FCSEnabled = 0; - /*class Turrets: Turrets { - class MainTurret: MainTurret { - class Turrets; - }; - };*/ - }; - - class MBT_02_base_F: Tank_F { - class Turrets: Turrets { - class MainTurret: MainTurret { - discreteDistance[] = {}; - discreteDistanceInitIndex = 0; - /*class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - };*/ - }; - }; - }; - - class MBT_02_arty_base_F: MBT_02_base_F { - AGM_FCSEnabled = 0; - /*class Turrets: Turrets { - class MainTurret: MainTurret { - class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - }; - }; - };*/ - }; - - class Ship_F: Ship {}; - - class Boat_F: Ship_F {}; - - class Boat_Armed_01_base_F: Boat_F { - class Turrets: Turrets { - class FrontTurret; - class RearTurret: FrontTurret {}; - }; - }; - - /*class Boat_Armed_01_minigun_base_F: Boat_Armed_01_base_F { - class Turrets: Turrets { - class FrontTurret: FrontTurret {}; - class RearTurret: RearTurret {}; - }; - };*/ - - class Truck_F: Car_F { - //class Turrets: Turrets {}; - }; - - class MRAP_01_base_F: Car_F {}; - - class MRAP_01_gmg_base_F: MRAP_01_base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - };*/ - }; - - class MRAP_01_hmg_base_F: MRAP_01_gmg_base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - };*/ - }; - - class B_MRAP_01_F: MRAP_01_base_F { - class Turrets; - }; - - class MRAP_02_base_F: Car_F {}; - - class MRAP_02_hmg_base_F: MRAP_02_base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - };*/ - }; - - class MRAP_02_gmg_base_F: MRAP_02_hmg_base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - };*/ - }; - - class O_MRAP_02_F: MRAP_02_base_F { - class Turrets; - }; - - class Offroad_01_base_F: Car_F {}; - - class C_Offroad_01_F: Offroad_01_base_F { - /*class Turrets: Turrets { - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - class CargoTurret_03: CargoTurret_01 {}; - class CargoTurret_04: CargoTurret_03 {}; - };*/ - }; - - class Offroad_01_repair_base_F: Offroad_01_base_F { - class Turrets; - }; - - class I_G_Offroad_01_F: Offroad_01_base_F { - /*class Turrets: Turrets { - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - class CargoTurret_03: CargoTurret_01 {}; - class CargoTurret_04: CargoTurret_03 {}; - };*/ - }; - - class Offroad_01_armed_base_F: Offroad_01_base_F { - /*class Turrets: Turrets { - class M2_Turret: MainTurret {}; - };*/ - }; - - class MRAP_03_base_F: Car_F { - /*class Turrets: Turrets { - class CommanderTurret: MainTurret {}; - };*/ - }; - - class MRAP_03_hmg_base_F: MRAP_03_base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - class CommanderTurret: CommanderTurret {}; - };*/ - }; - - class MRAP_03_gmg_base_F: MRAP_03_hmg_base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - class CommanderTurret: CommanderTurret {}; - };*/ - }; - - class Truck_01_base_F: Truck_F { - class Turrets; - }; - - class B_Truck_01_transport_F: Truck_01_base_F { - /*class Turrets: Turrets { - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class Truck_02_base_F: Truck_F { - class Turrets; - }; - - class O_Truck_02_covered_F: Truck_02_base_F { - /*class Turrets: Turrets { - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class O_Truck_02_transport_F: Truck_02_base_F { - /*class Turrets: Turrets { - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class I_Truck_02_covered_F: Truck_02_base_F { - /*class Turrets: Turrets { - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class I_Truck_02_transport_F: Truck_02_base_F { - /*class Turrets: Turrets { - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class Truck_03_base_F: Truck_F { - class Turrets; - }; - - class O_Truck_03_transport_F: Truck_03_base_F { - /*class Turrets: Turrets { - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class O_Truck_03_covered_F: Truck_03_base_F { - /*class Turrets: Turrets { - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class Hatchback_01_base_F: Car_F { - class Turrets; - }; - - class SUV_01_base_F: Car_F { - class Turrets; - }; - - class B_Truck_01_mover_F: B_Truck_01_transport_F { - class Turrets; - }; - - class Van_01_base_F: Truck_F { - class Turrets; - }; - - class C_Van_01_transport_F: Van_01_base_F { - //class Turrets: Turrets {}; - }; - - class I_G_Van_01_transport_F: Van_01_base_F { - /*class Turrets: Turrets { - class CargoTurret_L1: CargoTurret {}; - class CargoTurret_L2: CargoTurret_L1 {}; - class CargoTurret_L3: CargoTurret_L1 {}; - class CargoTurret_L4: CargoTurret_L1 {}; - class CargoTurret_L5: CargoTurret_L1 {}; - - class CargoTurret_R1: CargoTurret_L1 {}; - class CargoTurret_R2: CargoTurret_L1 {}; - class CargoTurret_R3: CargoTurret_L1 {}; - class CargoTurret_R4: CargoTurret_L1 {}; - class CargoTurret_R5: CargoTurret_L1 {}; - };*/ - }; - - class Kart_01_Base_F: Car_F { - class Turrets; - }; - - class B_Heli_Transport_03_base_F: Helicopter_Base_H { - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - class MainTurret: MainTurret {}; - class RightDoorGun: MainTurret {}; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class B_Heli_Transport_03_unarmed_base_F: B_Heli_Transport_03_base_F { - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - class MainTurret: MainTurret {}; - class RightDoorGun: MainTurret {}; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class Heli_Transport_04_base_F: Helicopter_Base_H { - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - class LoadmasterTurret: MainTurret {}; - };*/ - }; - - class O_Heli_Transport_04_bench_F: Heli_Transport_04_base_F { - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - class LoadmasterTurret: LoadmasterTurret {}; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - class CargoTurret_03: CargoTurret_01 {}; - class CargoTurret_04: CargoTurret_01 {}; - class CargoTurret_05: CargoTurret_01 {}; - class CargoTurret_06: CargoTurret_05 {}; - class CargoTurret_07: CargoTurret_05 {}; - class CargoTurret_08: CargoTurret_05 {}; - };*/ - }; - - class O_Heli_Transport_04_covered_F: Heli_Transport_04_base_F { - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - class LoadmasterTurret: LoadmasterTurret {}; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - };*/ - }; - - class APC_Wheeled_01_base_F: Wheeled_APC_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret { - class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - }; - }; - };*/ - }; - - class B_APC_Wheeled_01_base_F: APC_Wheeled_01_base_F {}; - - class B_APC_Wheeled_01_cannon_F: B_APC_Wheeled_01_base_F { - AGM_FCSEnabled = 1; - class Turrets: Turrets { - class MainTurret: MainTurret { - discreteDistance[] = {}; - discreteDistanceInitIndex = 0; - }; - }; - }; - - class APC_Wheeled_02_base_F: Wheeled_APC_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret { - class Turrets; - }; - - class CommanderOptics: CommanderOptics {}; - };*/ - }; - - class B_MBT_01_TUSK_F: B_MBT_01_cannon_F { - class Turrets: Turrets { - class MainTurret: MainTurret { - discreteDistance[] = {}; - discreteDistanceInitIndex = 0; - /*class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - };*/ - }; - }; - }; - - class APC_Wheeled_03_base_F: Wheeled_APC_F { - AGM_FCSEnabled = 1; - class Turrets: Turrets { - class MainTurret: MainTurret { - discreteDistance[] = {}; - discreteDistanceInitIndex = 0; - /*class Turrets: Turrets { - class CommanderOptics: CommanderOptics {}; - };*/ - }; - }; - }; - - class I_APC_Wheeled_03_base_F: APC_Wheeled_03_base_F {}; - - class I_APC_Wheeled_03_cannon_F: I_APC_Wheeled_03_base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - };*/ - }; -}; - -// disable locking, so it doesn't interfere with our system -class CfgWeapons { - class CannonCore; - class cannon_120mm: CannonCore { - canLock = 0; - ballisticsComputer = 0; - }; - class autocannon_Base_F: CannonCore { - canLock = 0; - ballisticsComputer = 0; - }; - class autocannon_35mm: CannonCore { - canLock = 0; - ballisticsComputer = 0; - magazines[] += {"AGM_120Rnd_35mm_ABM_shells","AGM_120Rnd_35mm_ABM_shells_Tracer_Red","AGM_120Rnd_35mm_ABM_shells_Tracer_Green","AGM_120Rnd_35mm_ABM_shells_Tracer_Yellow"}; - }; - /*class Cannon_30mm_Plane_CAS_02_F: CannonCore { - canLock = 0; - ballisticsComputer = 0; - };*/ - - /*class gatling_20mm: CannonCore { - canLock = 0; - ballisticsComputer = 0; - }; - class gatling_25mm: CannonCore { - canLock = 0; - }; - class gatling_30mm: CannonCore { - canLock = 0; - ballisticsComputer = 0; - }; - class Gatling_30mm_Plane_CAS_01_F: CannonCore { - canLock = 0; - ballisticsComputer = 0; - };*/ - - /*class MGunCore; - class M134_minigun: MGunCore { - canLock = 0; - }; - - class MGun: MGunCore {}; - class LMG_RCWS: MGun { - canLock = 0; - ballisticsComputer = 0; - }; - class HMG_127: LMG_RCWS { - ballisticsComputer = 0; - }; - class GMG_F: MGun { - canLock = 0; - ballisticsComputer = 0; - };*/ - - // fix mrco having an invisible rangefinder - class ItemCore; - class optic_MRCO: ItemCore { - weaponInfoType = "RscWeaponZeroing"; - }; -}; - -class CfgMagazines { - class 680Rnd_35mm_AA_shells; - class 680Rnd_35mm_AA_shells_Tracer_Red; - class 680Rnd_35mm_AA_shells_Tracer_Green; - class 680Rnd_35mm_AA_shells_Tracer_Yellow; - - class AGM_120Rnd_35mm_ABM_shells: 680Rnd_35mm_AA_shells { - ammo = "AGM_B_35mm_ABM"; - count = 120; - displayName = "35mm ABM Shells"; - displayNameShort = "35mm ABM"; - }; - class AGM_120Rnd_35mm_ABM_shells_Tracer_Red: 680Rnd_35mm_AA_shells_Tracer_Red { - ammo = "AGM_B_35mm_ABM_Tracer_Red"; - count = 120; - displayName = "35mm ABM Shells"; - displayNameShort = "35mm ABM-T"; - }; - class AGM_120Rnd_35mm_ABM_shells_Tracer_Green: 680Rnd_35mm_AA_shells_Tracer_Green { - ammo = "AGM_B_35mm_ABM_Tracer_Green"; - count = 120; - displayName = "35mm ABM Shells"; - displayNameShort = "35mm ABM-T"; - }; - class AGM_120Rnd_35mm_ABM_shells_Tracer_Yellow: 680Rnd_35mm_AA_shells_Tracer_Yellow { - ammo = "AGM_B_35mm_ABM_Tracer_Yellow"; - count = 120; - displayName = "35mm ABM Shells"; - displayNameShort = "35mm ABM-T"; - }; -}; - -class CfgAmmo { - class B_35mm_AA; - class B_35mm_AA_Tracer_Red; - class B_35mm_AA_Tracer_Green; - class B_35mm_AA_Tracer_Yellow; - - class AGM_B_35mm_ABM: B_35mm_AA { - AGM_Airburst = 1; - deflecting = 0; - }; - class AGM_B_35mm_ABM_Tracer_Red: B_35mm_AA_Tracer_Red { - AGM_Airburst = 1; - deflecting = 0; - }; - class AGM_B_35mm_ABM_Tracer_Green: B_35mm_AA_Tracer_Green { - AGM_Airburst = 1; - deflecting = 0; - }; - class AGM_B_35mm_ABM_Tracer_Yellow: B_35mm_AA_Tracer_Yellow { - AGM_Airburst = 1; - deflecting = 0; - }; - - class AGM_B_35mm_ABM_Helper: B_35mm_AA { - indirectHitRange = 6; - simulation = "shotRocket"; - timeToLive = 0; - }; -}; - -#include diff --git a/TO_MERGE/agm/FireControlSystem/functions/fn_canUseFCS.sqf b/TO_MERGE/agm/FireControlSystem/functions/fn_canUseFCS.sqf deleted file mode 100644 index d988c1b791..0000000000 --- a/TO_MERGE/agm/FireControlSystem/functions/fn_canUseFCS.sqf +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Author: commy2 - * - * Called from config. Returns true if the player is a gunner and the players current vehicle has a FCS. - * - * Argument: - * Nothing - * - * Return value: - * Boolean (Bool) - */ - -_player == gunner _vehicle && {getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "AGM_FCSEnabled") == 1} -&& {cameraView == "GUNNER"} diff --git a/TO_MERGE/agm/FireControlSystem/functions/fn_getImpactPoint.sqf b/TO_MERGE/agm/FireControlSystem/functions/fn_getImpactPoint.sqf deleted file mode 100644 index 68c9cb04bb..0000000000 --- a/TO_MERGE/agm/FireControlSystem/functions/fn_getImpactPoint.sqf +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Author: KoffeinFlummi - * - * Gets the impact point if the given bomb were to be dropped at the - * the current time from the given vehicle. - * - * !!! Experimental !!! - * - * Arguments: - * 0: Vehicle - * 1: Classname of bomb - * - * Return Value: - * Coordinates of hit in ATL - */ - -_vehicle = _this select 0; -_projectile = _this select 1; - -_velocity = velocity (_vehicle); -_position = getPosASL _vehicle; - -_airFriction = getNumber (configFile >> "CfgAmmo" >> _projectile >> "airFriction"); -_simulationStep = getNumber (configFile >> "CfgAmmo" >> _projectile >> "simulationStep"); -_timeToLive = getNumber (configFile >> "CfgAmmo" >> _projectile >> "timeToLive"); - -_time = 0; -while {_time < _timeToLive and (ASLToATL _position) select 2 > 0} do { - _position = _position vectorAdd (_velocity vectorMultiply _simulationStep); - _velMag = vectorMagnitude _velocity; - _velocity = _velocity vectorAdd (_velocity vectorMultiply (_simulationStep * _velMag * _airFriction)); - _velocity set [2, (_velocity select 2) - 9.81 * _simulationStep]; - _time = _time + _simulationStep; -}; - -_position diff --git a/TO_MERGE/agm/FireControlSystem/functions/fn_reset.sqf b/TO_MERGE/agm/FireControlSystem/functions/fn_reset.sqf deleted file mode 100644 index 086826b1af..0000000000 --- a/TO_MERGE/agm/FireControlSystem/functions/fn_reset.sqf +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Author: KoffeinFlummi - * - * Resets the FCS to default. - * - * Arguments: - * 0: Vehicle - * - * Return Value: - * none - */ - -private ["_vehicle"]; - -_vehicle = _this select 0; - -_vehicle setVariable ["AGM_FCSDistance", 0, true]; -_vehicle setVariable ["AGM_FCSMagazines", [], true]; -_vehicle setVariable ["AGM_FCSElevation", 0, true]; -_vehicle setVariable ["AGM_FCSAzimuth", 0, true]; - -[localize "STR_AGM_FireControlSystem_HasBeenReset"] call AGM_Core_fnc_displayTextStructured; diff --git a/addons/fcs/Optics.hpp b/addons/fcs/Optics.hpp new file mode 100644 index 0000000000..a5af4d175d --- /dev/null +++ b/addons/fcs/Optics.hpp @@ -0,0 +1,254 @@ +#define MACRO_RANGEFINDER \ + class CA_Distance; \ + class ACE_CA_Distance: CA_Distance { \ + idc = 1713151; \ + text = "----"; \ + }; \ + class ACE_Rangehelper: RscMapControl { \ + onDraw = "((ctrlParent (_this select 0)) displayCtrl 1713151) ctrlShow (cameraView == 'GUNNER');"; \ + w = 0; \ + h = 0; \ + }; + +class RscControlsGroup; +class RscMapControl; + +class RscInGameUI { + class RscUnitInfo; + class RscUnitInfo_AH64D_gunner { + onLoad = ""; + controls[] = {"CA_Distance", "ACE_CA_Distance"}; + MACRO_RANGEFINDER + }; + class RscWeaponRangeFinder { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; + controls[] = {"CA_Distance", "ACE_CA_Distance"}; + MACRO_RANGEFINDER + }; + + class RscWeaponRangeFinderPAS13 { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; + MACRO_RANGEFINDER + }; + class RscOptics_Rangefinder: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_LaserDesignator { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscWeaponRangeFinderMAAWS { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscWeaponRangeFinderAbramsCom { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; + controls[] = {"CA_Distance", "ACE_CA_Distance"}; + MACRO_RANGEFINDER + }; + class RscWeaponRangeFinderAbramsGun { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; + controls[] = {"CA_Distance", "ACE_CA_Distance"}; + MACRO_RANGEFINDER + }; + class RscWeaponRangeFinderStrykerMGSGun { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; + controls[] = {"CA_Distance", "ACE_CA_Distance"}; + MACRO_RANGEFINDER + }; + class RscOptics_crows: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_strider_commander { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + + class RscWeaponRangeZeroing: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + controls[] = {"CA_Zeroing", "CA_DistanceText", "CA_Distance", "ACE_CA_Distance", "ACE_Rangehelper"}; + MACRO_RANGEFINDER + }; + class RscOptics_sos: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_nightstalker: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_tws: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_punisher { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_tws_sniper: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_SDV_periscope { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0];"; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_Heli_Attack_02_gunner: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_Heli_Attack_01_gunner: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_UAV_gunner: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_UGV_gunner: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_APC_Tracked_01_gunner: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_APC_Tracked_03_gunner: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_APC_Wheeled_01_gunner: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_APC_Wheeled_03_commander: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_APC_Wheeled_03_gunner: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_MBT_01_commander: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_MBT_01_gunner: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_MBT_02_commander: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_MBT_02_gunner: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; + class RscOptics_MBT_03_gunner: RscUnitInfo { + onLoad = "uiNamespace setVariable ['ACE_dlgRangefinder', _this select 0]; ((_this select 0) displayCtrl 151) ctrlSetTextColor [0, 0, 0, 0]; [""onLoad"",_this,""RscUnitInfo"",'IGUI'] call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf"""; + class CA_IGUI_elements_group: RscControlsGroup { + class controls { + MACRO_RANGEFINDER + }; + }; + }; +}; diff --git a/addons/fcs/XEH_clientInit.sqf b/addons/fcs/XEH_clientInit.sqf new file mode 100644 index 0000000000..4409feb4d5 --- /dev/null +++ b/addons/fcs/XEH_clientInit.sqf @@ -0,0 +1,5 @@ +#include "script_component.hpp" + +GVAR(enabled) = True; +GVAR(time) = True; +GVAR(position) = True; diff --git a/addons/fcs/XEH_preInit.sqf b/addons/fcs/XEH_preInit.sqf new file mode 100644 index 0000000000..c9726ac36b --- /dev/null +++ b/addons/fcs/XEH_preInit.sqf @@ -0,0 +1,12 @@ +#include "script_component.hpp" + +PREPF(adjustRange) +PREPF(canUseFCS) +PREPF(canUseRangefinder) +PREPF(firedEH) +PREPF(getAngle) +PREPF(getRange) +PREPF(keyDown) +PREPF(keyUp) +PREPF(reset) +PREPF(vehicleInit) diff --git a/addons/fcs/config.cpp b/addons/fcs/config.cpp new file mode 100644 index 0000000000..88ab47e156 --- /dev/null +++ b/addons/fcs/config.cpp @@ -0,0 +1,385 @@ +#include "script_component.hpp" + +class CfgPatches { + class ADDON { + units[] = {}; + weapons[] = {}; + requiredVersion = 0.60; + requiredAddons[] = {ace_core, ace_interaction}; + version = "1.0"; + versionStr = "1.0"; + versionAr[] = {1,0,0}; + author[] = {"KoffeinFlummi","BadGuy (simon84)"}; + authorUrl = "https://github.com/KoffeinFlummi/"; + }; +}; + +class Extended_PostInit_EventHandlers { + class ADDON { + clientInit = QUOTE(call compile preprocessFileLineNumbers PATHTOF(XEH_clientInit.sqf)); + }; +}; + +class Extended_Init_EventHandlers { + class AllVehicles { + class ADDON { + clientInit = QUOTE(_this call FUNC(vehicleInit)); + }; + }; +}; + +class EGVAR(Core, Default_Keys) { + class laseTarget { + displayName = $STR_ACE_FireControlSystem_LaseTarget; + condition = QUOTE(call FUNC(canUseRangefinder) || FUNC(canUseFCS)); + statement = QUOTE(_range = call FUNC(getRange); if (call FUNC(canUseFCS)) then {[_vehicle, _range] call FUNC(keyDown)};); + conditionUp = QUOTE(GVAR(enabled) && FUNC(canUseFCS)); + statementUp = QUOTE(_range = call FUNC(getRange); if (GVAR(enabled) && FUNC(canUseFCS)) then {[_vehicle, _range] call FUNC(keyUp)};); + key = 15; + shift = 0; + control = 0; + alt = 0; + }; + class adjustRangeUp { + displayName = $STR_ACE_FireControlSystem_AdjustRangeUp; + condition = QUOTE(ACE_player == gunner _vehicle && {getNumber (configFile >> 'CfgVehicles' >> (typeOf _vehicle) >> QGVAR(Enabled)) == 1}); + statement = QUOTE([_vehicle, 50] call FUNC(adjustRange)); + key = 201; + shift = 0; + control = 0; + alt = 0; + allowHolding = 1; + }; + class adjustRangeDown: adjustRangeUp { + displayName = $STR_ACE_FireControlSystem_AdjustRangeDown; + statement = QUOTE([_vehicle, -50] call FUNC(adjustRange)); + key = 209; + }; +}; + +class CfgVehicles { + class All { + class Turrets; + }; + + class AllVehicles: All { + GVAR(Enabled) = 0; + GVAR(MinDistance) = 200; + GVAR(MaxDistance) = 9990; + GVAR(DistanceInterval) = 5; + class NewTurret { + class Turrets; + }; + class CargoTurret; + }; + + class Land: AllVehicles {}; + + class LandVehicle: Land { + class CommanderOptics; + }; + + // WHEELED + class Car: LandVehicle { + class ACE_SelfActions { + class ResetFCS { + displayName = $STR_AGM_FireControlSystem_ResetFCS; + enableInside = 1; + condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); + statement = QUOTE([vehicle _player] call FUNC(reset);); + showDisabled = 0; + priority = 1; + icon = ""; + }; + }; + }; + + class Car_F: Car { + class Turrets { + class MainTurret; + }; + }; + + class Wheeled_APC_F: Car_F { + class Turrets { + class MainTurret: NewTurret { + class Turrets { + class CommanderOptics; + }; + }; + }; + }; + + class APC_Wheeled_01_base_F: Wheeled_APC_F {}; + class B_APC_Wheeled_01_base_F: APC_Wheeled_01_base_F {}; + class B_APC_Wheeled_01_cannon_F: B_APC_Wheeled_01_base_F { + GVAR(Enabled) = 1; + class Turrets: Turrets { + class MainTurret: MainTurret { + discreteDistance[] = {}; + discreteDistanceInitIndex = 0; + }; + }; + }; + + class APC_Wheeled_03_base_F: Wheeled_APC_F { + GVAR(Enabled) = 1; + class Turrets: Turrets { + class MainTurret: MainTurret { + discreteDistance[] = {}; + discreteDistanceInitIndex = 0; + }; + }; + }; + + // TRACKED + class Tank: LandVehicle { + GVAR(Enabled) = 1; // all tracked vehicles get one by default + class ACE_SelfActions { + class ResetFCS { + displayName = $STR_AGM_FireControlSystem_ResetFCS; + enableInside = 1; + condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); + statement = QUOTE([vehicle _player] call FUNC(reset);); + showDisabled = 0; + priority = 1; + icon = ""; + }; + }; + class Turrets { + class MainTurret: NewTurret { + class Turrets { + class CommanderOptics; + }; + }; + }; + }; + + class Tank_F: Tank { + class Turrets { + class MainTurret: NewTurret { + class Turrets { + class CommanderOptics; + }; + }; + }; + }; + + class MBT_01_base_F: Tank_F { + class Turrets: Turrets { + class MainTurret: MainTurret { + discreteDistance[] = {}; + discreteDistanceInitIndex = 0; + }; + }; + }; + + class B_MBT_01_base_F: MBT_01_base_F {}; + class B_MBT_01_cannon_F: B_MBT_01_base_F {}; + class B_MBT_01_TUSK_F: B_MBT_01_cannon_F { + class Turrets: Turrets { + class MainTurret: MainTurret { + discreteDistance[] = {}; + discreteDistanceInitIndex = 0; + }; + }; + }; + class MBT_01_arty_base_F: MBT_01_base_F { + GVAR(Enabled) = 0; + }; + class MBT_01_mlrs_base_F: MBT_01_base_F { + GVAR(Enabled) = 0; + }; + + class MBT_02_base_F: Tank_F { + class Turrets: Turrets { + class MainTurret: MainTurret { + discreteDistance[] = {}; + discreteDistanceInitIndex = 0; + }; + }; + }; + class MBT_02_arty_base_F: MBT_02_base_F { + GVAR(Enabled) = 0; + }; + + class MBT_03_base_F: Tank_F { + class Turrets: Turrets { + class MainTurret: MainTurret { + discreteDistance[] = {}; + discreteDistanceInitIndex = 0; + }; + }; + }; + + class APC_Tracked_01_base_F: Tank_F {}; + class B_APC_Tracked_01_base_F: APC_Tracked_01_base_F {}; + class B_APC_Tracked_01_rcws_F: B_APC_Tracked_01_base_F { + GVAR(Enabled) = 0; + }; + class B_APC_Tracked_01_CRV_F: B_APC_Tracked_01_base_F { + GVAR(Enabled) = 0; + }; + class B_APC_Tracked_01_AA_F: B_APC_Tracked_01_base_F { + class Turrets: Turrets { + class MainTurret: MainTurret { + discreteDistance[] = {}; + discreteDistanceInitIndex = 0; + magazines[] += {"ACE_120Rnd_35mm_ABM_shells_Tracer_Red"}; + }; + }; + }; + + class APC_Tracked_02_base_F: Tank_F {}; + class O_APC_Tracked_02_base_F: APC_Tracked_02_base_F {}; + class O_APC_Tracked_02_AA_F: O_APC_Tracked_02_base_F { + class Turrets: Turrets { + class MainTurret: MainTurret { + magazines[] += {"ACE_120Rnd_35mm_ABM_shells_Tracer_Green"}; + }; + }; + }; + + class APC_Tracked_03_base_F: Tank_F { + class Turrets: Turrets { + class MainTurret: MainTurret { + discreteDistance[] = {}; + discreteDistanceInitIndex = 0; + }; + }; + }; + + // HELICOPTERS + class Air: AllVehicles {}; + + class Helicopter: Air { + class ACE_SelfActions { + class ResetFCS { + displayName = $STR_AGM_FireControlSystem_ResetFCS; + enableInside = 1; + condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); + statement = QUOTE([vehicle _player] call FUNC(reset);); + showDisabled = 0; + priority = 1; + icon = ""; + }; + }; + class Turrets { + class MainTurret; + }; + }; + + class Helicopter_Base_F: Helicopter { + class Turrets: Turrets { + class CopilotTurret; + }; + }; + + class Heli_Attack_01_base_F: Helicopter_Base_F { + GVAR(Enabled) = 1; + class Turrets: Turrets { + class MainTurret: MainTurret { + discreteDistance[] = {}; + discreteDistanceInitIndex = 0; + }; + }; + }; + + class Heli_Attack_02_base_F: Helicopter_Base_F { + GVAR(Enabled) = 1; + class Turrets: Turrets { + class MainTurret: MainTurret { + discreteDistance[] = {}; + discreteDistanceInitIndex = 0; + }; + }; + }; +}; + +class CfgWeapons { + // disable locking, so it doesn't interfere with our system + class CannonCore; + class cannon_120mm: CannonCore { + canLock = 0; + ballisticsComputer = 0; + }; + class autocannon_Base_F: CannonCore { + canLock = 0; + ballisticsComputer = 0; + }; + class autocannon_35mm: CannonCore { + canLock = 0; + ballisticsComputer = 0; + magazines[] += {"ACE_120Rnd_35mm_ABM_shells","ACE_120Rnd_35mm_ABM_shells_Tracer_Red","ACE_120Rnd_35mm_ABM_shells_Tracer_Green","ACE_120Rnd_35mm_ABM_shells_Tracer_Yellow"}; + }; + + // fix mrco having an invisible rangefinder + class ItemCore; + class optic_MRCO: ItemCore { + weaponInfoType = "RscWeaponZeroing"; + }; +}; + +class CfgMagazines { + class 680Rnd_35mm_AA_shells; + class 680Rnd_35mm_AA_shells_Tracer_Red; + class 680Rnd_35mm_AA_shells_Tracer_Green; + class 680Rnd_35mm_AA_shells_Tracer_Yellow; + + class ACE_120Rnd_35mm_ABM_shells: 680Rnd_35mm_AA_shells { + ammo = "ACE_B_35mm_ABM"; + count = 120; + displayName = "35mm ABM Shells"; + displayNameShort = "35mm ABM"; + }; + class ACE_120Rnd_35mm_ABM_shells_Tracer_Red: 680Rnd_35mm_AA_shells_Tracer_Red { + ammo = "ACE_B_35mm_ABM_Tracer_Red"; + count = 120; + displayName = "35mm ABM Shells"; + displayNameShort = "35mm ABM-T"; + }; + class ACE_120Rnd_35mm_ABM_shells_Tracer_Green: 680Rnd_35mm_AA_shells_Tracer_Green { + ammo = "ACE_B_35mm_ABM_Tracer_Green"; + count = 120; + displayName = "35mm ABM Shells"; + displayNameShort = "35mm ABM-T"; + }; + class ACE_120Rnd_35mm_ABM_shells_Tracer_Yellow: 680Rnd_35mm_AA_shells_Tracer_Yellow { + ammo = "ACE_B_35mm_ABM_Tracer_Yellow"; + count = 120; + displayName = "35mm ABM Shells"; + displayNameShort = "35mm ABM-T"; + }; +}; + +class CfgAmmo { + class B_35mm_AA; + class B_35mm_AA_Tracer_Red; + class B_35mm_AA_Tracer_Green; + class B_35mm_AA_Tracer_Yellow; + + class ACE_B_35mm_ABM: B_35mm_AA { + GVAR(Airburst) = 1; + deflecting = 0; + }; + class ACE_B_35mm_ABM_Tracer_Red: B_35mm_AA_Tracer_Red { + GVAR(Airburst) = 1; + deflecting = 0; + }; + class ACE_B_35mm_ABM_Tracer_Green: B_35mm_AA_Tracer_Green { + GVAR(Airburst) = 1; + deflecting = 0; + }; + class ACE_B_35mm_ABM_Tracer_Yellow: B_35mm_AA_Tracer_Yellow { + GVAR(Airburst) = 1; + deflecting = 0; + }; + + class ACE_B_35mm_ABM_Helper: B_35mm_AA { + indirectHitRange = 6; + simulation = "shotRocket"; + timeToLive = 0; + }; +}; + +#include diff --git a/TO_MERGE/agm/FireControlSystem/functions/fn_adjustRange.sqf b/addons/fcs/functions/fnc_adjustRange.sqf similarity index 74% rename from TO_MERGE/agm/FireControlSystem/functions/fn_adjustRange.sqf rename to addons/fcs/functions/fnc_adjustRange.sqf index 485e9585e7..1620c53375 100644 --- a/TO_MERGE/agm/FireControlSystem/functions/fn_adjustRange.sqf +++ b/addons/fcs/functions/fnc_adjustRange.sqf @@ -1,6 +1,6 @@ /* * Author: KoffeinFlummi - * + * * Adjusts the currently zeroed distance. * * Arguments: @@ -11,17 +11,19 @@ * None */ +#include "script_component.hpp" + private ["_vehicle", "_delta", "_min", "_max", "_distance"]; _vehicle = _this select 0; _delta = _this select 1; -_min = getNumber (configFile >> "CfgVehicles" >> (typeOf _vehicle) >> "AGM_FCSMinDistance"); -_max = getNumber (configFile >> "CfgVehicles" >> (typeOf _vehicle) >> "AGM_FCSMaxDistance"); -_distance = _vehicle getVariable ["AGM_FCSDistance", _min]; +_min = getNumber (configFile >> "CfgVehicles" >> (typeOf _vehicle) >> QGVAR(MinDistance)); +_max = getNumber (configFile >> "CfgVehicles" >> (typeOf _vehicle) >> QGVAR(MaxDistance)); +_distance = _vehicle getVariable [QGVAR(Distance), _min]; _distance = _distance + _delta; _distance = _distance min _max; _distance = _distance max _min; -[_vehicle, 0, _distance] call AGM_FCS_fnc_keyUp; +[_vehicle, 0, _distance] call FUNC(keyUp); diff --git a/addons/fcs/functions/fnc_canUseFCS.sqf b/addons/fcs/functions/fnc_canUseFCS.sqf new file mode 100644 index 0000000000..e75efd44cf --- /dev/null +++ b/addons/fcs/functions/fnc_canUseFCS.sqf @@ -0,0 +1,17 @@ +/* + * Author: commy2 + * + * Called from config. Returns true if the player is a gunner and the players current vehicle has a FCS. + * + * Argument: + * Nothing + * + * Return value: + * Boolean (Bool) + */ + +#include "script_component.hpp" + +_player == gunner _vehicle +&& {getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> QGVAR(Enabled)) == 1} +&& {cameraView == "GUNNER"} diff --git a/TO_MERGE/agm/FireControlSystem/functions/fn_canUseRangefinder.sqf b/addons/fcs/functions/fnc_canUseRangefinder.sqf similarity index 68% rename from TO_MERGE/agm/FireControlSystem/functions/fn_canUseRangefinder.sqf rename to addons/fcs/functions/fnc_canUseRangefinder.sqf index d96211bc5f..f6bb3b2e52 100644 --- a/TO_MERGE/agm/FireControlSystem/functions/fn_canUseRangefinder.sqf +++ b/addons/fcs/functions/fnc_canUseRangefinder.sqf @@ -2,13 +2,15 @@ * Author: commy2 * * Returns true if the laser distance measurement can be read from the engine. - * + * * Argument: * Nothing - * + * * Return value: * Boolean (Bool) */ -!isNull ((uiNamespace getVariable ["AGM_dlgRangefinder", displayNull]) displayCtrl 1713151) +#include "script_component.hpp" + +!isNull ((uiNamespace getVariable ["ACE_dlgRangefinder", displayNull]) displayCtrl 1713151) && {cameraView == "GUNNER"} diff --git a/TO_MERGE/agm/FireControlSystem/functions/fn_firedEH.sqf b/addons/fcs/functions/fnc_firedEH.sqf similarity index 68% rename from TO_MERGE/agm/FireControlSystem/functions/fn_firedEH.sqf rename to addons/fcs/functions/fnc_firedEH.sqf index bf03327127..c8b5649f6a 100644 --- a/TO_MERGE/agm/FireControlSystem/functions/fn_firedEH.sqf +++ b/addons/fcs/functions/fnc_firedEH.sqf @@ -10,6 +10,8 @@ * None */ +#include "script_component.hpp" + private ["_unit", "_weaponType", "_ammoType", "_magazineType", "_round", "_FCSMagazines", "_FCSElevation", "_offset"]; _unit = _this select 0; @@ -18,10 +20,10 @@ _ammoType = _this select 4; _magazineType = _this select 5; _round = _this select 6; -_FCSMagazines = _unit getVariable "AGM_FCSMagazines"; -_FCSElevation = _unit getVariable "AGM_FCSElevation"; +_FCSMagazines = _unit getVariable QGVAR(Magazines); +_FCSElevation = _unit getVariable QGVAR(Elevation); -if (AGM_player != gunner _unit) exitWith {}; +if (ACE_player != gunner _unit) exitWith {}; if !(_magazineType in _FCSMagazines) exitWith {}; // GET ELEVATION OFFSET OF CURRENT MAGAZINE @@ -32,15 +34,16 @@ _offset = 0; }; } forEach _FCSMagazines; -[_round, (_unit getVariable "AGM_FCSAzimuth"), _offset, 0] call AGM_Core_fnc_changeProjectileDirection; +[_round, (_unit getVariable QGVAR(Azimuth)), _offset, 0] call EFUNC(core, changeProjectileDirection); // Air burst missile -if (getNumber (configFile >> "CfgAmmo" >> _ammoType >> "AGM_Airburst") == 1) then { +// may need to get rewritten +if (getNumber (configFile >> "CfgAmmo" >> _ammoType >> "ACE_Airburst") == 1) then { _this spawn { _vehicle = _this select 0; _projectile = _this select 6; - _distance = _vehicle getVariable ["AGM_FCSDistance", currentZeroing _vehicle]; + _distance = _vehicle getVariable [QGVAR(Distance), currentZeroing _vehicle]; if (_distance < 50) exitWith {}; if (_distance > 1500) exitWith {}; @@ -50,7 +53,7 @@ if (getNumber (configFile >> "CfgAmmo" >> _ammoType >> "AGM_Airburst") == 1) the _position = getPosATL _projectile; - _subMunition = createVehicle ["AGM_B_35mm_ABM_Helper", _position, [], 0, "FLY"]; + _subMunition = createVehicle ["ACE_B_35mm_ABM_Helper", _position, [], 0, "FLY"]; _subMunition setPosATL _position; _subMunition setVelocity [0, 0, -10]; diff --git a/TO_MERGE/agm/FireControlSystem/functions/fn_getAngle.sqf b/addons/fcs/functions/fnc_getAngle.sqf similarity index 91% rename from TO_MERGE/agm/FireControlSystem/functions/fn_getAngle.sqf rename to addons/fcs/functions/fnc_getAngle.sqf index 922ef92d86..b1f743e8cc 100644 --- a/TO_MERGE/agm/FireControlSystem/functions/fn_getAngle.sqf +++ b/addons/fcs/functions/fnc_getAngle.sqf @@ -16,6 +16,7 @@ * offset from the current angle necessary to hit the target */ +#include "script_component.hpp" #define PRECISION 0.1 private ["_distance","_angleTarget","_maxElev","_initSpeed","_airFriction","_timeToLive","_timeToLive","_simulationStep","_angle","_posTargetX","_posTargetY","_posX","_posY","_velocityX","_velocityY","_velocityMagnitude"]; @@ -30,7 +31,7 @@ _simulationStep = _this select 6; if (_simulationStep == 0) exitWith {_angleTarget}; -AGM_FCS_traceBullet = { +FUNC(traceBullet) = { private ["_distance", "_angleTarget", "_maxElev", "_initSpeed", "_airFriction", "_timeToLive", "_simulationStep", "_angle", "_posTargetX", "_posTargetY", "_posX", "_posY", "_velocityX", "_velocityY", "_velocityMagnitude"]; _distance = _this select 0; @@ -67,17 +68,17 @@ AGM_FCS_traceBullet = { _posY - _posTargetY }; -if ((_this + [_maxElev]) call AGM_FCS_traceBullet < 0) exitWith {_maxElev - _angleTarget}; +if ((_this + [_maxElev]) call FUNC(traceBullet) < 0) exitWith {_maxElev - _angleTarget}; // Newton Method / Secand Method _angle1 = _angleTarget; _angle2 = _maxElev; _it2 = 0; -_f1 = (_this + [_angle1]) call AGM_FCS_traceBullet; +_f1 = (_this + [_angle1]) call FUNC(traceBullet); if ((abs _f1) <= PRECISION) exitWith {0}; while {(abs _f1) > PRECISION} do { - _f2 = (_this + [_angle2]) call AGM_FCS_traceBullet; + _f2 = (_this + [_angle2]) call FUNC(traceBullet); _temp = _angle2-_f2*(_angle2-_angle1)/(_f2-_f1); _angle1 = _angle2; _angle2 = _temp; diff --git a/TO_MERGE/agm/FireControlSystem/functions/fn_getRange.sqf b/addons/fcs/functions/fnc_getRange.sqf similarity index 75% rename from TO_MERGE/agm/FireControlSystem/functions/fn_getRange.sqf rename to addons/fcs/functions/fnc_getRange.sqf index 84814e677d..3618fa446e 100644 --- a/TO_MERGE/agm/FireControlSystem/functions/fn_getRange.sqf +++ b/addons/fcs/functions/fnc_getRange.sqf @@ -1,19 +1,21 @@ /* * Author: commy2 * - * Read laser distance measurement from engine and update compatible info elements. - * + * Read laser distance measurement from engine and update compatible info elements. + * * Argument: * Nothing - * + * * Return value: * Measured distance (Number) */ +#include "script_component.hpp" + private ["_dlgRangefinder", "_range"]; disableSerialization; -_dlgRangefinder = uiNamespace getVariable ["AGM_dlgRangefinder", displayNull]; +_dlgRangefinder = uiNamespace getVariable ["ACE_dlgRangefinder", displayNull]; _range = ctrlText (_dlgRangefinder displayCtrl 151); (_dlgRangefinder displayCtrl 1713151) ctrlSetText _range; diff --git a/TO_MERGE/agm/FireControlSystem/functions/fn_keyDown.sqf b/addons/fcs/functions/fnc_keyDown.sqf similarity index 79% rename from TO_MERGE/agm/FireControlSystem/functions/fn_keyDown.sqf rename to addons/fcs/functions/fnc_keyDown.sqf index fb6a9f4baf..41f9d793dc 100644 --- a/TO_MERGE/agm/FireControlSystem/functions/fn_keyDown.sqf +++ b/addons/fcs/functions/fnc_keyDown.sqf @@ -10,21 +10,23 @@ * none */ +#include "script_component.hpp" + private ["_vehicle", "_distance", "_weaponDirection"]; _vehicle = _this select 0; _distance = _this select 1; -AGM_FCSEnabled = true; -AGM_FCSTime = time; +GVAR(Enabled) = true; +GVAR(Time) = time; if (_distance == 0) then { - _distance = [5, 5000, 0] call AGM_Core_fnc_getTargetDistance; // maximum distance: 5000m, 5m precision + _distance = [5, 5000, 0] call EFUNC(core, getTargetDistance); // maximum distance: 5000m, 5m precision }; _weaponDirection = _vehicle weaponDirection currentWeapon _vehicle; -AGM_FCSPosition = [ +GVAR(Position) = [ (getPos _vehicle select 0) + _distance * (_weaponDirection select 0), (getPos _vehicle select 1) + _distance * (_weaponDirection select 1), (getPos _vehicle select 2) + _distance * (_weaponDirection select 2) diff --git a/TO_MERGE/agm/FireControlSystem/functions/fn_keyUp.sqf b/addons/fcs/functions/fnc_keyUp.sqf similarity index 80% rename from TO_MERGE/agm/FireControlSystem/functions/fn_keyUp.sqf rename to addons/fcs/functions/fnc_keyUp.sqf index a73b23390b..7ad410a241 100644 --- a/TO_MERGE/agm/FireControlSystem/functions/fn_keyUp.sqf +++ b/addons/fcs/functions/fnc_keyUp.sqf @@ -11,6 +11,8 @@ * none */ +#include "script_component.hpp" + private ["_ammoType", "_viewDiff", "_posArrival", "_airFriction", "_timeToLive", "_maxElev", "_vehicle", "_posTarget", "_distance", "_simulationStep", "_posX", "_velocityMagnitude", "_magazines", "_movingAzimuth", "_FCSElevation", "_velocityX", "_velocityY", "_weaponDirection", "_velocityTarget", "_FCSAzimuth", "_FCSMagazines", "_dirArrival", "_i", "_magazineType", "_angleTarget", "_offset", "_timeToTarget", "_initSpeed"]; _vehicle = _this select 0; @@ -20,10 +22,10 @@ _magazines = magazines _vehicle; if (_distance == 0) then { _distance = [ - getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "AGM_FCSDistanceInterval"), - getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "AGM_FCSMaxDistance"), - getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "AGM_FCSMinDistance") - ] call AGM_Core_fnc_getTargetDistance; // maximum distance: 5000m, 5m precision + getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> QGVAR(DistanceInterval)), + getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> QGVAR(MaxDistance)), + getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> QGVAR(MinDistance)) + ] call EFUNC(core, getTargetDistance); // maximum distance: 5000m, 5m precision }; _weaponDirection = _vehicle weaponDirection currentWeapon _vehicle; @@ -33,13 +35,13 @@ if (count _this > 2) then { _distance = _this select 2; }; -if (!(isNil "AGM_FCS_backgroundCalculation") and {!(scriptDone AGM_FCS_backgroundCalculation)}) then { - terminate AGM_FCS_backgroundCalculation; +if (!(isNil QGVAR(backgroundCalculation)) and {!(scriptDone GVAR(backgroundCalculation))}) then { + terminate GVAR(backgroundCalculation); }; // MOVING TARGETS _movingAzimuth = 0; -if (time - AGM_FCSTime > 1 and AGM_FCSTime != -1 and count _this < 3) then { +if (time - GVAR(time) > 1 and GVAR(time) != -1 and count _this < 3) then { // calculate speed of target _posTarget = [ (getPos _vehicle select 0) + _distance * (_weaponDirection select 0), @@ -47,9 +49,9 @@ if (time - AGM_FCSTime > 1 and AGM_FCSTime != -1 and count _this < 3) then { (getPos _vehicle select 2) + _distance * (_weaponDirection select 2) ]; _velocityTarget = [ - ((_posTarget select 0) - (AGM_FCSPosition select 0)) / (time - AGM_FCSTime), - ((_posTarget select 1) - (AGM_FCSPosition select 1)) / (time - AGM_FCSTime), - ((_posTarget select 2) - (AGM_FCSPosition select 2)) / (time - AGM_FCSTime) + ((_posTarget select 0) - (GVAR(position) select 0)) / (time - GVAR(time)), + ((_posTarget select 1) - (GVAR(position) select 1)) / (time - GVAR(time)), + ((_posTarget select 2) - (GVAR(position) select 2)) / (time - GVAR(time)) ]; // estimate time to target @@ -92,11 +94,11 @@ if (time - AGM_FCSTime > 1 and AGM_FCSTime != -1 and count _this < 3) then { _distance = floor (_posArrival distance (getPos _vehicle)); }; }; -AGM_FCSEnabled = false; -AGM_FCSTime = -1; +GVAR(enabled) = false; +GVAR(time) = -1; // CALCULATE AZIMUTH CORRECTION -_viewDiff = _vehicle getVariable "AGM_FCSViewDiff"; +_viewDiff = _vehicle getVariable QGVAR(ViewDiff); _FCSAzimuth = _movingAzimuth; if (_viewDiff != 0) then { _FCSAzimuth = (atan (_distance / _viewDiff) - (abs _viewDiff / _viewDiff) * 90) + _movingAzimuth; @@ -115,19 +117,19 @@ if !(getText (configFile >> "CfgAmmo" >> _ammoType >> "simulation") == "shotMiss _timeToLive = getNumber (configFile >> "CfgAmmo" >> _ammoType >> "timeToLive"); _simulationStep = getNumber (configFile >> "CfgAmmo" >> _ammoType >> "simulationStep"); - _offset = [_distance, _angleTarget, _maxElev, _initSpeed, _airFriction, _timeToLive, _simulationStep] call AGM_FCS_fnc_getAngle; + _offset = [_distance, _angleTarget, _maxElev, _initSpeed, _airFriction, _timeToLive, _simulationStep] call FUNC(getAngle); _FCSMagazines = _FCSMagazines + [_magazineType]; _FCSElevation = _FCSElevation + [_offset]; }; -_vehicle setVariable ["AGM_FCSDistance", _distance, true]; -_vehicle setVariable ["AGM_FCSMagazines", _FCSMagazines, true]; -_vehicle setVariable ["AGM_FCSElevation", _FCSElevation, true]; -_vehicle setVariable ["AGM_FCSAzimuth", _FCSAzimuth, true]; +_vehicle setVariable [QGVAR(Distance), _distance, true]; +_vehicle setVariable [QGVAR(Magazines), _FCSMagazines, true]; +_vehicle setVariable [QGVAR(Elevation), _FCSElevation, true]; +_vehicle setVariable [QGVAR(Azimuth), _FCSAzimuth, true]; // CALCULATE OFFSETS FOR OTHER WEAPONS IN THE BACKGROUND -AGM_FCS_backgroundCalculation = [_vehicle, _magazines, _distance, _angleTarget, _FCSMagazines, _FCSElevation] spawn { +GVAR(backgroundCalculation) = [_vehicle, _magazines, _distance, _angleTarget, _FCSMagazines, _FCSElevation] spawn { _vehicle = _this select 0; _magazines = _this select 1; _distance = _this select 2; @@ -145,7 +147,7 @@ AGM_FCS_backgroundCalculation = [_vehicle, _magazines, _distance, _angleTarget, _timeToLive = getNumber (configFile >> "CfgAmmo" >> _ammoType >> "timeToLive"); _simulationStep = getNumber (configFile >> "CfgAmmo" >> _ammoType >> "simulationStep"); - _offset = [_distance, _angleTarget, _maxElev, _initSpeed, _airFriction, _timeToLive, _simulationStep] call AGM_FCS_fnc_getAngle; + _offset = [_distance, _angleTarget, _maxElev, _initSpeed, _airFriction, _timeToLive, _simulationStep] call FUNC(getAngle); _FCSMagazines = _FCSMagazines + [_x]; _FCSElevation = _FCSElevation + [_offset]; @@ -153,8 +155,8 @@ AGM_FCS_backgroundCalculation = [_vehicle, _magazines, _distance, _angleTarget, }; } forEach _magazines; - _vehicle setVariable ["AGM_FCSMagazines", _FCSMagazines, true]; - _vehicle setVariable ["AGM_FCSElevation", _FCSElevation, true]; + _vehicle setVariable [QGVAR(Magazines), _FCSMagazines, true]; + _vehicle setVariable [QGVAR(Elevation), _FCSElevation, true]; }; -[format ["%1: %2", localize "STR_AGM_FireControlSystem_ZeroedTo", _distance]] call AGM_Core_fnc_displayTextStructured; +[format ["%1: %2", localize "STR_ACE_FireControlSystem_ZeroedTo", _distance]] call EFUNC(core, displayTextStructured); diff --git a/addons/fcs/functions/fnc_reset.sqf b/addons/fcs/functions/fnc_reset.sqf new file mode 100644 index 0000000000..326b5c3212 --- /dev/null +++ b/addons/fcs/functions/fnc_reset.sqf @@ -0,0 +1,24 @@ +/* + * Author: KoffeinFlummi + * + * Resets the FCS to default. + * + * Arguments: + * 0: Vehicle + * + * Return Value: + * none + */ + +#include "script_component.hpp" + +private ["_vehicle"]; + +_vehicle = _this select 0; + +_vehicle setVariable [QGVAR(Distance), 0, true]; +_vehicle setVariable [QGVAR(Magazines), [], true]; +_vehicle setVariable [QGVAR(Elevation), 0, true]; +_vehicle setVariable [QGVAR(Azimuth), 0, true]; + +[localize "STR_ACE_FireControlSystem_HasBeenReset"] call EFUNC(core, displayTextStructured); diff --git a/TO_MERGE/agm/FireControlSystem/functions/fn_vehicleInit.sqf b/addons/fcs/functions/fnc_vehicleInit.sqf similarity index 63% rename from TO_MERGE/agm/FireControlSystem/functions/fn_vehicleInit.sqf rename to addons/fcs/functions/fnc_vehicleInit.sqf index ca2b2d5aab..87d27e1d84 100644 --- a/TO_MERGE/agm/FireControlSystem/functions/fn_vehicleInit.sqf +++ b/addons/fcs/functions/fnc_vehicleInit.sqf @@ -4,7 +4,7 @@ * Checks if a vehicle is equipped with an FCS and if so, adds the fired event handler * * Arguments: - * 0: Vehicle + * 0: Vehicle * * Return Value: * none @@ -12,13 +12,13 @@ private ["_gunBeg", "_gunnerView", "_gunBegPos", "_gunnerViewPos", "_viewDiff"]; -if (getNumber (configFile >> "CfgVehicles" >> (typeOf (_this select 0)) >> "AGM_FCSEnabled") == 1) then { - (_this select 0) addEventHandler ["Fired", {_this call AGM_FCS_fnc_firedEH}]; +if (getNumber (configFile >> "CfgVehicles" >> (typeOf (_this select 0)) >> QGVAR(Enabled)) == 1) then { + (_this select 0) addEventHandler ["Fired", {_this call FUNC(firedEH)}]; - (_this select 0) setVariable ["AGM_FCSDistance", 0, true]; - (_this select 0) setVariable ["AGM_FCSMagazines", [], true]; - (_this select 0) setVariable ["AGM_FCSElevation", [], true]; - (_this select 0) setVariable ["AGM_FCSAzimuth", 0, true]; + (_this select 0) setVariable [QGVAR(Distance), 0, true]; + (_this select 0) setVariable [QGVAR(Magazines), [], true]; + (_this select 0) setVariable [QGVAR(Elevation), [], true]; + (_this select 0) setVariable [QGVAR(Azimuth), 0, true]; // calculate offset between gunner camera and muzzle position if !((_this select 0) isKindOf "Air") then { @@ -27,8 +27,8 @@ if (getNumber (configFile >> "CfgVehicles" >> (typeOf (_this select 0)) >> "AGM_ _gunBegPos = ((_this select 0) selectionPosition _gunBeg) select 0; _gunnerViewPos = ((_this select 0) selectionPosition _gunnerView) select 0; _viewDiff = _gunBegPos - _gunnerViewPos; - (_this select 0) setVariable ["AGM_FCSViewDiff", _viewDiff, true]; + (_this select 0) setVariable [QGVAR(ViewDiff), _viewDiff, true]; } else { - (_this select 0) setVariable ["AGM_FCSViewDiff", 0, true]; + (_this select 0) setVariable [QGVAR(ViewDiff), 0, true]; }; }; diff --git a/addons/fcs/script_component.hpp b/addons/fcs/script_component.hpp new file mode 100644 index 0000000000..153cad41b2 --- /dev/null +++ b/addons/fcs/script_component.hpp @@ -0,0 +1,12 @@ +#define COMPONENT fcs +#include "\z\ace\Addons\main\script_mod.hpp" + +#ifdef DEBUG_ENABLED_FCS + #define DEBUG_MODE_FULL +#endif + +#ifdef DEBUG_SETTINGS_FCS + #define DEBUG_SETTINGS DEBUG_SETTINGS_FCS +#endif + +#include "\z\ace\Addons\main\script_macros.hpp" diff --git a/TO_MERGE/agm/FireControlSystem/stringtable.xml b/addons/fcs/stringtable.xml similarity index 89% rename from TO_MERGE/agm/FireControlSystem/stringtable.xml rename to addons/fcs/stringtable.xml index 67b905b0d9..7427b87d52 100644 --- a/TO_MERGE/agm/FireControlSystem/stringtable.xml +++ b/addons/fcs/stringtable.xml @@ -1,8 +1,8 @@  - - - + + + Lase Target / Measure Distance Ziel anlasern / Entfernung Messen Télémétrer la cible @@ -17,7 +17,7 @@ --> Подсветить цель / Измерить расстояние - + Zeroed To Haltepunkt Fijado a @@ -29,7 +29,7 @@ Fixado em Azzeramento a - + Adjust FCS Range (Up) Entfernung des FLS erhöhen Zwiększ zasięg FCS @@ -41,7 +41,7 @@ Aumentare la distanza dell'FCS Диапазон СУО (Выше) - + Adjust FCS Range (Down) Entfernung des FLS verringern Zmniejsz zasięg FCS @@ -53,7 +53,7 @@ Ridurre la distanza dell'FCS Диапазон СУО (Ниже) - + Reset FCS FLS zurücksetzen Reiniciar FCS @@ -65,7 +65,7 @@ Azzeramento dell'FCS Обнулить СУО - + FCS has been reset. FLS wurde zurückgesetzt. FCS reiniciado @@ -78,4 +78,4 @@ СУО обнулен - \ No newline at end of file + From 7d9b03611ac0612e4b4f84aa1902d3f47c6ec1dc Mon Sep 17 00:00:00 2001 From: KoffeinFlummi Date: Mon, 12 Jan 2015 11:06:27 +0100 Subject: [PATCH 02/18] Prefixes --- addons/fcs/XEH_clientInit.sqf | 4 ++-- addons/fcs/config.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/addons/fcs/XEH_clientInit.sqf b/addons/fcs/XEH_clientInit.sqf index 4409feb4d5..527e5a9d36 100644 --- a/addons/fcs/XEH_clientInit.sqf +++ b/addons/fcs/XEH_clientInit.sqf @@ -1,5 +1,5 @@ #include "script_component.hpp" GVAR(enabled) = True; -GVAR(time) = True; -GVAR(position) = True; +GVAR(time) = 0; +GVAR(position) = [0,0,0]; diff --git a/addons/fcs/config.cpp b/addons/fcs/config.cpp index 88ab47e156..ffad9609cc 100644 --- a/addons/fcs/config.cpp +++ b/addons/fcs/config.cpp @@ -83,7 +83,7 @@ class CfgVehicles { class Car: LandVehicle { class ACE_SelfActions { class ResetFCS { - displayName = $STR_AGM_FireControlSystem_ResetFCS; + displayName = $STR_ACE_FireControlSystem_ResetFCS; enableInside = 1; condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); statement = QUOTE([vehicle _player] call FUNC(reset);); @@ -137,7 +137,7 @@ class CfgVehicles { GVAR(Enabled) = 1; // all tracked vehicles get one by default class ACE_SelfActions { class ResetFCS { - displayName = $STR_AGM_FireControlSystem_ResetFCS; + displayName = $STR_ACE_FireControlSystem_ResetFCS; enableInside = 1; condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); statement = QUOTE([vehicle _player] call FUNC(reset);); @@ -255,7 +255,7 @@ class CfgVehicles { class Helicopter: Air { class ACE_SelfActions { class ResetFCS { - displayName = $STR_AGM_FireControlSystem_ResetFCS; + displayName = $STR_ACE_FireControlSystem_ResetFCS; enableInside = 1; condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); statement = QUOTE([vehicle _player] call FUNC(reset);); From 479c4b01e833e69d098b637920d6cf1c4ee38e3b Mon Sep 17 00:00:00 2001 From: KoffeinFlummi Date: Mon, 12 Jan 2015 11:27:56 +0100 Subject: [PATCH 03/18] Add PBOPREFIX --- addons/fcs/$PBOPREFIX$ | 1 + 1 file changed, 1 insertion(+) create mode 100644 addons/fcs/$PBOPREFIX$ diff --git a/addons/fcs/$PBOPREFIX$ b/addons/fcs/$PBOPREFIX$ new file mode 100644 index 0000000000..9e5f231f8f --- /dev/null +++ b/addons/fcs/$PBOPREFIX$ @@ -0,0 +1 @@ +z\ace\addons\fcs From 2942306e3ccdb2acb94a55a4fc028f59b0feb162 Mon Sep 17 00:00:00 2001 From: KoffeinFlummi Date: Mon, 12 Jan 2015 11:33:50 +0100 Subject: [PATCH 04/18] Move EHs to seperate file, add preInit for PREPs --- addons/fcs/CfgEventHandlers.hpp | 19 +++++++++++++++++++ addons/fcs/config.cpp | 14 +------------- 2 files changed, 20 insertions(+), 13 deletions(-) create mode 100644 addons/fcs/CfgEventHandlers.hpp diff --git a/addons/fcs/CfgEventHandlers.hpp b/addons/fcs/CfgEventHandlers.hpp new file mode 100644 index 0000000000..c1e0bb73f1 --- /dev/null +++ b/addons/fcs/CfgEventHandlers.hpp @@ -0,0 +1,19 @@ +class Extended_PreInit_EventHandlers { + class ADDON { + init = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_preInit.sqf) ); + }; +}; + +class Extended_PostInit_EventHandlers { + class ADDON { + clientInit = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_clientInit.sqf) ); + }; +}; + +class Extended_Init_EventHandlers { + class AllVehicles { + class ADDON { + clientInit = QUOTE(_this call FUNC(vehicleInit)); + }; + }; +}; diff --git a/addons/fcs/config.cpp b/addons/fcs/config.cpp index ffad9609cc..6377c48cab 100644 --- a/addons/fcs/config.cpp +++ b/addons/fcs/config.cpp @@ -14,19 +14,7 @@ class CfgPatches { }; }; -class Extended_PostInit_EventHandlers { - class ADDON { - clientInit = QUOTE(call compile preprocessFileLineNumbers PATHTOF(XEH_clientInit.sqf)); - }; -}; - -class Extended_Init_EventHandlers { - class AllVehicles { - class ADDON { - clientInit = QUOTE(_this call FUNC(vehicleInit)); - }; - }; -}; +#include "CfgEventHandlers.hpp" class EGVAR(Core, Default_Keys) { class laseTarget { From cdf08ee2cdae37caa042542afec6b6ca25f5558c Mon Sep 17 00:00:00 2001 From: KoffeinFlummi Date: Mon, 12 Jan 2015 11:34:36 +0100 Subject: [PATCH 05/18] Rename Optics.hpp to CfgOptics.hpp That might not be a real class, but it makes it easier to tell config includes from other files at a glance. --- addons/fcs/{Optics.hpp => CfgOptics.hpp} | 0 addons/fcs/config.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename addons/fcs/{Optics.hpp => CfgOptics.hpp} (100%) diff --git a/addons/fcs/Optics.hpp b/addons/fcs/CfgOptics.hpp similarity index 100% rename from addons/fcs/Optics.hpp rename to addons/fcs/CfgOptics.hpp diff --git a/addons/fcs/config.cpp b/addons/fcs/config.cpp index 6377c48cab..da6093c28d 100644 --- a/addons/fcs/config.cpp +++ b/addons/fcs/config.cpp @@ -370,4 +370,4 @@ class CfgAmmo { }; }; -#include +#include From d354f3796f53117b5f897634a7c3392a5396b044 Mon Sep 17 00:00:00 2001 From: KoffeinFlummi Date: Mon, 12 Jan 2015 11:52:07 +0100 Subject: [PATCH 06/18] Replace version numbers with macros --- addons/fcs/config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/fcs/config.cpp b/addons/fcs/config.cpp index da6093c28d..737f1d06e9 100644 --- a/addons/fcs/config.cpp +++ b/addons/fcs/config.cpp @@ -6,9 +6,9 @@ class CfgPatches { weapons[] = {}; requiredVersion = 0.60; requiredAddons[] = {ace_core, ace_interaction}; - version = "1.0"; - versionStr = "1.0"; - versionAr[] = {1,0,0}; + version = QUOTE(VERSION); + versionStr = QUOTE(VERSION); + versionAr[] = {VERSION_AR}; author[] = {"KoffeinFlummi","BadGuy (simon84)"}; authorUrl = "https://github.com/KoffeinFlummi/"; }; From e071b2f68487f94bd6942515bf996abe29a50eb4 Mon Sep 17 00:00:00 2001 From: commy2 Date: Tue, 13 Jan 2015 20:56:02 +0100 Subject: [PATCH 07/18] fix macros in common' config --- addons/common/MainMenu.hpp | 2 +- addons/common/MenuConfig.hpp | 360 +++++++++--------- addons/common/XEH_postInit.sqf | 2 +- .../functions/fnc_addActionEventHandler.sqf | 2 +- .../fnc_addActionMenuEventHandler.sqf | 2 +- .../functions/fnc_addCameraEventHandler.sqf | 2 +- .../fnc_addCuratorUnloadEventhandler.sqf | 2 +- .../functions/fnc_addCustomEventHandler.sqf | 2 +- .../fnc_addInfoDisplayEventHandler.sqf | 2 +- ..._addInventoryDisplayLoadedEventHandler.sqf | 2 +- .../fnc_addMapMarkerCreatedEventHandler.sqf | 2 +- .../fnc_addScrollWheelEventHandler.sqf | 2 +- addons/common/functions/fnc_adminKick.sqf | 2 +- .../functions/fnc_ambientBrightness.sqf | 2 +- .../functions/fnc_applyForceWalkStatus.sqf | 2 +- .../common/functions/fnc_binarizeNumber.sqf | 2 +- .../functions/fnc_callCustomEventHandlers.sqf | 2 +- .../fnc_callCustomEventHandlersGlobal.sqf | 2 +- .../common/functions/fnc_canGetInPosition.sqf | 2 +- .../common/functions/fnc_canInteractWith.sqf | 2 +- addons/common/functions/fnc_canUseWeapon.sqf | 2 +- .../fnc_changeProjectileDirection.sqf | 2 +- addons/common/functions/fnc_checkPBOs.sqf | 2 +- addons/common/functions/fnc_claim.sqf | 2 +- .../fnc_closeDialogIfTargetMoves.sqf | 2 +- addons/common/functions/fnc_codeToLetter.sqf | 2 +- addons/common/functions/fnc_codeToString.sqf | 2 +- .../common/functions/fnc_convertKeyCode.sqf | 2 +- .../common/functions/fnc_currentChannel.sqf | 2 +- .../common/functions/fnc_disableUserInput.sqf | 2 +- addons/common/functions/fnc_displayText.sqf | 2 +- .../functions/fnc_displayTextPicture.sqf | 2 +- .../functions/fnc_displayTextStructured.sqf | 2 +- addons/common/functions/fnc_doAnimation.sqf | 2 +- .../functions/fnc_endRadioTransmission.sqf | 2 +- .../functions/fnc_execPersistentFnc.sqf | 2 +- addons/common/functions/fnc_execRemoteFnc.sqf | 2 +- .../functions/fnc_executePersistent.sqf | 2 +- addons/common/functions/fnc_exportConfig.sqf | 2 +- addons/common/functions/fnc_filter.sqf | 2 +- .../common/functions/fnc_fixCrateContent.sqf | 2 +- .../fnc_fixLoweredRifleAnimation.sqf | 2 +- .../functions/fnc_getCaptivityStatus.sqf | 2 +- addons/common/functions/fnc_getChildren.sqf | 2 +- .../functions/fnc_getConfigCommander.sqf | 2 +- .../common/functions/fnc_getConfigGunner.sqf | 2 +- .../common/functions/fnc_getDefaultAnim.sqf | 2 +- .../functions/fnc_getDisplayConfigName.sqf | 2 +- .../common/functions/fnc_getDoorTurrets.sqf | 2 +- .../functions/fnc_getForceWalkStatus.sqf | 2 +- addons/common/functions/fnc_getHitPoints.sqf | 2 +- .../fnc_getHitPointsWithSelections.sqf | 2 +- addons/common/functions/fnc_getInPosition.sqf | 2 +- addons/common/functions/fnc_getMarkerType.sqf | 2 +- addons/common/functions/fnc_getName.sqf | 2 +- .../functions/fnc_getNumberFromMissionSQM.sqf | 2 +- .../common/functions/fnc_getPitchBankYaw.sqf | 2 +- .../functions/fnc_getStringFromMissionSQM.sqf | 2 +- .../fnc_getTargetAzimuthAndInclination.sqf | 2 +- .../functions/fnc_getTargetDistance.sqf | 2 +- .../common/functions/fnc_getTargetObject.sqf | 2 +- .../functions/fnc_getTurretCommander.sqf | 2 +- .../functions/fnc_getTurretConfigPath.sqf | 2 +- .../common/functions/fnc_getTurretCopilot.sqf | 2 +- .../common/functions/fnc_getTurretGunner.sqf | 2 +- .../common/functions/fnc_getTurretIndex.sqf | 2 +- addons/common/functions/fnc_getTurrets.sqf | 2 +- addons/common/functions/fnc_getTurretsFFV.sqf | 2 +- .../common/functions/fnc_getTurretsOther.sqf | 2 +- .../functions/fnc_getUavControlPosition.sqf | 2 +- .../common/functions/fnc_getVehicleCargo.sqf | 2 +- .../functions/fnc_getVehicleCodriver.sqf | 2 +- .../common/functions/fnc_getVehicleCrew.sqf | 2 +- .../fnc_getWeaponAzimuthAndInclination.sqf | 2 +- addons/common/functions/fnc_getWeaponType.sqf | 2 +- .../common/functions/fnc_getWindDirection.sqf | 2 +- addons/common/functions/fnc_goKneeling.sqf | 2 +- .../common/functions/fnc_hadamardProduct.sqf | 2 +- .../common/functions/fnc_inTransitionAnim.sqf | 2 +- .../functions/fnc_interpolateFromArray.sqf | 2 +- addons/common/functions/fnc_isAutoWind.sqf | 2 +- addons/common/functions/fnc_isEOD.sqf | 2 +- addons/common/functions/fnc_isEngineer.sqf | 2 +- addons/common/functions/fnc_isInBuilding.sqf | 2 +- addons/common/functions/fnc_isMedic.sqf | 2 +- addons/common/functions/fnc_isPlayer.sqf | 2 +- addons/common/functions/fnc_isTurnedOut.sqf | 2 +- addons/common/functions/fnc_letterToCode.sqf | 2 +- addons/common/functions/fnc_log.sqf | 2 +- addons/common/functions/fnc_logControls.sqf | 2 +- addons/common/functions/fnc_logDisplays.sqf | 2 +- addons/common/functions/fnc_map.sqf | 2 +- .../common/functions/fnc_moduleCheckPBOs.sqf | 2 +- .../functions/fnc_moduleLSDVehicles.sqf | 2 +- addons/common/functions/fnc_monitor.sqf | 2 +- addons/common/functions/fnc_muteUnit.sqf | 2 +- .../common/functions/fnc_numberToDigits.sqf | 2 +- .../functions/fnc_numberToDigitsString.sqf | 2 +- .../functions/fnc_onLoadRscDisplayChannel.sqf | 2 +- addons/common/functions/fnc_owned.sqf | 2 +- addons/common/functions/fnc_player.sqf | 2 +- addons/common/functions/fnc_playerSide.sqf | 2 +- addons/common/functions/fnc_progressBar.sqf | 2 +- .../common/functions/fnc_queueAnimation.sqf | 2 +- .../fnc_readBooleanParameterFromModule.sqf | 2 +- .../fnc_readNumericParameterFromModule.sqf | 2 +- .../fnc_removeActionEventHandler.sqf | 2 +- .../fnc_removeActionMenuEventHandler.sqf | 2 +- .../fnc_removeCameraEventHandler.sqf | 2 +- .../fnc_removeCustomEventHandler.sqf | 2 +- .../fnc_removeInfoDisplayEventHandler.sqf | 2 +- ...moveInventoryDisplayLoadedEventHandler.sqf | 2 +- ...fnc_removeMapMarkerCreatedEventHandler.sqf | 2 +- .../fnc_removeScrollWheelEventHandler.sqf | 2 +- .../functions/fnc_restoreVariablesJIP.sqf | 2 +- .../functions/fnc_revertKeyCodeLocalized.sqf | 2 +- .../common/functions/fnc_sanitizeString.sqf | 2 +- addons/common/functions/fnc_serverLog.sqf | 2 +- .../functions/fnc_setCaptivityStatus.sqf | 2 +- .../functions/fnc_setForceWalkStatus.sqf | 2 +- addons/common/functions/fnc_setKeyDefault.sqf | 2 +- addons/common/functions/fnc_setName.sqf | 2 +- addons/common/functions/fnc_setParameter.sqf | 2 +- .../common/functions/fnc_setPitchBankYaw.sqf | 2 +- .../common/functions/fnc_setVariableJIP.sqf | 2 +- addons/common/functions/fnc_showUser.sqf | 2 +- .../functions/fnc_stringToColoredText.sqf | 2 +- addons/common/functions/fnc_subString.sqf | 2 +- addons/common/functions/fnc_toBin.sqf | 2 +- addons/common/functions/fnc_toBitmask.sqf | 2 +- addons/common/functions/fnc_toHex.sqf | 2 +- addons/common/functions/fnc_toNumber.sqf | 2 +- addons/common/functions/fnc_unmuteUnit.sqf | 2 +- addons/interaction/config.cpp | 2 +- 134 files changed, 313 insertions(+), 313 deletions(-) diff --git a/addons/common/MainMenu.hpp b/addons/common/MainMenu.hpp index d10ff5deda..1f1a1dc547 100644 --- a/addons/common/MainMenu.hpp +++ b/addons/common/MainMenu.hpp @@ -29,7 +29,7 @@ class ACE_Tile_Base { right = 0; bottom = 0; }; - action = "(findDisplay 49) closeDisplay 0; 0 spawn ACE_Common_openMenu;"; + action = QUOTE((findDisplay 49) closeDisplay 0; 0 spawn GVAR(openMenu);); animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)"; animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)"; animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)"; diff --git a/addons/common/MenuConfig.hpp b/addons/common/MenuConfig.hpp index 4d84bfb78b..370a62c30a 100644 --- a/addons/common/MenuConfig.hpp +++ b/addons/common/MenuConfig.hpp @@ -3,7 +3,7 @@ #define VSPACE 0.3 #define BORDER 0.1 -class ACE_Common_Interactive_Button_Base { +class GVAR(Interactive_Button_Base) { tooltip = ""; action = ""; @@ -46,7 +46,7 @@ class ACE_Common_Interactive_Button_Base { #define VSPACE2 0.05 #define BORDER 0.1 -class ACE_Common_Text_Button_Base { +class GVAR(Text_Button_Base) { idc = 2; moving = 0; text = ""; @@ -65,10 +65,10 @@ class ACE_Common_Text_Button_Base { h = 0; }; -class ACE_Common_OptionsMenu_Dialog { +class GVAR(OptionsMenu_Dialog) { idd = -1; movingEnable = true; - onLoad = "_dlgMenuDialog = _this select 0; for '_a' from 20 to 32 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 100 to 119 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 200 to 219 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 300 to 319 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 400 to 419 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 500 to 519 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; uiNamespace setVariable ['ACE_Common_MenuDialog', _dlgMenuDialog];"; + onLoad = QUOTE(_dlgMenuDialog = _this select 0; for '_a' from 20 to 32 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 100 to 119 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 200 to 219 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 300 to 319 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 400 to 419 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; for '_a' from 500 to 519 do {(_dlgMenuDialog displayCtrl _a) ctrlShow false}; uiNamespace setVariable [ARR_2(QUOTE(QGVAR(MenuDialog)),_dlgMenuDialog)];); objects[] = {}; class controlsBackground { @@ -112,7 +112,7 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class ACE_Logo : ACE_Common_Interactive_Button_Base { + class ACE_Logo: GVAR(Interactive_Button_Base) { action = "closeDialog 0;"; type = 0; style = 48; @@ -128,7 +128,7 @@ class ACE_Common_OptionsMenu_Dialog { }; class controls { - class Text_Button0 : ACE_Common_Text_Button_Base { + class Text_Button0: GVAR(Text_Button_Base) { idc = 100; style = 0 + 0x800; x = (HSPACE2 + 0 * 0.1) * safezoneW + safezoneX; @@ -137,105 +137,105 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class Text_Button1 : Text_Button0 { + class Text_Button1: Text_Button0 { idc = 101; y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY; }; - class Text_Button2 : Text_Button0 { + class Text_Button2: Text_Button0 { idc = 102; y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY; }; - class Text_Button3 : Text_Button0 { + class Text_Button3: Text_Button0 { idc = 103; y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY; }; - class Text_Button4 : Text_Button0 { + class Text_Button4: Text_Button0 { idc = 104; y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY; }; - class Text_Button5 : Text_Button0 { + class Text_Button5: Text_Button0 { idc = 105; y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY; }; - class Text_Button6 : Text_Button0 { + class Text_Button6: Text_Button0 { idc = 106; y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY; }; - class Text_Button7 : Text_Button0 { + class Text_Button7: Text_Button0 { idc = 107; y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY; }; - class Text_Button8 : Text_Button0 { + class Text_Button8: Text_Button0 { idc = 108; y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY; }; - class Text_Button9 : Text_Button0 { + class Text_Button9: Text_Button0 { idc = 109; y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY; }; - class Text_Button10 : Text_Button0 { + class Text_Button10: Text_Button0 { idc = 110; y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY; }; - class Text_Button11 : Text_Button0 { + class Text_Button11: Text_Button0 { idc = 111; y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY; }; - class Text_Button12 : Text_Button0 { + class Text_Button12: Text_Button0 { idc = 112; y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY; }; - class Text_Button13 : Text_Button0 { + class Text_Button13: Text_Button0 { idc = 113; y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY; }; - class Text_Button14 : Text_Button0 { + class Text_Button14: Text_Button0 { idc = 114; y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY; }; - class Text_Button15 : Text_Button0 { + class Text_Button15: Text_Button0 { idc = 115; y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY; }; - class Text_Button16 : Text_Button0 { + class Text_Button16: Text_Button0 { idc = 116; y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY; }; - class Text_Button17 : Text_Button0 { + class Text_Button17: Text_Button0 { idc = 117; y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY; }; - class Text_Button18 : Text_Button0 { + class Text_Button18: Text_Button0 { idc = 118; y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY; }; - class Text_Button19 : Text_Button0 { + class Text_Button19: Text_Button0 { idc = 119; y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY; }; ////////////////////////////////////////////////// - class Interactive_Button0 : ACE_Common_Interactive_Button_Base { - action = "ACE_Common_keySet = -1; [0] spawn ACE_Common_editKey"; + class Interactive_Button0: GVAR(Interactive_Button_Base) { + action = QUOTE(GVAR(keySet) = -1; [0] spawn GVAR(editKey)); sizeEx = "0.8 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs"; idc = 200; style = 2 + 0x800; @@ -245,123 +245,123 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class Interactive_Button1 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [1] spawn ACE_Common_editKey"; + class Interactive_Button1: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [1] spawn GVAR(editKey)); idc = 201; y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button2 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [2] spawn ACE_Common_editKey"; + class Interactive_Button2: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [2] spawn GVAR(editKey)); idc = 202; y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button3 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [3] spawn ACE_Common_editKey"; + class Interactive_Button3: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [3] spawn GVAR(editKey)); idc = 203; y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button4 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [4] spawn ACE_Common_editKey"; + class Interactive_Button4: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [4] spawn GVAR(editKey)); idc = 204; y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button5 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [5] spawn ACE_Common_editKey"; + class Interactive_Button5: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [5] spawn GVAR(editKey)); idc = 205; y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button6 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [6] spawn ACE_Common_editKey"; + class Interactive_Button6: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [6] spawn GVAR(editKey)); idc = 206; y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button7 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [7] spawn ACE_Common_editKey"; + class Interactive_Button7: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [7] spawn GVAR(editKey)); idc = 207; y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button8 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [8] spawn ACE_Common_editKey"; + class Interactive_Button8: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [8] spawn GVAR(editKey)); idc = 208; y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button9 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [9] spawn ACE_Common_editKey"; + class Interactive_Button9: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [9] spawn GVAR(editKey)); idc = 209; y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button10 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [10] spawn ACE_Common_editKey"; + class Interactive_Button10: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [10] spawn GVAR(editKey)); idc = 210; y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button11 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [11] spawn ACE_Common_editKey"; + class Interactive_Button11: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [11] spawn GVAR(editKey)); idc = 211; y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button12 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [12] spawn ACE_Common_editKey"; + class Interactive_Button12: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [12] spawn GVAR(editKey)); idc = 212; y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button13 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [13] spawn ACE_Common_editKey"; + class Interactive_Button13: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [13] spawn GVAR(editKey)); idc = 213; y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button14 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [14] spawn ACE_Common_editKey"; + class Interactive_Button14: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [14] spawn GVAR(editKey)); idc = 214; y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button15 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [15] spawn ACE_Common_editKey"; + class Interactive_Button15: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [15] spawn GVAR(editKey)); idc = 215; y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button16 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [16] spawn ACE_Common_editKey"; + class Interactive_Button16: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [16] spawn GVAR(editKey)); idc = 216; y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button17 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [17] spawn ACE_Common_editKey"; + class Interactive_Button17: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [17] spawn GVAR(editKey)); idc = 217; y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button18 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [18] spawn ACE_Common_editKey"; + class Interactive_Button18: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [18] spawn GVAR(editKey)); idc = 218; y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Button19 : Interactive_Button0 { - action = "ACE_Common_keySet = -1; [19] spawn ACE_Common_editKey"; + class Interactive_Button19: Interactive_Button0 { + action = QUOTE(GVAR(keySet) = -1; [19] spawn GVAR(editKey)); idc = 219; y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY; }; ////////////////////////////////////////////////// - class Interactive_Checkbox0 : Text_Button0 { + class Interactive_Checkbox0: Text_Button0 { action = "hint '0'"; idc = 300; //type = 0; @@ -375,115 +375,115 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class Interactive_Checkbox1 : Interactive_Checkbox0 { + class Interactive_Checkbox1: Interactive_Checkbox0 { action = ""; idc = 301; y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox2 : Interactive_Checkbox0 { + class Interactive_Checkbox2: Interactive_Checkbox0 { action = ""; idc = 302; y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox3 : Interactive_Checkbox0 { + class Interactive_Checkbox3: Interactive_Checkbox0 { action = ""; idc = 303; y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox4 : Interactive_Checkbox0 { + class Interactive_Checkbox4: Interactive_Checkbox0 { action = ""; idc = 304; y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox5 : Interactive_Checkbox0 { + class Interactive_Checkbox5: Interactive_Checkbox0 { action = ""; idc = 305; y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox6 : Interactive_Checkbox0 { + class Interactive_Checkbox6: Interactive_Checkbox0 { action = ""; idc = 306; y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox7 : Interactive_Checkbox0 { + class Interactive_Checkbox7: Interactive_Checkbox0 { action = ""; idc = 307; y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox8 : Interactive_Checkbox0 { + class Interactive_Checkbox8: Interactive_Checkbox0 { action = ""; idc = 308; y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox9 : Interactive_Checkbox0 { + class Interactive_Checkbox9: Interactive_Checkbox0 { action = ""; idc = 309; y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox10 : Interactive_Checkbox0 { + class Interactive_Checkbox10: Interactive_Checkbox0 { action = ""; idc = 310; y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox11 : Interactive_Checkbox0 { + class Interactive_Checkbox11: Interactive_Checkbox0 { action = ""; idc = 311; y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox12 : Interactive_Checkbox0 { + class Interactive_Checkbox12: Interactive_Checkbox0 { action = ""; idc = 312; y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox13 : Interactive_Checkbox0 { + class Interactive_Checkbox13: Interactive_Checkbox0 { action = ""; idc = 313; y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox14 : Interactive_Checkbox0 { + class Interactive_Checkbox14: Interactive_Checkbox0 { action = ""; idc = 314; y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox15 : Interactive_Checkbox0 { + class Interactive_Checkbox15: Interactive_Checkbox0 { action = ""; idc = 315; y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox16 : Interactive_Checkbox0 { + class Interactive_Checkbox16: Interactive_Checkbox0 { action = ""; idc = 316; y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox17 : Interactive_Checkbox0 { + class Interactive_Checkbox17: Interactive_Checkbox0 { action = ""; idc = 317; y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox18 : Interactive_Checkbox0 { + class Interactive_Checkbox18: Interactive_Checkbox0 { action = ""; idc = 318; y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY; }; - class Interactive_Checkbox19 : Interactive_Checkbox0 { + class Interactive_Checkbox19: Interactive_Checkbox0 { action = ""; idc = 319; y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY; @@ -491,7 +491,7 @@ class ACE_Common_OptionsMenu_Dialog { ////////////////////////////////////////////////// - class Text_Checkbox0 : Text_Button0 { + class Text_Checkbox0: Text_Button0 { idc = 400; x = (HSPACE2 + 0 * 0.1) * safezoneW + safezoneX; y = (VSPACE2 + 2 * 0.04) * safezoneH + safezoneY; @@ -499,105 +499,105 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class Text_Checkbox1 : Text_Checkbox0 { + class Text_Checkbox1: Text_Checkbox0 { idc = 401; y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox2 : Text_Checkbox0 { + class Text_Checkbox2: Text_Checkbox0 { idc = 402; y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox3 : Text_Checkbox0 { + class Text_Checkbox3: Text_Checkbox0 { idc = 403; y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox4 : Text_Checkbox0 { + class Text_Checkbox4: Text_Checkbox0 { idc = 404; y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox5 : Text_Checkbox0 { + class Text_Checkbox5: Text_Checkbox0 { idc = 405; y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox6 : Text_Checkbox0 { + class Text_Checkbox6: Text_Checkbox0 { idc = 406; y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox7 : Text_Checkbox0 { + class Text_Checkbox7: Text_Checkbox0 { idc = 407; y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox8 : Text_Checkbox0 { + class Text_Checkbox8: Text_Checkbox0 { idc = 408; y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox9 : Text_Checkbox0 { + class Text_Checkbox9: Text_Checkbox0 { idc = 409; y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox10 : Text_Checkbox0 { + class Text_Checkbox10: Text_Checkbox0 { idc = 410; y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox11 : Text_Checkbox0 { + class Text_Checkbox11: Text_Checkbox0 { idc = 411; y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox12 : Text_Checkbox0 { + class Text_Checkbox12: Text_Checkbox0 { idc = 412; y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox13 : Text_Checkbox0 { + class Text_Checkbox13: Text_Checkbox0 { idc = 413; y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox14 : Text_Checkbox0 { + class Text_Checkbox14: Text_Checkbox0 { idc = 414; y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox15 : Text_Checkbox0 { + class Text_Checkbox15: Text_Checkbox0 { idc = 415; y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox16 : Text_Checkbox0 { + class Text_Checkbox16: Text_Checkbox0 { idc = 416; y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox17 : Text_Checkbox0 { + class Text_Checkbox17: Text_Checkbox0 { idc = 417; y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox18 : Text_Checkbox0 { + class Text_Checkbox18: Text_Checkbox0 { idc = 418; y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY; }; - class Text_Checkbox19 : Text_Checkbox0 { + class Text_Checkbox19: Text_Checkbox0 { idc = 419; y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY; }; ////////////////////////////////////////////////// - class Interactive_CheckboxButton0 : ACE_Common_Interactive_Button_Base { - action = "[0] call ACE_Common_toggleState"; + class Interactive_CheckboxButton0: GVAR(Interactive_Button_Base) { + action = QUOTE([0] call GVAR(toggleState)); idc = 500; colorBackground[] = {0, 0, 0, 0}; colorBackgroundActive[] = {0, 0, 0, 0}; @@ -608,123 +608,123 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class Interactive_CheckboxButton1 : Interactive_CheckboxButton0 { - action = "[1] call ACE_Common_toggleState"; + class Interactive_CheckboxButton1: Interactive_CheckboxButton0 { + action = QUOTE([1] call GVAR(toggleState)); idc = 501; y = (VSPACE2 + 3 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton2 : Interactive_CheckboxButton0 { - action = "[2] call ACE_Common_toggleState"; + class Interactive_CheckboxButton2: Interactive_CheckboxButton0 { + action = QUOTE([2] call GVAR(toggleState)); idc = 502; y = (VSPACE2 + 4 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton3 : Interactive_CheckboxButton0 { - action = "[3] call ACE_Common_toggleState"; + class Interactive_CheckboxButton3: Interactive_CheckboxButton0 { + action = QUOTE([3] call GVAR(toggleState)); idc = 503; y = (VSPACE2 + 5 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton4 : Interactive_CheckboxButton0 { - action = "[4] call ACE_Common_toggleState"; + class Interactive_CheckboxButton4: Interactive_CheckboxButton0 { + action = QUOTE([4] call GVAR(toggleState)); idc = 504; y = (VSPACE2 + 6 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton5 : Interactive_CheckboxButton0 { - action = "[5] call ACE_Common_toggleState"; + class Interactive_CheckboxButton5: Interactive_CheckboxButton0 { + action = QUOTE([5] call GVAR(toggleState)); idc = 505; y = (VSPACE2 + 7 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton6 : Interactive_CheckboxButton0 { - action = "[6] call ACE_Common_toggleState"; + class Interactive_CheckboxButton6: Interactive_CheckboxButton0 { + action = QUOTE([6] call GVAR(toggleState)); idc = 506; y = (VSPACE2 + 8 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton7 : Interactive_CheckboxButton0 { - action = "[7] call ACE_Common_toggleState"; + class Interactive_CheckboxButton7: Interactive_CheckboxButton0 { + action = QUOTE([7] call GVAR(toggleState)); idc = 507; y = (VSPACE2 + 9 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton8 : Interactive_CheckboxButton0 { - action = "[8] call ACE_Common_toggleState"; + class Interactive_CheckboxButton8: Interactive_CheckboxButton0 { + action = QUOTE([8] call GVAR(toggleState)); idc = 508; y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton9 : Interactive_CheckboxButton0 { - action = "[9] call ACE_Common_toggleState"; + class Interactive_CheckboxButton9: Interactive_CheckboxButton0 { + action = QUOTE([9] call GVAR(toggleState)); idc = 509; y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton10 : Interactive_CheckboxButton0 { - action = "[10] call ACE_Common_toggleState"; + class Interactive_CheckboxButton10: Interactive_CheckboxButton0 { + action = QUOTE([10] call GVAR(toggleState)); idc = 510; y = (VSPACE2 + 12 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton11 : Interactive_CheckboxButton0 { - action = "[11] call ACE_Common_toggleState"; + class Interactive_CheckboxButton11: Interactive_CheckboxButton0 { + action = QUOTE([11] call GVAR(toggleState)); idc = 511; y = (VSPACE2 + 13 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton12 : Interactive_CheckboxButton0 { - action = "[12] call ACE_Common_toggleState"; + class Interactive_CheckboxButton12: Interactive_CheckboxButton0 { + action = QUOTE([12] call GVAR(toggleState)); idc = 512; y = (VSPACE2 + 14 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton13 : Interactive_CheckboxButton0 { - action = "[13] call ACE_Common_toggleState"; + class Interactive_CheckboxButton13: Interactive_CheckboxButton0 { + action = QUOTE([13] call GVAR(toggleState)); idc = 513; y = (VSPACE2 + 15 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton14 : Interactive_CheckboxButton0 { - action = "[14] call ACE_Common_toggleState"; + class Interactive_CheckboxButton14: Interactive_CheckboxButton0 { + action = QUOTE([14] call GVAR(toggleState)); idc = 514; y = (VSPACE2 + 16 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton15 : Interactive_CheckboxButton0 { - action = "[15] call ACE_Common_toggleState"; + class Interactive_CheckboxButton15: Interactive_CheckboxButton0 { + action = QUOTE([15] call GVAR(toggleState)); idc = 515; y = (VSPACE2 + 17 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton16 : Interactive_CheckboxButton0 { - action = "[16] call ACE_Common_toggleState"; + class Interactive_CheckboxButton16: Interactive_CheckboxButton0 { + action = QUOTE([16] call GVAR(toggleState)); idc = 516; y = (VSPACE2 + 18 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton17 : Interactive_CheckboxButton0 { - action = "[17] call ACE_Common_toggleState"; + class Interactive_CheckboxButton17: Interactive_CheckboxButton0 { + action = QUOTE([17] call GVAR(toggleState)); idc = 517; y = (VSPACE2 + 19 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton18 : Interactive_CheckboxButton0 { - action = "[18] call ACE_Common_toggleState"; + class Interactive_CheckboxButton18: Interactive_CheckboxButton0 { + action = QUOTE([18] call GVAR(toggleState)); idc = 518; y = (VSPACE2 + 20 * 0.04) * safezoneH + safezoneY; }; - class Interactive_CheckboxButton19 : Interactive_CheckboxButton0 { - action = "[19] call ACE_Common_toggleState"; + class Interactive_CheckboxButton19: Interactive_CheckboxButton0 { + action = QUOTE([19] call GVAR(toggleState)); idc = 519; y = (VSPACE2 + 21 * 0.04) * safezoneH + safezoneY; }; ////////////////////////////////////////////////// - class TextBox_KeyChange : Text_Button0 { + class TextBox_KeyChange: Text_Button0 { text = ""; idc = 20; style = 2 + 0x800; @@ -734,7 +734,7 @@ class ACE_Common_OptionsMenu_Dialog { h = (3.0 / 9 - VSPACE2 / 2) * safezoneH; }; - /*class TextBox_Key_Shift : TextBox_KeyChange { + /*class TextBox_Key_Shift: TextBox_KeyChange { text = "$STR_ACE_Common_Shift"; idc = 21; colorText[] = {0.25,0.25,0.25,1}; @@ -745,22 +745,22 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class TextBox_Key_Control : TextBox_Key_Shift { + class TextBox_Key_Control: TextBox_Key_Shift { text = "$STR_ACE_Common_Ctrl"; idc = 22; x = (3 / 4 * HSPACE2 + 6.75 * 0.1) * safezoneW + safezoneX; y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY; }; - class TextBox_Key_Alt : TextBox_Key_Shift { + class TextBox_Key_Alt: TextBox_Key_Shift { text = "$STR_ACE_Common_Alt"; idc = 23; x = (3 / 4 * HSPACE2 + 7.75 * 0.1) * safezoneW + safezoneX; y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY; };*/ - class TextBox_Key_Shift : Interactive_Button0 { - action = "ACE_Common_keyNewTemp = [42, [false, false, false], 42];"; + class TextBox_Key_Shift: Interactive_Button0 { + action = QUOTE(GVAR(keyNewTemp) = [ARR_3(42,[ARR_3(false,false,false)],42)];); text = "$STR_ACE_Common_Shift"; sizeEx = "0.7 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs"; idc = 21; @@ -772,47 +772,47 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class TextBox_Key_Control : TextBox_Key_Shift { - action = "ACE_Common_keyNewTemp = [29, [false, false, false], 29];"; + class TextBox_Key_Control: TextBox_Key_Shift { + action = QUOTE(GVAR(keyNewTemp) = [ARR_3(29,[ARR_3(false,false,false)],29)];); text = "$STR_ACE_Common_Ctrl"; idc = 22; x = (3 / 4 * HSPACE2 + 6.75 * 0.1) * safezoneW + safezoneX; y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY; }; - class TextBox_Key_Alt : TextBox_Key_Shift { - action = "ACE_Common_keyNewTemp = [56, [false, false, false], 56];"; + class TextBox_Key_Alt: TextBox_Key_Shift { + action = QUOTE(GVAR(keyNewTemp) = [ARR_3(56,[ARR_3(false,false,false)],56)];); text = "$STR_ACE_Common_Alt"; idc = 23; x = (3 / 4 * HSPACE2 + 7.5 * 0.1) * safezoneW + safezoneX; y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY; }; - class TextBox_Key_Shift_Right : TextBox_Key_Shift { - action = "ACE_Common_keyNewTemp = [54, [false, false, false], 54];"; + class TextBox_Key_Shift_Right: TextBox_Key_Shift { + action = QUOTE(GVAR(keyNewTemp) = [ARR_3(54,[ARR_3(false,false,false)],54)];); text = "$STR_ACE_Common_Shift_Right"; idc = 27; x = (3 / 4 * HSPACE2 + 6 * 0.1) * safezoneW + safezoneX; y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY; }; - class TextBox_Key_Control_Right : TextBox_Key_Shift { - action = "ACE_Common_keyNewTemp = [157, [false, false, false], 157];"; + class TextBox_Key_Control_Right: TextBox_Key_Shift { + action = QUOTE(GVAR(keyNewTemp) = [ARR_3(157,[ARR_3(false,false,false)],157)];); text = "$STR_ACE_Common_Ctrl_Right"; idc = 28; x = (3 / 4 * HSPACE2 + 6.75 * 0.1) * safezoneW + safezoneX; y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY; }; - class TextBox_Key_Alt_Right : TextBox_Key_Shift { - action = "ACE_Common_keyNewTemp = [184, [false, false, false], 184];"; + class TextBox_Key_Alt_Right: TextBox_Key_Shift { + action = QUOTE(GVAR(keyNewTemp) = [ARR_3(184,[ARR_3(false,false,false)],184)];); text = "$STR_ACE_Common_Alt_Right"; idc = 29; x = (3 / 4 * HSPACE2 + 7.5 * 0.1) * safezoneW + safezoneX; y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY; }; - class TextBox_Action : TextBox_KeyChange { + class TextBox_Action: TextBox_KeyChange { text = ""; idc = 30; colorText[] = {1,1,1,1}; @@ -824,23 +824,23 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class TextBox_Key_Default : TextBox_Key_Shift { - action = "call ACE_Common_keysetDefault"; + class TextBox_Key_Default: TextBox_Key_Shift { + action = QUOTE(call GVAR(keysetDefault)); text = "$STR_ACE_Common_KeyDefault"; idc = 31; x = (3 / 4 * HSPACE2 + 8.25 * 0.1) * safezoneW + safezoneX; y = (VSPACE2 + 10 * 0.04) * safezoneH + safezoneY; }; - class TextBox_Key_None : TextBox_Key_Shift { - action = "ACE_Common_keyNewTemp = [0, [false, false, false], 0];"; + class TextBox_Key_None: TextBox_Key_Shift { + action = QUOTE(GVAR(keyNewTemp) = [ARR_3(0,[ARR_3(false,false,false)],0)];); text = "$STR_ACE_Common_KeyNone"; idc = 32; x = (3 / 4 * HSPACE2 + 8.25 * 0.1) * safezoneW + safezoneX; y = (VSPACE2 + 11 * 0.04) * safezoneH + safezoneY; }; - class TextBox_Key : TextBox_KeyChange { + class TextBox_Key: TextBox_KeyChange { text = ""; idc = 24; colorText[] = {1,1,1,1}; @@ -852,8 +852,8 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class Interactive_ButtonV : Interactive_Button0 { - action = "ACE_Common_keySet = 1"; + class Interactive_ButtonV: Interactive_Button0 { + action = QUOTE(ACE_Common_keySet = 1); text = "$STR_ACE_Common_Save"; sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs"; idc = 25; @@ -864,8 +864,8 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class Interactive_ButtonW : Interactive_ButtonV { - action = "ACE_Common_keySet = -1"; + class Interactive_ButtonW: Interactive_ButtonV { + action = QUOTE(GVAR(keySet) = -1); text = "$STR_ACE_Common_Cancel"; idc = 26; x = (HSPACE2 + 7.5 * 0.1) * safezoneW + safezoneX; @@ -874,8 +874,8 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class Interactive_ButtonX : Interactive_Button0 { - action = "ACE_Common_keySave = 1; closeDialog 0"; + class Interactive_ButtonX: Interactive_Button0 { + action = QUOTE(GVAR(keySave) = 1; closeDialog 0); text = "$STR_ACE_Common_Save"; sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs"; idc = 10; @@ -885,8 +885,8 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class Interactive_ButtonY : Interactive_Button0 { - action = "ACE_Common_keySave = -1; closeDialog 0"; + class Interactive_ButtonY: Interactive_Button0 { + action = QUOTE(GVAR(keySave) = -1; closeDialog 0); text = "$STR_ACE_Common_Cancel"; sizeEx = "1 / 40 / (getResolution select 5)";// * safezoneX / safezoneXAbs"; idc = 11; @@ -896,8 +896,8 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class Interactive_ButtonA : ACE_Common_Interactive_Button_Base { - action = "false call ACE_Common_nextKeys"; + class Interactive_ButtonA: GVAR(Interactive_Button_Base) { + action = QUOTE(false call GVAR(nextKeys)); text = "$STR_ACE_Common_Prev"; idc = 12; style = 2 + 0x800; @@ -907,14 +907,14 @@ class ACE_Common_OptionsMenu_Dialog { h = 0.3 / 9 * safezoneH; }; - class Interactive_ButtonB : Interactive_ButtonA { - action = "true call ACE_Common_nextKeys"; + class Interactive_ButtonB: Interactive_ButtonA { + action = QUOTE(true call GVAR(nextKeys)); text = "$STR_ACE_Common_Next"; idc = 13; x = (HSPACE2 + 3 * 0.1 + 2.0 / 16) * safezoneW + safezoneX; }; - class Interactive_ButtonC : ACE_Common_Text_Button_Base { + class Interactive_ButtonC: GVAR(Text_Button_Base) { text = ""; idc = 14; style = 2 + 0x800; diff --git a/addons/common/XEH_postInit.sqf b/addons/common/XEH_postInit.sqf index 1476f775c0..5c37862c7b 100644 --- a/addons/common/XEH_postInit.sqf +++ b/addons/common/XEH_postInit.sqf @@ -8,7 +8,7 @@ QGVAR(remoteFnc) addPublicVariableEventHandler { [missionNamespace] call FUNC(executePersistent); // check previous version number from profile -_currentVersion = getText (configFile >> "CfgPatches" >> "ACE_Common" >> "version"); +_currentVersion = getText (configFile >> "CfgPatches" >> ADDON >> "version"); _previousVersion = profileNamespace getVariable ["ACE_VersionNumberString", ""]; if (_currentVersion != _previousVersion) then { diff --git a/addons/common/functions/fnc_addActionEventHandler.sqf b/addons/common/functions/fnc_addActionEventHandler.sqf index e540bde53f..a75b1537d1 100644 --- a/addons/common/functions/fnc_addActionEventHandler.sqf +++ b/addons/common/functions/fnc_addActionEventHandler.sqf @@ -12,7 +12,7 @@ * Return value: * ID of the action (used to remove it later). */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_action", "_condition", "_statement", "_name", "_actionsVar", "_actionID", "_actions", "_id", "_actionIDs"]; diff --git a/addons/common/functions/fnc_addActionMenuEventHandler.sqf b/addons/common/functions/fnc_addActionMenuEventHandler.sqf index 6878f78575..249ee7e1cd 100644 --- a/addons/common/functions/fnc_addActionMenuEventHandler.sqf +++ b/addons/common/functions/fnc_addActionMenuEventHandler.sqf @@ -16,7 +16,7 @@ * Return value: * ID of the action (used to remove it later). */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_displayName", "_action", "_condition", "_statement", "_condition2", "_statement2", "_priority", "_name", "_actionsVar", "_id", "_actionIDs", "_actions", "_nameVar", "_addAction", "_actionID"]; diff --git a/addons/common/functions/fnc_addCameraEventHandler.sqf b/addons/common/functions/fnc_addCameraEventHandler.sqf index b0aaeac8e0..45fdb3bdca 100644 --- a/addons/common/functions/fnc_addCameraEventHandler.sqf +++ b/addons/common/functions/fnc_addCameraEventHandler.sqf @@ -10,7 +10,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_addCuratorUnloadEventhandler.sqf b/addons/common/functions/fnc_addCuratorUnloadEventhandler.sqf index 4d279c0f7a..0d1606aaf6 100644 --- a/addons/common/functions/fnc_addCuratorUnloadEventhandler.sqf +++ b/addons/common/functions/fnc_addCuratorUnloadEventhandler.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_dlg"; diff --git a/addons/common/functions/fnc_addCustomEventHandler.sqf b/addons/common/functions/fnc_addCustomEventHandler.sqf index 975a191942..e31730dbb3 100644 --- a/addons/common/functions/fnc_addCustomEventHandler.sqf +++ b/addons/common/functions/fnc_addCustomEventHandler.sqf @@ -11,7 +11,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_object", "_type", "_statement", "_name", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_addInfoDisplayEventHandler.sqf b/addons/common/functions/fnc_addInfoDisplayEventHandler.sqf index 08258db97d..d80c8b7fec 100644 --- a/addons/common/functions/fnc_addInfoDisplayEventHandler.sqf +++ b/addons/common/functions/fnc_addInfoDisplayEventHandler.sqf @@ -10,7 +10,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_type", "_statement", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_addInventoryDisplayLoadedEventHandler.sqf b/addons/common/functions/fnc_addInventoryDisplayLoadedEventHandler.sqf index a7b83c1f1b..60681e066c 100644 --- a/addons/common/functions/fnc_addInventoryDisplayLoadedEventHandler.sqf +++ b/addons/common/functions/fnc_addInventoryDisplayLoadedEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_addMapMarkerCreatedEventHandler.sqf b/addons/common/functions/fnc_addMapMarkerCreatedEventHandler.sqf index 10631265bc..64ce3e9735 100644 --- a/addons/common/functions/fnc_addMapMarkerCreatedEventHandler.sqf +++ b/addons/common/functions/fnc_addMapMarkerCreatedEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_addScrollWheelEventHandler.sqf b/addons/common/functions/fnc_addScrollWheelEventHandler.sqf index 07ff213133..98444a160d 100644 --- a/addons/common/functions/fnc_addScrollWheelEventHandler.sqf +++ b/addons/common/functions/fnc_addScrollWheelEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * ID of the event script (used to remove it later). */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_statement", "_actionsVar", "_id", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_adminKick.sqf b/addons/common/functions/fnc_adminKick.sqf index ad8b133064..bc9afd9fcb 100644 --- a/addons/common/functions/fnc_adminKick.sqf +++ b/addons/common/functions/fnc_adminKick.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_name"; diff --git a/addons/common/functions/fnc_ambientBrightness.sqf b/addons/common/functions/fnc_ambientBrightness.sqf index 2ab3be4834..034129735a 100644 --- a/addons/common/functions/fnc_ambientBrightness.sqf +++ b/addons/common/functions/fnc_ambientBrightness.sqf @@ -9,6 +9,6 @@ * Return value: * Ambient brightness (Number) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" sunOrMoon * sunOrMoon + moonIntensity/5 min 1 diff --git a/addons/common/functions/fnc_applyForceWalkStatus.sqf b/addons/common/functions/fnc_applyForceWalkStatus.sqf index c090c236db..0f8ffb58ea 100644 --- a/addons/common/functions/fnc_applyForceWalkStatus.sqf +++ b/addons/common/functions/fnc_applyForceWalkStatus.sqf @@ -15,7 +15,7 @@ Returns: Example: [ACE_Player] call FUNC(applyForceWalkStatus) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_forceWalkNumber"]; diff --git a/addons/common/functions/fnc_binarizeNumber.sqf b/addons/common/functions/fnc_binarizeNumber.sqf index bba135b9b9..11334083f8 100644 --- a/addons/common/functions/fnc_binarizeNumber.sqf +++ b/addons/common/functions/fnc_binarizeNumber.sqf @@ -10,7 +10,7 @@ * Return value: * Booleans (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_number", "_minLength", "_array", "_index", "_rest"]; diff --git a/addons/common/functions/fnc_callCustomEventHandlers.sqf b/addons/common/functions/fnc_callCustomEventHandlers.sqf index 9d2b7c2370..4b822e0754 100644 --- a/addons/common/functions/fnc_callCustomEventHandlers.sqf +++ b/addons/common/functions/fnc_callCustomEventHandlers.sqf @@ -11,7 +11,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_object", "_type", "_argument", "_name", "_actions"]; diff --git a/addons/common/functions/fnc_callCustomEventHandlersGlobal.sqf b/addons/common/functions/fnc_callCustomEventHandlersGlobal.sqf index 5333a2e065..e1dddd5916 100644 --- a/addons/common/functions/fnc_callCustomEventHandlersGlobal.sqf +++ b/addons/common/functions/fnc_callCustomEventHandlersGlobal.sqf @@ -11,6 +11,6 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" [_this, QUOTE(FUNC(callCustomEventHandlers)), 2] call FUNC(execRemoteFnc); diff --git a/addons/common/functions/fnc_canGetInPosition.sqf b/addons/common/functions/fnc_canGetInPosition.sqf index 9aaaa4518a..859d8ed461 100644 --- a/addons/common/functions/fnc_canGetInPosition.sqf +++ b/addons/common/functions/fnc_canGetInPosition.sqf @@ -14,7 +14,7 @@ * Return Value: * Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" #define CANGETINDRIVER (isNull (driver _vehicle) || {!alive driver _vehicle}) && {!lockedDriver _vehicle} && {getNumber (_config >> "isUav") != 1} #define CANGETINTURRETINDEX (isNull (_vehicle turretUnit _turret) || {!alive (_vehicle turretUnit _turret)}) && {!(_vehicle lockedTurret _turret)} && {getNumber (_config >> "isUav") != 1} diff --git a/addons/common/functions/fnc_canInteractWith.sqf b/addons/common/functions/fnc_canInteractWith.sqf index 741c1474b4..9c5405452e 100644 --- a/addons/common/functions/fnc_canInteractWith.sqf +++ b/addons/common/functions/fnc_canInteractWith.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_target", "_owner"]; diff --git a/addons/common/functions/fnc_canUseWeapon.sqf b/addons/common/functions/fnc_canUseWeapon.sqf index 4c686089df..cbb33f1905 100644 --- a/addons/common/functions/fnc_canUseWeapon.sqf +++ b/addons/common/functions/fnc_canUseWeapon.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" // returns true if the unit is on foot or in a ffv position diff --git a/addons/common/functions/fnc_changeProjectileDirection.sqf b/addons/common/functions/fnc_changeProjectileDirection.sqf index 43ff5243de..04154da9c1 100644 --- a/addons/common/functions/fnc_changeProjectileDirection.sqf +++ b/addons/common/functions/fnc_changeProjectileDirection.sqf @@ -12,7 +12,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_projectile", "_adjustDir", "_adjustUp", "_adjustSpeed", "_vdir", "_dir", "_up", "_l", "_r", "_vup", "_vel"]; diff --git a/addons/common/functions/fnc_checkPBOs.sqf b/addons/common/functions/fnc_checkPBOs.sqf index 42f71ba8bd..7c4aaeba13 100644 --- a/addons/common/functions/fnc_checkPBOs.sqf +++ b/addons/common/functions/fnc_checkPBOs.sqf @@ -14,7 +14,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_mode", "_checkAll", "_whitelist", "_logic"]; diff --git a/addons/common/functions/fnc_claim.sqf b/addons/common/functions/fnc_claim.sqf index 3da556fe9f..cf960ac462 100644 --- a/addons/common/functions/fnc_claim.sqf +++ b/addons/common/functions/fnc_claim.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_target", "_lockTarget", "_owner"]; diff --git a/addons/common/functions/fnc_closeDialogIfTargetMoves.sqf b/addons/common/functions/fnc_closeDialogIfTargetMoves.sqf index 417adffdf3..c701db6a02 100644 --- a/addons/common/functions/fnc_closeDialogIfTargetMoves.sqf +++ b/addons/common/functions/fnc_closeDialogIfTargetMoves.sqf @@ -10,7 +10,7 @@ * Return Value: * None */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" _this spawn { _target = _this select 0; diff --git a/addons/common/functions/fnc_codeToLetter.sqf b/addons/common/functions/fnc_codeToLetter.sqf index 31e7241e16..8e8a9c8a3e 100644 --- a/addons/common/functions/fnc_codeToLetter.sqf +++ b/addons/common/functions/fnc_codeToLetter.sqf @@ -1,4 +1,4 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" ["", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"] select ([2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38, 50, 49, 24, 25, 16, 19, 31, 20, 22, 47, 17, 45, 44, 21] find (_this select 0)) + 1 diff --git a/addons/common/functions/fnc_codeToString.sqf b/addons/common/functions/fnc_codeToString.sqf index fa7187cae9..440cacc5a3 100644 --- a/addons/common/functions/fnc_codeToString.sqf +++ b/addons/common/functions/fnc_codeToString.sqf @@ -9,7 +9,7 @@ * Return value: * Code (String) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_function"; diff --git a/addons/common/functions/fnc_convertKeyCode.sqf b/addons/common/functions/fnc_convertKeyCode.sqf index 67c316fda8..a8af25401c 100644 --- a/addons/common/functions/fnc_convertKeyCode.sqf +++ b/addons/common/functions/fnc_convertKeyCode.sqf @@ -12,7 +12,7 @@ * Return value: * Key code (Number) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" #define KEY_MODIFIERS [42, 54, 29, 157, 56, 184] diff --git a/addons/common/functions/fnc_currentChannel.sqf b/addons/common/functions/fnc_currentChannel.sqf index 15fd89a464..115364fb24 100644 --- a/addons/common/functions/fnc_currentChannel.sqf +++ b/addons/common/functions/fnc_currentChannel.sqf @@ -9,7 +9,7 @@ * Return value: * The current channel. Can be "group", "side", "global", "command", "vehicle" or "direct" (String) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" #define CHANNELS ["group", "side", "global", "command", "vehicle", "direct"] #define CHANNELS_LOCALIZED [localize "str_channel_group", localize "str_channel_side", localize "str_channel_global", localize "str_channel_command", localize "str_channel_vehicle", localize "str_channel_direct"] diff --git a/addons/common/functions/fnc_disableUserInput.sqf b/addons/common/functions/fnc_disableUserInput.sqf index 324f02d1b1..923575dd97 100644 --- a/addons/common/functions/fnc_disableUserInput.sqf +++ b/addons/common/functions/fnc_disableUserInput.sqf @@ -9,7 +9,7 @@ * Return value: * Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_state", "_dlg"]; diff --git a/addons/common/functions/fnc_displayText.sqf b/addons/common/functions/fnc_displayText.sqf index 36feff14c0..c6a68cbab2 100644 --- a/addons/common/functions/fnc_displayText.sqf +++ b/addons/common/functions/fnc_displayText.sqf @@ -12,7 +12,7 @@ * Return value: * Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" #define DEFAULT_PLAY_SOUND false #define DEFAULT_DELAY 2 diff --git a/addons/common/functions/fnc_displayTextPicture.sqf b/addons/common/functions/fnc_displayTextPicture.sqf index 4b9a0255af..8d46d8d38e 100644 --- a/addons/common/functions/fnc_displayTextPicture.sqf +++ b/addons/common/functions/fnc_displayTextPicture.sqf @@ -10,7 +10,7 @@ * Return value: * Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_text", "_image"]; diff --git a/addons/common/functions/fnc_displayTextStructured.sqf b/addons/common/functions/fnc_displayTextStructured.sqf index aed3f0555a..62db6a829f 100644 --- a/addons/common/functions/fnc_displayTextStructured.sqf +++ b/addons/common/functions/fnc_displayTextStructured.sqf @@ -10,7 +10,7 @@ * Return value: * Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_text", "_size", "_isShown", "_ctrlHint"]; diff --git a/addons/common/functions/fnc_doAnimation.sqf b/addons/common/functions/fnc_doAnimation.sqf index fb1483fcd1..969a57fd6d 100644 --- a/addons/common/functions/fnc_doAnimation.sqf +++ b/addons/common/functions/fnc_doAnimation.sqf @@ -14,7 +14,7 @@ * Return value: * Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_animation", "_priority", "_force"]; diff --git a/addons/common/functions/fnc_endRadioTransmission.sqf b/addons/common/functions/fnc_endRadioTransmission.sqf index 5d6ffe19b0..990d4e03d8 100644 --- a/addons/common/functions/fnc_endRadioTransmission.sqf +++ b/addons/common/functions/fnc_endRadioTransmission.sqf @@ -10,7 +10,7 @@ * None. * */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" // ACRE if (isClass (configFile >> "CfgPatches" >> "acre_main")) then { diff --git a/addons/common/functions/fnc_execPersistentFnc.sqf b/addons/common/functions/fnc_execPersistentFnc.sqf index 542466d60c..248d35636e 100644 --- a/addons/common/functions/fnc_execPersistentFnc.sqf +++ b/addons/common/functions/fnc_execPersistentFnc.sqf @@ -12,7 +12,7 @@ * Return value: * Nothing. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_arguments", "_function", "_unit", "_name"]; diff --git a/addons/common/functions/fnc_execRemoteFnc.sqf b/addons/common/functions/fnc_execRemoteFnc.sqf index e4091bf2f6..111dbbdc0c 100644 --- a/addons/common/functions/fnc_execRemoteFnc.sqf +++ b/addons/common/functions/fnc_execRemoteFnc.sqf @@ -15,7 +15,7 @@ * Return value: * Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_arguments", "_function", "_unit", "_id"]; diff --git a/addons/common/functions/fnc_executePersistent.sqf b/addons/common/functions/fnc_executePersistent.sqf index 8e8f7375b0..80f29f35ad 100644 --- a/addons/common/functions/fnc_executePersistent.sqf +++ b/addons/common/functions/fnc_executePersistent.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_target"; diff --git a/addons/common/functions/fnc_exportConfig.sqf b/addons/common/functions/fnc_exportConfig.sqf index 3b157f0a81..10c88d6bca 100644 --- a/addons/common/functions/fnc_exportConfig.sqf +++ b/addons/common/functions/fnc_exportConfig.sqf @@ -4,7 +4,7 @@ (configFile >> "CfgAmmo") call FUNC(exportConfig); */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_fnc_logEntries"; diff --git a/addons/common/functions/fnc_filter.sqf b/addons/common/functions/fnc_filter.sqf index 3d61c7559e..23e28c5fc5 100644 --- a/addons/common/functions/fnc_filter.sqf +++ b/addons/common/functions/fnc_filter.sqf @@ -13,7 +13,7 @@ * Usage: * [[0,1,2,3,4], {_this > 2}] call FUNC(filter) ==> [3,4] */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_array", "_code", "_newArray", "_index"]; diff --git a/addons/common/functions/fnc_fixCrateContent.sqf b/addons/common/functions/fnc_fixCrateContent.sqf index d6e7f91cc6..3128f783d5 100644 --- a/addons/common/functions/fnc_fixCrateContent.sqf +++ b/addons/common/functions/fnc_fixCrateContent.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_crate", "_weapons", "_items"]; diff --git a/addons/common/functions/fnc_fixLoweredRifleAnimation.sqf b/addons/common/functions/fnc_fixLoweredRifleAnimation.sqf index 2a5a5d1224..55bc6865b0 100644 --- a/addons/common/functions/fnc_fixLoweredRifleAnimation.sqf +++ b/addons/common/functions/fnc_fixLoweredRifleAnimation.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_unit"; diff --git a/addons/common/functions/fnc_getCaptivityStatus.sqf b/addons/common/functions/fnc_getCaptivityStatus.sqf index 857d78d5b1..dcd3d6b0ff 100644 --- a/addons/common/functions/fnc_getCaptivityStatus.sqf +++ b/addons/common/functions/fnc_getCaptivityStatus.sqf @@ -9,7 +9,7 @@ * Return value: * Reasons, why the unit is a captive. An empty array is returned if the unit is not a captive (Array of Strings) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_captivityReasons", "_unitCaptivityStatus", "_unitCaptivityReasons"]; diff --git a/addons/common/functions/fnc_getChildren.sqf b/addons/common/functions/fnc_getChildren.sqf index 4fcf7af2fb..057b14ff40 100644 --- a/addons/common/functions/fnc_getChildren.sqf +++ b/addons/common/functions/fnc_getChildren.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_name", "_cfgClass", "_classes"]; diff --git a/addons/common/functions/fnc_getConfigCommander.sqf b/addons/common/functions/fnc_getConfigCommander.sqf index bb65331228..5fca3af81c 100644 --- a/addons/common/functions/fnc_getConfigCommander.sqf +++ b/addons/common/functions/fnc_getConfigCommander.sqf @@ -9,7 +9,7 @@ * Return value: * Commander config (Config) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_config", "_turret"]; diff --git a/addons/common/functions/fnc_getConfigGunner.sqf b/addons/common/functions/fnc_getConfigGunner.sqf index e4708599d8..0c09461a04 100644 --- a/addons/common/functions/fnc_getConfigGunner.sqf +++ b/addons/common/functions/fnc_getConfigGunner.sqf @@ -9,7 +9,7 @@ * Return value: * Gunner config (Config) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_config", "_turret"]; diff --git a/addons/common/functions/fnc_getDefaultAnim.sqf b/addons/common/functions/fnc_getDefaultAnim.sqf index 99636e36e7..fd53668396 100644 --- a/addons/common/functions/fnc_getDefaultAnim.sqf +++ b/addons/common/functions/fnc_getDefaultAnim.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_anim", "_stance"]; diff --git a/addons/common/functions/fnc_getDisplayConfigName.sqf b/addons/common/functions/fnc_getDisplayConfigName.sqf index 38623ff333..3ffc20de2f 100644 --- a/addons/common/functions/fnc_getDisplayConfigName.sqf +++ b/addons/common/functions/fnc_getDisplayConfigName.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_configName", "_index"]; diff --git a/addons/common/functions/fnc_getDoorTurrets.sqf b/addons/common/functions/fnc_getDoorTurrets.sqf index 02d9dd6978..eadaeb2000 100644 --- a/addons/common/functions/fnc_getDoorTurrets.sqf +++ b/addons/common/functions/fnc_getDoorTurrets.sqf @@ -9,7 +9,7 @@ * Return value: * Turret indexes of the door gunner. Empty array means no gunner position. (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicleType", "_turrets", "_doorTurrets", "_config"]; diff --git a/addons/common/functions/fnc_getForceWalkStatus.sqf b/addons/common/functions/fnc_getForceWalkStatus.sqf index 3d762b1cdd..10a70546fb 100644 --- a/addons/common/functions/fnc_getForceWalkStatus.sqf +++ b/addons/common/functions/fnc_getForceWalkStatus.sqf @@ -15,7 +15,7 @@ Returns: Example: [ACE_Player] call FUNC(getForceWalkStatus) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_forceWalkReasons", "_unitForceWalkNumber", "_unitForceWalkStatus", "_unitForceWalkReasons"]; diff --git a/addons/common/functions/fnc_getHitPoints.sqf b/addons/common/functions/fnc_getHitPoints.sqf index 2b6c157891..a6d75e41b9 100644 --- a/addons/common/functions/fnc_getHitPoints.sqf +++ b/addons/common/functions/fnc_getHitPoints.sqf @@ -9,7 +9,7 @@ * Return Value: * The hitpoints (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_config", "_hitpoints"]; diff --git a/addons/common/functions/fnc_getHitPointsWithSelections.sqf b/addons/common/functions/fnc_getHitPointsWithSelections.sqf index f48489b130..e9a7a8fac5 100644 --- a/addons/common/functions/fnc_getHitPointsWithSelections.sqf +++ b/addons/common/functions/fnc_getHitPointsWithSelections.sqf @@ -9,7 +9,7 @@ * Return Value: * The hitpoints with selections. Format: [hitpoints, selections]. They correspond by index. (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_config", "_hitpoints", "_selections"]; diff --git a/addons/common/functions/fnc_getInPosition.sqf b/addons/common/functions/fnc_getInPosition.sqf index 4cc7705b3c..0cfce1e124 100644 --- a/addons/common/functions/fnc_getInPosition.sqf +++ b/addons/common/functions/fnc_getInPosition.sqf @@ -13,7 +13,7 @@ * Return Value: * Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" #define CANGETINDRIVER (isNull (driver _vehicle) || {!alive driver _vehicle}) && {!lockedDriver _vehicle} && {getNumber (_config >> "isUav") != 1} #define CANGETINTURRETINDEX (isNull (_vehicle turretUnit _turret) || {!alive (_vehicle turretUnit _turret)}) && {!(_vehicle lockedTurret _turret)} && {getNumber (_config >> "isUav") != 1} diff --git a/addons/common/functions/fnc_getMarkerType.sqf b/addons/common/functions/fnc_getMarkerType.sqf index cfcfcc420d..0324bf0ede 100644 --- a/addons/common/functions/fnc_getMarkerType.sqf +++ b/addons/common/functions/fnc_getMarkerType.sqf @@ -9,7 +9,7 @@ * Return Value: * Marker Type (string) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" _group = _this select 0; _leader = leader _group; diff --git a/addons/common/functions/fnc_getName.sqf b/addons/common/functions/fnc_getName.sqf index 3bc0663f51..4d10ce052c 100644 --- a/addons/common/functions/fnc_getName.sqf +++ b/addons/common/functions/fnc_getName.sqf @@ -10,7 +10,7 @@ * Return value: * The name. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_showEffective", "_name"]; diff --git a/addons/common/functions/fnc_getNumberFromMissionSQM.sqf b/addons/common/functions/fnc_getNumberFromMissionSQM.sqf index 7251a253a6..1c9fbda77d 100644 --- a/addons/common/functions/fnc_getNumberFromMissionSQM.sqf +++ b/addons/common/functions/fnc_getNumberFromMissionSQM.sqf @@ -9,7 +9,7 @@ * Return value: * Value of the entry. Note: If the entry does not exist, it might return 0 or an entry with the same name of another class! (Number) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_number"; diff --git a/addons/common/functions/fnc_getPitchBankYaw.sqf b/addons/common/functions/fnc_getPitchBankYaw.sqf index 3758b42931..2a9b0bacd1 100644 --- a/addons/common/functions/fnc_getPitchBankYaw.sqf +++ b/addons/common/functions/fnc_getPitchBankYaw.sqf @@ -9,6 +9,6 @@ * Return Value: * [pitch, bank, yaw] */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" ((_this select 0) call BIS_fnc_getPitchBank) + [getDir (_this select 0)] diff --git a/addons/common/functions/fnc_getStringFromMissionSQM.sqf b/addons/common/functions/fnc_getStringFromMissionSQM.sqf index 1fb22e51c8..a19e3490aa 100644 --- a/addons/common/functions/fnc_getStringFromMissionSQM.sqf +++ b/addons/common/functions/fnc_getStringFromMissionSQM.sqf @@ -9,7 +9,7 @@ * Return value: * Value of the entry. Note: If the entry does not exist, it might return an empty string or an entry with the same name of another class! (String) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_path", "_mission", "_a", "_class", "_index", "_array", "_b", "_entry"]; diff --git a/addons/common/functions/fnc_getTargetAzimuthAndInclination.sqf b/addons/common/functions/fnc_getTargetAzimuthAndInclination.sqf index 0327a38f5d..396a3ec85e 100644 --- a/addons/common/functions/fnc_getTargetAzimuthAndInclination.sqf +++ b/addons/common/functions/fnc_getTargetAzimuthAndInclination.sqf @@ -10,7 +10,7 @@ * 0: Azimuth (Number) * 1: Inclination or 'slope' (Number) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_position", "_direction", "_azimuth", "_inclination"]; diff --git a/addons/common/functions/fnc_getTargetDistance.sqf b/addons/common/functions/fnc_getTargetDistance.sqf index d30e880d21..79ef273fad 100644 --- a/addons/common/functions/fnc_getTargetDistance.sqf +++ b/addons/common/functions/fnc_getTargetDistance.sqf @@ -11,7 +11,7 @@ * Return value: * Measured distance in meters. Can return maximal or minimal distance (Number) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_interval", "_maxDistance", "_minDistance", "_position", "_laser", "_line", "_distance", "_iteration"]; diff --git a/addons/common/functions/fnc_getTargetObject.sqf b/addons/common/functions/fnc_getTargetObject.sqf index 5ad46b4f85..c00a0e2340 100644 --- a/addons/common/functions/fnc_getTargetObject.sqf +++ b/addons/common/functions/fnc_getTargetObject.sqf @@ -9,7 +9,7 @@ * Return value: * Nearest object directly in line of sight, if none objNull (Object) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_maxDistance", "_position", "_laser", "_intersects"]; diff --git a/addons/common/functions/fnc_getTurretCommander.sqf b/addons/common/functions/fnc_getTurretCommander.sqf index ed68cbd7c5..4c2b1139c8 100644 --- a/addons/common/functions/fnc_getTurretCommander.sqf +++ b/addons/common/functions/fnc_getTurretCommander.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index of the vehicles commander. Empty array means no observer position. (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_turrets", "_turret", "_config"]; diff --git a/addons/common/functions/fnc_getTurretConfigPath.sqf b/addons/common/functions/fnc_getTurretConfigPath.sqf index 2d8f099ac8..aab3433a4f 100644 --- a/addons/common/functions/fnc_getTurretConfigPath.sqf +++ b/addons/common/functions/fnc_getTurretConfigPath.sqf @@ -10,7 +10,7 @@ * Return value: * Turret config (Config) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_config", "_turretIndex", "_index", "_offset", "_config2", "_foundClasses"]; diff --git a/addons/common/functions/fnc_getTurretCopilot.sqf b/addons/common/functions/fnc_getTurretCopilot.sqf index ab31245777..c2a7e81778 100644 --- a/addons/common/functions/fnc_getTurretCopilot.sqf +++ b/addons/common/functions/fnc_getTurretCopilot.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index of the vehicles gunner. Empty array means no copilot position. (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_turrets", "_turret", "_config"]; diff --git a/addons/common/functions/fnc_getTurretGunner.sqf b/addons/common/functions/fnc_getTurretGunner.sqf index 4aeac062bc..fd1134dc83 100644 --- a/addons/common/functions/fnc_getTurretGunner.sqf +++ b/addons/common/functions/fnc_getTurretGunner.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index of the vehicles gunner. Empty array means no gunner position. (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_turrets", "_turret", "_config"]; diff --git a/addons/common/functions/fnc_getTurretIndex.sqf b/addons/common/functions/fnc_getTurretIndex.sqf index dca0581279..7e62c78848 100644 --- a/addons/common/functions/fnc_getTurretIndex.sqf +++ b/addons/common/functions/fnc_getTurretIndex.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index array or config path. E.g: [0] for gunner or [0,0] for commander. Returns empty array if unit is not in a turret. (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_vehicle", "_turrets", "_units", "_index"]; diff --git a/addons/common/functions/fnc_getTurrets.sqf b/addons/common/functions/fnc_getTurrets.sqf index 2fa93678c3..47ffcde090 100644 --- a/addons/common/functions/fnc_getTurrets.sqf +++ b/addons/common/functions/fnc_getTurrets.sqf @@ -9,7 +9,7 @@ * Return value: * All turret index arrays of the vehicle. E.g: [[0], [0,0]] (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_type", "_config", "_turrets", "_fnc_addTurret"]; diff --git a/addons/common/functions/fnc_getTurretsFFV.sqf b/addons/common/functions/fnc_getTurretsFFV.sqf index f4c800a5b0..b09dfed027 100644 --- a/addons/common/functions/fnc_getTurretsFFV.sqf +++ b/addons/common/functions/fnc_getTurretsFFV.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index of the vehicles gunner. Empty array means no ffv turrets. (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_turrets", "_turret", "_config"]; diff --git a/addons/common/functions/fnc_getTurretsOther.sqf b/addons/common/functions/fnc_getTurretsOther.sqf index ccb16f1102..53673b5a8d 100644 --- a/addons/common/functions/fnc_getTurretsOther.sqf +++ b/addons/common/functions/fnc_getTurretsOther.sqf @@ -9,7 +9,7 @@ * Return value: * Turret index of the vehicles gunner. Empty array means no other turrets. (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_turrets", "_turret", "_config"]; diff --git a/addons/common/functions/fnc_getUavControlPosition.sqf b/addons/common/functions/fnc_getUavControlPosition.sqf index 9e255efea3..82b04e2928 100644 --- a/addons/common/functions/fnc_getUavControlPosition.sqf +++ b/addons/common/functions/fnc_getUavControlPosition.sqf @@ -18,7 +18,7 @@ Returns: Example: [ACE_Player] call FUNC(getUavControlPosition) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_uav", "_positionArray", "_playerIndex"]; diff --git a/addons/common/functions/fnc_getVehicleCargo.sqf b/addons/common/functions/fnc_getVehicleCargo.sqf index e5b0f235e7..e0483e8487 100644 --- a/addons/common/functions/fnc_getVehicleCargo.sqf +++ b/addons/common/functions/fnc_getVehicleCargo.sqf @@ -9,7 +9,7 @@ * Return value: * Vehicle cargo positions. (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_config", "_cargo", "_codrivers"]; diff --git a/addons/common/functions/fnc_getVehicleCodriver.sqf b/addons/common/functions/fnc_getVehicleCodriver.sqf index 901a40ea2f..4fd8058d1e 100644 --- a/addons/common/functions/fnc_getVehicleCodriver.sqf +++ b/addons/common/functions/fnc_getVehicleCodriver.sqf @@ -9,7 +9,7 @@ * Return value: * Vehicle codriver positions. (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_config", "_cargo", "_codrivers"]; diff --git a/addons/common/functions/fnc_getVehicleCrew.sqf b/addons/common/functions/fnc_getVehicleCrew.sqf index bdbeb1cf22..b14fbe561e 100644 --- a/addons/common/functions/fnc_getVehicleCrew.sqf +++ b/addons/common/functions/fnc_getVehicleCrew.sqf @@ -10,7 +10,7 @@ * Return value: * Crew (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_vehicle", "_types", "_crew"]; diff --git a/addons/common/functions/fnc_getWeaponAzimuthAndInclination.sqf b/addons/common/functions/fnc_getWeaponAzimuthAndInclination.sqf index 13b94d607d..7433991e29 100644 --- a/addons/common/functions/fnc_getWeaponAzimuthAndInclination.sqf +++ b/addons/common/functions/fnc_getWeaponAzimuthAndInclination.sqf @@ -10,7 +10,7 @@ * 0: Azimuth (Number) * 1: Inclination or 'slope' (Number) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_weapon", "_direction", "_azimuth", "_inclination"]; diff --git a/addons/common/functions/fnc_getWeaponType.sqf b/addons/common/functions/fnc_getWeaponType.sqf index b95a4c389f..89ee46427b 100644 --- a/addons/common/functions/fnc_getWeaponType.sqf +++ b/addons/common/functions/fnc_getWeaponType.sqf @@ -9,7 +9,7 @@ * Return value: * Slot index of the given class name, 1: primary, 2: secondary, 3: handgun, else: -1 (Number) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_weapon", "_type", "_index"]; diff --git a/addons/common/functions/fnc_getWindDirection.sqf b/addons/common/functions/fnc_getWindDirection.sqf index c6618d9958..5bd4ff12ff 100644 --- a/addons/common/functions/fnc_getWindDirection.sqf +++ b/addons/common/functions/fnc_getWindDirection.sqf @@ -9,7 +9,7 @@ * Return value: * Wind direction. (String) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" switch (round (windDir / 360 * 16)) do { case 1 : {localize QUOTE(DOUBLES(STR,GVAR(SSW)))}; diff --git a/addons/common/functions/fnc_goKneeling.sqf b/addons/common/functions/fnc_goKneeling.sqf index 846aac4712..fbe7c3b8f3 100644 --- a/addons/common/functions/fnc_goKneeling.sqf +++ b/addons/common/functions/fnc_goKneeling.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_unit"; diff --git a/addons/common/functions/fnc_hadamardProduct.sqf b/addons/common/functions/fnc_hadamardProduct.sqf index c7011db943..dd614f8dd0 100644 --- a/addons/common/functions/fnc_hadamardProduct.sqf +++ b/addons/common/functions/fnc_hadamardProduct.sqf @@ -11,7 +11,7 @@ * Return Value: * Hadamard Product */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" _vector1 = _this select 0; _vector2 = _this select 1; diff --git a/addons/common/functions/fnc_inTransitionAnim.sqf b/addons/common/functions/fnc_inTransitionAnim.sqf index 8dad063660..4ce16aebf9 100644 --- a/addons/common/functions/fnc_inTransitionAnim.sqf +++ b/addons/common/functions/fnc_inTransitionAnim.sqf @@ -1,4 +1,4 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> animationState (_this select 0) >> "looped") == 0 diff --git a/addons/common/functions/fnc_interpolateFromArray.sqf b/addons/common/functions/fnc_interpolateFromArray.sqf index 79b5f2eff3..8c0c8daa36 100644 --- a/addons/common/functions/fnc_interpolateFromArray.sqf +++ b/addons/common/functions/fnc_interpolateFromArray.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_array", "_value", "_min", "_max"]; diff --git a/addons/common/functions/fnc_isAutoWind.sqf b/addons/common/functions/fnc_isAutoWind.sqf index 87099a23e7..50933e40a2 100644 --- a/addons/common/functions/fnc_isAutoWind.sqf +++ b/addons/common/functions/fnc_isAutoWind.sqf @@ -9,6 +9,6 @@ * Return value: * This mission has automatic wind? (Bool) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" ["Mission", "Intel", "windForced"] call FUNC(getNumberFromMissionSQM) != 1 diff --git a/addons/common/functions/fnc_isEOD.sqf b/addons/common/functions/fnc_isEOD.sqf index 7cc185c773..6149dfa37b 100644 --- a/addons/common/functions/fnc_isEOD.sqf +++ b/addons/common/functions/fnc_isEOD.sqf @@ -18,7 +18,7 @@ Example: _isSpecialist = [player] call FUNC(isEOD); */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_unit"; diff --git a/addons/common/functions/fnc_isEngineer.sqf b/addons/common/functions/fnc_isEngineer.sqf index fa4d12cef6..2bdb62df4c 100644 --- a/addons/common/functions/fnc_isEngineer.sqf +++ b/addons/common/functions/fnc_isEngineer.sqf @@ -9,7 +9,7 @@ * Return Value: * Bool: is the unit an engineer? */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_unit"; diff --git a/addons/common/functions/fnc_isInBuilding.sqf b/addons/common/functions/fnc_isInBuilding.sqf index 0b69318f8a..0989db42da 100644 --- a/addons/common/functions/fnc_isInBuilding.sqf +++ b/addons/common/functions/fnc_isInBuilding.sqf @@ -9,7 +9,7 @@ * Return value: * Is the unit in a building? (Bool) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" #define DISTANCE 10 diff --git a/addons/common/functions/fnc_isMedic.sqf b/addons/common/functions/fnc_isMedic.sqf index dec244d0c0..d4efdca5b6 100644 --- a/addons/common/functions/fnc_isMedic.sqf +++ b/addons/common/functions/fnc_isMedic.sqf @@ -9,7 +9,7 @@ * Return Value: * Bool: is unit medic? */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit"]; diff --git a/addons/common/functions/fnc_isPlayer.sqf b/addons/common/functions/fnc_isPlayer.sqf index 05b8484a0c..772fae1746 100644 --- a/addons/common/functions/fnc_isPlayer.sqf +++ b/addons/common/functions/fnc_isPlayer.sqf @@ -10,6 +10,6 @@ * Return Value: * Bool: is unit a player? */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" isPlayer (_this select 0) || {_this select 0 == call FUNC(player)} diff --git a/addons/common/functions/fnc_isTurnedOut.sqf b/addons/common/functions/fnc_isTurnedOut.sqf index b467df6e1a..8f722ed733 100644 --- a/addons/common/functions/fnc_isTurnedOut.sqf +++ b/addons/common/functions/fnc_isTurnedOut.sqf @@ -9,7 +9,7 @@ * Return value: * Is the unit turned out or not? Will return false if there is no option to turn out in the first place. (Bool) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_vehicle", "_config", "_animation", "_action", "_inAction", "_turretIndex"]; diff --git a/addons/common/functions/fnc_letterToCode.sqf b/addons/common/functions/fnc_letterToCode.sqf index d50f6b87df..59243915f5 100644 --- a/addons/common/functions/fnc_letterToCode.sqf +++ b/addons/common/functions/fnc_letterToCode.sqf @@ -1,4 +1,4 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" [-1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38, 50, 49, 24, 25, 16, 19, 31, 20, 22, 47, 17, 45, 44, 21] select (["1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"] find toUpper (_this select 0)) + 1 diff --git a/addons/common/functions/fnc_log.sqf b/addons/common/functions/fnc_log.sqf index b778269845..43a5a27682 100644 --- a/addons/common/functions/fnc_log.sqf +++ b/addons/common/functions/fnc_log.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" if ((_this select 0) in (missionNamespace getVariable ["ACE_Debug", []])) then { private ["_type", "_argument", "_function", "_showInGame"]; diff --git a/addons/common/functions/fnc_logControls.sqf b/addons/common/functions/fnc_logControls.sqf index 39f611aa25..5a0a17c317 100644 --- a/addons/common/functions/fnc_logControls.sqf +++ b/addons/common/functions/fnc_logControls.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_array", "_index"]; diff --git a/addons/common/functions/fnc_logDisplays.sqf b/addons/common/functions/fnc_logDisplays.sqf index 2e1bbb4634..81598facf4 100644 --- a/addons/common/functions/fnc_logDisplays.sqf +++ b/addons/common/functions/fnc_logDisplays.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_array", "_index"]; diff --git a/addons/common/functions/fnc_map.sqf b/addons/common/functions/fnc_map.sqf index 07062a795b..99c52ae742 100644 --- a/addons/common/functions/fnc_map.sqf +++ b/addons/common/functions/fnc_map.sqf @@ -13,7 +13,7 @@ * Usage: * [["2", "gobblecock", "25"], {parseNumber _this}] call FUNC(map) ==> [2, 0, 25] */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_array", "_code"]; diff --git a/addons/common/functions/fnc_moduleCheckPBOs.sqf b/addons/common/functions/fnc_moduleCheckPBOs.sqf index 5bb95ec463..4b5ea2374a 100644 --- a/addons/common/functions/fnc_moduleCheckPBOs.sqf +++ b/addons/common/functions/fnc_moduleCheckPBOs.sqf @@ -9,7 +9,7 @@ * Return Value: * None */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" _logic = _this select 0; _units = _this select 1; diff --git a/addons/common/functions/fnc_moduleLSDVehicles.sqf b/addons/common/functions/fnc_moduleLSDVehicles.sqf index 0eba43a974..f06c1cf2ea 100644 --- a/addons/common/functions/fnc_moduleLSDVehicles.sqf +++ b/addons/common/functions/fnc_moduleLSDVehicles.sqf @@ -9,7 +9,7 @@ * Return Value: * None */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" _logic = _this select 0; _units = _this select 1; diff --git a/addons/common/functions/fnc_monitor.sqf b/addons/common/functions/fnc_monitor.sqf index 325deeff14..dcb9e5163f 100644 --- a/addons/common/functions/fnc_monitor.sqf +++ b/addons/common/functions/fnc_monitor.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" terminate (missionNamespace getVariable [QGVAR(MonitorFnc), scriptNull]); diff --git a/addons/common/functions/fnc_muteUnit.sqf b/addons/common/functions/fnc_muteUnit.sqf index d0b21b777c..8edf9df391 100644 --- a/addons/common/functions/fnc_muteUnit.sqf +++ b/addons/common/functions/fnc_muteUnit.sqf @@ -9,7 +9,7 @@ * Return value: * Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_speaker"]; diff --git a/addons/common/functions/fnc_numberToDigits.sqf b/addons/common/functions/fnc_numberToDigits.sqf index a95b051249..465955b455 100644 --- a/addons/common/functions/fnc_numberToDigits.sqf +++ b/addons/common/functions/fnc_numberToDigits.sqf @@ -10,7 +10,7 @@ * Return value: * Digits. The maximum count is six digits. (Array) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_number", "_minLength", "_length", "_digits", "_index", "_count"]; diff --git a/addons/common/functions/fnc_numberToDigitsString.sqf b/addons/common/functions/fnc_numberToDigitsString.sqf index 88b457c0d8..db4e33e6cb 100644 --- a/addons/common/functions/fnc_numberToDigitsString.sqf +++ b/addons/common/functions/fnc_numberToDigitsString.sqf @@ -10,7 +10,7 @@ * Return value: * Digits. The maximum length is six digits. (String) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_digits", "_count", "_string", "_index"]; diff --git a/addons/common/functions/fnc_onLoadRscDisplayChannel.sqf b/addons/common/functions/fnc_onLoadRscDisplayChannel.sqf index b853dcfeeb..2a2fbfc9a4 100644 --- a/addons/common/functions/fnc_onLoadRscDisplayChannel.sqf +++ b/addons/common/functions/fnc_onLoadRscDisplayChannel.sqf @@ -13,7 +13,7 @@ Returns: Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" uiNamespace setVariable ["ACE_ctrlChannel", (_this select 0) displayCtrl 101]; diff --git a/addons/common/functions/fnc_owned.sqf b/addons/common/functions/fnc_owned.sqf index feeb223109..4fa1dbeb98 100644 --- a/addons/common/functions/fnc_owned.sqf +++ b/addons/common/functions/fnc_owned.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_object"; diff --git a/addons/common/functions/fnc_player.sqf b/addons/common/functions/fnc_player.sqf index 7aba5a4c24..3e5990f84b 100644 --- a/addons/common/functions/fnc_player.sqf +++ b/addons/common/functions/fnc_player.sqf @@ -10,6 +10,6 @@ * Return Value: * Player controlled unit (object) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" missionNamespace getVariable ["bis_fnc_moduleRemoteControl_unit", player] diff --git a/addons/common/functions/fnc_playerSide.sqf b/addons/common/functions/fnc_playerSide.sqf index e1ee07750f..632cf11abf 100644 --- a/addons/common/functions/fnc_playerSide.sqf +++ b/addons/common/functions/fnc_playerSide.sqf @@ -1,4 +1,4 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" side group ACE_player diff --git a/addons/common/functions/fnc_progressBar.sqf b/addons/common/functions/fnc_progressBar.sqf index 59323bc3f3..a50b1ecfdd 100644 --- a/addons/common/functions/fnc_progressBar.sqf +++ b/addons/common/functions/fnc_progressBar.sqf @@ -13,7 +13,7 @@ * Return value: * Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" closeDialog 0; createDialog QGVAR(ProgressBar_Dialog); diff --git a/addons/common/functions/fnc_queueAnimation.sqf b/addons/common/functions/fnc_queueAnimation.sqf index 73535e1d54..a489a46174 100644 --- a/addons/common/functions/fnc_queueAnimation.sqf +++ b/addons/common/functions/fnc_queueAnimation.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" terminate (missionNamespace getVariable [QGVAR(waitForAnimationHandle), scriptNull]); diff --git a/addons/common/functions/fnc_readBooleanParameterFromModule.sqf b/addons/common/functions/fnc_readBooleanParameterFromModule.sqf index a4cf2b6bc0..9ee2faa001 100644 --- a/addons/common/functions/fnc_readBooleanParameterFromModule.sqf +++ b/addons/common/functions/fnc_readBooleanParameterFromModule.sqf @@ -11,7 +11,7 @@ * Return Value: * None */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_logic", "_parameterName", "_moduleParameterName"]; diff --git a/addons/common/functions/fnc_readNumericParameterFromModule.sqf b/addons/common/functions/fnc_readNumericParameterFromModule.sqf index cdb2f2a409..a9c35f5b46 100644 --- a/addons/common/functions/fnc_readNumericParameterFromModule.sqf +++ b/addons/common/functions/fnc_readNumericParameterFromModule.sqf @@ -11,7 +11,7 @@ * Return Value: * None */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_logic", "_parameterName", "_moduleParameterName", "_value"]; diff --git a/addons/common/functions/fnc_removeActionEventHandler.sqf b/addons/common/functions/fnc_removeActionEventHandler.sqf index 5e5783dcc3..7d92b3de75 100644 --- a/addons/common/functions/fnc_removeActionEventHandler.sqf +++ b/addons/common/functions/fnc_removeActionEventHandler.sqf @@ -11,7 +11,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_action", "_id", "_name", "_actionsVar", "_actionID", "_actions", "_currentID", "_actionIDs", "_count"]; diff --git a/addons/common/functions/fnc_removeActionMenuEventHandler.sqf b/addons/common/functions/fnc_removeActionMenuEventHandler.sqf index 5614752aba..7c45bae112 100644 --- a/addons/common/functions/fnc_removeActionMenuEventHandler.sqf +++ b/addons/common/functions/fnc_removeActionMenuEventHandler.sqf @@ -11,7 +11,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_action", "_id", "_name", "_actionsVar", "_currentID", "_actionIDs", "_actions", "_actionID", "_nameVar"]; diff --git a/addons/common/functions/fnc_removeCameraEventHandler.sqf b/addons/common/functions/fnc_removeCameraEventHandler.sqf index 66c2382481..0fe8953078 100644 --- a/addons/common/functions/fnc_removeCameraEventHandler.sqf +++ b/addons/common/functions/fnc_removeCameraEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_id", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_removeCustomEventHandler.sqf b/addons/common/functions/fnc_removeCustomEventHandler.sqf index 419a349a72..771ea9f5bf 100644 --- a/addons/common/functions/fnc_removeCustomEventHandler.sqf +++ b/addons/common/functions/fnc_removeCustomEventHandler.sqf @@ -11,7 +11,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_object", "_type", "_id", "_name", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_removeInfoDisplayEventHandler.sqf b/addons/common/functions/fnc_removeInfoDisplayEventHandler.sqf index 002c75364c..160002990c 100644 --- a/addons/common/functions/fnc_removeInfoDisplayEventHandler.sqf +++ b/addons/common/functions/fnc_removeInfoDisplayEventHandler.sqf @@ -10,7 +10,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_type", "_id", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_removeInventoryDisplayLoadedEventHandler.sqf b/addons/common/functions/fnc_removeInventoryDisplayLoadedEventHandler.sqf index 64e6263d8b..f022d7d228 100644 --- a/addons/common/functions/fnc_removeInventoryDisplayLoadedEventHandler.sqf +++ b/addons/common/functions/fnc_removeInventoryDisplayLoadedEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_id", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_removeMapMarkerCreatedEventHandler.sqf b/addons/common/functions/fnc_removeMapMarkerCreatedEventHandler.sqf index aaba83a56c..0f31b5e886 100644 --- a/addons/common/functions/fnc_removeMapMarkerCreatedEventHandler.sqf +++ b/addons/common/functions/fnc_removeMapMarkerCreatedEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_id", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_removeScrollWheelEventHandler.sqf b/addons/common/functions/fnc_removeScrollWheelEventHandler.sqf index 4246360666..914064538d 100644 --- a/addons/common/functions/fnc_removeScrollWheelEventHandler.sqf +++ b/addons/common/functions/fnc_removeScrollWheelEventHandler.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_id", "_actionsVar", "_currentId", "_actionIDs", "_actions"]; diff --git a/addons/common/functions/fnc_restoreVariablesJIP.sqf b/addons/common/functions/fnc_restoreVariablesJIP.sqf index 2aaad78c81..2c173a054c 100644 --- a/addons/common/functions/fnc_restoreVariablesJIP.sqf +++ b/addons/common/functions/fnc_restoreVariablesJIP.sqf @@ -9,7 +9,7 @@ * Return value: * Nothing. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_respawnVariables"]; diff --git a/addons/common/functions/fnc_revertKeyCodeLocalized.sqf b/addons/common/functions/fnc_revertKeyCodeLocalized.sqf index f30bf2bc82..bdffb3a6c9 100644 --- a/addons/common/functions/fnc_revertKeyCodeLocalized.sqf +++ b/addons/common/functions/fnc_revertKeyCodeLocalized.sqf @@ -9,7 +9,7 @@ * Return value: * What input will result in the given key code? (String) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_keyCode", "_key", "_alt", "_ctrl", "_shft"]; diff --git a/addons/common/functions/fnc_sanitizeString.sqf b/addons/common/functions/fnc_sanitizeString.sqf index 29809f4dca..44717915db 100644 --- a/addons/common/functions/fnc_sanitizeString.sqf +++ b/addons/common/functions/fnc_sanitizeString.sqf @@ -10,7 +10,7 @@ * Return Value: * Sanitized string */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_string", "_removeTags", "_array", "_arrayNew"]; diff --git a/addons/common/functions/fnc_serverLog.sqf b/addons/common/functions/fnc_serverLog.sqf index fedeb4fe88..e2c981302d 100644 --- a/addons/common/functions/fnc_serverLog.sqf +++ b/addons/common/functions/fnc_serverLog.sqf @@ -1,5 +1,5 @@ // by CAA-Picard -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" if (isServer) then { diag_log _this; diff --git a/addons/common/functions/fnc_setCaptivityStatus.sqf b/addons/common/functions/fnc_setCaptivityStatus.sqf index 4c95926960..b943fce4ab 100644 --- a/addons/common/functions/fnc_setCaptivityStatus.sqf +++ b/addons/common/functions/fnc_setCaptivityStatus.sqf @@ -11,7 +11,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_reason", "_status", "_captivityReasons", "_unitCaptivityReasons", "_captivityReasonsBooleans", "_bitmask"]; diff --git a/addons/common/functions/fnc_setForceWalkStatus.sqf b/addons/common/functions/fnc_setForceWalkStatus.sqf index 45aa6715ed..52b674015f 100644 --- a/addons/common/functions/fnc_setForceWalkStatus.sqf +++ b/addons/common/functions/fnc_setForceWalkStatus.sqf @@ -18,7 +18,7 @@ Returns: Example: [ACE_Player, "BrokenLeg", true] call FUNC(setForceWalkStatus) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_reason", "_status", "_forceWalkReasons", "_unitForceWalkReasons", "_forceWalkReasonsBooleans", "_bitmaskNumber"]; diff --git a/addons/common/functions/fnc_setKeyDefault.sqf b/addons/common/functions/fnc_setKeyDefault.sqf index ffb3edc709..3c93eb6ba7 100644 --- a/addons/common/functions/fnc_setKeyDefault.sqf +++ b/addons/common/functions/fnc_setKeyDefault.sqf @@ -9,7 +9,7 @@ * Return value: * None. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_overwrite", "_saveProfile", "_config", "_count", "_index", "_configFile", "_name", "_key", "_shft", "_ctrl", "_alt", "_keyCode", "_state"]; diff --git a/addons/common/functions/fnc_setName.sqf b/addons/common/functions/fnc_setName.sqf index 3dfe18650a..d50d5b1987 100644 --- a/addons/common/functions/fnc_setName.sqf +++ b/addons/common/functions/fnc_setName.sqf @@ -9,7 +9,7 @@ * Return value: * Nothing. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_name"]; diff --git a/addons/common/functions/fnc_setParameter.sqf b/addons/common/functions/fnc_setParameter.sqf index 8ecccd9d71..889c242bb3 100644 --- a/addons/common/functions/fnc_setParameter.sqf +++ b/addons/common/functions/fnc_setParameter.sqf @@ -10,7 +10,7 @@ * Return Value: * None */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_name", "_value"]; diff --git a/addons/common/functions/fnc_setPitchBankYaw.sqf b/addons/common/functions/fnc_setPitchBankYaw.sqf index 8e8696d2b9..f5d13eb6fe 100644 --- a/addons/common/functions/fnc_setPitchBankYaw.sqf +++ b/addons/common/functions/fnc_setPitchBankYaw.sqf @@ -13,7 +13,7 @@ * Return Value: * None */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_object", "_aroundX", "_aroundY", "_aroundZ", "_dirX", "_dirY", "_dirZ", "_upX", "_upY", "_upZ", "_dir", "_up", "_dirXTemp", "_upXTemp"]; diff --git a/addons/common/functions/fnc_setVariableJIP.sqf b/addons/common/functions/fnc_setVariableJIP.sqf index 6f932079c5..8e790353f4 100644 --- a/addons/common/functions/fnc_setVariableJIP.sqf +++ b/addons/common/functions/fnc_setVariableJIP.sqf @@ -11,7 +11,7 @@ * Return value: * Nothing. */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_varName", "_value", "_respawnVariables"]; diff --git a/addons/common/functions/fnc_showUser.sqf b/addons/common/functions/fnc_showUser.sqf index 3510cdc93f..a5d602251d 100644 --- a/addons/common/functions/fnc_showUser.sqf +++ b/addons/common/functions/fnc_showUser.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private "_object"; diff --git a/addons/common/functions/fnc_stringToColoredText.sqf b/addons/common/functions/fnc_stringToColoredText.sqf index 90a8912f49..4f6b1e7143 100644 --- a/addons/common/functions/fnc_stringToColoredText.sqf +++ b/addons/common/functions/fnc_stringToColoredText.sqf @@ -10,7 +10,7 @@ * Return value: * Text */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_string", "_color"]; diff --git a/addons/common/functions/fnc_subString.sqf b/addons/common/functions/fnc_subString.sqf index bf3cfa0156..2389dbed00 100644 --- a/addons/common/functions/fnc_subString.sqf +++ b/addons/common/functions/fnc_subString.sqf @@ -11,7 +11,7 @@ * Return Value: * String when successfull / False when not */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" _string = _this select 0; _index = _this select 1; diff --git a/addons/common/functions/fnc_toBin.sqf b/addons/common/functions/fnc_toBin.sqf index 0bfaf399ac..4fdcded607 100644 --- a/addons/common/functions/fnc_toBin.sqf +++ b/addons/common/functions/fnc_toBin.sqf @@ -10,7 +10,7 @@ A number Return Value: A binary number, String */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_number", "_minLength", "_sign", "_bin", "_rest"]; diff --git a/addons/common/functions/fnc_toBitmask.sqf b/addons/common/functions/fnc_toBitmask.sqf index c628700645..eb69e67621 100644 --- a/addons/common/functions/fnc_toBitmask.sqf +++ b/addons/common/functions/fnc_toBitmask.sqf @@ -9,7 +9,7 @@ * Return value: * Bitmask (Number) */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_array", "_result"]; diff --git a/addons/common/functions/fnc_toHex.sqf b/addons/common/functions/fnc_toHex.sqf index 521cf1ddce..df8f3654de 100644 --- a/addons/common/functions/fnc_toHex.sqf +++ b/addons/common/functions/fnc_toHex.sqf @@ -10,7 +10,7 @@ A number Return Value: A hexadecimal number, String */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_number", "_minLength", "_sign", "_hex", "_rest"]; diff --git a/addons/common/functions/fnc_toNumber.sqf b/addons/common/functions/fnc_toNumber.sqf index c9c0169b9d..fc481398d3 100644 --- a/addons/common/functions/fnc_toNumber.sqf +++ b/addons/common/functions/fnc_toNumber.sqf @@ -16,7 +16,7 @@ Example: _number = ["102"] call FUNC(toNumber); */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" if (typeName (_this select 0) == "SCALAR") exitWith { (_this select 0) diff --git a/addons/common/functions/fnc_unmuteUnit.sqf b/addons/common/functions/fnc_unmuteUnit.sqf index ed8cff1032..8de7708d4b 100644 --- a/addons/common/functions/fnc_unmuteUnit.sqf +++ b/addons/common/functions/fnc_unmuteUnit.sqf @@ -9,7 +9,7 @@ * Return value: * Nothing */ -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_unit", "_speaker"]; diff --git a/addons/interaction/config.cpp b/addons/interaction/config.cpp index 860acf3997..e597349599 100644 --- a/addons/interaction/config.cpp +++ b/addons/interaction/config.cpp @@ -160,7 +160,7 @@ class CfgVehicles { displayName = "$STR_ACE_Interaction_JoinTeamRed"; distance = 4; condition = QUOTE(alive _target && {!isPlayer _target} && {_target in units group _player}); - statement = QUOTE([ARR2(_target,'RED')] call DFUNC(joinTeam)); + statement = QUOTE([ARR_2(_target,'RED')] call DFUNC(joinTeam)); showDisabled = 1; icon = PATHTOF(UI\team\team_red_ca.paa); priority = 2.4; From 46a0fc56316ec1b513863474d8221157b3ac647d Mon Sep 17 00:00:00 2001 From: commy2 Date: Tue, 13 Jan 2015 22:32:56 +0100 Subject: [PATCH 08/18] more macros for common --- addons/common/CfgVehicles.hpp | 4 ++-- addons/common/ProgressScreen.hpp | 8 ++++---- addons/common/config.cpp | 2 +- .../common/scripts/KeyInput/initCanInteractFunction.sqf | 2 +- addons/common/scripts/KeyInput/initKeys.sqf | 2 +- addons/common/scripts/KeyInput/initScrollWheel.sqf | 2 +- addons/common/scripts/KeyInput/script_component.hpp | 1 + addons/common/scripts/Version/checkVersionNumber.sqf | 4 ++-- addons/common/scripts/Version/script_component.hpp | 1 + addons/common/scripts/assignedItemFix.sqf | 2 +- addons/common/scripts/closeMenu.sqf | 2 +- addons/common/scripts/editKey.sqf | 2 +- addons/common/scripts/keyInput.sqf | 2 +- addons/common/scripts/keyRelease.sqf | 2 +- addons/common/scripts/nextKeys.sqf | 2 +- addons/common/scripts/openMenu.sqf | 2 +- addons/common/scripts/readParameters.sqf | 2 +- addons/common/scripts/script_component.hpp | 1 + addons/common/scripts/toggleState.sqf | 2 +- 19 files changed, 24 insertions(+), 21 deletions(-) create mode 100644 addons/common/scripts/KeyInput/script_component.hpp create mode 100644 addons/common/scripts/Version/script_component.hpp create mode 100644 addons/common/scripts/script_component.hpp diff --git a/addons/common/CfgVehicles.hpp b/addons/common/CfgVehicles.hpp index 94bc6f057f..d54dec7150 100644 --- a/addons/common/CfgVehicles.hpp +++ b/addons/common/CfgVehicles.hpp @@ -15,8 +15,8 @@ class CfgVehicles { showIn3D = 0; onlyForPlayer = 1; shortcut = "DefaultAction"; - condition = "call ACE_Common_UserActionFireCondition"; - statement = "call ACE_Common_UserActionFire"; + condition = QUOTE(call GVAR(UserActionFireCondition)); + statement = QUOTE(call GVAR(UserActionFire)); userActionID = 100; }; }; diff --git a/addons/common/ProgressScreen.hpp b/addons/common/ProgressScreen.hpp index 873aeac73c..95133bec0f 100644 --- a/addons/common/ProgressScreen.hpp +++ b/addons/common/ProgressScreen.hpp @@ -1,8 +1,8 @@ -class ACE_Common_ProgressBar_Dialog { +class GVAR(ProgressBar_Dialog) { idd = -1; movingEnable = false; - onLoad = "uiNamespace setVariable ['ACE_Common_ctrlProgressBar', (_this select 0) displayCtrl 1]; uiNamespace setVariable ['ACE_Common_ctrlProgressBarTitle', (_this select 0) displayCtrl 2];"; + onLoad = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(ctrlProgressBar)),(_this select 0) displayCtrl 1)]; uiNamespace setVariable [ARR_2(QUOTE(QGVAR(ctrlProgressBarTitle)),(_this select 0) displayCtrl 2)];); objects[] = {}; class controlsBackground { @@ -66,10 +66,10 @@ class ACE_Common_ProgressBar_Dialog { }; }; -class ACE_Common_DisableMouse_Dialog { +class GVAR(DisableMouse_Dialog) { idd = -1; movingEnable = false; - onLoad = "uiNamespace setVariable ['ACE_Common_dlgDisableMouse', _this select 0];"; + onLoad = QUOTE(uiNamespace setVariable [ARR_2(QUOTE(QGVAR(dlgDisableMouse)),_this select 0)];); objects[] = {}; class controlsBackground { class Background { diff --git a/addons/common/config.cpp b/addons/common/config.cpp index db8b8f532b..a11bbc80b7 100644 --- a/addons/common/config.cpp +++ b/addons/common/config.cpp @@ -72,7 +72,7 @@ class ACE_Options { /* class RscControlsGroupNoScrollbars; class RscAttributeInventory: RscControlsGroupNoScrollbars { - onSetFocus = "[_this,""RscAttributeInventory"",'CuratorCommon'] call (uinamespace getvariable ""BIS_fnc_initCuratorAttribute""); _this select 0 call ACE_Common_fnc_addCuratorUnloadEventhandler;"; + onSetFocus = QUOTE([ARR_3(_this,""RscAttributeInventory"",'CuratorCommon')] call (uinamespace getvariable ""BIS_fnc_initCuratorAttribute""); _this select 0 call DFUNC(addCuratorUnloadEventhandler);); }; */ diff --git a/addons/common/scripts/KeyInput/initCanInteractFunction.sqf b/addons/common/scripts/KeyInput/initCanInteractFunction.sqf index ed99ad18c8..d718be04fe 100644 --- a/addons/common/scripts/KeyInput/initCanInteractFunction.sqf +++ b/addons/common/scripts/KeyInput/initCanInteractFunction.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" private ["_function", "_configFile", "_count", "_index", "_config", "_configName", "_condition"]; diff --git a/addons/common/scripts/KeyInput/initKeys.sqf b/addons/common/scripts/KeyInput/initKeys.sqf index 7d4283d802..5097cfd89e 100644 --- a/addons/common/scripts/KeyInput/initKeys.sqf +++ b/addons/common/scripts/KeyInput/initKeys.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" _config = configFile >> "ACE_Default_Keys"; _count = count _config; diff --git a/addons/common/scripts/KeyInput/initScrollWheel.sqf b/addons/common/scripts/KeyInput/initScrollWheel.sqf index a55ebafa43..5a8bf57d79 100644 --- a/addons/common/scripts/KeyInput/initScrollWheel.sqf +++ b/addons/common/scripts/KeyInput/initScrollWheel.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" GVAR(ScrollWheelFrame) = diag_frameno; diff --git a/addons/common/scripts/KeyInput/script_component.hpp b/addons/common/scripts/KeyInput/script_component.hpp new file mode 100644 index 0000000000..23da62b05c --- /dev/null +++ b/addons/common/scripts/KeyInput/script_component.hpp @@ -0,0 +1 @@ +#include "\z\ace\addons\common\script_component.hpp" \ No newline at end of file diff --git a/addons/common/scripts/Version/checkVersionNumber.sqf b/addons/common/scripts/Version/checkVersionNumber.sqf index d89200c3e1..80527b0954 100644 --- a/addons/common/scripts/Version/checkVersionNumber.sqf +++ b/addons/common/scripts/Version/checkVersionNumber.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" sleep 1; //wait for module @@ -19,7 +19,7 @@ if (missionNamespace getVariable ["ACE_Version_CheckAll", false]) then { } forEach activatedAddons; }; -_versionMain = parseNumber getText (configFile >> "CfgPatches" >> "ACE_Common" >> "version"); +_versionMain = parseNumber getText (configFile >> "CfgPatches" >> QUOTE(ADDON) >> "version"); _versions = []; { diff --git a/addons/common/scripts/Version/script_component.hpp b/addons/common/scripts/Version/script_component.hpp new file mode 100644 index 0000000000..23da62b05c --- /dev/null +++ b/addons/common/scripts/Version/script_component.hpp @@ -0,0 +1 @@ +#include "\z\ace\addons\common\script_component.hpp" \ No newline at end of file diff --git a/addons/common/scripts/assignedItemFix.sqf b/addons/common/scripts/assignedItemFix.sqf index 77a1c410df..bf8dc193ec 100644 --- a/addons/common/scripts/assignedItemFix.sqf +++ b/addons/common/scripts/assignedItemFix.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" if (isNil "ACE_itemFix") then { ACE_isMapEnabled = call {_config = missionConfigFile >> "showMap"; !isNumber _config || {getNumber _config == 1}}; diff --git a/addons/common/scripts/closeMenu.sqf b/addons/common/scripts/closeMenu.sqf index 88c8db10a0..86206f2c93 100644 --- a/addons/common/scripts/closeMenu.sqf +++ b/addons/common/scripts/closeMenu.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" closeDialog 0; [localize QUOTE(DOUBLES(STR,GVAR(ProfileNotSaved)))] call FUNC(displayTextStructured); diff --git a/addons/common/scripts/editKey.sqf b/addons/common/scripts/editKey.sqf index 0f7518c758..53bdbede56 100644 --- a/addons/common/scripts/editKey.sqf +++ b/addons/common/scripts/editKey.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" #define GRAY [0.25, 0.25, 0.25, 1] #define WHITE [1, 1, 1, 1] diff --git a/addons/common/scripts/keyInput.sqf b/addons/common/scripts/keyInput.sqf index eab0e56448..5e06d23bd5 100644 --- a/addons/common/scripts/keyInput.sqf +++ b/addons/common/scripts/keyInput.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" #define FORBIDDEN_KEYS [42, 54, 29, 157, 56, 184, 0, 183, 197, 1] diff --git a/addons/common/scripts/keyRelease.sqf b/addons/common/scripts/keyRelease.sqf index 0d5542241d..d0d1b736a0 100644 --- a/addons/common/scripts/keyRelease.sqf +++ b/addons/common/scripts/keyRelease.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" _keyIndex = _this select 1; diff --git a/addons/common/scripts/nextKeys.sqf b/addons/common/scripts/nextKeys.sqf index 004c3de992..b2b0079a41 100644 --- a/addons/common/scripts/nextKeys.sqf +++ b/addons/common/scripts/nextKeys.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" #define OFFSET_1 100 #define OFFSET_2 200 diff --git a/addons/common/scripts/openMenu.sqf b/addons/common/scripts/openMenu.sqf index 018c9f8ccb..6e68a59482 100644 --- a/addons/common/scripts/openMenu.sqf +++ b/addons/common/scripts/openMenu.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" #define OFFSET_1 100 #define OFFSET_2 200 diff --git a/addons/common/scripts/readParameters.sqf b/addons/common/scripts/readParameters.sqf index 505776abd0..3b17ea7f1f 100644 --- a/addons/common/scripts/readParameters.sqf +++ b/addons/common/scripts/readParameters.sqf @@ -1,5 +1,5 @@ // by CAA-Picard -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" // Read ACE_Parameters from config and set them on the mission namespace _config = configFile >> "ACE_Parameters_Numeric"; diff --git a/addons/common/scripts/script_component.hpp b/addons/common/scripts/script_component.hpp new file mode 100644 index 0000000000..23da62b05c --- /dev/null +++ b/addons/common/scripts/script_component.hpp @@ -0,0 +1 @@ +#include "\z\ace\addons\common\script_component.hpp" \ No newline at end of file diff --git a/addons/common/scripts/toggleState.sqf b/addons/common/scripts/toggleState.sqf index 3643b00c19..58e59e851a 100644 --- a/addons/common/scripts/toggleState.sqf +++ b/addons/common/scripts/toggleState.sqf @@ -1,5 +1,5 @@ // by commy2 -#include "\z\ace\addons\common\script_component.hpp" +#include "script_component.hpp" _index = _this select 0; From 2b348a94def0a8b4b9f58654feda7b15ae76a0ad Mon Sep 17 00:00:00 2001 From: commy2 Date: Tue, 13 Jan 2015 22:47:46 +0100 Subject: [PATCH 09/18] fix that blank module --- extras/blank/CfgEventHandlers.hpp | 6 ++++++ extras/{blank_module => blank}/XEH_preInit.sqf | 2 +- extras/blank/config.cpp | 15 +++++++++++++++ extras/blank/functions/fnc_empty.sqf | 3 +++ extras/blank/functions/script_component.hpp | 1 + .../script_component.hpp | 0 extras/blank_module/CfgEventHandlers.hpp | 5 ----- extras/blank_module/config.cpp | 17 ----------------- extras/blank_module/functions/fnc_empty.sqf | 3 --- 9 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 extras/blank/CfgEventHandlers.hpp rename extras/{blank_module => blank}/XEH_preInit.sqf (71%) create mode 100644 extras/blank/config.cpp create mode 100644 extras/blank/functions/fnc_empty.sqf create mode 100644 extras/blank/functions/script_component.hpp rename extras/{blank_module => blank}/script_component.hpp (100%) delete mode 100644 extras/blank_module/CfgEventHandlers.hpp delete mode 100644 extras/blank_module/config.cpp delete mode 100644 extras/blank_module/functions/fnc_empty.sqf diff --git a/extras/blank/CfgEventHandlers.hpp b/extras/blank/CfgEventHandlers.hpp new file mode 100644 index 0000000000..f0a9f14d91 --- /dev/null +++ b/extras/blank/CfgEventHandlers.hpp @@ -0,0 +1,6 @@ + +class Extended_PreInit_EventHandlers { + class ADDON { + init = QUOTE(call COMPILE_FILE(XEH_preInit)); + }; +}; diff --git a/extras/blank_module/XEH_preInit.sqf b/extras/blank/XEH_preInit.sqf similarity index 71% rename from extras/blank_module/XEH_preInit.sqf rename to extras/blank/XEH_preInit.sqf index a515eb4187..802b74fd63 100644 --- a/extras/blank_module/XEH_preInit.sqf +++ b/extras/blank/XEH_preInit.sqf @@ -1,3 +1,3 @@ #include "script_component.hpp" -PREP(empty); \ No newline at end of file +PREP(empty); diff --git a/extras/blank/config.cpp b/extras/blank/config.cpp new file mode 100644 index 0000000000..a7b7bae6df --- /dev/null +++ b/extras/blank/config.cpp @@ -0,0 +1,15 @@ +#include "script_component.hpp" + +class CfgPatches { + class ADDON { + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = {"ace_common"}; + author[] = {""}; + authorUrl = ""; + VERSION_CONFIG; + }; +}; + +#include "CfgEventHandlers.hpp" diff --git a/extras/blank/functions/fnc_empty.sqf b/extras/blank/functions/fnc_empty.sqf new file mode 100644 index 0000000000..c60a82b2d8 --- /dev/null +++ b/extras/blank/functions/fnc_empty.sqf @@ -0,0 +1,3 @@ +#include "script_component.hpp" + +diag_log text format["This is here as an example!!!"]; diff --git a/extras/blank/functions/script_component.hpp b/extras/blank/functions/script_component.hpp new file mode 100644 index 0000000000..2cd25455d2 --- /dev/null +++ b/extras/blank/functions/script_component.hpp @@ -0,0 +1 @@ +#include "\z\ace\addons\blank_module\script_component.hpp" \ No newline at end of file diff --git a/extras/blank_module/script_component.hpp b/extras/blank/script_component.hpp similarity index 100% rename from extras/blank_module/script_component.hpp rename to extras/blank/script_component.hpp diff --git a/extras/blank_module/CfgEventHandlers.hpp b/extras/blank_module/CfgEventHandlers.hpp deleted file mode 100644 index 51c0e909d7..0000000000 --- a/extras/blank_module/CfgEventHandlers.hpp +++ /dev/null @@ -1,5 +0,0 @@ -class Extended_PreInit_EventHandlers { - class ADDON { - init = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_preInit.sqf) ); - }; -}; \ No newline at end of file diff --git a/extras/blank_module/config.cpp b/extras/blank_module/config.cpp deleted file mode 100644 index 6c8d8ca938..0000000000 --- a/extras/blank_module/config.cpp +++ /dev/null @@ -1,17 +0,0 @@ -#include "script_component.hpp" - -class CfgPatches { - class ADDON { - units[] = {}; - weapons[] = {}; - requiredVersion = 0.60; - requiredAddons[] = {"ace_core"}; - version = "0.95"; - versionStr = "0.95"; - versionAr[] = {0,95,0}; - author[] = {""}; - authorUrl = ""; - }; -}; - -#include "CfgEventHandlers.hpp" \ No newline at end of file diff --git a/extras/blank_module/functions/fnc_empty.sqf b/extras/blank_module/functions/fnc_empty.sqf deleted file mode 100644 index 028fb068c9..0000000000 --- a/extras/blank_module/functions/fnc_empty.sqf +++ /dev/null @@ -1,3 +0,0 @@ -#include "script_component.hpp" - -diag_log text format["This is here as an example!!!"]; \ No newline at end of file From c8fd07a5abac38d3596215e453a1469d11c085cc Mon Sep 17 00:00:00 2001 From: KoffeinFlummi Date: Tue, 13 Jan 2015 22:51:02 +0100 Subject: [PATCH 10/18] Finalize FCS port --- addons/fcs/CfgEventHandlers.hpp | 4 +-- addons/fcs/XEH_preInit.sqf | 21 ++++++++-------- addons/fcs/config.cpp | 30 +++++++++++------------ addons/fcs/functions/fnc_canResetFCS.sqf | 16 ++++++++++++ addons/fcs/functions/fnc_firedEH.sqf | 2 +- addons/fcs/functions/fnc_keyDown.sqf | 8 +++--- addons/fcs/functions/fnc_keyUp.sqf | 9 ++++--- addons/fcs/functions/fnc_reset.sqf | 2 +- addons/fcs/functions/fnc_vehicleInit.sqf | 2 ++ addons/fcs/functions/script_component.hpp | 12 +++++++++ 10 files changed, 70 insertions(+), 36 deletions(-) create mode 100644 addons/fcs/functions/fnc_canResetFCS.sqf create mode 100644 addons/fcs/functions/script_component.hpp diff --git a/addons/fcs/CfgEventHandlers.hpp b/addons/fcs/CfgEventHandlers.hpp index c1e0bb73f1..69ef4a3057 100644 --- a/addons/fcs/CfgEventHandlers.hpp +++ b/addons/fcs/CfgEventHandlers.hpp @@ -1,12 +1,12 @@ class Extended_PreInit_EventHandlers { class ADDON { - init = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_preInit.sqf) ); + init = QUOTE(call COMPILE_FILE(XEH_preInit) ); }; }; class Extended_PostInit_EventHandlers { class ADDON { - clientInit = QUOTE( call compile preprocessFileLineNumbers PATHTOF(XEH_clientInit.sqf) ); + clientInit = QUOTE(call COMPILE_FILE(XEH_clientInit) ); }; }; diff --git a/addons/fcs/XEH_preInit.sqf b/addons/fcs/XEH_preInit.sqf index c9726ac36b..ce6f5c99dd 100644 --- a/addons/fcs/XEH_preInit.sqf +++ b/addons/fcs/XEH_preInit.sqf @@ -1,12 +1,13 @@ #include "script_component.hpp" -PREPF(adjustRange) -PREPF(canUseFCS) -PREPF(canUseRangefinder) -PREPF(firedEH) -PREPF(getAngle) -PREPF(getRange) -PREPF(keyDown) -PREPF(keyUp) -PREPF(reset) -PREPF(vehicleInit) +PREP(adjustRange); +PREP(canResetFCS); +PREP(canUseFCS); +PREP(canUseRangefinder); +PREP(firedEH); +PREP(getAngle); +PREP(getRange); +PREP(keyDown); +PREP(keyUp); +PREP(reset); +PREP(vehicleInit); diff --git a/addons/fcs/config.cpp b/addons/fcs/config.cpp index 737f1d06e9..ddd490e674 100644 --- a/addons/fcs/config.cpp +++ b/addons/fcs/config.cpp @@ -5,7 +5,7 @@ class CfgPatches { units[] = {}; weapons[] = {}; requiredVersion = 0.60; - requiredAddons[] = {ace_core, ace_interaction}; + requiredAddons[] = {ace_common, ace_interaction}; version = QUOTE(VERSION); versionStr = QUOTE(VERSION); versionAr[] = {VERSION_AR}; @@ -16,22 +16,22 @@ class CfgPatches { #include "CfgEventHandlers.hpp" -class EGVAR(Core, Default_Keys) { +class ACE_Default_Keys { class laseTarget { - displayName = $STR_ACE_FireControlSystem_LaseTarget; + displayName = $STR_ACE_FCS_LaseTarget; condition = QUOTE(call FUNC(canUseRangefinder) || FUNC(canUseFCS)); - statement = QUOTE(_range = call FUNC(getRange); if (call FUNC(canUseFCS)) then {[_vehicle, _range] call FUNC(keyDown)};); + statement = QUOTE([_vehicle] call FUNC(keyDown)); conditionUp = QUOTE(GVAR(enabled) && FUNC(canUseFCS)); - statementUp = QUOTE(_range = call FUNC(getRange); if (GVAR(enabled) && FUNC(canUseFCS)) then {[_vehicle, _range] call FUNC(keyUp)};); + statementUp = QUOTE([_vehicle] call FUNC(keyUp)); key = 15; shift = 0; control = 0; alt = 0; }; class adjustRangeUp { - displayName = $STR_ACE_FireControlSystem_AdjustRangeUp; - condition = QUOTE(ACE_player == gunner _vehicle && {getNumber (configFile >> 'CfgVehicles' >> (typeOf _vehicle) >> QGVAR(Enabled)) == 1}); - statement = QUOTE([_vehicle, 50] call FUNC(adjustRange)); + displayName = $STR_ACE_FCS_AdjustRangeUp; + condition = QUOTE(call FUNC(canUseRangefinder) || FUNC(canUseFCS)); + statement = QUOTE([_vehicle, 50] call FUNC(adjustRange)); key = 201; shift = 0; control = 0; @@ -39,7 +39,7 @@ class EGVAR(Core, Default_Keys) { allowHolding = 1; }; class adjustRangeDown: adjustRangeUp { - displayName = $STR_ACE_FireControlSystem_AdjustRangeDown; + displayName = $STR_ACE_FCS_AdjustRangeDown; statement = QUOTE([_vehicle, -50] call FUNC(adjustRange)); key = 209; }; @@ -71,9 +71,9 @@ class CfgVehicles { class Car: LandVehicle { class ACE_SelfActions { class ResetFCS { - displayName = $STR_ACE_FireControlSystem_ResetFCS; + displayName = $STR_ACE_FCS_ResetFCS; enableInside = 1; - condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); + condition = QUOTE(call FUNC(canResetFCS)); statement = QUOTE([vehicle _player] call FUNC(reset);); showDisabled = 0; priority = 1; @@ -125,9 +125,9 @@ class CfgVehicles { GVAR(Enabled) = 1; // all tracked vehicles get one by default class ACE_SelfActions { class ResetFCS { - displayName = $STR_ACE_FireControlSystem_ResetFCS; + displayName = $STR_ACE_FCS_ResetFCS; enableInside = 1; - condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); + condition = QUOTE(call FUNC(canResetFCS)); statement = QUOTE([vehicle _player] call FUNC(reset);); showDisabled = 0; priority = 1; @@ -243,9 +243,9 @@ class CfgVehicles { class Helicopter: Air { class ACE_SelfActions { class ResetFCS { - displayName = $STR_ACE_FireControlSystem_ResetFCS; + displayName = $STR_ACE_FCS_ResetFCS; enableInside = 1; - condition = QUOTE((count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) and (_player == gunner _vehicle)); + condition = QUOTE(call FUNC(canResetFCS)); statement = QUOTE([vehicle _player] call FUNC(reset);); showDisabled = 0; priority = 1; diff --git a/addons/fcs/functions/fnc_canResetFCS.sqf b/addons/fcs/functions/fnc_canResetFCS.sqf new file mode 100644 index 0000000000..0aa281bd85 --- /dev/null +++ b/addons/fcs/functions/fnc_canResetFCS.sqf @@ -0,0 +1,16 @@ +/* + * Author: KoffeinFlummi + * + * Called from config. Can player reset FCS? + * + * Argument: + * Nothing + * + * Return value: + * Boolean (Bool) + */ + +#include "script_component.hpp" + +_player == gunner _vehicle +&& (count (_vehicle getVariable [QGVAR(Magazines), []]) > 1) diff --git a/addons/fcs/functions/fnc_firedEH.sqf b/addons/fcs/functions/fnc_firedEH.sqf index c8b5649f6a..235e4531b8 100644 --- a/addons/fcs/functions/fnc_firedEH.sqf +++ b/addons/fcs/functions/fnc_firedEH.sqf @@ -34,7 +34,7 @@ _offset = 0; }; } forEach _FCSMagazines; -[_round, (_unit getVariable QGVAR(Azimuth)), _offset, 0] call EFUNC(core, changeProjectileDirection); +[_round, (_unit getVariable QGVAR(Azimuth)), _offset, 0] call EFUNC(common,changeProjectileDirection); // Air burst missile // may need to get rewritten diff --git a/addons/fcs/functions/fnc_keyDown.sqf b/addons/fcs/functions/fnc_keyDown.sqf index 41f9d793dc..e0c6cd35f9 100644 --- a/addons/fcs/functions/fnc_keyDown.sqf +++ b/addons/fcs/functions/fnc_keyDown.sqf @@ -4,7 +4,7 @@ * Starts watching the target for sideways correction. * * Arguments: - * none + * 0: Vehicle * * Return Value: * none @@ -15,13 +15,15 @@ private ["_vehicle", "_distance", "_weaponDirection"]; _vehicle = _this select 0; -_distance = _this select 1; +_distance = call FUNC(getRange); + +if !(call FUNC(canUseFCS)) exitWith {}; GVAR(Enabled) = true; GVAR(Time) = time; if (_distance == 0) then { - _distance = [5, 5000, 0] call EFUNC(core, getTargetDistance); // maximum distance: 5000m, 5m precision + _distance = [5, 5000, 0] call EFUNC(common,getTargetDistance); // maximum distance: 5000m, 5m precision }; _weaponDirection = _vehicle weaponDirection currentWeapon _vehicle; diff --git a/addons/fcs/functions/fnc_keyUp.sqf b/addons/fcs/functions/fnc_keyUp.sqf index 7ad410a241..69c11137cf 100644 --- a/addons/fcs/functions/fnc_keyUp.sqf +++ b/addons/fcs/functions/fnc_keyUp.sqf @@ -5,7 +5,6 @@ * * Arguments: * 0: The vehicle - * 1: Range Override (Optional) * * Return Value: * none @@ -16,7 +15,9 @@ private ["_ammoType", "_viewDiff", "_posArrival", "_airFriction", "_timeToLive", "_maxElev", "_vehicle", "_posTarget", "_distance", "_simulationStep", "_posX", "_velocityMagnitude", "_magazines", "_movingAzimuth", "_FCSElevation", "_velocityX", "_velocityY", "_weaponDirection", "_velocityTarget", "_FCSAzimuth", "_FCSMagazines", "_dirArrival", "_i", "_magazineType", "_angleTarget", "_offset", "_timeToTarget", "_initSpeed"]; _vehicle = _this select 0; -_distance = _this select 1; +_distance = call FUNC(getRange); + +if !(GVAR(enabled) && FUNC(canUseFCS)) exitWith {}; _magazines = magazines _vehicle; @@ -25,7 +26,7 @@ if (_distance == 0) then { getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> QGVAR(DistanceInterval)), getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> QGVAR(MaxDistance)), getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> QGVAR(MinDistance)) - ] call EFUNC(core, getTargetDistance); // maximum distance: 5000m, 5m precision + ] call EFUNC(common,getTargetDistance); // maximum distance: 5000m, 5m precision }; _weaponDirection = _vehicle weaponDirection currentWeapon _vehicle; @@ -159,4 +160,4 @@ GVAR(backgroundCalculation) = [_vehicle, _magazines, _distance, _angleTarget, _F _vehicle setVariable [QGVAR(Elevation), _FCSElevation, true]; }; -[format ["%1: %2", localize "STR_ACE_FireControlSystem_ZeroedTo", _distance]] call EFUNC(core, displayTextStructured); +[format ["%1: %2", localize "STR_ACE_FCS_ZeroedTo", _distance]] call EFUNC(common,displayTextStructured); diff --git a/addons/fcs/functions/fnc_reset.sqf b/addons/fcs/functions/fnc_reset.sqf index 326b5c3212..f49c4c9589 100644 --- a/addons/fcs/functions/fnc_reset.sqf +++ b/addons/fcs/functions/fnc_reset.sqf @@ -21,4 +21,4 @@ _vehicle setVariable [QGVAR(Magazines), [], true]; _vehicle setVariable [QGVAR(Elevation), 0, true]; _vehicle setVariable [QGVAR(Azimuth), 0, true]; -[localize "STR_ACE_FireControlSystem_HasBeenReset"] call EFUNC(core, displayTextStructured); +[localize "STR_ACE_FCS_HasBeenReset"] call EFUNC(common,displayTextStructured); diff --git a/addons/fcs/functions/fnc_vehicleInit.sqf b/addons/fcs/functions/fnc_vehicleInit.sqf index 87d27e1d84..f65ce6dc7d 100644 --- a/addons/fcs/functions/fnc_vehicleInit.sqf +++ b/addons/fcs/functions/fnc_vehicleInit.sqf @@ -10,6 +10,8 @@ * none */ +#include "script_component.hpp" + private ["_gunBeg", "_gunnerView", "_gunBegPos", "_gunnerViewPos", "_viewDiff"]; if (getNumber (configFile >> "CfgVehicles" >> (typeOf (_this select 0)) >> QGVAR(Enabled)) == 1) then { diff --git a/addons/fcs/functions/script_component.hpp b/addons/fcs/functions/script_component.hpp new file mode 100644 index 0000000000..153cad41b2 --- /dev/null +++ b/addons/fcs/functions/script_component.hpp @@ -0,0 +1,12 @@ +#define COMPONENT fcs +#include "\z\ace\Addons\main\script_mod.hpp" + +#ifdef DEBUG_ENABLED_FCS + #define DEBUG_MODE_FULL +#endif + +#ifdef DEBUG_SETTINGS_FCS + #define DEBUG_SETTINGS DEBUG_SETTINGS_FCS +#endif + +#include "\z\ace\Addons\main\script_macros.hpp" From ee7ae79f150372bc554100fe1a564fb6a949f0af Mon Sep 17 00:00:00 2001 From: commy2 Date: Tue, 13 Jan 2015 23:54:21 +0100 Subject: [PATCH 11/18] fix key release issues --- addons/interaction/config.cpp | 24 +++++++++---------- .../functions/fnc_initialiseInteraction.sqf | 6 ++--- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/addons/interaction/config.cpp b/addons/interaction/config.cpp index e597349599..ac9c38e88c 100644 --- a/addons/interaction/config.cpp +++ b/addons/interaction/config.cpp @@ -20,9 +20,9 @@ class ACE_Default_Keys { class openInteractionMenuNew { displayName = "$STR_ACE_Interaction_InteractionMenu"; condition = "true"; - statement = QUOTE( call FUNC(onButtonDown) ); - conditionUp = QUOTE( !isNull (findDisplay 1713999) && {profileNamespace getVariable [QUOTE(QGVAR(AutoCloseMenu)), false]} ); - statementUp = QUOTE( if (GVAR(MenuType) mod 2 == 0) then {call FUNC(onButtonUp)}; ); + statement = QUOTE(call FUNC(onButtonDown)); + conditionUp = QUOTE(!isNull (findDisplay 1713999) && {profileNamespace getVariable [ARR_2(QUOTE(QGVAR(AutoCloseMenu)), false)]}); + statementUp = QUOTE(if (GVAR(MenuType) mod 2 == 0) then {call FUNC(onButtonUp)};); exceptions[] = {"ACE_Drag_isNotDragging", "ACE_Medical_canTreat", "ACE_Interaction_isNotEscorting", "ACE_Interaction_isNotSwimming"}; key = 219; shift = 0; @@ -32,9 +32,9 @@ class ACE_Default_Keys { class openInteractionMenuSelfNew { displayName = "$STR_ACE_Interaction_InteractionMenuSelf"; condition = "true"; - statement = QUOTE( call FUNC(onButtonDownSelf) ); - conditionUp = QUOTE( !isNull (findDisplay 1713999) && {profileNamespace getVariable [QUOTE(QGVAR(AutoCloseMenu)), false]} ); - statementUp = QUOTE( if (EGVAR(interaction,MenuType) mod 2 == 1) then {call FUNC(onButtonUp)}; ); + statement = QUOTE(call FUNC(onButtonDownSelf)); + conditionUp = QUOTE(!isNull (findDisplay 1713999) && {profileNamespace getVariable [ARR_2(QUOTE(QGVAR(AutoCloseMenu)), false)]}); + statementUp = QUOTE(if (EGVAR(interaction,MenuType) mod 2 == 1) then {call FUNC(onButtonUp)};); exceptions[] = {"ACE_Drag_isNotDragging", "ACE_Medical_canTreat", "ACE_Interaction_isNotEscorting", "ACE_Interaction_isNotSwimming", "ACE_Core_notOnMap"}; key = 219; shift = 0; @@ -43,8 +43,8 @@ class ACE_Default_Keys { }; class openDoor { displayName = "$STR_ACE_Interaction_OpenDoor"; - condition = QUOTE( !GVAR(isOpeningDoor) && {[2] call FUNC(getDoor) select 1 != ''} ); - statement = QUOTE( call ACE_Interaction_fnc_openDoor ); + condition = QUOTE(!GVAR(isOpeningDoor) && {[2] call FUNC(getDoor) select 1 != ''}); + statement = QUOTE(call ACE_Interaction_fnc_openDoor); conditionUp = QUOTE( GVAR(isOpeningDoor) ); statementUp = QUOTE( GVAR(isOpeningDoor) = false;); key = 57; @@ -54,8 +54,8 @@ class ACE_Default_Keys { }; class tapShoulder { displayName = "$STR_ACE_Interaction_TapShoulder"; - condition = QUOTE( [_player, cursorTarget] call FUNC(canTapShoulder) ); - statement = QUOTE( [_player, cursorTarget] call FUNC(tapShoulder); ); + condition = QUOTE([_player, cursorTarget] call FUNC(canTapShoulder)); + statement = QUOTE([_player, cursorTarget] call FUNC(tapShoulder);); key = 20; shift = 1; control = 0; @@ -64,9 +64,9 @@ class ACE_Default_Keys { class modifierKey { displayName = "$STR_ACE_Interaction_ModifierKey"; condition = ""; - statement = QUOTE( GVAR(Modifier) = 1; ); + statement = QUOTE(GVAR(Modifier) = 1;); conditionUp = ""; - statementUp = QUOTE( GVAR(Modifier) = 0; ); + statementUp = QUOTE(GVAR(Modifier) = 0;); exceptions[] = {"ACE_Drag_isNotDragging"}; key = 29; shift = 0; diff --git a/addons/interaction/functions/fnc_initialiseInteraction.sqf b/addons/interaction/functions/fnc_initialiseInteraction.sqf index 43e45edaa4..f0ca6e85e6 100644 --- a/addons/interaction/functions/fnc_initialiseInteraction.sqf +++ b/addons/interaction/functions/fnc_initialiseInteraction.sqf @@ -59,10 +59,10 @@ if (_this select 2) then { (findDisplay 46) createDisplay QGVAR(Dialog); // Add eventhandlers - (findDisplay 1713999) displayAddEventHandler ["KeyDown", QUOTE( _this call EFUNC(common,onKeyDown) )]; - (findDisplay 1713999) displayAddEventHandler ["KeyUp", QUOTE( _this call EFUNC(common,onKeyUp) )]; + (findDisplay 1713999) displayAddEventHandler ["KeyDown", QUOTE(_this call EGVAR(common,onKeyDown))]; + (findDisplay 1713999) displayAddEventHandler ["KeyUp", QUOTE(_this call EGVAR(common,onKeyUp))]; - (findDisplay 1713999) displayAddEventHandler ["KeyDown", QUOTE( _this call FUNC(menuKeyInput) )]; + (findDisplay 1713999) displayAddEventHandler ["KeyDown", QUOTE(_this call FUNC(menuKeyInput))]; }; disableSerialization; _dlgInteractionDialog = uiNamespace getVariable QGVAR(Dialog); From e24d6aa42f4c92f758ab31fdeb42617f188bea3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Badano?= Date: Tue, 13 Jan 2015 19:59:16 -0300 Subject: [PATCH 12/18] Fix in interaction menu for attaching --- addons/interaction/functions/fnc_openSelectMenu.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/interaction/functions/fnc_openSelectMenu.sqf b/addons/interaction/functions/fnc_openSelectMenu.sqf index ae7d5ce21b..ba2cf7ce10 100644 --- a/addons/interaction/functions/fnc_openSelectMenu.sqf +++ b/addons/interaction/functions/fnc_openSelectMenu.sqf @@ -27,7 +27,7 @@ if (!(profileNamespace getVariable [QGVAR(FlowMenu), false])) then { GVAR(SelectAccept) = _this select 1; GVAR(SelectCancel) = _this select 2; buttonSetAction [8855, QUOTE( call GVAR(SelectCancel); )]; // cancel - buttonSetAction [8860, QUOTE( (call compile (lbData [8866, lbCurSel 8866])) call GVAR(SelectAccept); )]; // accept + buttonSetAction [8860, QUOTE( (call compile (lbData [ARR_2(8866, lbCurSel 8866)])) call GVAR(SelectAccept); )]; // accept lbSetCurSel [8866, 0]; }else{ _customActions = _this select 0; From e090119d82cde31eb36c9e99799d24c7b0501ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Badano?= Date: Tue, 13 Jan 2015 20:00:31 -0300 Subject: [PATCH 13/18] Tag replacements in attach --- addons/attach/config.cpp | 38 +++++++++---------- addons/attach/functions/fnc_detach.sqf | 10 ++--- .../attach/functions/fnc_detachDelayFix.sqf | 2 - addons/attach/functions/fnc_openAttachUI.sqf | 12 +++--- addons/attach/stringtable.xml | 26 ++++++------- 5 files changed, 42 insertions(+), 46 deletions(-) diff --git a/addons/attach/config.cpp b/addons/attach/config.cpp index 5449155017..3f324425cd 100644 --- a/addons/attach/config.cpp +++ b/addons/attach/config.cpp @@ -3,7 +3,7 @@ class CfgPatches { class ADDON { units[] = {}; - weapons[] = {"AGM_IR_Strobe_Item"}; + weapons[] = {"ACE_IR_Strobe_Item"}; requiredVersion = 0.60; requiredAddons[] = {"ace_common", "ace_interaction"}; version = "0.95"; @@ -42,20 +42,20 @@ class CfgVehicles { class ACE_SelfActions { class ACE_Equipment { class GVAR(Attach) { - displayName = "$STR_AGM_Attach_AttachDetach"; + displayName = "$STR_ACE_Attach_AttachDetach"; condition = QUOTE( [_player, ''] call FUNC(canAttach) ); statement = QUOTE( [_player] call FUNC(openAttachUI); ); - exceptions[] = {"AGM_Drag_isNotDragging"}; + exceptions[] = {"ACE_Drag_isNotDragging"}; showDisabled = 0; priority = 5; icon = PATHTOF(UI\attach_ca.paa); hotkey = "T"; }; class GVAR(Detach) { - displayName = "$STR_AGM_Attach_Detach"; + displayName = "$STR_ACE_Attach_Detach"; condition = QUOTE( [_player] call FUNC(canDetach) ); statement = QUOTE( [_player] call FUNC(detach) ); - exceptions[] = {"AGM_Drag_isNotDragging"}; + exceptions[] = {"ACE_Drag_isNotDragging"}; showDisabled = 0; priority = 5; icon = PATHTOF(UI\detach_ca.paa); @@ -66,7 +66,7 @@ class CfgVehicles { }; class All; - class AGM_IR_Strobe_Effect: All { + class ACE_IR_Strobe_Effect: All { scope = 1; displayName = "IR Strobe"; model = "\A3\Weapons_F\empty.p3d"; @@ -107,46 +107,46 @@ class CfgVehicles { class Box_NATO_Support_F: NATO_Box_Base { class TransportItems { - MACRO_ADDITEM(AGM_IR_Strobe_Item,12) + MACRO_ADDITEM(ACE_IR_Strobe_Item,12) }; }; class Box_East_Support_F: EAST_Box_Base { class TransportItems { - MACRO_ADDITEM(AGM_IR_Strobe_Item,12) + MACRO_ADDITEM(ACE_IR_Strobe_Item,12) }; }; class Box_IND_Support_F: IND_Box_Base { class TransportItems { - MACRO_ADDITEM(AGM_IR_Strobe_Item,12) + MACRO_ADDITEM(ACE_IR_Strobe_Item,12) }; }; class Box_FIA_Support_F: FIA_Box_Base_F { class TransportItems { - MACRO_ADDITEM(AGM_IR_Strobe_Item,12) + MACRO_ADDITEM(ACE_IR_Strobe_Item,12) }; }; - class AGM_Box_Misc: Box_NATO_Support_F { + class ACE_Box_Misc: Box_NATO_Support_F { class TransportItems { - MACRO_ADDITEM(AGM_IR_Strobe_Item,12) + MACRO_ADDITEM(ACE_IR_Strobe_Item,12) }; }; }; class CfgWeapons { - class AGM_ItemCore; + class ACE_ItemCore; class InventoryItem_Base_F; - class AGM_IR_Strobe_Item: AGM_ItemCore { - displayName = "$STR_AGM_IrStrobe_Name"; - descriptionShort = "$STR_AGM_IrStrobe_Description"; + class ACE_IR_Strobe_Item: ACE_ItemCore { + displayName = "$STR_ACE_IrStrobe_Name"; + descriptionShort = "$STR_ACE_IrStrobe_Description"; model = "\A3\weapons_F\ammo\mag_univ.p3d"; picture = PATHTOF(UI\irstrobe_item.paa); scope = 2; - AGM_attachable = 1; + ACE_attachable = 1; class ItemInfo: InventoryItem_Base_F { mass = 1; }; @@ -156,10 +156,10 @@ class CfgWeapons { class CfgMagazines { class CA_Magazine; class B_IR_Grenade: CA_Magazine { - AGM_Attachable = 1; + ACE_Attachable = 1; }; class SmokeShell; class Chemlight_green: SmokeShell { - AGM_Attachable = 1; + ACE_Attachable = 1; }; }; diff --git a/addons/attach/functions/fnc_detach.sqf b/addons/attach/functions/fnc_detach.sqf index 07d1eda906..b55d6e1b70 100644 --- a/addons/attach/functions/fnc_detach.sqf +++ b/addons/attach/functions/fnc_detach.sqf @@ -25,7 +25,7 @@ if (_itemName == "") exitWith {}; _count = (count items _unit) + (count magazines _unit); _unit addItem _itemName; if ((count items _unit) + (count magazines _unit) <= _count) exitWith { - [localize "STR_AGM_Attach_Inventory_Full"] call EFUNC(common,displayTextStructured); + [localize "STR_ACE_Attach_Inventory_Full"] call EFUNC(common,displayTextStructured); }; if (_itemName == "B_IR_Grenade" or _itemName == "O_IR_Grenade" or _itemName == "I_IR_Grenade") then { @@ -45,14 +45,14 @@ _unit setVariable [QGVAR(Item),nil, true]; // Display message switch true do { - case (_itemName == "AGM_IR_Strobe_Item") : { - [localize "STR_AGM_Attach_IrStrobe_Detached"] call EFUNC(common,displayTextStructured); + case (_itemName == "ACE_IR_Strobe_Item") : { + [localize "STR_ACE_Attach_IrStrobe_Detached"] call EFUNC(common,displayTextStructured); }; case (_itemName == "B_IR_Grenade" or _itemName == "O_IR_Grenade" or _itemName == "I_IR_Grenade") : { - [localize "STR_AGM_Attach_IrGrenade_Detached"] call EFUNC(common,displayTextStructured); + [localize "STR_ACE_Attach_IrGrenade_Detached"] call EFUNC(common,displayTextStructured); }; case (_itemName == "Chemlight_blue" or {_itemName == "Chemlight_green"} or {_itemName == "Chemlight_red"} or {_itemName == "Chemlight_yellow"}) : { - [localize "STR_AGM_Attach_Chemlight_Detached"] call EFUNC(common,displayTextStructured); + [localize "STR_ACE_Attach_Chemlight_Detached"] call EFUNC(common,displayTextStructured); }; default { if (true) exitWith {}; diff --git a/addons/attach/functions/fnc_detachDelayFix.sqf b/addons/attach/functions/fnc_detachDelayFix.sqf index b84761c9fe..ac4ef0b276 100644 --- a/addons/attach/functions/fnc_detachDelayFix.sqf +++ b/addons/attach/functions/fnc_detachDelayFix.sqf @@ -1,6 +1,4 @@ /* - Name: ACE_attach_fnc_detachFix - Author: Pabst Mirror Description: diff --git a/addons/attach/functions/fnc_openAttachUI.sqf b/addons/attach/functions/fnc_openAttachUI.sqf index c36b3445ae..97046fa80b 100644 --- a/addons/attach/functions/fnc_openAttachUI.sqf +++ b/addons/attach/functions/fnc_openAttachUI.sqf @@ -1,8 +1,6 @@ #include "script_component.hpp" /* - Name: AGM_Attach_fnc_openAttachUI - Author: Garth de Wet (LH) Description: @@ -15,17 +13,17 @@ Nothing Example: - [player] call AGM_Attach_fnc_openAttachUI; + [player] call ACE_Attach_fnc_openAttachUI; */ private ["_unit", "_actions", "_attachables", "_item"]; _unit = _this select 0; _listed = []; _attachables = magazines _unit; -_actions = [localize "STR_AGM_Attach_AttachDetach", localize "STR_AGM_Attach_Attach"] call EFUNC(interaction,prepareSelectMenu); +_actions = [localize "STR_ACE_Attach_AttachDetach", localize "STR_ACE_Attach_Attach"] call EFUNC(interaction,prepareSelectMenu); { if !(_x in _listed) then { _item = ConfigFile >> "CfgMagazines" >> _x; - if (getNumber (_item >> "AGM_Attachable") == 1) then { + if (getNumber (_item >> "ACE_Attachable") == 1) then { _actions = [ _actions, getText(_item >> "displayName"), @@ -40,7 +38,7 @@ _attachables = items _unit; { if !(_x in _listed) then { _item = ConfigFile >> "CfgWeapons" >> _x; - if (getNumber (_item >> "AGM_Attachable") == 1) then { + if (getNumber (_item >> "ACE_Attachable") == 1) then { _actions = [ _actions, getText(_item >> "displayName"), @@ -55,7 +53,7 @@ _attachables = items _unit; [ _actions, { - [AGM_player, _this] call FUNC(attach); + [ACE_player, _this] call FUNC(attach); call EFUNC(interaction,hideMenu); }, { diff --git a/addons/attach/stringtable.xml b/addons/attach/stringtable.xml index 895dff95c7..877f26e623 100644 --- a/addons/attach/stringtable.xml +++ b/addons/attach/stringtable.xml @@ -1,8 +1,8 @@  - + - + Attach item >> Gegenstand befestigen >> Acoplar objeto >> @@ -14,7 +14,7 @@ Tárgy hozzácsatolása >> Добавить приспособления - + Attach Befestigen Acoplar @@ -26,7 +26,7 @@ Hozzácsatolás Присоединить - + Detach item Gegenstand entfernen Quitar objeto @@ -38,7 +38,7 @@ Tárgy lecsatolása Отсоединить - + IR Strobe Attached IR-Stroboskop befestigt Marcador IR acoplado @@ -50,7 +50,7 @@ Infravörös jeladó hozzácsatolva ИК строб присоединён - + IR Strobe Detached IR-Stroboskop entfernt Marcador IR quitado @@ -62,7 +62,7 @@ Infravörös jeladó lecsatolva ИК строб отсоединён - + IR Grenade Attached IR-Granate befestigt Granada IR acoplada @@ -74,7 +74,7 @@ Infravörös gránát hozzácsatolva ИК граната присоединена - + IR Grenade Detached IR-Granate entfernt Granada IR quitada @@ -86,7 +86,7 @@ Infravörös gránát lecsatolva ИК граната отсоединена - + Chemlight Attached Leuchtstab befestigt Barra de luz acoplada @@ -98,7 +98,7 @@ Chemlight hozzácsatolva Химсвет присоединён - + Chemlight Detached Leuchtstab entfernt Barra de luz quitada @@ -110,7 +110,7 @@ Chemlight hozzácsatolva Химсвет отсоединён - + No inventory space Kein Platz im Inventar Sin espacio en inventario @@ -122,7 +122,7 @@ Nincs több hely В инвентаре нет места - + IR Strobe IR-Stroboskop Marcador IR @@ -134,7 +134,7 @@ Infravörös jeladó ИК строб - + IR Strobe allows you to signal your position through a pulsating beacon only visible with NVGs. Das IR-Stroboskop erlaubt es dir deine Position mit einem blinkenden Leuchtfeuer zu signalisieren, welches nur mit Nachtsichtgerät zu erkennen ist. Stroboskop światła podczerwieni umożliwia oznaczenie swojej pozycji pulsacyjnym światłem widocznym tylko przez optykę noktowizyjną i gogle noktowizyjne. From 46cf9a194a33e0e103671a3ce3128eefa0957a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Badano?= Date: Tue, 13 Jan 2015 20:03:12 -0300 Subject: [PATCH 14/18] Extract stuff out of attach config.cpp --- addons/attach/CfgMagazines.hpp | 10 +++ addons/attach/CfgVehicles.hpp | 104 +++++++++++++++++++++++ addons/attach/CfgWeapons.hpp | 16 ++++ addons/attach/config.cpp | 148 +-------------------------------- 4 files changed, 133 insertions(+), 145 deletions(-) create mode 100644 addons/attach/CfgMagazines.hpp create mode 100644 addons/attach/CfgVehicles.hpp create mode 100644 addons/attach/CfgWeapons.hpp diff --git a/addons/attach/CfgMagazines.hpp b/addons/attach/CfgMagazines.hpp new file mode 100644 index 0000000000..293a075d70 --- /dev/null +++ b/addons/attach/CfgMagazines.hpp @@ -0,0 +1,10 @@ +class CfgMagazines { + class CA_Magazine; + class B_IR_Grenade: CA_Magazine { + ACE_Attachable = 1; + }; + class SmokeShell; + class Chemlight_green: SmokeShell { + ACE_Attachable = 1; + }; +}; \ No newline at end of file diff --git a/addons/attach/CfgVehicles.hpp b/addons/attach/CfgVehicles.hpp new file mode 100644 index 0000000000..a8653b9e06 --- /dev/null +++ b/addons/attach/CfgVehicles.hpp @@ -0,0 +1,104 @@ +#define MACRO_ADDITEM(ITEM,COUNT) class _xx_##ITEM { \ + name = #ITEM; \ + count = COUNT; \ +}; + +class CfgVehicles { + class Man; + class CAManBase: Man { + class ACE_SelfActions { + class ACE_Equipment { + class GVAR(Attach) { + displayName = "$STR_ACE_Attach_AttachDetach"; + condition = QUOTE( [_player, ''] call FUNC(canAttach) ); + statement = QUOTE( [_player] call FUNC(openAttachUI); ); + exceptions[] = {"ACE_Drag_isNotDragging"}; + showDisabled = 0; + priority = 5; + icon = PATHTOF(UI\attach_ca.paa); + hotkey = "T"; + }; + class GVAR(Detach) { + displayName = "$STR_ACE_Attach_Detach"; + condition = QUOTE( [_player] call FUNC(canDetach) ); + statement = QUOTE( [_player] call FUNC(detach) ); + exceptions[] = {"ACE_Drag_isNotDragging"}; + showDisabled = 0; + priority = 5; + icon = PATHTOF(UI\detach_ca.paa); + hotkey = "T"; + }; + }; + }; + }; + + class All; + class ACE_IR_Strobe_Effect: All { + scope = 1; + displayName = "IR Strobe"; + model = "\A3\Weapons_F\empty.p3d"; + simulation = "nvmarker"; + + class NVGMarker { + diffuse[] = {0,0,0}; + ambient[] = {0,0,0}; + brightness = 0.004; + name = "pozicni blik"; + drawLight = 1; + drawLightSize = 0.005; + drawLightCenterSize = 0.003; + activeLight = 0; + blinking=1; + dayLight = 0; + onlyInNvg = 1; + useFlare = 0; + }; + side = 7;//-1=NO_SIDE yellow box,3=CIV grey box,4=NEUTRAL yellow box,6=FRIENDLY green box,7=LOGIC no radar signature + accuracy = 1000; + cost = 0; + armor = 500; + threat[] = {0,0,0}; + nameSound = ""; + type = 0; + weapons[] = {}; + magazines[] = {}; + nvTarget = 1; + destrType = "DestructNo"; + brightness = 20; + }; + + class NATO_Box_Base; + class EAST_Box_Base; + class IND_Box_Base; + class FIA_Box_Base_F; + + class Box_NATO_Support_F: NATO_Box_Base { + class TransportItems { + MACRO_ADDITEM(ACE_IR_Strobe_Item,12) + }; + }; + + class Box_East_Support_F: EAST_Box_Base { + class TransportItems { + MACRO_ADDITEM(ACE_IR_Strobe_Item,12) + }; + }; + + class Box_IND_Support_F: IND_Box_Base { + class TransportItems { + MACRO_ADDITEM(ACE_IR_Strobe_Item,12) + }; + }; + + class Box_FIA_Support_F: FIA_Box_Base_F { + class TransportItems { + MACRO_ADDITEM(ACE_IR_Strobe_Item,12) + }; + }; + + class ACE_Box_Misc: Box_NATO_Support_F { + class TransportItems { + MACRO_ADDITEM(ACE_IR_Strobe_Item,12) + }; + }; +}; \ No newline at end of file diff --git a/addons/attach/CfgWeapons.hpp b/addons/attach/CfgWeapons.hpp new file mode 100644 index 0000000000..65ca397ec9 --- /dev/null +++ b/addons/attach/CfgWeapons.hpp @@ -0,0 +1,16 @@ +class CfgWeapons { + class ACE_ItemCore; + class InventoryItem_Base_F; + + class ACE_IR_Strobe_Item: ACE_ItemCore { + displayName = "$STR_ACE_IrStrobe_Name"; + descriptionShort = "$STR_ACE_IrStrobe_Description"; + model = "\A3\weapons_F\ammo\mag_univ.p3d"; + picture = PATHTOF(UI\irstrobe_item.paa); + scope = 2; + ACE_attachable = 1; + class ItemInfo: InventoryItem_Base_F { + mass = 1; + }; + }; +}; \ No newline at end of file diff --git a/addons/attach/config.cpp b/addons/attach/config.cpp index 3f324425cd..e3db2b64e6 100644 --- a/addons/attach/config.cpp +++ b/addons/attach/config.cpp @@ -16,150 +16,8 @@ class CfgPatches { #include "CfgEventHandlers.hpp" -/* -class CfgFunctions { - class ADDON { - class ADDON { - file = PATHTOF(functions); - class attach; - class canAttach; - class canDetach; - class detach; - class openAttachUI; - }; - }; -}; -*/ +#include "CfgVehicles.hpp" -#define MACRO_ADDITEM(ITEM,COUNT) class _xx_##ITEM { \ - name = #ITEM; \ - count = COUNT; \ -}; +#include "CfgWeapons.hpp" -class CfgVehicles { - class Man; - class CAManBase: Man { - class ACE_SelfActions { - class ACE_Equipment { - class GVAR(Attach) { - displayName = "$STR_ACE_Attach_AttachDetach"; - condition = QUOTE( [_player, ''] call FUNC(canAttach) ); - statement = QUOTE( [_player] call FUNC(openAttachUI); ); - exceptions[] = {"ACE_Drag_isNotDragging"}; - showDisabled = 0; - priority = 5; - icon = PATHTOF(UI\attach_ca.paa); - hotkey = "T"; - }; - class GVAR(Detach) { - displayName = "$STR_ACE_Attach_Detach"; - condition = QUOTE( [_player] call FUNC(canDetach) ); - statement = QUOTE( [_player] call FUNC(detach) ); - exceptions[] = {"ACE_Drag_isNotDragging"}; - showDisabled = 0; - priority = 5; - icon = PATHTOF(UI\detach_ca.paa); - hotkey = "T"; - }; - }; - }; - }; - - class All; - class ACE_IR_Strobe_Effect: All { - scope = 1; - displayName = "IR Strobe"; - model = "\A3\Weapons_F\empty.p3d"; - simulation = "nvmarker"; - - class NVGMarker { - diffuse[] = {0,0,0}; - ambient[] = {0,0,0}; - brightness = 0.004; - name = "pozicni blik"; - drawLight = 1; - drawLightSize = 0.005; - drawLightCenterSize = 0.003; - activeLight = 0; - blinking=1; - dayLight = 0; - onlyInNvg = 1; - useFlare = 0; - }; - side = 7;//-1=NO_SIDE yellow box,3=CIV grey box,4=NEUTRAL yellow box,6=FRIENDLY green box,7=LOGIC no radar signature - accuracy = 1000; - cost = 0; - armor = 500; - threat[] = {0,0,0}; - nameSound = ""; - type = 0; - weapons[] = {}; - magazines[] = {}; - nvTarget = 1; - destrType = "DestructNo"; - brightness = 20; - }; - - class NATO_Box_Base; - class EAST_Box_Base; - class IND_Box_Base; - class FIA_Box_Base_F; - - class Box_NATO_Support_F: NATO_Box_Base { - class TransportItems { - MACRO_ADDITEM(ACE_IR_Strobe_Item,12) - }; - }; - - class Box_East_Support_F: EAST_Box_Base { - class TransportItems { - MACRO_ADDITEM(ACE_IR_Strobe_Item,12) - }; - }; - - class Box_IND_Support_F: IND_Box_Base { - class TransportItems { - MACRO_ADDITEM(ACE_IR_Strobe_Item,12) - }; - }; - - class Box_FIA_Support_F: FIA_Box_Base_F { - class TransportItems { - MACRO_ADDITEM(ACE_IR_Strobe_Item,12) - }; - }; - - class ACE_Box_Misc: Box_NATO_Support_F { - class TransportItems { - MACRO_ADDITEM(ACE_IR_Strobe_Item,12) - }; - }; -}; - -class CfgWeapons { - class ACE_ItemCore; - class InventoryItem_Base_F; - - class ACE_IR_Strobe_Item: ACE_ItemCore { - displayName = "$STR_ACE_IrStrobe_Name"; - descriptionShort = "$STR_ACE_IrStrobe_Description"; - model = "\A3\weapons_F\ammo\mag_univ.p3d"; - picture = PATHTOF(UI\irstrobe_item.paa); - scope = 2; - ACE_attachable = 1; - class ItemInfo: InventoryItem_Base_F { - mass = 1; - }; - }; -}; - -class CfgMagazines { - class CA_Magazine; - class B_IR_Grenade: CA_Magazine { - ACE_Attachable = 1; - }; - class SmokeShell; - class Chemlight_green: SmokeShell { - ACE_Attachable = 1; - }; -}; +#include "CfgMagazines.hpp" From d4bcc413b01df3ee65e64ffadd2610d4d8259b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Badano?= Date: Tue, 13 Jan 2015 20:07:52 -0300 Subject: [PATCH 15/18] Replace tags in attach --- addons/attach/functions/fnc_attach.sqf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/addons/attach/functions/fnc_attach.sqf b/addons/attach/functions/fnc_attach.sqf index 0c96e6f8ca..ab920c6428 100644 --- a/addons/attach/functions/fnc_attach.sqf +++ b/addons/attach/functions/fnc_attach.sqf @@ -26,30 +26,30 @@ if !((_itemName in items _unit) or (_itemName in magazines _unit)) exitWith {}; // Attach item switch true do { - case (_itemName == "AGM_IR_Strobe_Item") : { - _attachedItem = "AGM_IR_Strobe_Effect" createVehicle [0,0,0]; + case (_itemName == "ACE_IR_Strobe_Item") : { + _attachedItem = "ACE_IR_Strobe_Effect" createVehicle [0,0,0]; _attachedItem attachTo [_unit,[0,-0.11,0.16],"pilot"];//makes it attach to the head a bit better, shoulder is not good for visibility - eRazeri - [localize "STR_AGM_Attach_IrStrobe_Attached"] call EFUNC(common,displayTextStructured); + [localize "STR_ACE_Attach_IrStrobe_Attached"] call EFUNC(common,displayTextStructured); }; case (_itemName == "B_IR_Grenade") : { _attachedItem = "B_IRStrobe" createVehicle [0,0,0]; _attachedItem attachTo [_unit,[-0.05,0,0.12],"rightshoulder"]; - [localize "STR_AGM_Attach_IrGrenade_Attached"] call EFUNC(common,displayTextStructured); + [localize "STR_ACE_Attach_IrGrenade_Attached"] call EFUNC(common,displayTextStructured); }; case (_itemName == "O_IR_Grenade") : { _attachedItem = "O_IRStrobe" createVehicle [0,0,0]; _attachedItem attachTo [_unit,[-0.05,0,0.12],"rightshoulder"]; - [localize "STR_AGM_Attach_IrGrenade_Attached"] call EFUNC(common,displayTextStructured); + [localize "STR_ACE_Attach_IrGrenade_Attached"] call EFUNC(common,displayTextStructured); }; case (_itemName == "I_IR_Grenade") : { _attachedItem = "I_IRStrobe" createVehicle [0,0,0]; _attachedItem attachTo [_unit,[-0.05,0,0.12],"rightshoulder"]; - [localize "STR_AGM_Attach_IrGrenade_Attached"] call EFUNC(common,displayTextStructured); + [localize "STR_ACE_Attach_IrGrenade_Attached"] call EFUNC(common,displayTextStructured); }; case (_itemName == "Chemlight_blue" or {_itemName == "Chemlight_green"} or {_itemName == "Chemlight_red"} or {_itemName == "Chemlight_yellow"}) : { _attachedItem = _itemName createVehicle [0,0,0]; _attachedItem attachTo [_unit,[-0.05,0,0.12],"rightshoulder"]; - [localize "STR_AGM_Attach_Chemlight_Attached"] call EFUNC(common,displayTextStructured);; + [localize "STR_ACE_Attach_Chemlight_Attached"] call EFUNC(common,displayTextStructured);; }; default { if (true) exitWith {}; From f90b23b4f616f1656caf88c6bc132e007a99ab15 Mon Sep 17 00:00:00 2001 From: Nou Date: Tue, 13 Jan 2015 15:27:42 -0800 Subject: [PATCH 16/18] Added network event handlers, ref ticket #12. --- addons/common/XEH_postInit.sqf | 6 ++ addons/common/XEH_preInit.sqf | 10 ++++ .../common/functions/fnc__handleNetEvent.sqf | 59 +++++++++++++++++++ .../functions/fnc_addNetEventHandler.sqf | 32 ++++++++++ addons/common/functions/fnc_globalEvent.sqf | 22 +++++++ addons/common/functions/fnc_serverEvent.sqf | 25 ++++++++ addons/common/functions/fnc_targetEvent.sqf | 29 +++++++++ 7 files changed, 183 insertions(+) create mode 100644 addons/common/functions/fnc__handleNetEvent.sqf create mode 100644 addons/common/functions/fnc_addNetEventHandler.sqf create mode 100644 addons/common/functions/fnc_globalEvent.sqf create mode 100644 addons/common/functions/fnc_serverEvent.sqf create mode 100644 addons/common/functions/fnc_targetEvent.sqf diff --git a/addons/common/XEH_postInit.sqf b/addons/common/XEH_postInit.sqf index 5c37862c7b..4a7b12a8c5 100644 --- a/addons/common/XEH_postInit.sqf +++ b/addons/common/XEH_postInit.sqf @@ -19,6 +19,10 @@ if (_currentVersion != _previousVersion) then { 0 spawn COMPILE_FILE(scripts\Version\checkVersionNumber); +//add network event handlers +"ACEg" addPublicVariableEventHandler { _this call FUNC(_handletNetEvent); }; +"ACEc" addPublicVariableEventHandler { _this call FUNC(_handletNetEvent); }; + // everything that only player controlled machines need, goes below this if (!hasInterface) exitWith {}; @@ -67,3 +71,5 @@ enableCamShake true; [_this select 1] call FUNC(setName) }; }] call FUNC(addCustomEventhandler); + + diff --git a/addons/common/XEH_preInit.sqf b/addons/common/XEH_preInit.sqf index 52ccdff4d4..57713d2611 100644 --- a/addons/common/XEH_preInit.sqf +++ b/addons/common/XEH_preInit.sqf @@ -137,6 +137,16 @@ PREP(showUser); PREP(addCuratorUnloadEventhandler); PREP(fixCrateContent); +//ACE events global variables +GVAR(netEvents) = [[],[]]; + +PREP(globalEvent); +PREP(_handleNetEvent); +PREP(addNetEventHandler); +PREP(targetEvent); +PREP(serverEvent); + + // Loop to update the ACE_player variable ACE_player = player; if (hasInterface) then { diff --git a/addons/common/functions/fnc__handleNetEvent.sqf b/addons/common/functions/fnc__handleNetEvent.sqf new file mode 100644 index 0000000000..37a8ce8e6e --- /dev/null +++ b/addons/common/functions/fnc__handleNetEvent.sqf @@ -0,0 +1,59 @@ +//fnc__handleNetEvent.sqf +// internal handler for net events +#include "script_component.hpp" + +private ["_eventType", "_event", "_eventName", "_eventArgs", "_eventNames", "_eventIndex", "_eventTargets", "_sentEvents", "_owner", "_serverFlagged"]; + +_eventType = _this select 0; +_event = _this select 1; + + +if(_eventType == "ACEg") then { + _eventName = _event select 0; + _eventArgs = _event select 1; + + _eventNames = GVAR(netEvents) select 0; + _eventIndex = _eventNames find _eventName; + if(_eventIndex != -1) then { + _events = (GVAR(netEvents) select 1) select _eventIndex; + { + if(!isNil "_x") then { + _eventArgs call CALLSTACK_NAMED(_x, format[ARR_3("Net Event %1 ID: %2",_eventName,_forEachIndex)]); + }; + } forEach _events; + }; +}; + +if(_eventType == "ACEc") then { + if(isServer) then { + _eventName = _event select 0; + _eventTargets = _event select 1; + _eventArgs = _event select 2; + + _sentEvents = []; + if(!IS_ARRAY(_eventTargets)) then { + _eventTargets = [_eventTargets]; + }; + _serverFlagged = false; + { + _owner = _x; + if(IS_OBJECT(_x)) then { + _owner = owner _x; + }; + if(!(_owner in _sentEvents)) then { + PUSH(_sentEvents, _owner); + ACEg = [_eventName, _eventArgs]; + if(isDedicated || {_x != ACE_player}) then { + if(isDedicated && {local _x} && {!_serverFlagged}) then { + _serverFlagged = true; + ["ACEg", ACEg] call FUNC(_handleNetEvent); + } else { + _owner publicVariableClient "ACEg"; + }; + } else { + ["ACEg", ACEg] call FUNC(_handleNetEvent); + }; + }; + } forEach _eventTargets; + }; +}; \ No newline at end of file diff --git a/addons/common/functions/fnc_addNetEventHandler.sqf b/addons/common/functions/fnc_addNetEventHandler.sqf new file mode 100644 index 0000000000..1a6160e93c --- /dev/null +++ b/addons/common/functions/fnc_addNetEventHandler.sqf @@ -0,0 +1,32 @@ +/* + * Author: Nou + * + * Add a network event handler. + * + * Argument: + * 0: Event name (string) + * 1: Event code (code) + * + * Return value: + * Event handler ID number (for use with fnc_removeNetEventHandler) + */ +#include "script_component.hpp" +private ["_eventName", "_eventCode", "_eventNames", "_eventFunctions", "_eventNameCount", "_eventIndex", "_eventFunctionCount"]; +_eventName = _this select 0; +_eventCode = _this select 1; + +_eventNames = GVAR(netEvents) select 0; +_eventFunctions = []; +_eventIndex = _eventNames find _eventName; +if(_eventIndex != -1) then { + _eventFunctions = (GVAR(netEvents) select 1) select _eventIndex; +} else { + _eventNameCount = count _eventNames; + _eventNames set[_eventNameCount, _eventName]; + (GVAR(netEvents) select 1) set[_eventNameCount, _eventFunctions]; +}; + +_eventFunctionCount = count _eventFunctions; +_eventFunctions set[_eventFunctionCount, _eventCode]; + +_eventFunctionCount; \ No newline at end of file diff --git a/addons/common/functions/fnc_globalEvent.sqf b/addons/common/functions/fnc_globalEvent.sqf new file mode 100644 index 0000000000..dcf40261cf --- /dev/null +++ b/addons/common/functions/fnc_globalEvent.sqf @@ -0,0 +1,22 @@ +/* + * Author: Nou + * + * Execute a global event on all clients, including self. + * + * Argument: + * 0: Event name (string) + * 1: Event args (any) + * + * Return value: + * Nothing + */ +#include "script_component.hpp" +private ["_eventName", "_eventArgs"]; + +_eventName = _this select 0; +_eventArgs = _this select 1; + + +ACEg = [_eventName, _eventArgs]; +publicVariable "ACEg"; +["ACEg", ACEg] call FUNC(_handleNetEvent); \ No newline at end of file diff --git a/addons/common/functions/fnc_serverEvent.sqf b/addons/common/functions/fnc_serverEvent.sqf new file mode 100644 index 0000000000..5e7ba3f92b --- /dev/null +++ b/addons/common/functions/fnc_serverEvent.sqf @@ -0,0 +1,25 @@ +/* + * Author: Nou + * + * Execute a event only on the server. + * + * Argument: + * 0: Event name (string) + * 1: Event args (any) + * + * Return value: + * Nothing + */ +#include "script_component.hpp" +private ["_eventName", "_eventArgs"]; + +_eventName = _this select 0; +_eventArgs = _this select 1; + + +ACEg = [_eventName, _eventArgs]; +if(!isServer) then { + publicVariableServer "ACEg"; +} else { + ["ACEg", ACEg] call FUNC(_handleNetEvent); +}; diff --git a/addons/common/functions/fnc_targetEvent.sqf b/addons/common/functions/fnc_targetEvent.sqf new file mode 100644 index 0000000000..4984c3d720 --- /dev/null +++ b/addons/common/functions/fnc_targetEvent.sqf @@ -0,0 +1,29 @@ +/* + * Author: Nou + * + * Execute a event only on specific clients. + * + * Argument: + * 0: Event name (string) + * 1: Event targets (object or array of objects) + * 2: Event args (any) + * + * Note: If local executor is in list of targets, event will execute with + * network delay, and not immediatly. + * + * Return value: + * Nothing + */ +#include "script_component.hpp" +private ["_eventName", "_eventArgs", "_eventTargets"]; + +_eventName = _this select 0; +_eventTargets = _this select 1; +_eventArgs = _this select 2; + +ACEc = [_eventName, _eventTargets, _eventArgs]; +if(!isServer) then { + publicVariableServer "ACEc"; +} else { + ["ACEc", ACEc] call FUNC(_handleNetEvent); +}; \ No newline at end of file From bed800daa5486686414973c2971548518cadd135 Mon Sep 17 00:00:00 2001 From: commy2 Date: Wed, 14 Jan 2015 00:52:37 +0100 Subject: [PATCH 17/18] port aircraft --- TO_MERGE/agm/Aircraft/_hud_thunderbolt.hpp | 6562 ----------------- TO_MERGE/agm/Aircraft/config.cpp | 1174 --- TO_MERGE/agm/Aircraft/hmd_thunderbolt.hpp | 6562 ----------------- TO_MERGE/agm/Aircraft/mfd_comanche.hpp | 1310 ---- TO_MERGE/agm/Aircraft/mfd_ghosthawk.hpp | 1409 ---- TO_MERGE/agm/Aircraft/mfd_littlebird.hpp | 565 -- .../agm/Aircraft/mfd_littlebird_armed.hpp | 694 -- TO_MERGE/agm/Aircraft/mfd_merlin.hpp | 1296 ---- TO_MERGE/agm/Aircraft/mfd_thunderbolt.hpp | 1979 ----- TO_MERGE/agm/Aircraft/mfd_wildcat.hpp | 784 -- TO_MERGE/agm/Aircraft/mfd_wildcat_unarmed.hpp | 896 --- addons/aircraft/CfgAmmo.hpp | 302 + addons/aircraft/CfgMagazines.hpp | 202 + addons/aircraft/CfgVehicles.hpp | 402 + addons/aircraft/CfgWeapons.hpp | 240 + addons/aircraft/config.cpp | 18 + .../aircraft}/flightmodel_alca.hpp | 0 .../aircraft}/flightmodel_thunderbolt.hpp | 0 .../aircraft}/flightmodel_yak.hpp | 0 addons/aircraft/script_component.hpp | 12 + .../aircraft}/stringtable.xml | 8 +- 21 files changed, 1180 insertions(+), 23235 deletions(-) delete mode 100644 TO_MERGE/agm/Aircraft/_hud_thunderbolt.hpp delete mode 100644 TO_MERGE/agm/Aircraft/config.cpp delete mode 100644 TO_MERGE/agm/Aircraft/hmd_thunderbolt.hpp delete mode 100644 TO_MERGE/agm/Aircraft/mfd_comanche.hpp delete mode 100644 TO_MERGE/agm/Aircraft/mfd_ghosthawk.hpp delete mode 100644 TO_MERGE/agm/Aircraft/mfd_littlebird.hpp delete mode 100644 TO_MERGE/agm/Aircraft/mfd_littlebird_armed.hpp delete mode 100644 TO_MERGE/agm/Aircraft/mfd_merlin.hpp delete mode 100644 TO_MERGE/agm/Aircraft/mfd_thunderbolt.hpp delete mode 100644 TO_MERGE/agm/Aircraft/mfd_wildcat.hpp delete mode 100644 TO_MERGE/agm/Aircraft/mfd_wildcat_unarmed.hpp create mode 100644 addons/aircraft/CfgAmmo.hpp create mode 100644 addons/aircraft/CfgMagazines.hpp create mode 100644 addons/aircraft/CfgVehicles.hpp create mode 100644 addons/aircraft/CfgWeapons.hpp create mode 100644 addons/aircraft/config.cpp rename {TO_MERGE/agm/Aircraft => addons/aircraft}/flightmodel_alca.hpp (100%) rename {TO_MERGE/agm/Aircraft => addons/aircraft}/flightmodel_thunderbolt.hpp (100%) rename {TO_MERGE/agm/Aircraft => addons/aircraft}/flightmodel_yak.hpp (100%) create mode 100644 addons/aircraft/script_component.hpp rename {TO_MERGE/agm/Aircraft => addons/aircraft}/stringtable.xml (87%) diff --git a/TO_MERGE/agm/Aircraft/_hud_thunderbolt.hpp b/TO_MERGE/agm/Aircraft/_hud_thunderbolt.hpp deleted file mode 100644 index 84ecbe6d32..0000000000 --- a/TO_MERGE/agm/Aircraft/_hud_thunderbolt.hpp +++ /dev/null @@ -1,6562 +0,0 @@ - - - -class MFD3 -{ - class HUD_1 - { - topLeft="HUD_top_left"; - topRight="HUD_top_right"; - bottomLeft="HUD_bottom_left"; - borderLeft=0.12; - borderRight=0.12; - borderTop=0.05; - borderBottom=0.15; - color[]={0,1,0,0.1}; - enableParallax=1; - class Bones - { - class WeaponAim - { - type="vector"; - source="weapon"; - pos0[]={0.5,0.38}; - pos10[]={1.166,1.215}; - }; - class Target - { - type="vector"; - source="target"; - pos0[]={0.5,0.38}; - pos10[]={1.166,1.215}; - }; - class Velocity - { - type="vector"; - source="velocity"; - pos0[]={0.5,0.5}; - pos10[]={1.215,1.215}; - }; - class VerticalSpeed - { - type="linear"; - source="vspeed"; - sourceScale=1; - min=-100; - max=100; - minPos[]={0,0.15000001}; - maxPos[]={0,-0.15000001}; - }; - class center - { - type="fixed"; - pos[]={0.5,0.38}; - }; - class RangeBone - { - type="linear"; - source="targetDist"; - sourceScale=1; //meters - min=0; - max=12000; - minPos[]={0.08,0.40}; - maxPos[]={0.08,0.60}; - }; - class RadarAltitudeBone - { - type="linear"; - source="altitudeAGL"; - sourceScale=1; // meters - //hideValue=1500; - min=0; - max=500; - minPos[]={0.71,0.40}; - maxPos[]={0.71,0.60}; - }; - class VspeedBone - { - type="linear"; - source="vspeed"; - sourceScale=1; // m/s - min=-50; - max=50; - minPos[]={0.94,0.40}; - maxPos[]={0.94,0.60}; - }; - }; - class Draw - { - color[]={0.15000001,1,0.15000001}; - alpha=0.9; - clipTL[]={0,0}; - clipBR[]={1,1}; - condition="on"; - - class WeaponName - { - type="text"; - source="weapon"; - sourceScale=1; - align="left"; - scale=1; - pos[]= - { - {"0.15 + 0.1",0.85}, - 1 - }; - right[]= - { - {"0.19 + 0.1",0.85}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.89}, - 1 - }; - }; - class AmmoCount - { - type="text"; - source="ammo"; - sourceScale=1; - align="left"; - scale=1; - pos[]= - { - {"0.15 + 0.1",0.89}, - 1 - }; - right[]= - { - {"0.19 + 0.1",0.89}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.93}, - 1 - }; - }; - class GearGroup - { - type="group"; - condition="ils"; - class GearText - { - type="text"; - source="static"; - text="GEAR"; - align="left"; - scale=1; - pos[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.40" - }, - 1 - }; - right[]= - { - - { - "0.20 + 0.1", - "0.53 - 0.40" - }, - 1 - }; - down[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.40 + 0.05" - }, - 1 - }; - }; - class radarbanda - { - type="line"; - width=4; - points[]= - { - { - "RadarAltitudeBone", - {-0.005,0.005}, - 1 - }, - { - "RadarAltitudeBone", - {-0.005,0}, - 1 - }, - { - "RadarAltitudeBone", - {0,0}, - 1 - }, - {{ 0.71,0.60 },1 }, - { }, - - {{ 0.71,0.40 },1 }, - {{ 0.72,0.40 },1 }, - { }, - {{ 0.71,0.44 },1 }, - {{ 0.72,0.44 },1 }, - { }, - {{ 0.71,0.48 },1 }, - {{ 0.72,0.48 },1 }, - { }, - {{ 0.71,0.52 },1 }, - {{ 0.72,0.52 },1 }, - { }, - {{ 0.71,0.56 },1 }, - {{ 0.72,0.56 },1 }, - { }, - {{ 0.71,0.60 },1 }, - {{ 0.72,0.60 },1 } - }; - }; - class radartext_5 - { - type="text"; - source="static"; - text="5"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.00"},1}; - right[]= {{0.751,"0.385 + 0.00"},1}; - down[]= {{0.721,"0.415 + 0.00"},1}; - }; - class radartext_4 - { - type="text"; - source="static"; - text="4"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.04"},1}; - right[]= {{0.751,"0.385 + 0.04"},1}; - down[]= {{0.721,"0.415 + 0.04"},1}; - }; - class radartext_3 - { - type="text"; - source="static"; - text="3"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.08"},1}; - right[]= {{0.751,"0.385 + 0.08"},1}; - down[]= {{0.721,"0.415 + 0.08"},1}; - }; - class radartext_2 - { - type="text"; - source="static"; - text="2"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.120"},1}; - right[]= {{0.751,"0.385 + 0.120"},1}; - down[]= {{0.721,"0.415 + 0.120"},1}; - }; - class radartext_1 - { - type="text"; - source="static"; - text="1"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.160"},1}; - right[]= {{0.751,"0.385 + 0.160"},1}; - down[]= {{0.721,"0.415 + 0.160"},1}; - }; - class radartext_0 - { - type="text"; - source="static"; - text="0"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.200"},1}; - right[]= {{0.751,"0.385 + 0.200"},1}; - down[]= {{0.721,"0.415 + 0.200"},1}; - }; - - /*class Vspeedbanda - { - type="line"; - width=4; - points[]= - { - { - "VspeedBone", - {0.007,-0.007}, - 1 - }, - { - "VspeedBone", - {0,0}, - 1 - }, - { - "VspeedBone", - {0.007,0.007}, - 1 - }, - { }, - { - "VspeedBone", - {0,0}, - 1 - }, - { - "VspeedBone", - {0.012,0}, - 1 - }, - {{ 0.952,0.50 },1 }, - { }, - - {{ 0.92,0.40 },1 }, // - {{ 0.94,0.40 },1 }, - { }, - {{ 0.92,0.42 },1 }, - {{ 0.93,0.42 },1 }, - { }, - {{ 0.92,0.44 },1 }, - {{ 0.93,0.44 },1 }, - { }, - {{ 0.92,0.46 },1 }, - {{ 0.93,0.46 },1 }, - { }, - {{ 0.92,0.48 },1 }, - {{ 0.93,0.48 },1 }, - { }, - {{ 0.92,0.50 },1 }, // - {{ 0.94,0.50 },1 }, - { }, - {{ 0.92,0.52 },1 }, - {{ 0.93,0.52 },1 }, - { }, - {{ 0.92,0.54 },1 }, - {{ 0.93,0.54 },1 }, - { }, - {{ 0.92,0.56 },1 }, - {{ 0.93,0.56 },1 }, - { }, - {{ 0.92,0.58 },1 }, - {{ 0.93,0.58 },1 }, - { }, - {{ 0.92,0.60 },1 }, // - {{ 0.94,0.60 },1 }, - }; - };*/ - }; - class Vspeedbanda1 - { - type="line"; - width=4; - points[]= - { - { - "VspeedBone", - {0.007,-0.007}, - 1 - }, - { - "VspeedBone", - {0,0}, - 1 - }, - { - "VspeedBone", - {0.007,0.007}, - 1 - }, - { }, - { - "VspeedBone", - {0,0}, - 1 - }, - { - "VspeedBone", - {0.012,0}, - 1 - }, - {{ 0.952,0.50 },1 }, - { }, - - {{ 0.92,0.40 },1 }, // - {{ 0.94,0.40 },1 }, - { }, - {{ 0.92,0.42 },1 }, - {{ 0.93,0.42 },1 }, - { }, - {{ 0.92,0.44 },1 }, - {{ 0.93,0.44 },1 }, - { }, - {{ 0.92,0.46 },1 }, - {{ 0.93,0.46 },1 }, - { }, - {{ 0.92,0.48 },1 }, - {{ 0.93,0.48 },1 }, - { }, - {{ 0.92,0.50 },1 }, // - {{ 0.94,0.50 },1 }, - { }, - {{ 0.92,0.52 },1 }, - {{ 0.93,0.52 },1 }, - { }, - {{ 0.92,0.54 },1 }, - {{ 0.93,0.54 },1 }, - { }, - {{ 0.92,0.56 },1 }, - {{ 0.93,0.56 },1 }, - { }, - {{ 0.92,0.58 },1 }, - {{ 0.93,0.58 },1 }, - { }, - {{ 0.92,0.60 },1 }, // - {{ 0.94,0.60 },1 }, - }; - }; - class StallGroup - { - type="group"; - condition="stall"; - color[]={1,0,0}; - blinkingPattern[]={0.2,0.2}; - blinkingStartsOn=1; - class StallText - { - type="text"; - source="static"; - text="STALL"; - align="center"; - scale=1; - pos[]= - { - - { - 0.5, - "0.53 - 0.25" - }, - 1 - }; - right[]= - { - - { - 0.55000001, - "0.53 - 0.25" - }, - 1 - }; - down[]= - { - - { - 0.5, - "0.53 - 0.21" - }, - 1 - }; - }; - }; - class FLAPSGroup - { - type="group"; - condition="flaps"; - class FLAPSText - { - type="text"; - source="static"; - text="FLAPS"; - align="left"; - scale=1; - pos[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.35" - }, - 1 - }; - right[]= - { - - { - "0.20 + 0.1", - "0.53 - 0.35" - }, - 1 - }; - down[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.35 + 0.05" - }, - 1 - }; - }; - }; - class CollisionLightsGroup - { - type="group"; - condition="collisionlights"; - class CollisionLightsText - { - type="text"; - source="static"; - text="A-COL"; - align="left"; - scale=1; - pos[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.25" - }, - 1 - }; - right[]= - { - - { - "0.20 + 0.1", - "0.53 - 0.25" - }, - 1 - }; - down[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.25 + 0.05" - }, - 1 - }; - }; - }; - class LightsGroup - { - type="group"; - condition="lights"; - class LightsText - { - type="text"; - source="static"; - text="LLS"; - align="left"; - scale=1; - pos[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.30" - }, - 1 - }; - right[]= - { - - { - "0.20 + 0.1", - "0.53 - 0.30" - }, - 1 - }; - down[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.30 + 0.05" - }, - 1 - }; - }; - }; - class SpeedNumber - { - type="text"; - align="left"; - scale=1; - source="speed"; - sourceScale=3.5999999; - pos[]= - { - {"0.15 + 0.1",0.47}, - 1 - }; - right[]= - { - {"0.21 + 0.1",0.47}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.52999998}, - 1 - }; - }; - /*class GroundSpeedNumber - { - type="text"; - align="left"; - scale=1; - source="sqrt((""speed""*""speed"")-(""vspeed""*""vspeed""))"; - sourceScale=3.5999999; - pos[]= - { - {"0.15 + 0.1",0.37}, - 1 - }; - right[]= - { - {"0.21 + 0.1",0.37}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.42999998}, - 1 - }; - }; - */ - class MachNumber - { - type="text"; - align="left"; - scale=1; - source="speed"; - sourceScale=0.0288; - pos[]= - { - {"0.12 + 0.1",0.53}, - 1 - }; - right[]= - { - {"0.17 + 0.1",0.53}, - 1 - }; - down[]= - { - {"0.12 + 0.1",0.58}, - 1 - }; - }; - class MachText - { - type="text"; - source="static"; - text="0."; - align="left"; - scale=1; - pos[]= - { - {"0.09 + 0.1",0.53}, - 1 - }; - right[]= - { - {"0.14 + 0.1",0.53}, - 1 - }; - down[]= - { - {"0.09 + 0.1",0.58}, - 1 - }; - }; - class MachTextM - { - type="text"; - source="static"; - text="M"; - align="left"; - scale=1; - pos[]= - { - {"0.1501 + 0.1",0.53}, - 1 - }; - right[]= - { - {"0.2001 + 0.1",0.53}, - 1 - }; - down[]= - { - {"0.1501 + 0.1",0.58}, - 1 - }; - }; - class HeadingNumber: SpeedNumber - { - source="heading"; - sourceScale=1; - align="right"; - pos[]= - { - {"0.85 - 0.1",0.15}, - 1 - }; - right[]= - { - {"0.90 - 0.1",0.15}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.20}, - 1 - }; - }; - class AltNumber: SpeedNumber - { - align="right"; - source="altitudeASL"; - sourceScale=1; - pos[]= - { - {"0.85 - 0.1",0.47}, - 1 - }; - right[]= - { - {"0.91 - 0.1",0.47}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.52999998}, - 1 - }; - }; - class PitcherNumber: SpeedNumber - { - type="text"; - source="horizonDive"; - sourceScale=57.29578; - align="right"; - scale=1; - pos[]= - { - {"0.85 - 0.1",0.54}, - 1 - }; - right[]= - { - {"0.90 - 0.1",0.54}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.59}, - 1 - }; - }; - class AGLText - { - type="text"; - source="static"; - text="AGL/"; - align="right"; - scale=1; - pos[]= - { - {"0.85 - 0.1",0.76}, - 1 - }; - right[]= - { - {"0.89000002 - 0.1",0.76}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.80}, - 1 - }; - }; - class AGLNumber - { - type="text"; - source="altitudeAGL"; - sourceScale=1; - align="right"; - scale=1; - pos[]= - { - {"0.85 - 0.1",0.80}, - 1 - }; - right[]= - { - {"0.89 - 0.1",0.80}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.84}, - 1 - }; - }; - class ClimbText - { - type="text"; - source="static"; - text="CLIMB/"; - align="right"; - scale=1; - pos[]= - { - {"0.85 - 0.1",0.85001}, - 1 - }; - right[]= - { - {"0.89 - 0.1",0.85001}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.89001}, - 1 - }; - }; - class ClimbNumber - { - type="text"; - source="vspeed"; - sourceScale=1; - align="right"; - scale=1; - pos[]= - { - {"0.85 - 0.1",0.89001}, - 1 - }; - right[]= - { - {"0.89 - 0.1",0.89001}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.93001}, - 1 - }; - }; - class RangeText - { - type="text"; - source="static"; - text="RNG/"; - align="left"; - scale=1; - pos[]= - { - {"0.15 + 0.1",0.76}, - 1 - }; - right[]= - { - {"0.19 + 0.1",0.76}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.80}, - 1 - }; - }; - class RangeNumber - { - type="text"; - source="targetDist"; - sourceScale=1; - align="left"; - scale=1; - pos[]= - { - {"0.15 + 0.1",0.80}, - 1 - }; - right[]= - { - {"0.19 + 0.1",0.80}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.84}, - 1 - }; - }; - class ATRangeScale - { - condition="ATmissile"; - type="group"; - class RangeBand - { - type="line"; - width=3.0; - points[]= - { - - { - "RangeBone", - {0.00,0.0}, - 1 - }, - - { - "RangeBone", - {-0.01,-0.01}, - 1 - }, - - { - "RangeBone", - {-0.01,0.01}, - 1 - }, - - { - "RangeBone", - {0.00,0.0}, - 1 - } - }; - }; - class ATMissileRange - { - type="line"; - width=3.0; - points[] = - { - ///////////////////////////////// range marks - { { 0.08,0.40 },1 }, - { { 0.10,0.40 },1 }, - {}, - { { 0.08,0.467 },1 }, - { { 0.10,0.467 },1 }, - {}, - { { 0.08,0.567 },1 }, - { { 0.10,0.567 },1 }, - {}, - { { 0.08,0.60 },1 }, - { { 0.10,0.60 },1 }, - {}, - - { { 0.08,0.467 },1 }, // line - { { 0.08,0.567 },1 }, - {} - }; - }; - }; - class HeadingArrow - { - type="line"; - width=4; - points[]= - { - - { - {0.50,0.95}, - 1 - }, - { - {0.515,0.965}, - 1 - }, - { - {0.485,0.965}, - 1 - }, - { - {0.50,0.95}, - 1 - } - }; - }; - class HeadingScale - { - type="scale"; - horizontal=1; - source="heading"; - sourceScale=0.1; - width=5; - top=0.35; - center=0.50; - bottom=0.65; - lineXleft="0.06 + 0.89"; - lineYright="0.05 + 0.89"; - lineXleftMajor="0.06 + 0.89"; - lineYrightMajor="0.04 + 0.89"; - majorLineEach=2; - numberEach=2; - step="1 / 2"; - stepSize="(0.65 - 0.35) / 5"; - align="center"; - scale=1; - pos[]= - { - 0.35, - "0.0 + 0.89" - }; - right[]= - { - 0.38, - "0.0 + 0.89" - }; - down[]= - { - 0.35, - "0.03 + 0.89" - }; - }; - }; - }; - class HUD_2 - { - topLeft="HUD_top_left"; - topRight="HUD_top_right"; - bottomLeft="HUD_bottom_left"; - borderLeft=0.12; - borderRight=0.12; - borderTop=0.05; - borderBottom=0.15; - color[]={0,1,0,0.1}; - enableParallax=1; - class Bones - { - class ForwardVec1 - { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - //pos10[] = {0.25,0.25}; - //pos0[]={0.50,0.32}; - //pos10[]={"1.382 - 0.5","1.145 - 0.32"}; - pos10[] = {0.0,0.0}; - }; - class ForwardVec - { - type = "vector"; - source = "forward"; - pos0[] = {0.0,0.0}; - //pos10[] = {"0.253 + 0.0","0.253 + 0.0"}; - pos10[] = {0.0,0.0}; - }; - class RadarContact - { - //source="radar"; - type="fixed"; - pos[]={0,0}; - }; - class HorizonBankRot - { - type="rotational"; - source="horizonBank"; - center[]={0.5,0.32}; - min=3.1416; - max=-3.1416; - //max=0.52359998; - minAngle=-180; - maxAngle=180; - aspectRatio=1; - }; - class VspeedBone - { - type="linear"; - source="vspeed"; - sourceScale=1; - min=-10; - max=10; - minPos[]={0.2,0.35}; - maxPos[]={0.2,0.65}; - }; - class ILS_H - { - type = "ils"; - pos0[] = {0.5,0.32}; - pos3[] = {0.7,0.32}; - }; - class ILS_W: ILS_H - { - pos3[] = {0.5,0.53}; - }; - class WeaponAimGUN - { - type = "vector"; - source = "weapon"; - //pos0[] = {0.5,0.125}; - pos0[] = {0.5,0.32}; - pos10[] = {" 0.5 + 0.253 "," 0.32 + 0.253 "}; - }; - class WeaponAimROCKET - { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.390}; - pos10[] = {" 0.5 + 0.253 "," 0.390 + 0.253 "}; - }; - class RadarAltitudeBone - { - type="linear"; - source="altitudeAGL"; - sourceScale=0.10; - min=0; - max=200; - minPos[]={0.5,0.10}; - maxPos[]={0.5,0.85}; - }; - class TargetSelected - { - type = "vector"; - source = "target"; - pos0[]={ 0.50, 0.32 }; - //pos10[]={" 0.5 + 1.5 ", " 0.32 + 1.5"}; - pos10[]={1.382,1.145}; - }; - class Velocity - { - type="vector"; - source="velocity"; - pos0[]={0.5,0.32}; - pos10[]={0.8,0.62}; - //pos10[]={1.5,1.32}; - }; - class center - { - type="fixed"; - pos[]={0.5,0.38}; - }; - class Level0 - { - type="horizon"; - pos0[]={0.50,0.32}; - pos10[]={1.5,1.32}; - //pos10[]={1.382,1.145}; - angle=0; - }; - class LevelP5: Level0 - { - angle=5; - }; - class LevelM5: Level0 - { - angle=-5; - }; - class LevelP10: Level0 - { - angle=10; - }; - class LevelM10: Level0 - { - angle=-10; - }; - class LevelP15: Level0 - { - angle=15; - }; - class LevelM15: Level0 - { - angle=-15; - }; - class LevelP20: Level0 - { - angle=20; - }; - class LevelM20: Level0 - { - angle=-20; - }; - class LevelP25: Level0 - { - angle=25; - }; - class LevelM25: Level0 - { - angle=-25; - }; - class LevelP30: Level0 - { - angle=30; - }; - class LevelM30: Level0 - { - angle=-30; - }; - class LevelP35: Level0 - { - angle=35; - }; - class LevelM35: Level0 - { - angle=-35; - }; - class LevelP40: Level0 - { - angle=40; - }; - class LevelM40: Level0 - { - angle=-40; - }; - class LevelP45: Level0 - { - angle=45; - }; - class LevelM45: Level0 - { - angle=-45; - }; - class LevelP50: Level0 - { - angle=50; - }; - class LevelM50: Level0 - { - angle=-50; - }; - }; - class Draw - { - color[]={0.15000001,1,0.15000001}; - alpha=0.9; - clipTL[]={0,0}; - clipBR[]={1,1}; - condition="on"; - /*class Horizont // default - { - clipTL[]={0.10,0.10}; - clipBR[]={0.90,0.90}; - class Dimmed - { - class Level0 - { - type="line"; - points[]= - { - - { - "Level0", - {-0.2,0}, - 1 - }, - - { - "Level0", - {-0.050000001,0}, - 1 - }, - {}, - - { - "Level0", - {0.050000001,0}, - 1 - }, - - { - "Level0", - {0.2,0}, - 1 - } - }; - }; - class VALM_1_0 - { - type="text"; - source="static"; - text=0; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "Level0", - {-0.23,-0.025}, - 1 - }; - right[]= - { - "Level0", - {-0.13,-0.025}, - 1 - }; - down[]= - { - "Level0", - {-0.23,0.025}, - 1 - }; - }; - class VALM_2_0: VALM_1_0 - { - align="right"; - pos[]= - { - "Level0", - {0.22,-0.025}, - 1 - }; - right[]= - { - "Level0", - {0.31999999,-0.025}, - 1 - }; - down[]= - { - "Level0", - {0.22,0.025}, - 1 - }; - }; - class LevelM5: Level0 - { - type="line"; - points[]= - { - - { - "LevelM5", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM5", - {-0.2,0}, - 1 - }, - - { - "LevelM5", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM5", - {-0.1,0}, - 1 - }, - - { - "LevelM5", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM5", - {0.050000001,0}, - 1 - }, - - { - "LevelM5", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM5", - {0.15000001,0}, - 1 - }, - - { - "LevelM5", - {0.2,0}, - 1 - }, - - { - "LevelM5", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_5 - { - type="text"; - source="static"; - text=-5; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM5", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM5", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM5", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_5: VALM_1_5 - { - align="right"; - pos[]= - { - "LevelM5", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM5", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM5", - {0.22,-0.035}, - 1 - }; - }; - class LevelP5: Level0 - { - type="line"; - points[]= - { - - { - "LevelP5", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP5", - {-0.2,0}, - 1 - }, - - { - "LevelP5", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP5", - {0.050000001,0}, - 1 - }, - - { - "LevelP5", - {0.2,0}, - 1 - }, - - { - "LevelP5", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_5 - { - type="text"; - source="static"; - text="5"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP5", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP5", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP5", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_5: VALP_1_5 - { - align="right"; - pos[]= - { - "LevelP5", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP5", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP5", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM10: Level0 - { - type="line"; - points[]= - { - - { - "LevelM10", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM10", - {-0.2,0}, - 1 - }, - - { - "LevelM10", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM10", - {-0.1,0}, - 1 - }, - - { - "LevelM10", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM10", - {0.050000001,0}, - 1 - }, - - { - "LevelM10", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM10", - {0.15000001,0}, - 1 - }, - - { - "LevelM10", - {0.2,0}, - 1 - }, - - { - "LevelM10", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_10 - { - type="text"; - source="static"; - text=-10; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM10", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM10", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM10", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_10: VALM_1_10 - { - align="right"; - pos[]= - { - "LevelM10", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM10", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM10", - {0.22,-0.035}, - 1 - }; - }; - class LevelP10: Level0 - { - type="line"; - points[]= - { - - { - "LevelP10", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP10", - {-0.2,0}, - 1 - }, - - { - "LevelP10", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP10", - {0.050000001,0}, - 1 - }, - - { - "LevelP10", - {0.2,0}, - 1 - }, - - { - "LevelP10", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_10 - { - type="text"; - source="static"; - text="10"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP10", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP10", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP10", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_10: VALP_1_10 - { - align="right"; - pos[]= - { - "LevelP10", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP10", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP10", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM15: Level0 - { - type="line"; - points[]= - { - - { - "LevelM15", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM15", - {-0.2,0}, - 1 - }, - - { - "LevelM15", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM15", - {-0.1,0}, - 1 - }, - - { - "LevelM15", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM15", - {0.050000001,0}, - 1 - }, - - { - "LevelM15", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM15", - {0.15000001,0}, - 1 - }, - - { - "LevelM15", - {0.2,0}, - 1 - }, - - { - "LevelM15", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_15 - { - type="text"; - source="static"; - text=-15; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM15", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM15", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM15", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_15: VALM_1_15 - { - align="right"; - pos[]= - { - "LevelM15", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM15", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM15", - {0.22,-0.035}, - 1 - }; - }; - class LevelP15: Level0 - { - type="line"; - points[]= - { - - { - "LevelP15", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP15", - {-0.2,0}, - 1 - }, - - { - "LevelP15", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP15", - {0.050000001,0}, - 1 - }, - - { - "LevelP15", - {0.2,0}, - 1 - }, - - { - "LevelP15", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_15 - { - type="text"; - source="static"; - text="15"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP15", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP15", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP15", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_15: VALP_1_15 - { - align="right"; - pos[]= - { - "LevelP15", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP15", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP15", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM20: Level0 - { - type="line"; - points[]= - { - - { - "LevelM20", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM20", - {-0.2,0}, - 1 - }, - - { - "LevelM20", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM20", - {-0.1,0}, - 1 - }, - - { - "LevelM20", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM20", - {0.050000001,0}, - 1 - }, - - { - "LevelM20", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM20", - {0.15000001,0}, - 1 - }, - - { - "LevelM20", - {0.2,0}, - 1 - }, - - { - "LevelM20", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_20 - { - type="text"; - source="static"; - text=-20; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM20", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM20", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM20", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_20: VALM_1_20 - { - align="right"; - pos[]= - { - "LevelM20", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM20", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM20", - {0.22,-0.035}, - 1 - }; - }; - class LevelP20: Level0 - { - type="line"; - points[]= - { - - { - "LevelP20", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP20", - {-0.2,0}, - 1 - }, - - { - "LevelP20", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP20", - {0.050000001,0}, - 1 - }, - - { - "LevelP20", - {0.2,0}, - 1 - }, - - { - "LevelP20", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_20 - { - type="text"; - source="static"; - text="20"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP20", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP20", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP20", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_20: VALP_1_20 - { - align="right"; - pos[]= - { - "LevelP20", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP20", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP20", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM25: Level0 - { - type="line"; - points[]= - { - - { - "LevelM25", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM25", - {-0.2,0}, - 1 - }, - - { - "LevelM25", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM25", - {-0.1,0}, - 1 - }, - - { - "LevelM25", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM25", - {0.050000001,0}, - 1 - }, - - { - "LevelM25", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM25", - {0.15000001,0}, - 1 - }, - - { - "LevelM25", - {0.2,0}, - 1 - }, - - { - "LevelM25", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_25 - { - type="text"; - source="static"; - text=-25; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM25", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM25", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM25", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_25: VALM_1_25 - { - align="right"; - pos[]= - { - "LevelM25", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM25", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM25", - {0.22,-0.035}, - 1 - }; - }; - class LevelP25: Level0 - { - type="line"; - points[]= - { - - { - "LevelP25", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP25", - {-0.2,0}, - 1 - }, - - { - "LevelP25", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP25", - {0.050000001,0}, - 1 - }, - - { - "LevelP25", - {0.2,0}, - 1 - }, - - { - "LevelP25", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_25 - { - type="text"; - source="static"; - text="25"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP25", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP25", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP25", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_25: VALP_1_25 - { - align="right"; - pos[]= - { - "LevelP25", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP25", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP25", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM30: Level0 - { - type="line"; - points[]= - { - - { - "LevelM30", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM30", - {-0.2,0}, - 1 - }, - - { - "LevelM30", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM30", - {-0.1,0}, - 1 - }, - - { - "LevelM30", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM30", - {0.050000001,0}, - 1 - }, - - { - "LevelM30", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM30", - {0.15000001,0}, - 1 - }, - - { - "LevelM30", - {0.2,0}, - 1 - }, - - { - "LevelM30", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_30 - { - type="text"; - source="static"; - text=-30; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM30", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM30", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM30", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_30: VALM_1_30 - { - align="right"; - pos[]= - { - "LevelM30", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM30", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM30", - {0.22,-0.035}, - 1 - }; - }; - class LevelP30: Level0 - { - type="line"; - points[]= - { - - { - "LevelP30", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP30", - {-0.2,0}, - 1 - }, - - { - "LevelP30", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP30", - {0.050000001,0}, - 1 - }, - - { - "LevelP30", - {0.2,0}, - 1 - }, - - { - "LevelP30", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_30 - { - type="text"; - source="static"; - text="30"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP30", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP30", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP30", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_30: VALP_1_30 - { - align="right"; - pos[]= - { - "LevelP30", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP30", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP30", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM35: Level0 - { - type="line"; - points[]= - { - - { - "LevelM35", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM35", - {-0.2,0}, - 1 - }, - - { - "LevelM35", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM35", - {-0.1,0}, - 1 - }, - - { - "LevelM35", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM35", - {0.050000001,0}, - 1 - }, - - { - "LevelM35", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM35", - {0.15000001,0}, - 1 - }, - - { - "LevelM35", - {0.2,0}, - 1 - }, - - { - "LevelM35", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_35 - { - type="text"; - source="static"; - text=-35; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM35", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM35", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM35", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_35: VALM_1_35 - { - align="right"; - pos[]= - { - "LevelM35", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM35", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM35", - {0.22,-0.035}, - 1 - }; - }; - class LevelP35: Level0 - { - type="line"; - points[]= - { - - { - "LevelP35", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP35", - {-0.2,0}, - 1 - }, - - { - "LevelP35", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP35", - {0.050000001,0}, - 1 - }, - - { - "LevelP35", - {0.2,0}, - 1 - }, - - { - "LevelP35", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_35 - { - type="text"; - source="static"; - text="35"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP35", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP35", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP35", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_35: VALP_1_35 - { - align="right"; - pos[]= - { - "LevelP35", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP35", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP35", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM40: Level0 - { - type="line"; - points[]= - { - - { - "LevelM40", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM40", - {-0.2,0}, - 1 - }, - - { - "LevelM40", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM40", - {-0.1,0}, - 1 - }, - - { - "LevelM40", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM40", - {0.050000001,0}, - 1 - }, - - { - "LevelM40", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM40", - {0.15000001,0}, - 1 - }, - - { - "LevelM40", - {0.2,0}, - 1 - }, - - { - "LevelM40", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_40 - { - type="text"; - source="static"; - text=-40; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM40", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM40", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM40", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_40: VALM_1_40 - { - align="right"; - pos[]= - { - "LevelM40", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM40", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM40", - {0.22,-0.035}, - 1 - }; - }; - class LevelP40: Level0 - { - type="line"; - points[]= - { - - { - "LevelP40", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP40", - {-0.2,0}, - 1 - }, - - { - "LevelP40", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP40", - {0.050000001,0}, - 1 - }, - - { - "LevelP40", - {0.2,0}, - 1 - }, - - { - "LevelP40", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_40 - { - type="text"; - source="static"; - text="40"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP40", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP40", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP40", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_40: VALP_1_40 - { - align="right"; - pos[]= - { - "LevelP40", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP40", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP40", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM45: Level0 - { - type="line"; - points[]= - { - - { - "LevelM45", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM45", - {-0.2,0}, - 1 - }, - - { - "LevelM45", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM45", - {-0.1,0}, - 1 - }, - - { - "LevelM45", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM45", - {0.050000001,0}, - 1 - }, - - { - "LevelM45", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM45", - {0.15000001,0}, - 1 - }, - - { - "LevelM45", - {0.2,0}, - 1 - }, - - { - "LevelM45", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_45 - { - type="text"; - source="static"; - text=-45; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM45", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM45", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM45", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_45: VALM_1_45 - { - align="right"; - pos[]= - { - "LevelM45", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM45", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM45", - {0.22,-0.035}, - 1 - }; - }; - class LevelP45: Level0 - { - type="line"; - points[]= - { - - { - "LevelP45", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP45", - {-0.2,0}, - 1 - }, - - { - "LevelP45", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP45", - {0.050000001,0}, - 1 - }, - - { - "LevelP45", - {0.2,0}, - 1 - }, - - { - "LevelP45", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_45 - { - type="text"; - source="static"; - text="45"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP45", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP45", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP45", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_45: VALP_1_45 - { - align="right"; - pos[]= - { - "LevelP45", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP45", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP45", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM50: Level0 - { - type="line"; - points[]= - { - - { - "LevelM50", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM50", - {-0.2,0}, - 1 - }, - - { - "LevelM50", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM50", - {-0.1,0}, - 1 - }, - - { - "LevelM50", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM50", - {0.050000001,0}, - 1 - }, - - { - "LevelM50", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM50", - {0.15000001,0}, - 1 - }, - - { - "LevelM50", - {0.2,0}, - 1 - }, - - { - "LevelM50", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_50 - { - type="text"; - source="static"; - text=-50; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM50", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM50", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM50", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_50: VALM_1_50 - { - align="right"; - pos[]= - { - "LevelM50", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM50", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM50", - {0.22,-0.035}, - 1 - }; - }; - class LevelP50: Level0 - { - type="line"; - points[]= - { - - { - "LevelP50", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP50", - {-0.2,0}, - 1 - }, - - { - "LevelP50", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP50", - {0.050000001,0}, - 1 - }, - - { - "LevelP50", - {0.2,0}, - 1 - }, - - { - "LevelP50", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_50 - { - type="text"; - source="static"; - text="50"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP50", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP50", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP50", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_50: VALP_1_50 - { - align="right"; - pos[]= - { - "LevelP50", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP50", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP50", - {0.22,0.085000001}, - 1 - }; - }; - }; - }; - */ - class Horizont - { - clipTL[]={0,0}; - clipBR[]={1.0,1.0}; - class Dimmed - { - class Level0 - { - type="line"; - points[]= - { - - { - "Level0", - {-0.3,0}, - 1 - }, - - { - "Level0", - {-0.050000001,0}, - 1 - }, - {}, - - { - "Level0", - {0.050000001,0}, - 1 - }, - - { - "Level0", - {0.3,0}, - 1 - } - }; - }; - /*class VALM_1_0 - { - type="text"; - source="static"; - text=0; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "Level0", - {-0.23,-0.025}, - 1 - }; - right[]= - { - "Level0", - {-0.13,-0.025}, - 1 - }; - down[]= - { - "Level0", - {-0.23,0.025}, - 1 - }; - }; - class VALM_2_0: VALM_1_0 - { - align="right"; - pos[]= - { - "Level0", - {0.22,-0.025}, - 1 - }; - right[]= - { - "Level0", - {0.31999999,-0.025}, - 1 - }; - down[]= - { - "Level0", - {0.22,0.025}, - 1 - }; - }; - */ - class LevelM5: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM5", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM5", - {-0.2,0}, - 1 - }, - - { - "LevelM5", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM5", - {-0.1,0}, - 1 - }, - - { - "LevelM5", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM5", - {0.050000001,0}, - 1 - }, - - { - "LevelM5", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM5", - {0.15000001,0}, - 1 - }, - - { - "LevelM5", - {0.2,0}, - 1 - }, - - { - "LevelM5", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_5 - { - type="text"; - source="static"; - text=-5; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM5", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM5", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM5", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_5: VALM_1_5 - { - align="right"; - pos[]= - { - "LevelM5", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM5", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM5", - {0.22,-0.035}, - 1 - }; - }; - class LevelP5: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP5", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP5", - {-0.2,0}, - 1 - }, - - { - "LevelP5", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP5", - {0.050000001,0}, - 1 - }, - - { - "LevelP5", - {0.2,0}, - 1 - }, - - { - "LevelP5", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_5 - { - type="text"; - source="static"; - text="5"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP5", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP5", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP5", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_5: VALP_1_5 - { - align="right"; - pos[]= - { - "LevelP5", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP5", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP5", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM10: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM10", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM10", - {-0.2,0}, - 1 - }, - - { - "LevelM10", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM10", - {-0.1,0}, - 1 - }, - - { - "LevelM10", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM10", - {0.050000001,0}, - 1 - }, - - { - "LevelM10", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM10", - {0.15000001,0}, - 1 - }, - - { - "LevelM10", - {0.2,0}, - 1 - }, - - { - "LevelM10", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_10 - { - type="text"; - source="static"; - text=-10; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM10", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM10", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM10", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_10: VALM_1_10 - { - align="right"; - pos[]= - { - "LevelM10", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM10", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM10", - {0.22,-0.035}, - 1 - }; - }; - class LevelP10: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP10", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP10", - {-0.2,0}, - 1 - }, - - { - "LevelP10", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP10", - {0.050000001,0}, - 1 - }, - - { - "LevelP10", - {0.2,0}, - 1 - }, - - { - "LevelP10", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_10 - { - type="text"; - source="static"; - text="10"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP10", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP10", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP10", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_10: VALP_1_10 - { - align="right"; - pos[]= - { - "LevelP10", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP10", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP10", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM15: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM15", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM15", - {-0.2,0}, - 1 - }, - - { - "LevelM15", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM15", - {-0.1,0}, - 1 - }, - - { - "LevelM15", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM15", - {0.050000001,0}, - 1 - }, - - { - "LevelM15", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM15", - {0.15000001,0}, - 1 - }, - - { - "LevelM15", - {0.2,0}, - 1 - }, - - { - "LevelM15", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_15 - { - type="text"; - source="static"; - text=-15; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM15", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM15", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM15", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_15: VALM_1_15 - { - align="right"; - pos[]= - { - "LevelM15", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM15", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM15", - {0.22,-0.035}, - 1 - }; - }; - class LevelP15: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP15", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP15", - {-0.2,0}, - 1 - }, - - { - "LevelP15", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP15", - {0.050000001,0}, - 1 - }, - - { - "LevelP15", - {0.2,0}, - 1 - }, - - { - "LevelP15", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_15 - { - type="text"; - source="static"; - text="15"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP15", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP15", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP15", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_15: VALP_1_15 - { - align="right"; - pos[]= - { - "LevelP15", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP15", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP15", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM20: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM20", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM20", - {-0.2,0}, - 1 - }, - - { - "LevelM20", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM20", - {-0.1,0}, - 1 - }, - - { - "LevelM20", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM20", - {0.050000001,0}, - 1 - }, - - { - "LevelM20", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM20", - {0.15000001,0}, - 1 - }, - - { - "LevelM20", - {0.2,0}, - 1 - }, - - { - "LevelM20", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_20 - { - type="text"; - source="static"; - text=-20; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM20", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM20", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM20", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_20: VALM_1_20 - { - align="right"; - pos[]= - { - "LevelM20", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM20", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM20", - {0.22,-0.035}, - 1 - }; - }; - class LevelP20: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP20", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP20", - {-0.2,0}, - 1 - }, - - { - "LevelP20", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP20", - {0.050000001,0}, - 1 - }, - - { - "LevelP20", - {0.2,0}, - 1 - }, - - { - "LevelP20", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_20 - { - type="text"; - source="static"; - text="20"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP20", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP20", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP20", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_20: VALP_1_20 - { - align="right"; - pos[]= - { - "LevelP20", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP20", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP20", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM25: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM25", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM25", - {-0.2,0}, - 1 - }, - - { - "LevelM25", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM25", - {-0.1,0}, - 1 - }, - - { - "LevelM25", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM25", - {0.050000001,0}, - 1 - }, - - { - "LevelM25", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM25", - {0.15000001,0}, - 1 - }, - - { - "LevelM25", - {0.2,0}, - 1 - }, - - { - "LevelM25", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_25 - { - type="text"; - source="static"; - text=-25; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM25", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM25", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM25", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_25: VALM_1_25 - { - align="right"; - pos[]= - { - "LevelM25", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM25", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM25", - {0.22,-0.035}, - 1 - }; - }; - class LevelP25: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP25", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP25", - {-0.2,0}, - 1 - }, - - { - "LevelP25", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP25", - {0.050000001,0}, - 1 - }, - - { - "LevelP25", - {0.2,0}, - 1 - }, - - { - "LevelP25", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_25 - { - type="text"; - source="static"; - text="25"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP25", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP25", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP25", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_25: VALP_1_25 - { - align="right"; - pos[]= - { - "LevelP25", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP25", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP25", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM30: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM30", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM30", - {-0.2,0}, - 1 - }, - - { - "LevelM30", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM30", - {-0.1,0}, - 1 - }, - - { - "LevelM30", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM30", - {0.050000001,0}, - 1 - }, - - { - "LevelM30", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM30", - {0.15000001,0}, - 1 - }, - - { - "LevelM30", - {0.2,0}, - 1 - }, - - { - "LevelM30", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_30 - { - type="text"; - source="static"; - text=-30; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM30", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM30", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM30", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_30: VALM_1_30 - { - align="right"; - pos[]= - { - "LevelM30", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM30", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM30", - {0.22,-0.035}, - 1 - }; - }; - class LevelP30: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP30", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP30", - {-0.2,0}, - 1 - }, - - { - "LevelP30", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP30", - {0.050000001,0}, - 1 - }, - - { - "LevelP30", - {0.2,0}, - 1 - }, - - { - "LevelP30", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_30 - { - type="text"; - source="static"; - text="30"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP30", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP30", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP30", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_30: VALP_1_30 - { - align="right"; - pos[]= - { - "LevelP30", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP30", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP30", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM35: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM35", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM35", - {-0.2,0}, - 1 - }, - - { - "LevelM35", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM35", - {-0.1,0}, - 1 - }, - - { - "LevelM35", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM35", - {0.050000001,0}, - 1 - }, - - { - "LevelM35", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM35", - {0.15000001,0}, - 1 - }, - - { - "LevelM35", - {0.2,0}, - 1 - }, - - { - "LevelM35", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_35 - { - type="text"; - source="static"; - text=-35; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM35", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM35", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM35", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_35: VALM_1_35 - { - align="right"; - pos[]= - { - "LevelM35", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM35", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM35", - {0.22,-0.035}, - 1 - }; - }; - class LevelP35: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP35", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP35", - {-0.2,0}, - 1 - }, - - { - "LevelP35", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP35", - {0.050000001,0}, - 1 - }, - - { - "LevelP35", - {0.2,0}, - 1 - }, - - { - "LevelP35", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_35 - { - type="text"; - source="static"; - text="35"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP35", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP35", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP35", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_35: VALP_1_35 - { - align="right"; - pos[]= - { - "LevelP35", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP35", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP35", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM40: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM40", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM40", - {-0.2,0}, - 1 - }, - - { - "LevelM40", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM40", - {-0.1,0}, - 1 - }, - - { - "LevelM40", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM40", - {0.050000001,0}, - 1 - }, - - { - "LevelM40", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM40", - {0.15000001,0}, - 1 - }, - - { - "LevelM40", - {0.2,0}, - 1 - }, - - { - "LevelM40", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_40 - { - type="text"; - source="static"; - text=-40; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM40", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM40", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM40", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_40: VALM_1_40 - { - align="right"; - pos[]= - { - "LevelM40", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM40", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM40", - {0.22,-0.035}, - 1 - }; - }; - class LevelP40: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP40", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP40", - {-0.2,0}, - 1 - }, - - { - "LevelP40", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP40", - {0.050000001,0}, - 1 - }, - - { - "LevelP40", - {0.2,0}, - 1 - }, - - { - "LevelP40", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_40 - { - type="text"; - source="static"; - text="40"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP40", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP40", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP40", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_40: VALP_1_40 - { - align="right"; - pos[]= - { - "LevelP40", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP40", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP40", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM45: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM45", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM45", - {-0.2,0}, - 1 - }, - - { - "LevelM45", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM45", - {-0.1,0}, - 1 - }, - - { - "LevelM45", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM45", - {0.050000001,0}, - 1 - }, - - { - "LevelM45", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM45", - {0.15000001,0}, - 1 - }, - - { - "LevelM45", - {0.2,0}, - 1 - }, - - { - "LevelM45", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_45 - { - type="text"; - source="static"; - text=-45; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM45", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM45", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM45", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_45: VALM_1_45 - { - align="right"; - pos[]= - { - "LevelM45", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM45", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM45", - {0.22,-0.035}, - 1 - }; - }; - class LevelP45: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP45", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP45", - {-0.2,0}, - 1 - }, - - { - "LevelP45", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP45", - {0.050000001,0}, - 1 - }, - - { - "LevelP45", - {0.2,0}, - 1 - }, - - { - "LevelP45", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_45 - { - type="text"; - source="static"; - text="45"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP45", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP45", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP45", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_45: VALP_1_45 - { - align="right"; - pos[]= - { - "LevelP45", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP45", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP45", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM50: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM50", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM50", - {-0.2,0}, - 1 - }, - - { - "LevelM50", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM50", - {-0.1,0}, - 1 - }, - - { - "LevelM50", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM50", - {0.050000001,0}, - 1 - }, - - { - "LevelM50", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM50", - {0.15000001,0}, - 1 - }, - - { - "LevelM50", - {0.2,0}, - 1 - }, - - { - "LevelM50", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_50 - { - type="text"; - source="static"; - text=-50; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM50", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM50", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM50", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_50: VALM_1_50 - { - align="right"; - pos[]= - { - "LevelM50", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM50", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM50", - {0.22,-0.035}, - 1 - }; - }; - class LevelP50: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP50", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP50", - {-0.2,0}, - 1 - }, - - { - "LevelP50", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP50", - {0.050000001,0}, - 1 - }, - - { - "LevelP50", - {0.2,0}, - 1 - }, - - { - "LevelP50", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_50 - { - type="text"; - source="static"; - text="50"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP50", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP50", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP50", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_50: VALP_1_50 - { - align="right"; - pos[]= - { - "LevelP50", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP50", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP50", - {0.22,0.085000001}, - 1 - }; - }; - }; - }; - class PlaneMovementCrosshair //fwd - { - clipTL[]={0,1}; - clipBR[]={1,0}; - type="line"; - width=6; - points[]= - { - {"ForwardVec1",1,"Velocity",1,{"0 *2 /3","-0.02 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.0099999998 *2 /3","-0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.01732 *2 /3","-0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.02 *2 /3","0 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.01732 *2 /3","0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.0099999998 *2 /3","0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0 *2 /3","0.02 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.0099999998 *2 /3","0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.01732 *2 /3","0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.02 *2 /3","0 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.01732 *2 /3","-0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.0099999998 *2 /3","-0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0 *2 /3","-0.02 *2 /3"},1}, - - {}, - - {"ForwardVec1",1,"Velocity",1,{0.035,0},1}, - {"ForwardVec1",1,"Velocity",1,{"0.02 *2 /3",0},1}, - - {}, - - {"ForwardVec1",1,"Velocity",1,{-0.035,0},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.02 *2 /3",0},1}, - - {}, - - {"ForwardVec1",1,"Velocity",1,{0,"-0.039999999 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{0,"-0.02 *2 /3"},1} - }; - }; - class RadarTargets //fwd - { - type="radar"; - //pos0[]={0.50,0.38}; - //pos10[]={1.40,1.22}; - ///pos0[]={0.50,0.27}; - ///pos10[]={1.40,1.10}; - pos0[]={0.50,0.32}; - pos10[]={1.382,1.145}; - width=2.5; - points[]= - { - - { - "ForwardVec",1,"RadarContact", - {-0.02,-0.02}, - 1 - }, - - { - "ForwardVec",1,"RadarContact", - {0.02,-0.02}, - 1 - }, - - { - "ForwardVec",1,"RadarContact", - {0.02,0.02}, - 1 - }, - - { - "ForwardVec",1,"RadarContact", - {-0.02,0.02}, - 1 - }, - - { - "ForwardVec",1,"RadarContact", - {-0.02,-0.02}, - 1 - } - }; - }; - class AA_target //fwd - { - condition="AAmissile"; - class Target - { - type = "line"; - points[] = - { - /*{ "TargetSelected",{ 0,"-0.08 + 0.2" },1 }, - { "TargetSelected",{ 0.05,"-0.0696 + 0.2" },1 }, - { "TargetSelected",{ 0.087,"-0.50*0.10/(1.5/1.2) + 0.2" },1 }, - { "TargetSelected",{ 0.1,"0 + 0.2"},1 }, - { "TargetSelected",{ 0.087,"0.04 + 0.2" },1 }, - { "TargetSelected",{ 0.05,"+0.87*0.10/(1.5/1.2) + 0.2" },1 }, - { "TargetSelected",{ 0,"0.08 + 0.2"},1 }, - { "TargetSelected",{ -0.05,"0.0696 + 0.2"},1 }, - { "TargetSelected",{ -0.087,"+0.50*0.10/(1.5/1.2) + 0.2" },1 }, - { "TargetSelected",{ -0.1,"0 + 0.2" },1 }, - { "TargetSelected",{ -0.087,"-0.04 + 0.2" },1 }, - { "TargetSelected",{ -0.05,"-0.87*0.10/(1.5/1.2) + 0.2" },1 }, - { "TargetSelected",{ 0,"-0.08 + 0.2" },1 }*/ - - { - "ForwardVec",1,"TargetSelected",1, - {0,-0.02}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.0099999998,-0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.01732,-0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.02,0}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.01732,0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.0099999998,0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0,0.02}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.0099999998,0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.01732,0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.02,0}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.01732,-0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.0099999998,-0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0,-0.02}, - 1 - } - }; - }; - }; - class AG_target //fwd - { - condition="ATmissile"; - class Target - { - type = "line"; - points[] = - { - /*{ "TargetSelected",{ 0,"-0.08" },1 }, - { "TargetSelected",{ 0.05,"-0.0696" },1 }, - { "TargetSelected",{ 0.087,"-0.50*0.10/(1.5/1.2)" },1 }, - { "TargetSelected",{ 0.1,"0"},1 }, - { "TargetSelected",{ 0.087,"0.04" },1 }, - { "TargetSelected",{ 0.05,"+0.87*0.10/(1.5/1.2)" },1 }, - { "TargetSelected",{ 0,"0.08"},1 }, - { "TargetSelected",{ -0.05,"0.0696"},1 }, - { "TargetSelected",{ -0.087,"+0.50*0.10/(1.5/1.2)" },1 }, - { "TargetSelected",{ -0.1,"0" },1 }, - { "TargetSelected",{ -0.087,"-0.04" },1 }, - { "TargetSelected",{ -0.05,"-0.87*0.10/(1.5/1.2)" },1 }, - { "TargetSelected",{ 0,"-0.08" },1 },*/ - - { - "ForwardVec",1,"TargetSelected",1, - {0,-0.02}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.0099999998,-0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.01732,-0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.02,0}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.01732,0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.0099999998,0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0,0.02}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.0099999998,0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.01732,0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.02,0}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.01732,-0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.0099999998,-0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0,-0.02}, - 1 - }, - - - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.02 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.01 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.02 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.01 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.02,0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.01,0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.02,0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.01,0 },1 } - }; - }; - }; - class GUN_target //fwd - { - condition="mgun"; - class Target - { - type="line"; - width=4; - points[]= - { - //////////////////////////////////////////////// UP - - /*{ "ForwardVec",1,"target",{ 0,-0.060 },1 }, - { "ForwardVec",1,"target",{ 0,-0.055 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,-0.050 },1 }, - { "ForwardVec",1,"target",{ 0,-0.045 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,-0.040 },1 }, - { "ForwardVec",1,"target",{ 0,-0.035 },1 }, - {},*/ - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.030 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.025 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.020 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.015 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.010 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.005 },1 }, - {}, - //////////////////////////////////////////////// center - { "ForwardVec",1,"TargetSelected",1,{ 0,0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0 },1 }, - {}, - /////////////////////////////////////////////// DOWN - - /*{ "ForwardVec",1,"target",{ 0,0.060 },1 }, - { "ForwardVec",1,"target",{ 0,0.055 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,0.050 },1 }, - { "ForwardVec",1,"target",{ 0,0.045 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,0.040 },1 }, - { "ForwardVec",1,"target",{ 0,0.035 },1 }, - {},*/ - { "ForwardVec",1,"TargetSelected",1,{ 0,0.030 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.025 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.020 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.015 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.010 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.005 },1 }, - {}, - /////////////////////////////////////////////// LEFT - - /*{ "ForwardVec",1,"target",{ -0.060, 0 },1 }, - { "ForwardVec",1,"target",{ -0.055, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ -0.050, 0 },1 }, - { "ForwardVec",1,"target",{ -0.045, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ -0.040, 0 },1 }, - { "ForwardVec",1,"target",{ -0.035, 0 },1 }, - {},*/ - { "ForwardVec",1,"TargetSelected",1,{ -0.030, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.025, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.020, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.015, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.010, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.005, 0 },1 }, - {}, - /////////////////////////////////////////////// RIGHT - - /*{ "ForwardVec",1,"target",{ 0.060, 0 },1 }, - { "ForwardVec",1,"target",{ 0.055, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ 0.050, 0 },1 }, - { "ForwardVec",1,"target",{ 0.045, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ 0.040, 0 },1 }, - { "ForwardVec",1,"target",{ 0.035, 0 },1 }, - {},*/ - { "ForwardVec",1,"TargetSelected",1,{ 0.030, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.025, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.020, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.015, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.010, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.005, 0 },1 }, - {} - }; - }; - }; - class Rocket_target //fwd - { - condition="rocket"; - class Target - { - type="line"; - width=4; - points[]= - { - //////////////////////////////////////////////// UP - - /*{ "ForwardVec",1,"target",{ 0,-0.060 },1 }, - { "ForwardVec",1,"target",{ 0,-0.055 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,-0.050 },1 }, - { "ForwardVec",1,"target",{ 0,-0.045 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,-0.040 },1 }, - { "ForwardVec",1,"target",{ 0,-0.035 },1 }, - {},*/ - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.030 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.025 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.020 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.015 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.010 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.005 },1 }, - {}, - //////////////////////////////////////////////// center - { "ForwardVec",1,"TargetSelected",1,{ 0,0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0 },1 }, - {}, - /////////////////////////////////////////////// DOWN - - /*{ "ForwardVec",1,"target",{ 0,0.060 },1 }, - { "ForwardVec",1,"target",{ 0,0.055 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,0.050 },1 }, - { "ForwardVec",1,"target",{ 0,0.045 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,0.040 },1 }, - { "ForwardVec",1,"target",{ 0,0.035 },1 }, - {},*/ - { "ForwardVec",1,"TargetSelected",1,{ 0,0.030 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.025 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.020 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.015 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.010 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.005 },1 }, - {}, - /////////////////////////////////////////////// LEFT - - /*{ "ForwardVec",1,"target",{ -0.060, 0 },1 }, - { "ForwardVec",1,"target",{ -0.055, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ -0.050, 0 },1 }, - { "ForwardVec",1,"target",{ -0.045, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ -0.040, 0 },1 }, - { "ForwardVec",1,"target",{ -0.035, 0 },1 }, - {},*/ - { "ForwardVec",1,"TargetSelected",1,{ -0.030, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.025, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.020, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.015, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.010, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.005, 0 },1 }, - {}, - /////////////////////////////////////////////// RIGHT - - /*{ "ForwardVec",1,"target",{ 0.060, 0 },1 }, - { "ForwardVec",1,"target",{ 0.055, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ 0.050, 0 },1 }, - { "ForwardVec",1,"target",{ 0.045, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ 0.040, 0 },1 }, - { "ForwardVec",1,"target",{ 0.035, 0 },1 }, - {},*/ - { "ForwardVec",1,"TargetSelected",1,{ 0.030, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.025, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.020, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.015, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.010, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.005, 0 },1 }, - {} - }; - }; - }; - class GunCross //fwd - { - type="group"; - condition = "mgun"; - class CCIP_circle - { - type = "line"; - width = 5.0; - points[] = - { - { "ForwardVec",1,"WeaponAimGUN",1,{ "-1.2000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-1.0000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.9877 * 0.06","-0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.9397 * 0.06","-0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.8660 * 0.06","-0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.7660 * 0.06","-0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.6428 * 0.06","-0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.5000 * 0.06","-0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.3420 * 0.06","-0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.1736 * 0.06","-0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","-1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.1736 * 0.06","-0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.3420 * 0.06","-0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.5000 * 0.06","-0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.6428 * 0.06","-0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.7660 * 0.06","-0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.8660 * 0.06","-0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.9397 * 0.06","-0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.9877 * 0.06","-0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "1.0000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "1.2000 * 0.06","-0.0000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-1.2000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-1.0000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.9877 * 0.06","0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.9397 * 0.06","0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.8660 * 0.06","0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.7660 * 0.06","0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.6428 * 0.06","0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.5000 * 0.06","0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.3420 * 0.06","0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.1736 * 0.06","0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.1736 * 0.06","0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.3420 * 0.06","0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.5000 * 0.06","0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.6428 * 0.06","0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.7660 * 0.06","0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.8660 * 0.06","0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.9397 * 0.06","0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.9877 * 0.06","0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "1.0000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "1.2000 * 0.06","0.0000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","-1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","-1.2000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","1.2000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimGUN",1,{ 0.005,0 },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ -0.005,0 },1 }, - { }, - { "ForwardVec",1,"WeaponAimGUN",1,{ 0,0.005 },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ 0,-0.005 },1 } - }; - }; - }; - class RocketCross //fwd - { - type="group"; - condition="rocket"; - class CCIP_circle - { - type = "line"; - width = 5.0; - points[] = - { - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-1.2000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-1.0000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.9877 * 0.06","-0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.9397 * 0.06","-0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.8660 * 0.06","-0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.7660 * 0.06","-0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.6428 * 0.06","-0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.5000 * 0.06","-0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.3420 * 0.06","-0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.1736 * 0.06","-0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","-1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.1736 * 0.06","-0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.3420 * 0.06","-0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.5000 * 0.06","-0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.6428 * 0.06","-0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.7660 * 0.06","-0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.8660 * 0.06","-0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.9397 * 0.06","-0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.9877 * 0.06","-0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "1.0000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "1.2000 * 0.06","-0.0000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-1.2000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-1.0000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.9877 * 0.06","0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.9397 * 0.06","0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.8660 * 0.06","0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.7660 * 0.06","0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.6428 * 0.06","0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.5000 * 0.06","0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.3420 * 0.06","0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.1736 * 0.06","0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.1736 * 0.06","0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.3420 * 0.06","0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.5000 * 0.06","0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.6428 * 0.06","0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.7660 * 0.06","0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.8660 * 0.06","0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.9397 * 0.06","0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.9877 * 0.06","0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "1.0000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "1.2000 * 0.06","0.0000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","-1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","-1.2000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","1.2000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ 0.005,0 },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ -0.005,0 },1 }, - { }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ 0,0.005 },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ 0,-0.005 },1 } - }; - }; - }; - class AC_Centerline //fwd - { - type="group"; - condition="on"; - class RockCross - { - type = "line"; - width=4; - points[] = - { - {"ForwardVec",1,{" -0.006 + 0.5" , "0 + 0.32" },1}, - {"ForwardVec",1,{" 0.006 + 0.5" , "0 + 0.32" },1}, - { }, - {"ForwardVec",1,{" -0.0 + 0.5" , "0.006 + 0.32" },1}, - {"ForwardVec",1,{" 0.0 + 0.5" , "-0.006 + 0.32" },1} - }; - }; - }; - class ATMissileTOFGroup - { - condition="ATmissile"; - type="group"; - class TOFtext - { - type="text"; - align="right"; - source="static"; - text="TOF="; - scale=1; - pos[]= - { - {0.15,0.62}, - 1 - }; - right[]= - { - {0.19,0.62}, - 1 - }; - down[]= - { - {0.15,0.66}, - 1 - }; - }; - class TOFnumber - { - type="text"; - source="targetDist"; - sourcescale = 0.0025; - align="right"; - scale=1; - pos[]= - { - {0.23,0.62}, - 1 - }; - right[]= - { - {0.27,0.62}, - 1 - }; - down[]= - { - {0.23,0.66}, - 1 - }; - }; - }; - class BombTOFGroup - { - condition="Bomb"; - type="group"; - class Crosshairs - { - type = "line"; - width=7; - points[] = - { - {{"0 + 0.5" , "-0.02 + 0.5"},1 }, - {{"0.0099999998 + 0.5" , "-0.01732 + 0.5"},1}, - {{"0.01732 + 0.5" , "-0.0099999998 + 0.5"},1}, - {{"0.02 + 0.5" , "0 + 0.5"},1}, - {{"0.01732 + 0.5" , "0.0099999998 + 0.5"},1}, - {{"0.0099999998 + 0.5" , "0.01732 + 0.5"},1}, - {{"0 + 0.5" , "0.02 + 0.5"},1}, - {{"-0.0099999998 + 0.5" , "0.01732 + 0.5"},1}, - {{"-0.01732 + 0.5" , "0.0099999998 + 0.5"},1}, - {{"-0.02 + 0.5" , "0 + 0.5"},1}, - {{"-0.01732 + 0.5" , "-0.0099999998 + 0.5"},1}, - {{"-0.0099999998 + 0.5" , "-0.01732 + 0.5"},1}, - {{"0 + 0.5" , "-0.02 + 0.5"},1}, - { }, - {{" -0.005 + 0.5" , "0 + 0.5" },1}, - {{" 0.005 + 0.5" , "0 + 0.5" },1}, - { }, - {{" -0.00 + 0.5" , "-0.005 + 0.5" },1}, - {{" 0.00 + 0.5" , "0.005 + 0.5" },1} - - }; - }; - /*class Target_Line_LGB - { - type = "line"; - width=5; - points[] = - { - - { - "TargetSelected", - {0,0}, - 1 - }, - - { - "Velocity", - {0,0}, - 1 - }, - - - }; - };*/ - class Target_SPI_LGB - { - type = "line"; - width=3; - points[] = - { - - { - "TargetSelected", - {0,0}, - 1 - }, - - { - "TargetSelected", - {0,-0.05}, - 1 - }, - - - }; - }; - class TOFtext - { - type="text"; - align="right"; - source="static"; - text="TOF="; - scale=1; - pos[]= - { - {0.15,0.62}, - 1 - }; - right[]= - { - {0.19,0.62}, - 1 - }; - down[]= - { - {0.15,0.66}, - 1 - }; - }; - class TOFnumber - { - type="text"; - source="altitudeASL"; - sourcescale = 0.013; - align="right"; - scale=1; - pos[]= - { - {0.23,0.62}, - 1 - }; - right[]= - { - {0.27,0.62}, - 1 - }; - down[]= - { - {0.23,0.66}, - 1 - }; - }; - }; - class ILS_Bars //fwd - { - condition = "ils"; - class Glideslope - { - clipTL[] = {0.0,0.0}; - clipBR[] = {1.0,1.0}; - class ILS - { - type = "line"; - width=2.5; - points[] = - { - { "ForwardVec",1,"ILS_W",1,{ -0.2,0 },1 }, - { "ForwardVec",1,"ILS_W",1,{ 0.2,0 },1 }, - { }, - { "ForwardVec",1,"ILS_W",1,{ 0,0.02 },1 }, - { "ForwardVec",1,"ILS_W",1,{ 0,-0.02 },1 }, - { }, - { "ForwardVec",1,"ILS_W",1,{ 0.1,0.02 },1 }, - { "ForwardVec",1,"ILS_W",1,{ 0.1,-0.02 },1 }, - { }, - { "ForwardVec",1,"ILS_W",1,{ 0.2,0.02 },1 }, - { "ForwardVec",1,"ILS_W",1,{ 0.2,-0.02 },1 }, - { }, - { "ForwardVec",1,"ILS_W",1,{ -0.1,0.02 },1 }, - { "ForwardVec",1,"ILS_W",1,{ -0.1,-0.02 },1 }, - { }, - { "ForwardVec",1,"ILS_W",1,{ -0.2,0.02 },1 }, - { "ForwardVec",1,"ILS_W",1,{ -0.2,-0.02 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0,-0.2 },1 }, - { "ForwardVec",1,"ILS_H",1,{ 0,0.2 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0.02,0 },1 }, - { "ForwardVec",1,"ILS_H",1,{ -0.02,0 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0.02,0.1 },1 }, - { "ForwardVec",1,"ILS_H",1,{ -0.02,0.1 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0.02,0.2 },1 }, - { "ForwardVec",1,"ILS_H",1,{ -0.02,0.2 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0.02,-0.1 },1 }, - { "ForwardVec",1,"ILS_H",1,{ -0.02,-0.1 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0.02,-0.2 },1 }, - { "ForwardVec",1,"ILS_H",1,{ -0.02,-0.2 },1 }, - { } - }; - }; - }; - }; - }; - }; -}; diff --git a/TO_MERGE/agm/Aircraft/config.cpp b/TO_MERGE/agm/Aircraft/config.cpp deleted file mode 100644 index e7ebb6be80..0000000000 --- a/TO_MERGE/agm/Aircraft/config.cpp +++ /dev/null @@ -1,1174 +0,0 @@ -class CfgPatches { - class AGM_Aircraft { - units[] = {}; - weapons[] = {}; - requiredVersion = 0.60; - requiredAddons[] = {AGM_Core}; - version = "0.95"; - versionStr = "0.95"; - versionAr[] = {0,95,0}; - author[] = {"KoffeinFlummi", "Crusty"}; - authorUrl = "https://github.com/KoffeinFlummi/"; - }; -}; - -class CfgAmmo { - class BulletBase; - class LaserBombCore; - class MissileBase; - class RocketBase; - class SubmunitionBullet; - class M_Titan_AA; - - class B_20mm: BulletBase { - deflecting = 3; - hit = 100; - indirectHit = 10; - indirectHitRange = 2; - model = "\A3\Weapons_f\Data\bullettracer\tracer_red"; - }; - - class B_65x39_Minigun_Caseless: SubmunitionBullet { - hit = 10; - indirectHit = 0; - indirectHitRange = 0; - caliber = 1; - deflecting = 5; - typicalSpeed = 850; - }; - - class B_762x51_Minigun_Tracer_Red: SubmunitionBullet { - hit = 12; - indirectHit = 0; - indirectHitRange = 0; - model = "\A3\Weapons_f\Data\bullettracer\tracer_red"; - caliber = 1.6; - deflecting = 5; - typicalSpeed = 850; - }; - - class M_Zephyr: M_Titan_AA { - proxyShape = "\A3\Weapons_F\Ammo\Missile_AA_02_F.p3d"; - model = "\A3\Weapons_F\Ammo\Missile_AA_02_fly_F.p3d"; - airFriction = 0.078; - sideAirFriction = 0.18; - maneuvrability = 24; - class CamShakeFire {}; - class CamShakePlayerFire {}; - }; - - class M_Zephyr_Mi06: M_Zephyr { - maverickWeaponIndexOffset = 6; - }; - - class M_Air_AA: MissileBase { - model = "\A3\Weapons_F\Ammo\Missile_AT_02_fly_F"; - proxyShape = "\A3\Weapons_F\Ammo\Missile_AT_02_F"; - hit = 280; - indirectHit = 85; - indirectHitRange = 10; - maneuvrability = 27; - simulationStep = 0.002; - airLock = 1; - irLock = 1; - cost = 1500; - //maxSpeed = 2400; - timeToLive = 40; - airFriction = 0.05; - sideAirFriction = 0.1; - trackOversteer = 1; - trackLead = 1; - initTime = 0; - thrustTime = 12; - thrust = 340; - fuseDistance = 500; - weaponLockSystem = "2 + 16"; - maxControlRange = 8000; - class CamShakeExplode {}; - class CamShakeHit {}; - class CamShakeFire {}; - class CamShakePlayerFire {}; - }; - - class Missile_AA_04_F: MissileBase { - hit = 800; - indirectHit = 60; - indirectHitRange = 12; - airLock = 2; - irLock = 1; - laserLock = 0; - nvLock = 0; - weaponLockSystem = "2 + 16"; - cmimmunity = 0.8; - initTime = 0; - thrust = 380; - thrustTime = 9.5; - airFriction = 0.04; - sideAirFriction = 0.08; - //maxSpeed = 2600; - maneuvrability = 14; - simulationStep = 0.002; - fuseDistance = 500; - timeToLive = 19; - trackLead = 1; - trackOversteer = 1; - }; - - class Gatling_30mm_HE_Plane_CAS_01_F: BulletBase { - model = "\A3\Weapons_f\Data\bullettracer\tracer_red.p3d"; - cost = 20; - hit = 80; - indirectHit = 12; - indirectHitRange = 3; - caliber = 1.4; - explosive = 0.6; - airlock = 1; - deflecting = 3; - airFriction = -0.00042; - typicalSpeed = 960; - visibleFire = 32; - audibleFire = 32; - visibleFireTime = 3; - fuseDistance = 3; - tracerScale = 2.5; - tracerStartTime = 0.02; - tracerEndTime = 4.7; - multiSoundHit[] = {"soundHit1",0.2,"soundHit2",0.2,"soundHit3",0.2,"soundHit4",0.1,"soundHit5",0.15,"soundHit6",0.15}; - soundFly[] = {"A3\Sounds_F\weapons\Explosion\cannon_fly",1,1,50}; - explosionSoundEffect = "DefaultExplosion"; - explosionEffects = "ExploAmmoExplosion"; - craterEffects = "ExploAmmoCrater"; - soundHit1[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_1",3.16228,1,1600}; - soundHit2[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_2",3.16228,1,1600}; - soundHit3[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_3",3.16228,1,1600}; - soundHit4[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_4",3.16228,1,1600}; - soundHit5[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_5",3.16228,1,1600}; - soundHit6[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_6",3.16228,1,1600}; - class CamShakeExplode {}; - class CamShakeHit {}; - class CamShakeFire {}; - class CamShakePlayerFire {}; - }; - class AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy: Gatling_30mm_HE_Plane_CAS_01_F { - simulation = "shotSubmunitions"; - triggerTime = 0; - submunitionAmmo = "AGM_Gatling_30mm_HE_Plane_CAS_01_Sub"; - submunitionConeType[] = {"custom", {{0,0}, {0,0}, {0,0}} }; - }; - class AGM_Gatling_30mm_HE_Plane_CAS_01_Sub: Gatling_30mm_HE_Plane_CAS_01_F { - }; - - class Cannon_30mm_HE_Plane_CAS_02_F: Gatling_30mm_HE_Plane_CAS_01_F { - model = "\A3\Weapons_f\Data\bullettracer\tracer_green.p3d"; - hit = 70; - indirectHit = 11; - indirectHitRange = 3; - caliber = 2; - explosive = 0.6; - }; - - class Missile_AGM_02_F: MissileBase { - model = "\A3\Weapons_F_EPC\Ammo\Missile_AGM_02_fly_F.p3d"; - proxyShape = "\A3\Weapons_F_EPC\Ammo\Missile_AGM_02_F.p3d"; - maverickWeaponIndexOffset = 2; - cost = 1500; - hit = 2100; - indirectHit = 85; - indirectHitRange = 8; - manualControl = 0; - maxControlRange = 8000; - airLock = 0; - irLock = 1; - laserLock = 0; - nvLock = 0; - weaponLockSystem = "2 + 16"; - cmimmunity = 0.8; - initTime = 0; - thrust = 240; - thrustTime = 5; - airFriction = 0.05; - sideAirFriction = 0.1; - maxSpeed = 828; - maneuvrability = 27; - simulationStep = 0.002; - fuseDistance = 500; - timeToLive = 40; - trackLead = 1; - trackOversteer = 1; - craterEffects = "AAMissileCrater"; - effectsMissile = "missile3"; - explosionEffects = "AAMissileExplosion"; - muzzleEffect = "BIS_fnc_effectFiredHeliRocket"; - whistleDist = 20; - class CamShakeExplode {}; - class CamShakeHit {}; - class CamShakeFire {}; - class CamShakePlayerFire {}; - }; - - class Bomb_04_F: LaserBombCore { - model = "\A3\Weapons_F_EPC\Ammo\Bomb_04_fly_F.p3d"; - proxyShape = "\A3\Weapons_F_EPC\Ammo\Bomb_04_F.p3d"; - maverickWeaponIndexOffset = 8; - hit = 6000; - indirectHit = 1400; - indirectHitRange = 15; - nvLock = 1; - weaponLockSystem = "2 + 16 + 4"; - maneuvrability = 20; - fuseDistance = 35; - trackLead = 0.95; - trackOversteer = 1; - craterEffects = "BombCrater"; - explosionEffects = "BombExplosion"; - explosionSoundEffect = "DefaultExplosion"; - explosionTime = 2; - multiSoundHit[] = {"soundHit1",0.2,"soundHit2",0.2,"soundHit3",0.2,"soundHit4",0.2,"soundHit5",0.2}; - soundHit1[] = {"\A3\Sounds_F\weapons\Explosion\expl_big_1",2.51189,1,2400}; - soundHit2[] = {"\A3\Sounds_F\weapons\Explosion\expl_big_2",2.51189,1,2400}; - soundHit3[] = {"\A3\Sounds_F\weapons\Explosion\expl_big_3",2.51189,1,2400}; - soundHit4[] = {"\A3\Sounds_F\weapons\Explosion\expl_shell_1",2.51189,1,2400}; - soundHit5[] = {"\A3\Sounds_F\weapons\Explosion\expl_shell_2",2.51189,1,2400}; - whistleDist = 24; - }; - - class Rocket_04_HE_F: MissileBase { - model = "\A3\Weapons_F_EPC\Ammo\Rocket_04_HE_fly_F.p3d"; - proxyShape = "\A3\Weapons_F_EPC\Ammo\Rocket_04_HE_F.p3d"; - maverickWeaponIndexOffset = 12; - cost = 500; - hit = 210; - indirectHit = 55; - indirectHitRange = 15; - manualControl = 0; - maxControlRange = 8000; - airLock = 0; - irLock = 1; - laserLock = 0; - nvLock = 0; - weaponLockSystem = 0; - cmimmunity = 1; - initTime = 0.002; - thrust = 1600; - thrustTime = 0.7; - airFriction = 0.0046; - sideAirFriction = 0.005; - maxSpeed = 610; - maneuvrability = 0; - fuseDistance = 50; - timeToLive = 60; - effectsMissileInit = "MissileDAR1"; - whistleDist = 30; - class CamShakeExplode {}; - class CamShakeHit {}; - class CamShakeFire {}; - class CamShakePlayerFire {}; - }; - - class Rocket_04_AP_F: Rocket_04_HE_F { - model = "\A3\Weapons_F_EPC\Ammo\Rocket_04_AP_fly_F.p3d"; - proxyShape = "\A3\Weapons_F_EPC\Ammo\Rocket_04_AP_F.p3d"; - maverickWeaponIndexOffset = 19; - hit = 400; - indirectHit = 20; - indirectHitRange = 10; - }; - - class Missile_AA_03_F: Missile_AA_04_F { - model = "\A3\Weapons_F_EPC\Ammo\Missile_AA_03_fly_F.p3d"; - proxyShape = "\A3\Weapons_F_EPC\Ammo\Missile_AA_03_F.p3d"; - maverickWeaponIndexOffset = 0; - hit = 900; - indirectHit = 50; - indirectHitRange = 15; - }; - - class Missile_AGM_01_F: Missile_AGM_02_F { - model = "\A3\Weapons_F_EPC\Ammo\Missile_AGM_01_fly_F.p3d"; - proxyShape = "\A3\Weapons_F_EPC\Ammo\Missile_AGM_01_F.p3d"; - maverickWeaponIndexOffset = 2; - hit = 2200; - indirectHit = 90; - indirectHitRange = 10; - }; - - class Bomb_03_F: Bomb_04_F { - model = "\A3\Weapons_F_EPC\Ammo\Bomb_03_F.p3d"; - proxyShape = "\A3\Weapons_F_EPC\Ammo\Bomb_03_F.p3d"; - maverickWeaponIndexOffset = 6; - hit = 6400; - indirectHit = 1400; - indirectHitRange = 16; - }; - - class Rocket_03_HE_F: Rocket_04_HE_F { - model = "\A3\Weapons_F_EPC\Ammo\Rocket_03_HE_fly_F.p3d"; - proxyShape = "\A3\Weapons_F_EPC\Ammo\Rocket_03_HE_F.p3d"; - maverickWeaponIndexOffset = 8; - }; - - class Rocket_03_AP_F: Rocket_04_AP_F { - model = "\A3\Weapons_F_EPC\Ammo\Rocket_03_AP_fly_F.p3d"; - proxyShape = "\A3\Weapons_F_EPC\Ammo\Rocket_03_AP_F.p3d"; - maverickWeaponIndexOffset = 28; - }; -}; - -class CfgMagazines { - class VehicleMagazine; - class 24Rnd_PG_missiles; - - class 12Rnd_PG_missiles: 24Rnd_PG_missiles { - count = 12; - displayName = "$STR_A3_CfgMagazines_12Rnd_PG_missiles0"; - displayNameShort = "$STR_A3_CfgMagazines_12Rnd_PG_missiles_dns"; - descriptionShort = "$STR_A3_CfgMagazines_12Rnd_PG_missiles1"; - }; - class 12Rnd_missiles: VehicleMagazine { - scope = 2; - count = 12; - ammo = "M_AT"; - displayName = "$STR_A3_CfgMagazines_24Rnd_PuG_missiles0"; - displayNameShort = "$STR_A3_CfgMagazines_24Rnd_PuG_missiles_dns"; - descriptionShort = "$STR_A3_CfgMagazines_24Rnd_PuG_missiles0"; - initSpeed = 44; - maxLeadSpeed = 800; - nameSound = "rockets"; - sound[] = {"A3\sounds_f\weapons\rockets\explosion_missile_01",1,1,1200}; - reloadSound[] = {"",0.000316228,1}; - }; - - //minigun magazines, muzzle velocities and tracercounts - class 200Rnd_65x39_Belt: VehicleMagazine {}; - class 2000Rnd_65x39_Belt: 200Rnd_65x39_Belt {}; - class 2000Rnd_65x39_Belt_Tracer_Red: 2000Rnd_65x39_Belt { - }; - class 2000Rnd_65x39_Belt_Green: 2000Rnd_65x39_Belt {}; - class 2000Rnd_65x39_Belt_Tracer_Green: 2000Rnd_65x39_Belt_Green { - tracersEvery = 1; - }; - class 2000Rnd_65x39_Belt_Yellow: 2000Rnd_65x39_Belt { - tracersEvery = 1; - }; - class 2000Rnd_65x39_Belt_Tracer_Yellow: 2000Rnd_65x39_Belt_Yellow { - tracersEvery = 1; - }; - - class 5000Rnd_762x51_Belt: 2000Rnd_65x39_Belt { - tracersEvery = 1; - count = 5000; - }; - class 5000Rnd_762x51_Yellow_Belt: 5000Rnd_762x51_Belt {}; - class 4000Rnd_762x51_M134 : 5000Rnd_762x51_Belt { - count = 4000; - tracersEvery = 1; - }; - class 2000Rnd_762x51_M134 : 4000Rnd_762x51_M134 { - count = 2000; - tracersEvery = 1; - }; - - class 2Rnd_AAA_missiles: VehicleMagazine { - scope = 2; - displayName = "$STR_A3_CfgMagazines_2Rnd_AAA_missiles0"; - displayNameShort = "$STR_A3_CfgMagazines_2Rnd_AAA_missiles_dns"; - ammo = "M_Air_AA"; - count = 2; - maxLeadSpeed = 950; - nameSound = "missiles"; - }; - class 2Rnd_AAA_missiles_MI02: 2Rnd_AAA_missiles { - ammo = "M_Air_AA_MI02"; - }; - class 4Rnd_AAA_missiles: 2Rnd_AAA_missiles { - displayName = "$STR_A3_CfgMagazines_4Rnd_AAA_missiles0"; - displayNameShort = "$STR_A3_CfgMagazines_4Rnd_AAA_missiles_dns"; - count = 4; - }; - class 4Rnd_AAA_missiles_MI02: 4Rnd_AAA_missiles { - ammo = "M_Air_AA_MI02"; - }; - - class 4Rnd_GAA_missiles: VehicleMagazine { - scope = 2; - displayName = "$STR_A3_CfgMagazines_4Rnd_GAA_missiles0"; - displayNameShort = "$STR_A3_CfgMagazines_4Rnd_GAA_missiles_dns"; - count = 4; - ammo = "M_Zephyr"; - maxLeadSpeed = 950; - nameSound = "missiles"; - }; - - class 300Rnd_20mm_shells: VehicleMagazine { - scope = 2; - displayName = "$STR_A3_CfgMagazines_300Rnd_20mm_shells0"; - displayNameShort = "$STR_A3_CfgMagazines_300Rnd_20mm_shells_dns"; - ammo = "B_20mm"; - count = 300; - deflecting = 3; - maxLeadSpeed = 300; - tracersEvery = 5; - nameSound = "cannon"; - }; - - class 1000Rnd_Gatling_30mm_Plane_CAS_01_F: VehicleMagazine { - scope = 2; - displayNameShort = ""; - ammo = "AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy"; - count = 1170; - //count = 390; - //initSpeed = 3852; - maxLeadSpeed = 300; - nameSound = "cannon"; - tracersEvery = 1; - }; - - class 2Rnd_Missile_AA_04_F: VehicleMagazine { - scope = 2; - displayNameShort = "$STR_A3_CFGMAGAZINES_4RND_AAA_MISSILES_DNS"; - ammo = "Missile_AA_04_F"; - count = 2; - maxLeadSpeed = 220; - nameSound = "missiles"; - }; - class 6Rnd_Missile_AGM_02_F: VehicleMagazine { - scope = 2; - displayNameShort = "$STR_A3_CFGMAGAZINES_38RND_80MM_ROCKETS_DNS"; - ammo = "Missile_AGM_02_F"; - count = 6; - maxLeadSpeed = 450; - nameSound = "missiles"; - }; - class 2Rnd_Missile_AGM_02_F: VehicleMagazine { - scope = 2; - displayNameShort = "$STR_A3_CFGMAGAZINES_38RND_80MM_ROCKETS_DNS"; - ammo = "Missile_AGM_02_F"; - count = 2; - maxLeadSpeed = 450; - nameSound = "missiles"; - }; - - class 7Rnd_Rocket_04_HE_F: VehicleMagazine { - scope = 2; - displayNameShort = "$STR_A3_CFGMAGAZINES_40RND_20MM_G_BELT_DNS"; - ammo = "Rocket_04_HE_F"; - count = 7; - maxLeadSpeed = 200; - nameSound = "rockets"; - }; - class 7Rnd_Rocket_04_AP_F: 7Rnd_Rocket_04_HE_F { - displayNameShort = "$STR_A3_CFGMAGAZINES_TITAN_AP_DNS"; - ammo = "Rocket_04_AP_F"; - }; - - class 4Rnd_Bomb_04_F: VehicleMagazine { - scope = 2; - displayNameShort = "$STR_A3_CFGVEHICLES_BOMB0"; - ammo = "Bomb_04_F"; - count = 4; - maxLeadSpeed = 1000; - nameSound = "cannon"; - }; - - class 500Rnd_Cannon_30mm_Plane_CAS_02_F: 1000Rnd_Gatling_30mm_Plane_CAS_01_F { - displayNameShort = ""; - ammo = "Cannon_30mm_HE_Plane_CAS_02_F"; - count = 500; - }; - - class 2Rnd_Missile_AA_03_F: 2Rnd_Missile_AA_04_F { - displayNameShort = "$STR_A3_CFGMAGAZINES_4RND_AAA_MISSILES_DNS"; - ammo = "Missile_AA_03_F"; - count = 2; - }; - class 4Rnd_Missile_AGM_01_F: 6Rnd_Missile_AGM_02_F { - displayNameShort = "$STR_A3_CFGMAGAZINES_38RND_80MM_ROCKETS_DNS"; - ammo = "Missile_AGM_01_F"; - count = 4; - }; - - class 20Rnd_Rocket_03_HE_F: 7Rnd_Rocket_04_HE_F { - displayNameShort = "$STR_A3_CFGMAGAZINES_40RND_20MM_G_BELT_DNS"; - ammo = "Rocket_03_HE_F"; - count = 20; - }; - class 20Rnd_Rocket_03_AP_F: 7Rnd_Rocket_04_AP_F { - displayNameShort = "$STR_A3_CFGMAGAZINES_TITAN_AP_DNS"; - ammo = "Rocket_03_AP_F"; - count = 20; - }; - - class 2Rnd_Bomb_03_F: 4Rnd_Bomb_04_F { - displayNameShort = "$STR_A3_CFGVEHICLES_BOMB0"; - ammo = "Bomb_03_F"; - count = 2; - }; - - class AGM_500Rnd_20mm_shells_Comanche: 300Rnd_20mm_shells { - displayName = "20mm"; - displayNameShort = "20mm"; - ammo = "B_20mm"; - count = 500; - deflecting = 3; - initSpeed = 1030; - maxLeadSpeed = 300; - tracersEvery = 5; - }; -}; - -class Mode_SemiAuto; -class Mode_Burst; -class Mode_FullAuto; - -class CfgWeapons { - class MissileLauncher; - class RocketPods; - class SmokeLauncher; - class CannonCore; - class MGunCore; - class MGun: MGunCore {}; - class LMG_RCWS: MGun {}; - - // Manual Switching Of Flare Mode - class CMFlareLauncher: SmokeLauncher { - modes[] = {"Single", "Burst", "AIBurst"}; - class Single: Mode_SemiAuto { - reloadTime = 0.1; - }; - class Burst: Mode_Burst { - displayName = "$STR_AGM_Aircraft_CMFlareLauncher_Burst_Name"; - }; - }; - - class gatling_20mm: CannonCore { - magazines[] = {"2000Rnd_20mm_shells","1000Rnd_20mm_shells","300Rnd_20mm_shells","AGM_500Rnd_20mm_shells_Comanche"}; - - class manual: CannonCore { - reloadTime = 0.023; - dispersion = 0.006; - }; - class close: manual {}; - class short: close {}; - class medium: close {}; - class far: close {}; - }; - - class AGM_gatling_20mm_Comanche: gatling_20mm { - displayName = "XM301"; - class close: close { - reloadTime = 0.04; - dispersion = 0.0022; - }; - class far: far { - reloadTime = 0.04; - dispersion = 0.0022; - }; - class manual: manual { - reloadTime = 0.04; - dispersion = 0.0022; - displayName = "XM301"; - }; - class medium: medium { - reloadTime = 0.04; - dispersion = 0.0022; - }; - class short: short { - reloadTime = 0.04; - dispersion = 0.0022; - }; - }; - - class LMG_Minigun: LMG_RCWS { - magazines[] = {"1000Rnd_65x39_Belt","1000Rnd_65x39_Belt_Green","1000Rnd_65x39_Belt_Tracer_Green","1000Rnd_65x39_Belt_Tracer_Red","1000Rnd_65x39_Belt_Tracer_Yellow","1000Rnd_65x39_Belt_Yellow","2000Rnd_65x39_Belt","2000Rnd_65x39_Belt_Green","2000Rnd_65x39_Belt_Tracer_Green","2000Rnd_65x39_Belt_Tracer_Green_Splash","2000Rnd_65x39_Belt_Tracer_Red","2000Rnd_65x39_Belt_Tracer_Yellow","2000Rnd_65x39_Belt_Tracer_Yellow_Splash","2000Rnd_65x39_Belt_Yellow","2000Rnd_762x51_Belt_T_Green","2000Rnd_762x51_Belt_T_Red","2000Rnd_762x51_Belt_T_Yellow","200Rnd_65x39_Belt","200Rnd_65x39_Belt_Tracer_Green","200Rnd_65x39_Belt_Tracer_Red","200Rnd_65x39_Belt_Tracer_Yellow","5000Rnd_762x51_Belt","5000Rnd_762x51_Yellow_Belt"}; - class manual: MGun { - reloadTime = 0.015; - dispersion = 0.006; - }; - class close: manual {}; - class short: close {}; - class medium: close {}; - class far: close {}; - }; - class LMG_Minigun_heli: LMG_Minigun { - showAimCursorInternal = 0; - class manual: manual { - reloadTime = 0.015; - dispersion = 0.006; - }; - class close: manual {}; - class short: close {}; - class medium: close {}; - class far: close {}; - }; - class M134_minigun: MGunCore { - class LowROF: Mode_FullAuto { - reloadTime = 0.015; - dispersion = 0.006; - }; - class HighROF: LowROF { - reloadTime = 0.015; - dispersion = 0.006; - }; - class close: HighROF {}; - class short: close {}; - class medium: LowROF {}; - class far: medium {}; - }; - - class Gatling_30mm_Plane_CAS_01_F: CannonCore { - autoFire = 1; - burst = 1; - reloadTime = 0.0154; - class LowROF: Mode_FullAuto { - autoFire = 0; - //burst = 65; - burst = 22; - //reloadTime = 0.0154; - reloadTime = 0.0462; - //sound[] = {"A3\Sounds_F_epc\weapons\cas_02_cannon",1.77828,1,3800}; - sound[] = {"A3\Sounds_F_EPC\Weapons\gau_03_burst",2.51189,1,4500,{25704,32159}}; - weaponSoundEffect = "DefaultRifle"; - dispersion = 0.005; - soundContinuous = 1; - textureType = "burst"; - multiplier = 3; - }; - class close: LowROF {}; - class near: close {}; - class short: close {}; - class medium: close {}; - class far: close {}; - }; - - class Missile_AA_04_Plane_CAS_01_F: RocketPods { - holdsterAnimValue = 2; - aiRateOfFire = 5; - aiRateOfFireDistance = 500; - autoFire = 0; - cursor = "EmptyCursor"; - cursorAim = "missile"; - nameSound = "MissileLauncher"; - textureType = "fullAuto"; - weaponLockDelay = 3; - minRange = 300; - minRangeProbab = 0.25; - midRange = 2500; - midRangeProbab = 0.9; - maxRange = 9000; - maxRangeProbab = 0.01; - }; - - class Missile_AGM_02_Plane_CAS_01_F: MissileLauncher { - holdsterAnimValue = 3; - magazineReloadTime = 30; - reloadTime = 0.001; - textureType = "semi"; - weaponLockDelay = 3; - weaponSoundEffect = "DefaultRifle"; - }; - - class Rocket_04_HE_Plane_CAS_01_F: RocketPods { - holdsterAnimValue = 4; - canLock = 1; - modes[] = {"Far_AI","Medium_AI","Close_AI","Burst"}; - weaponLockDelay = 0; - class Far_AI: RocketPods { - canLock = 1; - weaponLockDelay = 0; - showToPlayer = 0; - minRange = 800; - minRangeProbab = 0.31; - midRange = 2500; - midRangeProbab = 0.71; - maxRange = 3200; - maxRangeProbab = 0.1; - burst = 1; - reloadTime = 0.001; - autoFire = 0; - aiRateOfFire = 5; - aiRateOfFireDistance = 500; - }; - class Medium_AI: Far_AI {}; - class Close_AI: Far_AI {}; - class Burst: RocketPods { - burst = 1; - reloadTime = 0.002; - minRange = 300; - minRangeProbab = 0.25; - midRange = 400; - midRangeProbab = 0.7; - maxRange = 1300; - maxRangeProbab = 0.1; - aiRateOfFire = 5; - aiRateOfFireDistance = 500; - autoFire = 0; - soundContinuous = 0; - textureType = "fullAuto"; - weaponSoundEffect = "DefaultRifle"; - }; - }; - - class Rocket_04_AP_Plane_CAS_01_F: Rocket_04_HE_Plane_CAS_01_F { - holdsterAnimValue = 5; - }; - - class Bomb_04_Plane_CAS_01_F: RocketPods { - holdsterAnimValue = 6; - aiRateOfFire = 5; - aiRateOfFireDistance = 500; - missileLockCone = 180; - nameSound = ""; - textureType = "fullAuto"; - weaponLockDelay = 1; - }; - - class Cannon_30mm_Plane_CAS_02_F: CannonCore { - scope = 1; - holdsterAnimValue = 1; - ballisticsComputer = 2; - canLock = 1; - modes[] = {"LowROF","close","near","short","medium","far"}; - nameSound = "cannon"; - shotFromTurret = 0; - muzzlePos = "Cannon_muzzleflash"; - muzzleEnd = "Cannon_barrel_end"; - selectionFireAnim = "Cannon_muzzleflash"; - autoFire = 1; - burst = 5; - reloadTime = 0.04; - class GunParticles { - class Effect { - effectName = "MachineGun2"; - positionName = "Cannon_barrel_start"; - directionName = "Cannon_barrel_end"; - }; - }; - class LowROF: Mode_FullAuto { - dispersion = 0.0055; - reloadTime = 0.04; - }; - class close: LowROF {}; - class near: close {}; - class short: close {}; - class medium: close {}; - class far: close {}; - }; -}; - -class CfgVehicles { - class All { - class Turrets; - }; - - class AllVehicles: All { - class NewTurret { - class Turrets; - }; - class CargoTurret; - }; - - class Air: AllVehicles { - class AnimationSources; - }; - - class Helicopter: Air { - class Turrets { - class MainTurret; - }; - }; - - class Plane: Air {}; - - class ParachuteBase: Helicopter { - class Turrets; - }; - - class UAV: Plane {}; - - class Helicopter_Base_F: Helicopter { - class Turrets: Turrets { - class CopilotTurret; - }; - }; - - class Helicopter_Base_H: Helicopter_Base_F { - class Turrets: Turrets { - class CopilotTurret; - }; - //class UserActions; - }; - - class Heli_Light_01_base_F: Helicopter_Base_H { - lockDetectionSystem = 0; - incomingMissileDetectionSystem = 16; - driverCanEject = 1; - class MFD {}; - class Turrets: Turrets { - class CopilotTurret: CopilotTurret { - canEject = 1; - showHMD = 1; - }; - }; - }; - - class B_Heli_Light_01_F: Heli_Light_01_base_F { - #include - /*class Turrets: Turrets { - class CopilotTurret: CopilotTurret {}; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - class CargoTurret_03: CargoTurret_02 {}; - class CargoTurret_04: CargoTurret_01 {}; - };*/ - }; - - class Heli_Light_01_armed_base_F: Heli_Light_01_base_F { - lockDetectionSystem = 0; - incomingMissileDetectionSystem = 16; - driverCanEject = 1; - class MFD {}; - class Turrets: Turrets { - class CopilotTurret: CopilotTurret { - canEject = 1; - }; - }; - }; - - class B_Heli_Light_01_armed_F: Heli_Light_01_armed_base_F { - #include - }; - - class Heli_Light_02_base_F: Helicopter_Base_H { - driverCanEject = 1; - lockDetectionSystem = 12; - incomingMissileDetectionSystem = 16; - magazines[] = {"2000Rnd_762x51_Belt_T_Green", "12Rnd_PG_missiles", "168Rnd_CMFlare_Chaff_Magazine"}; - class Turrets: Turrets { - class CopilotTurret: CopilotTurret { - canEject = 1; - showHMD = 1; - }; - }; - }; - - class Plane_Base_F: Plane { - class Turrets { - class CopilotTurret; - }; - }; - - class Heli_Attack_01_base_F: Helicopter_Base_F { - lockDetectionSystem = 12; - incomingMissileDetectionSystem = 16; - driverCanEject = 1; - class MFD {}; - class AnimationSources: AnimationSources { - class HitGlass1 { - source = "Hit"; - hitpoint = "HitGlass1"; - raw = 1; - }; - class HitGlass2: HitGlass1 { - hitpoint = "HitGlass2"; - }; - class HitGlass3: HitGlass1 { - hitpoint = "HitGlass3"; - }; - class HitGlass4: HitGlass1 { - hitpoint = "HitGlass4"; - }; - class Gatling { - source = "revolving"; - weapon = "AGM_gatling_20mm_Comanche"; - }; - class Hide { - source = "user"; - animPeriod = 0; - initPhase = 0; - }; - class Muzzle_flash { - source = "ammorandom"; - weapon = "AGM_gatling_20mm_Comanche"; - }; - }; - class Turrets: Turrets { - class MainTurret: MainTurret { - canEject = 1; - showHMD = 1; - weapons[] = {"AGM_gatling_20mm_Comanche","missiles_DAGR","missiles_ASRAAM"}; - magazines[] = {"AGM_500Rnd_20mm_shells_Comanche","4Rnd_AAA_missiles","24Rnd_PG_missiles"}; - }; - }; - }; - - class B_Heli_Attack_01_F: Heli_Attack_01_base_F { - #include - }; - - class Heli_Attack_02_base_F: Helicopter_Base_F { - lockDetectionSystem = 12; - incomingMissileDetectionSystem = 16; - driverCanEject = 1; - class Turrets: Turrets { - class MainTurret: MainTurret { - canEject = 1; - }; - }; - }; - - class Heli_Transport_01_base_F: Helicopter_Base_H { - lockDetectionSystem = 12; - incomingMissileDetectionSystem = 16; - driverCanEject = 1; - #include - class Turrets: Turrets { - class CopilotTurret: CopilotTurret { - canEject = 1; - showHMD = 1; - }; - class MainTurret: MainTurret { - magazines[] = {"2000Rnd_762x51_Belt_T_Red"}; - canEject = 1; - }; - class RightDoorGun: MainTurret { - magazines[] = {"2000Rnd_762x51_Belt_T_Red"}; - canEject = 1; - }; - }; - /*class UserActions { - class DoorL1_Open { - available = 1; - condition = "((this doorPhase 'door_L') == 0) AND Alive(this) AND driver this != player AND gunner this != player"; - }; - class DoorR1_Open: DoorL1_Open { - condition = "((this doorPhase 'door_R') == 0) AND Alive(this) AND driver this != player AND gunner this != player"; - }; - class DoorL1_Close: DoorL1_Open { - condition = "((this doorPhase 'door_L') > 0) AND Alive(this) AND driver this != player AND gunner this != player"; - }; - class DoorR1_Close: DoorL1_Close { - condition = "((this doorPhase 'door_R') > 0) AND Alive(this) AND driver this != player AND gunner this != player"; - }; - };*/ - }; - - class Heli_Transport_02_base_F: Helicopter_Base_H { - lockDetectionSystem = 12; - incomingMissileDetectionSystem = 16; - driverCanEject = 1; - class MFD {}; - class Turrets: Turrets { - class CopilotTurret: CopilotTurret { - canEject = 1; - showHMD = 1; - }; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - }; - /*class UserActions: UserActions { - class DoorL1_Open { - available = 1; - condition = "this animationPhase ""door_back_L"" < 0.5 AND Alive(this)"; - }; - class DoorR1_Open: DoorL1_Open { - condition = "this animationPhase ""door_back_R"" < 0.5 AND Alive(this)"; - }; - class DoorL1_Close: DoorL1_Open { - condition = "this animationPhase ""door_back_L"" > 0.5 AND Alive(this)"; - }; - class DoorR1_Close: DoorL1_Close { - condition = "this animationPhase ""door_back_R"" > 0.5 AND Alive(this)"; - }; - class CargoRamp_Open: DoorL1_Open { - userActionID = 52; - displayName = "$STR_AGM_Aircraft_OpenCargoRamp"; - textToolTip = "$STR_AGM_Aircraft_OpenCargoRamp"; - position = "action_cargoramp"; - radius = 3.0; - condition = "this animationPhase ""cargoramp_open"" < 0.5 AND Alive(this)"; - statement = "this animateDoor ['cargoramp_open', 1]"; - }; - class CargoRamp_Close: DoorL1_Close { - userActionID = 55; - displayName = "$STR_AGM_Aircraft_CloseCargoRamp"; - textToolTip = "$STR_AGM_Aircraft_CloseCargoRamp"; - position = "action_cargoramp"; - radius = 3.0; - condition = "this animationPhase ""cargoramp_open"" > 0.5 AND Alive(this)"; - statement = "this animateDoor ['cargoramp_open', 0]"; - }; - };*/ - }; - - class I_Heli_Transport_02_F: Heli_Transport_02_base_F { - #include - }; - - class I_Heli_light_03_base_F: Helicopter_Base_F { - lockDetectionSystem = 0; - incomingMissileDetectionSystem = 16; - driverCanEject = 1; - class MFD {}; - weapons[] = {"M134_minigun","missiles_DAR","CMFlareLauncher"}; - magazines[] = {"5000Rnd_762x51_Yellow_Belt","24Rnd_missiles","168Rnd_CMFlare_Chaff_Magazine"}; - class Turrets: Turrets { - class MainTurret: MainTurret { - canEject = 1; - showHMD = 1; - gunBeg = "commanderview"; - gunEnd = "laserstart"; - memoryPointGun = "laserstart"; - stabilizedInAxes = 3; - weapons[] = {"Laserdesignator_mounted"}; - soundServo[] = {"",0.01,1,30}; - magazines[] = {"Laserbatteries"}; - inGunnerMayFire = 1; - }; - }; - }; - - class I_Heli_light_03_F: I_Heli_light_03_base_F { - #include - class Turrets: Turrets { - class MainTurret: MainTurret {}; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - }; - }; - - class I_Heli_light_03_unarmed_base_F: I_Heli_light_03_base_F { - class MFD {}; - }; - class I_Heli_light_03_unarmed_F: I_Heli_light_03_unarmed_base_F { - #include - }; - - class Plane_CAS_01_base_F: Plane_Base_F { - lockDetectionSystem = 12; - incomingMissileDetectionSystem = 16; - //class MFD {}; - class Turrets; - #include - }; - - /*class B_Plane_CAS_01_F: Plane_CAS_01_base_F { - #include - //#include - };*/ - - class Plane_CAS_02_base_F: Plane_Base_F { - lockDetectionSystem = 12; - incomingMissileDetectionSystem = 16; - class Turrets; - #include - }; - - class Plane_Fighter_03_base_F: Plane_Base_F { - lockDetectionSystem = 12; - incomingMissileDetectionSystem = 16; - class Turrets; - #include - }; - - class UAV_01_base_F: Helicopter_Base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - };*/ - }; - - class UAV_02_base_F: UAV { - class Turrets { - class MainTurret; - }; - weapons[] = {}; - magazines[] = {}; - }; - - class UAV_02_CAS_base_F: UAV_02_base_F { - /*class Turrets: Turrets { - class MainTurret: MainTurret {}; - };*/ - weapons[] = {}; - magazines[] = {}; - }; - - class B_Heli_Transport_03_base_F: Helicopter_Base_H { - lockDetectionSystem = 12; - incomingMissileDetectionSystem = 16; - driverCanEject = 1; - class Turrets: Turrets { - class CopilotTurret: CopilotTurret { - canEject = 1; - }; - //class MainTurret: MainTurret {}; - class RightDoorGun: MainTurret {}; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - }; - }; - - class B_Heli_Transport_03_unarmed_base_F: B_Heli_Transport_03_base_F { - class Turrets: Turrets { - class CopilotTurret: CopilotTurret { - canEject = 1; - }; - //class MainTurret: MainTurret {}; - //class RightDoorGun: MainTurret {}; - - //class CargoTurret_01: CargoTurret {}; - //class CargoTurret_02: CargoTurret_01 {}; - }; - }; - - class Heli_Transport_04_base_F: Helicopter_Base_H { - lockDetectionSystem = 12; - incomingMissileDetectionSystem = 16; - driverCanEject = 1; - class Turrets: Turrets { - class CopilotTurret: CopilotTurret { - canEject = 1; - }; - class LoadmasterTurret: MainTurret { - canEject = 1; - }; - }; - }; - - class O_Heli_Transport_04_bench_F: Heli_Transport_04_base_F { - class Turrets: Turrets { - class CopilotTurret: CopilotTurret { - canEject = 1; - }; - class LoadmasterTurret: LoadmasterTurret { - canEject = 1; - }; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - class CargoTurret_03: CargoTurret_01 {}; - class CargoTurret_04: CargoTurret_01 {}; - class CargoTurret_05: CargoTurret_01 {}; - class CargoTurret_06: CargoTurret_05 {}; - class CargoTurret_07: CargoTurret_05 {}; - class CargoTurret_08: CargoTurret_05 {}; - }; - }; - - class O_Heli_Transport_04_covered_F: Heli_Transport_04_base_F { - class Turrets: Turrets { - class CopilotTurret: CopilotTurret { - canEject = 1; - }; - class LoadmasterTurret: LoadmasterTurret { - canEject = 1; - }; - - class CargoTurret_01: CargoTurret {}; - class CargoTurret_02: CargoTurret_01 {}; - }; - }; -}; diff --git a/TO_MERGE/agm/Aircraft/hmd_thunderbolt.hpp b/TO_MERGE/agm/Aircraft/hmd_thunderbolt.hpp deleted file mode 100644 index ed23d62ee4..0000000000 --- a/TO_MERGE/agm/Aircraft/hmd_thunderbolt.hpp +++ /dev/null @@ -1,6562 +0,0 @@ - - - -class MFD3 -{ - class HUD_1 - { - topLeft="HUD_top_left"; - topRight="HUD_top_right"; - bottomLeft="HUD_bottom_left"; - borderLeft=0.12; - borderRight=0.12; - borderTop=0.05; - borderBottom=0.15; - color[]={0,1,0,0.1}; - enableParallax=1; - class Bones - { - class WeaponAim - { - type="vector"; - source="weapon"; - pos0[]={0.5,0.38}; - pos10[]={1.166,1.215}; - }; - class Target - { - type="vector"; - source="target"; - pos0[]={0.5,0.38}; - pos10[]={1.166,1.215}; - }; - class Velocity - { - type="vector"; - source="velocity"; - pos0[]={0.5,0.5}; - pos10[]={1.215,1.215}; - }; - class VerticalSpeed - { - type="linear"; - source="vspeed"; - sourceScale=1; - min=-100; - max=100; - minPos[]={0,0.15000001}; - maxPos[]={0,-0.15000001}; - }; - class center - { - type="fixed"; - pos[]={0.5,0.38}; - }; - class RangeBone - { - type="linear"; - source="targetDist"; - sourceScale=1; //meters - min=0; - max=12000; - minPos[]={0.08,0.40}; - maxPos[]={0.08,0.60}; - }; - class RadarAltitudeBone - { - type="linear"; - source="altitudeAGL"; - sourceScale=1; // meters - //hideValue=1500; - min=0; - max=500; - minPos[]={0.71,0.40}; - maxPos[]={0.71,0.60}; - }; - class VspeedBone - { - type="linear"; - source="vspeed"; - sourceScale=1; // m/s - min=-50; - max=50; - minPos[]={0.94,0.40}; - maxPos[]={0.94,0.60}; - }; - }; - class Draw - { - color[]={0.15000001,1,0.15000001}; - alpha=0.9; - clipTL[]={0,0}; - clipBR[]={1,1}; - condition="on"; - - class WeaponName - { - type="text"; - source="weapon"; - sourceScale=1; - align="left"; - scale=1; - pos[]= - { - {"0.15 + 0.1",0.85}, - 1 - }; - right[]= - { - {"0.19 + 0.1",0.85}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.89}, - 1 - }; - }; - class AmmoCount - { - type="text"; - source="ammo"; - sourceScale=1; - align="left"; - scale=1; - pos[]= - { - {"0.15 + 0.1",0.89}, - 1 - }; - right[]= - { - {"0.19 + 0.1",0.89}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.93}, - 1 - }; - }; - class GearGroup - { - type="group"; - condition="ils"; - class GearText - { - type="text"; - source="static"; - text="GEAR"; - align="left"; - scale=1; - pos[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.40" - }, - 1 - }; - right[]= - { - - { - "0.20 + 0.1", - "0.53 - 0.40" - }, - 1 - }; - down[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.40 + 0.05" - }, - 1 - }; - }; - class radarbanda - { - type="line"; - width=4; - points[]= - { - { - "RadarAltitudeBone", - {-0.005,0.005}, - 1 - }, - { - "RadarAltitudeBone", - {-0.005,0}, - 1 - }, - { - "RadarAltitudeBone", - {0,0}, - 1 - }, - {{ 0.71,0.60 },1 }, - { }, - - {{ 0.71,0.40 },1 }, - {{ 0.72,0.40 },1 }, - { }, - {{ 0.71,0.44 },1 }, - {{ 0.72,0.44 },1 }, - { }, - {{ 0.71,0.48 },1 }, - {{ 0.72,0.48 },1 }, - { }, - {{ 0.71,0.52 },1 }, - {{ 0.72,0.52 },1 }, - { }, - {{ 0.71,0.56 },1 }, - {{ 0.72,0.56 },1 }, - { }, - {{ 0.71,0.60 },1 }, - {{ 0.72,0.60 },1 } - }; - }; - class radartext_5 - { - type="text"; - source="static"; - text="5"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.00"},1}; - right[]= {{0.751,"0.385 + 0.00"},1}; - down[]= {{0.721,"0.415 + 0.00"},1}; - }; - class radartext_4 - { - type="text"; - source="static"; - text="4"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.04"},1}; - right[]= {{0.751,"0.385 + 0.04"},1}; - down[]= {{0.721,"0.415 + 0.04"},1}; - }; - class radartext_3 - { - type="text"; - source="static"; - text="3"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.08"},1}; - right[]= {{0.751,"0.385 + 0.08"},1}; - down[]= {{0.721,"0.415 + 0.08"},1}; - }; - class radartext_2 - { - type="text"; - source="static"; - text="2"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.120"},1}; - right[]= {{0.751,"0.385 + 0.120"},1}; - down[]= {{0.721,"0.415 + 0.120"},1}; - }; - class radartext_1 - { - type="text"; - source="static"; - text="1"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.160"},1}; - right[]= {{0.751,"0.385 + 0.160"},1}; - down[]= {{0.721,"0.415 + 0.160"},1}; - }; - class radartext_0 - { - type="text"; - source="static"; - text="0"; - align="right"; - scale=1; - pos[]= {{0.721,"0.385 + 0.200"},1}; - right[]= {{0.751,"0.385 + 0.200"},1}; - down[]= {{0.721,"0.415 + 0.200"},1}; - }; - - class Vspeedbanda - { - type="line"; - width=4; - points[]= - { - { - "VspeedBone", - {0.007,-0.007}, - 1 - }, - { - "VspeedBone", - {0,0}, - 1 - }, - { - "VspeedBone", - {0.007,0.007}, - 1 - }, - { }, - { - "VspeedBone", - {0,0}, - 1 - }, - { - "VspeedBone", - {0.012,0}, - 1 - }, - {{ 0.952,0.50 },1 }, - { }, - - {{ 0.92,0.40 },1 }, // - {{ 0.94,0.40 },1 }, - { }, - {{ 0.92,0.42 },1 }, - {{ 0.93,0.42 },1 }, - { }, - {{ 0.92,0.44 },1 }, - {{ 0.93,0.44 },1 }, - { }, - {{ 0.92,0.46 },1 }, - {{ 0.93,0.46 },1 }, - { }, - {{ 0.92,0.48 },1 }, - {{ 0.93,0.48 },1 }, - { }, - {{ 0.92,0.50 },1 }, // - {{ 0.94,0.50 },1 }, - { }, - {{ 0.92,0.52 },1 }, - {{ 0.93,0.52 },1 }, - { }, - {{ 0.92,0.54 },1 }, - {{ 0.93,0.54 },1 }, - { }, - {{ 0.92,0.56 },1 }, - {{ 0.93,0.56 },1 }, - { }, - {{ 0.92,0.58 },1 }, - {{ 0.93,0.58 },1 }, - { }, - {{ 0.92,0.60 },1 }, // - {{ 0.94,0.60 },1 }, - }; - }; - }; - class Vspeedbanda1 - { - type="line"; - width=4; - points[]= - { - { - "VspeedBone", - {0.007,-0.007}, - 1 - }, - { - "VspeedBone", - {0,0}, - 1 - }, - { - "VspeedBone", - {0.007,0.007}, - 1 - }, - { }, - { - "VspeedBone", - {0,0}, - 1 - }, - { - "VspeedBone", - {0.012,0}, - 1 - }, - {{ 0.952,0.50 },1 }, - { }, - - {{ 0.92,0.40 },1 }, // - {{ 0.94,0.40 },1 }, - { }, - {{ 0.92,0.42 },1 }, - {{ 0.93,0.42 },1 }, - { }, - {{ 0.92,0.44 },1 }, - {{ 0.93,0.44 },1 }, - { }, - {{ 0.92,0.46 },1 }, - {{ 0.93,0.46 },1 }, - { }, - {{ 0.92,0.48 },1 }, - {{ 0.93,0.48 },1 }, - { }, - {{ 0.92,0.50 },1 }, // - {{ 0.94,0.50 },1 }, - { }, - {{ 0.92,0.52 },1 }, - {{ 0.93,0.52 },1 }, - { }, - {{ 0.92,0.54 },1 }, - {{ 0.93,0.54 },1 }, - { }, - {{ 0.92,0.56 },1 }, - {{ 0.93,0.56 },1 }, - { }, - {{ 0.92,0.58 },1 }, - {{ 0.93,0.58 },1 }, - { }, - {{ 0.92,0.60 },1 }, // - {{ 0.94,0.60 },1 }, - }; - }; - class StallGroup - { - type="group"; - condition="stall"; - color[]={1,0,0}; - blinkingPattern[]={0.2,0.2}; - blinkingStartsOn=1; - class StallText - { - type="text"; - source="static"; - text="STALL"; - align="center"; - scale=1; - pos[]= - { - - { - 0.5, - "0.53 - 0.25" - }, - 1 - }; - right[]= - { - - { - 0.55000001, - "0.53 - 0.25" - }, - 1 - }; - down[]= - { - - { - 0.5, - "0.53 - 0.21" - }, - 1 - }; - }; - }; - class FLAPSGroup - { - type="group"; - condition="flaps"; - class FLAPSText - { - type="text"; - source="static"; - text="FLAPS"; - align="left"; - scale=1; - pos[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.35" - }, - 1 - }; - right[]= - { - - { - "0.20 + 0.1", - "0.53 - 0.35" - }, - 1 - }; - down[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.35 + 0.05" - }, - 1 - }; - }; - }; - class CollisionLightsGroup - { - type="group"; - condition="collisionlights"; - class CollisionLightsText - { - type="text"; - source="static"; - text="A-COL"; - align="left"; - scale=1; - pos[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.25" - }, - 1 - }; - right[]= - { - - { - "0.20 + 0.1", - "0.53 - 0.25" - }, - 1 - }; - down[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.25 + 0.05" - }, - 1 - }; - }; - }; - class LightsGroup - { - type="group"; - condition="lights"; - class LightsText - { - type="text"; - source="static"; - text="LLS"; - align="left"; - scale=1; - pos[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.30" - }, - 1 - }; - right[]= - { - - { - "0.20 + 0.1", - "0.53 - 0.30" - }, - 1 - }; - down[]= - { - - { - "0.15 + 0.1", - "0.53 - 0.30 + 0.05" - }, - 1 - }; - }; - }; - class SpeedNumber - { - type="text"; - align="left"; - scale=1; - source="speed"; - sourceScale=3.5999999; - pos[]= - { - {"0.15 + 0.1",0.47}, - 1 - }; - right[]= - { - {"0.21 + 0.1",0.47}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.52999998}, - 1 - }; - }; - class GroundSpeedNumber - { - type="text"; - align="left"; - scale=1; - source="sqrt((""speed""*""speed"")-(""vspeed""*""vspeed""))"; - sourceScale=3.5999999; - pos[]= - { - {"0.15 + 0.1",0.37}, - 1 - }; - right[]= - { - {"0.21 + 0.1",0.37}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.42999998}, - 1 - }; - }; - - class MachNumber - { - type="text"; - align="left"; - scale=1; - source="speed"; - sourceScale=0.0288; - pos[]= - { - {"0.12 + 0.1",0.53}, - 1 - }; - right[]= - { - {"0.17 + 0.1",0.53}, - 1 - }; - down[]= - { - {"0.12 + 0.1",0.58}, - 1 - }; - }; - class MachText - { - type="text"; - source="static"; - text="0."; - align="left"; - scale=1; - pos[]= - { - {"0.09 + 0.1",0.53}, - 1 - }; - right[]= - { - {"0.14 + 0.1",0.53}, - 1 - }; - down[]= - { - {"0.09 + 0.1",0.58}, - 1 - }; - }; - class MachTextM - { - type="text"; - source="static"; - text="M"; - align="left"; - scale=1; - pos[]= - { - {"0.1501 + 0.1",0.53}, - 1 - }; - right[]= - { - {"0.2001 + 0.1",0.53}, - 1 - }; - down[]= - { - {"0.1501 + 0.1",0.58}, - 1 - }; - }; - class HeadingNumber: SpeedNumber - { - source="heading"; - sourceScale=1; - align="right"; - pos[]= - { - {"0.85 - 0.1",0.15}, - 1 - }; - right[]= - { - {"0.90 - 0.1",0.15}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.20}, - 1 - }; - }; - class AltNumber: SpeedNumber - { - align="right"; - source="altitudeASL"; - sourceScale=1; - pos[]= - { - {"0.85 - 0.1",0.47}, - 1 - }; - right[]= - { - {"0.91 - 0.1",0.47}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.52999998}, - 1 - }; - }; - class PitcherNumber: SpeedNumber - { - type="text"; - source="horizonDive"; - sourceScale=57.29578; - align="right"; - scale=1; - pos[]= - { - {"0.85 - 0.1",0.54}, - 1 - }; - right[]= - { - {"0.90 - 0.1",0.54}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.59}, - 1 - }; - }; - class AGLText - { - type="text"; - source="static"; - text="AGL/"; - align="right"; - scale=1; - pos[]= - { - {"0.85 - 0.1",0.76}, - 1 - }; - right[]= - { - {"0.89000002 - 0.1",0.76}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.80}, - 1 - }; - }; - class AGLNumber - { - type="text"; - source="altitudeAGL"; - sourceScale=1; - align="right"; - scale=1; - pos[]= - { - {"0.85 - 0.1",0.80}, - 1 - }; - right[]= - { - {"0.89 - 0.1",0.80}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.84}, - 1 - }; - }; - class ClimbText - { - type="text"; - source="static"; - text="CLIMB/"; - align="right"; - scale=1; - pos[]= - { - {"0.85 - 0.1",0.85001}, - 1 - }; - right[]= - { - {"0.89 - 0.1",0.85001}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.89001}, - 1 - }; - }; - class ClimbNumber - { - type="text"; - source="vspeed"; - sourceScale=1; - align="right"; - scale=1; - pos[]= - { - {"0.85 - 0.1",0.89001}, - 1 - }; - right[]= - { - {"0.89 - 0.1",0.89001}, - 1 - }; - down[]= - { - {"0.85 - 0.1",0.93001}, - 1 - }; - }; - class RangeText - { - type="text"; - source="static"; - text="RNG/"; - align="left"; - scale=1; - pos[]= - { - {"0.15 + 0.1",0.76}, - 1 - }; - right[]= - { - {"0.19 + 0.1",0.76}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.80}, - 1 - }; - }; - class RangeNumber - { - type="text"; - source="targetDist"; - sourceScale=1; - align="left"; - scale=1; - pos[]= - { - {"0.15 + 0.1",0.80}, - 1 - }; - right[]= - { - {"0.19 + 0.1",0.80}, - 1 - }; - down[]= - { - {"0.15 + 0.1",0.84}, - 1 - }; - }; - class ATRangeScale - { - condition="ATmissile"; - type="group"; - class RangeBand - { - type="line"; - width=3.0; - points[]= - { - - { - "RangeBone", - {0.00,0.0}, - 1 - }, - - { - "RangeBone", - {-0.01,-0.01}, - 1 - }, - - { - "RangeBone", - {-0.01,0.01}, - 1 - }, - - { - "RangeBone", - {0.00,0.0}, - 1 - } - }; - }; - class ATMissileRange - { - type="line"; - width=3.0; - points[] = - { - ///////////////////////////////// range marks - { { 0.08,0.40 },1 }, - { { 0.10,0.40 },1 }, - {}, - { { 0.08,0.467 },1 }, - { { 0.10,0.467 },1 }, - {}, - { { 0.08,0.567 },1 }, - { { 0.10,0.567 },1 }, - {}, - { { 0.08,0.60 },1 }, - { { 0.10,0.60 },1 }, - {}, - - { { 0.08,0.467 },1 }, // line - { { 0.08,0.567 },1 }, - {} - }; - }; - }; - class HeadingArrow - { - type="line"; - width=4; - points[]= - { - - { - {0.50,0.95}, - 1 - }, - { - {0.515,0.965}, - 1 - }, - { - {0.485,0.965}, - 1 - }, - { - {0.50,0.95}, - 1 - } - }; - }; - class HeadingScale - { - type="scale"; - horizontal=1; - source="heading"; - sourceScale=0.1; - width=5; - top=0.35; - center=0.50; - bottom=0.65; - lineXleft="0.06 + 0.89"; - lineYright="0.05 + 0.89"; - lineXleftMajor="0.06 + 0.89"; - lineYrightMajor="0.04 + 0.89"; - majorLineEach=2; - numberEach=2; - step="1 / 2"; - stepSize="(0.65 - 0.35) / 5"; - align="center"; - scale=1; - pos[]= - { - 0.35, - "0.0 + 0.89" - }; - right[]= - { - 0.38, - "0.0 + 0.89" - }; - down[]= - { - 0.35, - "0.03 + 0.89" - }; - }; - }; - }; - class HUD_2 - { - topLeft="HUD_top_left"; - topRight="HUD_top_right"; - bottomLeft="HUD_bottom_left"; - borderLeft=0.12; - borderRight=0.12; - borderTop=0.05; - borderBottom=0.15; - color[]={0,1,0,0.1}; - enableParallax=1; - class Bones - { - class ForwardVec1 - { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - //pos10[] = {0.25,0.25}; - //pos0[]={0.50,0.32}; - //pos10[]={"1.382 - 0.5","1.145 - 0.32"}; - pos10[] = {0.0,0.0}; - }; - class ForwardVec - { - type = "vector"; - source = "forward"; - pos0[] = {0.0,0.0}; - //pos10[] = {"0.253 + 0.0","0.253 + 0.0"}; - pos10[] = {0.0,0.0}; - }; - class RadarContact - { - //source="radar"; - type="fixed"; - pos[]={0,0}; - }; - class HorizonBankRot - { - type="rotational"; - source="horizonBank"; - center[]={0.5,0.32}; - min=3.1416; - max=-3.1416; - //max=0.52359998; - minAngle=-180; - maxAngle=180; - aspectRatio=1; - }; - class VspeedBone - { - type="linear"; - source="vspeed"; - sourceScale=1; - min=-10; - max=10; - minPos[]={0.2,0.35}; - maxPos[]={0.2,0.65}; - }; - class ILS_H - { - type = "ils"; - pos0[] = {0.5,0.32}; - pos3[] = {0.7,0.32}; - }; - class ILS_W: ILS_H - { - pos3[] = {0.5,0.53}; - }; - class WeaponAimGUN - { - type = "vector"; - source = "weapon"; - //pos0[] = {0.5,0.125}; - pos0[] = {0.5,0.32}; - pos10[] = {" 0.5 + 0.253 "," 0.32 + 0.253 "}; - }; - class WeaponAimROCKET - { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.390}; - pos10[] = {" 0.5 + 0.253 "," 0.390 + 0.253 "}; - }; - class RadarAltitudeBone - { - type="linear"; - source="altitudeAGL"; - sourceScale=0.10; - min=0; - max=200; - minPos[]={0.5,0.10}; - maxPos[]={0.5,0.85}; - }; - class TargetSelected - { - type = "vector"; - source = "target"; - pos0[]={ 0.50, 0.32 }; - //pos10[]={" 0.5 + 1.5 ", " 0.32 + 1.5"}; - pos10[]={1.382,1.145}; - }; - class Velocity - { - type="vector"; - source="velocity"; - pos0[]={0.5,0.32}; - pos10[]={0.8,0.62}; - //pos10[]={1.5,1.32}; - }; - class center - { - type="fixed"; - pos[]={0.5,0.38}; - }; - class Level0 - { - type="horizon"; - pos0[]={0.50,0.32}; - pos10[]={1.5,1.32}; - //pos10[]={1.382,1.145}; - angle=0; - }; - class LevelP5: Level0 - { - angle=5; - }; - class LevelM5: Level0 - { - angle=-5; - }; - class LevelP10: Level0 - { - angle=10; - }; - class LevelM10: Level0 - { - angle=-10; - }; - class LevelP15: Level0 - { - angle=15; - }; - class LevelM15: Level0 - { - angle=-15; - }; - class LevelP20: Level0 - { - angle=20; - }; - class LevelM20: Level0 - { - angle=-20; - }; - class LevelP25: Level0 - { - angle=25; - }; - class LevelM25: Level0 - { - angle=-25; - }; - class LevelP30: Level0 - { - angle=30; - }; - class LevelM30: Level0 - { - angle=-30; - }; - class LevelP35: Level0 - { - angle=35; - }; - class LevelM35: Level0 - { - angle=-35; - }; - class LevelP40: Level0 - { - angle=40; - }; - class LevelM40: Level0 - { - angle=-40; - }; - class LevelP45: Level0 - { - angle=45; - }; - class LevelM45: Level0 - { - angle=-45; - }; - class LevelP50: Level0 - { - angle=50; - }; - class LevelM50: Level0 - { - angle=-50; - }; - }; - class Draw - { - color[]={0.15000001,1,0.15000001}; - alpha=0.9; - clipTL[]={0,0}; - clipBR[]={1,1}; - condition="on"; - class Horizont // default - { - clipTL[]={0.10,0.10}; - clipBR[]={0.90,0.90}; - class Dimmed - { - class Level0 - { - type="line"; - points[]= - { - - { - "Level0", - {-0.2,0}, - 1 - }, - - { - "Level0", - {-0.050000001,0}, - 1 - }, - {}, - - { - "Level0", - {0.050000001,0}, - 1 - }, - - { - "Level0", - {0.2,0}, - 1 - } - }; - }; - class VALM_1_0 - { - type="text"; - source="static"; - text=0; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "Level0", - {-0.23,-0.025}, - 1 - }; - right[]= - { - "Level0", - {-0.13,-0.025}, - 1 - }; - down[]= - { - "Level0", - {-0.23,0.025}, - 1 - }; - }; - class VALM_2_0: VALM_1_0 - { - align="right"; - pos[]= - { - "Level0", - {0.22,-0.025}, - 1 - }; - right[]= - { - "Level0", - {0.31999999,-0.025}, - 1 - }; - down[]= - { - "Level0", - {0.22,0.025}, - 1 - }; - }; - class LevelM5: Level0 - { - type="line"; - points[]= - { - - { - "LevelM5", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM5", - {-0.2,0}, - 1 - }, - - { - "LevelM5", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM5", - {-0.1,0}, - 1 - }, - - { - "LevelM5", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM5", - {0.050000001,0}, - 1 - }, - - { - "LevelM5", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM5", - {0.15000001,0}, - 1 - }, - - { - "LevelM5", - {0.2,0}, - 1 - }, - - { - "LevelM5", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_5 - { - type="text"; - source="static"; - text=-5; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM5", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM5", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM5", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_5: VALM_1_5 - { - align="right"; - pos[]= - { - "LevelM5", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM5", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM5", - {0.22,-0.035}, - 1 - }; - }; - class LevelP5: Level0 - { - type="line"; - points[]= - { - - { - "LevelP5", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP5", - {-0.2,0}, - 1 - }, - - { - "LevelP5", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP5", - {0.050000001,0}, - 1 - }, - - { - "LevelP5", - {0.2,0}, - 1 - }, - - { - "LevelP5", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_5 - { - type="text"; - source="static"; - text="5"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP5", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP5", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP5", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_5: VALP_1_5 - { - align="right"; - pos[]= - { - "LevelP5", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP5", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP5", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM10: Level0 - { - type="line"; - points[]= - { - - { - "LevelM10", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM10", - {-0.2,0}, - 1 - }, - - { - "LevelM10", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM10", - {-0.1,0}, - 1 - }, - - { - "LevelM10", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM10", - {0.050000001,0}, - 1 - }, - - { - "LevelM10", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM10", - {0.15000001,0}, - 1 - }, - - { - "LevelM10", - {0.2,0}, - 1 - }, - - { - "LevelM10", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_10 - { - type="text"; - source="static"; - text=-10; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM10", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM10", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM10", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_10: VALM_1_10 - { - align="right"; - pos[]= - { - "LevelM10", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM10", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM10", - {0.22,-0.035}, - 1 - }; - }; - class LevelP10: Level0 - { - type="line"; - points[]= - { - - { - "LevelP10", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP10", - {-0.2,0}, - 1 - }, - - { - "LevelP10", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP10", - {0.050000001,0}, - 1 - }, - - { - "LevelP10", - {0.2,0}, - 1 - }, - - { - "LevelP10", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_10 - { - type="text"; - source="static"; - text="10"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP10", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP10", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP10", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_10: VALP_1_10 - { - align="right"; - pos[]= - { - "LevelP10", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP10", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP10", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM15: Level0 - { - type="line"; - points[]= - { - - { - "LevelM15", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM15", - {-0.2,0}, - 1 - }, - - { - "LevelM15", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM15", - {-0.1,0}, - 1 - }, - - { - "LevelM15", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM15", - {0.050000001,0}, - 1 - }, - - { - "LevelM15", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM15", - {0.15000001,0}, - 1 - }, - - { - "LevelM15", - {0.2,0}, - 1 - }, - - { - "LevelM15", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_15 - { - type="text"; - source="static"; - text=-15; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM15", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM15", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM15", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_15: VALM_1_15 - { - align="right"; - pos[]= - { - "LevelM15", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM15", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM15", - {0.22,-0.035}, - 1 - }; - }; - class LevelP15: Level0 - { - type="line"; - points[]= - { - - { - "LevelP15", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP15", - {-0.2,0}, - 1 - }, - - { - "LevelP15", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP15", - {0.050000001,0}, - 1 - }, - - { - "LevelP15", - {0.2,0}, - 1 - }, - - { - "LevelP15", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_15 - { - type="text"; - source="static"; - text="15"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP15", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP15", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP15", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_15: VALP_1_15 - { - align="right"; - pos[]= - { - "LevelP15", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP15", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP15", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM20: Level0 - { - type="line"; - points[]= - { - - { - "LevelM20", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM20", - {-0.2,0}, - 1 - }, - - { - "LevelM20", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM20", - {-0.1,0}, - 1 - }, - - { - "LevelM20", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM20", - {0.050000001,0}, - 1 - }, - - { - "LevelM20", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM20", - {0.15000001,0}, - 1 - }, - - { - "LevelM20", - {0.2,0}, - 1 - }, - - { - "LevelM20", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_20 - { - type="text"; - source="static"; - text=-20; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM20", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM20", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM20", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_20: VALM_1_20 - { - align="right"; - pos[]= - { - "LevelM20", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM20", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM20", - {0.22,-0.035}, - 1 - }; - }; - class LevelP20: Level0 - { - type="line"; - points[]= - { - - { - "LevelP20", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP20", - {-0.2,0}, - 1 - }, - - { - "LevelP20", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP20", - {0.050000001,0}, - 1 - }, - - { - "LevelP20", - {0.2,0}, - 1 - }, - - { - "LevelP20", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_20 - { - type="text"; - source="static"; - text="20"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP20", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP20", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP20", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_20: VALP_1_20 - { - align="right"; - pos[]= - { - "LevelP20", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP20", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP20", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM25: Level0 - { - type="line"; - points[]= - { - - { - "LevelM25", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM25", - {-0.2,0}, - 1 - }, - - { - "LevelM25", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM25", - {-0.1,0}, - 1 - }, - - { - "LevelM25", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM25", - {0.050000001,0}, - 1 - }, - - { - "LevelM25", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM25", - {0.15000001,0}, - 1 - }, - - { - "LevelM25", - {0.2,0}, - 1 - }, - - { - "LevelM25", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_25 - { - type="text"; - source="static"; - text=-25; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM25", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM25", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM25", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_25: VALM_1_25 - { - align="right"; - pos[]= - { - "LevelM25", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM25", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM25", - {0.22,-0.035}, - 1 - }; - }; - class LevelP25: Level0 - { - type="line"; - points[]= - { - - { - "LevelP25", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP25", - {-0.2,0}, - 1 - }, - - { - "LevelP25", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP25", - {0.050000001,0}, - 1 - }, - - { - "LevelP25", - {0.2,0}, - 1 - }, - - { - "LevelP25", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_25 - { - type="text"; - source="static"; - text="25"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP25", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP25", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP25", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_25: VALP_1_25 - { - align="right"; - pos[]= - { - "LevelP25", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP25", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP25", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM30: Level0 - { - type="line"; - points[]= - { - - { - "LevelM30", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM30", - {-0.2,0}, - 1 - }, - - { - "LevelM30", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM30", - {-0.1,0}, - 1 - }, - - { - "LevelM30", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM30", - {0.050000001,0}, - 1 - }, - - { - "LevelM30", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM30", - {0.15000001,0}, - 1 - }, - - { - "LevelM30", - {0.2,0}, - 1 - }, - - { - "LevelM30", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_30 - { - type="text"; - source="static"; - text=-30; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM30", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM30", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM30", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_30: VALM_1_30 - { - align="right"; - pos[]= - { - "LevelM30", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM30", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM30", - {0.22,-0.035}, - 1 - }; - }; - class LevelP30: Level0 - { - type="line"; - points[]= - { - - { - "LevelP30", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP30", - {-0.2,0}, - 1 - }, - - { - "LevelP30", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP30", - {0.050000001,0}, - 1 - }, - - { - "LevelP30", - {0.2,0}, - 1 - }, - - { - "LevelP30", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_30 - { - type="text"; - source="static"; - text="30"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP30", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP30", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP30", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_30: VALP_1_30 - { - align="right"; - pos[]= - { - "LevelP30", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP30", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP30", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM35: Level0 - { - type="line"; - points[]= - { - - { - "LevelM35", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM35", - {-0.2,0}, - 1 - }, - - { - "LevelM35", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM35", - {-0.1,0}, - 1 - }, - - { - "LevelM35", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM35", - {0.050000001,0}, - 1 - }, - - { - "LevelM35", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM35", - {0.15000001,0}, - 1 - }, - - { - "LevelM35", - {0.2,0}, - 1 - }, - - { - "LevelM35", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_35 - { - type="text"; - source="static"; - text=-35; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM35", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM35", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM35", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_35: VALM_1_35 - { - align="right"; - pos[]= - { - "LevelM35", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM35", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM35", - {0.22,-0.035}, - 1 - }; - }; - class LevelP35: Level0 - { - type="line"; - points[]= - { - - { - "LevelP35", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP35", - {-0.2,0}, - 1 - }, - - { - "LevelP35", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP35", - {0.050000001,0}, - 1 - }, - - { - "LevelP35", - {0.2,0}, - 1 - }, - - { - "LevelP35", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_35 - { - type="text"; - source="static"; - text="35"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP35", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP35", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP35", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_35: VALP_1_35 - { - align="right"; - pos[]= - { - "LevelP35", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP35", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP35", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM40: Level0 - { - type="line"; - points[]= - { - - { - "LevelM40", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM40", - {-0.2,0}, - 1 - }, - - { - "LevelM40", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM40", - {-0.1,0}, - 1 - }, - - { - "LevelM40", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM40", - {0.050000001,0}, - 1 - }, - - { - "LevelM40", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM40", - {0.15000001,0}, - 1 - }, - - { - "LevelM40", - {0.2,0}, - 1 - }, - - { - "LevelM40", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_40 - { - type="text"; - source="static"; - text=-40; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM40", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM40", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM40", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_40: VALM_1_40 - { - align="right"; - pos[]= - { - "LevelM40", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM40", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM40", - {0.22,-0.035}, - 1 - }; - }; - class LevelP40: Level0 - { - type="line"; - points[]= - { - - { - "LevelP40", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP40", - {-0.2,0}, - 1 - }, - - { - "LevelP40", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP40", - {0.050000001,0}, - 1 - }, - - { - "LevelP40", - {0.2,0}, - 1 - }, - - { - "LevelP40", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_40 - { - type="text"; - source="static"; - text="40"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP40", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP40", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP40", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_40: VALP_1_40 - { - align="right"; - pos[]= - { - "LevelP40", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP40", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP40", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM45: Level0 - { - type="line"; - points[]= - { - - { - "LevelM45", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM45", - {-0.2,0}, - 1 - }, - - { - "LevelM45", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM45", - {-0.1,0}, - 1 - }, - - { - "LevelM45", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM45", - {0.050000001,0}, - 1 - }, - - { - "LevelM45", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM45", - {0.15000001,0}, - 1 - }, - - { - "LevelM45", - {0.2,0}, - 1 - }, - - { - "LevelM45", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_45 - { - type="text"; - source="static"; - text=-45; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM45", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM45", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM45", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_45: VALM_1_45 - { - align="right"; - pos[]= - { - "LevelM45", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM45", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM45", - {0.22,-0.035}, - 1 - }; - }; - class LevelP45: Level0 - { - type="line"; - points[]= - { - - { - "LevelP45", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP45", - {-0.2,0}, - 1 - }, - - { - "LevelP45", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP45", - {0.050000001,0}, - 1 - }, - - { - "LevelP45", - {0.2,0}, - 1 - }, - - { - "LevelP45", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_45 - { - type="text"; - source="static"; - text="45"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP45", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP45", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP45", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_45: VALP_1_45 - { - align="right"; - pos[]= - { - "LevelP45", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP45", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP45", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM50: Level0 - { - type="line"; - points[]= - { - - { - "LevelM50", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM50", - {-0.2,0}, - 1 - }, - - { - "LevelM50", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM50", - {-0.1,0}, - 1 - }, - - { - "LevelM50", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM50", - {0.050000001,0}, - 1 - }, - - { - "LevelM50", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM50", - {0.15000001,0}, - 1 - }, - - { - "LevelM50", - {0.2,0}, - 1 - }, - - { - "LevelM50", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_50 - { - type="text"; - source="static"; - text=-50; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelM50", - {-0.23,-0.085000001}, - 1 - }; - right[]= - { - "LevelM50", - {-0.13,-0.085000001}, - 1 - }; - down[]= - { - "LevelM50", - {-0.23,-0.035}, - 1 - }; - }; - class VALM_2_50: VALM_1_50 - { - align="right"; - pos[]= - { - "LevelM50", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM50", - {0.31999999,-0.085000001}, - 1 - }; - down[]= - { - "LevelM50", - {0.22,-0.035}, - 1 - }; - }; - class LevelP50: Level0 - { - type="line"; - points[]= - { - - { - "LevelP50", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP50", - {-0.2,0}, - 1 - }, - - { - "LevelP50", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP50", - {0.050000001,0}, - 1 - }, - - { - "LevelP50", - {0.2,0}, - 1 - }, - - { - "LevelP50", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_50 - { - type="text"; - source="static"; - text="50"; - align="left"; - scale=1; - sourceScale=57.2958; - pos[]= - { - "LevelP50", - {-0.23,0.035}, - 1 - }; - right[]= - { - "LevelP50", - {-0.13,0.035}, - 1 - }; - down[]= - { - "LevelP50", - {-0.23,0.085000001}, - 1 - }; - }; - class VALP_2_50: VALP_1_50 - { - align="right"; - pos[]= - { - "LevelP50", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP50", - {0.31999999,0.035}, - 1 - }; - down[]= - { - "LevelP50", - {0.22,0.085000001}, - 1 - }; - }; - }; - }; - - class Horizont - { - clipTL[]={0,0}; - clipBR[]={1.0,1.0}; - class Dimmed - { - class Level0 - { - type="line"; - points[]= - { - - { - "Level0", - {-0.3,0}, - 1 - }, - - { - "Level0", - {-0.050000001,0}, - 1 - }, - {}, - - { - "Level0", - {0.050000001,0}, - 1 - }, - - { - "Level0", - {0.3,0}, - 1 - } - }; - }; - class VALM_1_0 - { - type="text"; - source="static"; - text=0; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "Level0", - {-0.23,-0.025}, - 1 - }; - right[]= - { - "Level0", - {-0.13,-0.025}, - 1 - }; - down[]= - { - "Level0", - {-0.23,0.025}, - 1 - }; - }; - class VALM_2_0: VALM_1_0 - { - align="right"; - pos[]= - { - "Level0", - {0.22,-0.025}, - 1 - }; - right[]= - { - "Level0", - {0.31999999,-0.025}, - 1 - }; - down[]= - { - "Level0", - {0.22,0.025}, - 1 - }; - }; - - class LevelM5: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM5", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM5", - {-0.2,0}, - 1 - }, - - { - "LevelM5", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM5", - {-0.1,0}, - 1 - }, - - { - "LevelM5", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM5", - {0.050000001,0}, - 1 - }, - - { - "LevelM5", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM5", - {0.15000001,0}, - 1 - }, - - { - "LevelM5", - {0.2,0}, - 1 - }, - - { - "LevelM5", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_5 - { - type="text"; - source="static"; - text=-5; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM5", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM5", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM5", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_5: VALM_1_5 - { - align="right"; - pos[]= - { - "LevelM5", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM5", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM5", - {0.22,-0.035}, - 1 - }; - }; - class LevelP5: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP5", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP5", - {-0.2,0}, - 1 - }, - - { - "LevelP5", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP5", - {0.050000001,0}, - 1 - }, - - { - "LevelP5", - {0.2,0}, - 1 - }, - - { - "LevelP5", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_5 - { - type="text"; - source="static"; - text="5"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP5", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP5", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP5", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_5: VALP_1_5 - { - align="right"; - pos[]= - { - "LevelP5", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP5", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP5", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM10: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM10", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM10", - {-0.2,0}, - 1 - }, - - { - "LevelM10", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM10", - {-0.1,0}, - 1 - }, - - { - "LevelM10", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM10", - {0.050000001,0}, - 1 - }, - - { - "LevelM10", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM10", - {0.15000001,0}, - 1 - }, - - { - "LevelM10", - {0.2,0}, - 1 - }, - - { - "LevelM10", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_10 - { - type="text"; - source="static"; - text=-10; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM10", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM10", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM10", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_10: VALM_1_10 - { - align="right"; - pos[]= - { - "LevelM10", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM10", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM10", - {0.22,-0.035}, - 1 - }; - }; - class LevelP10: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP10", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP10", - {-0.2,0}, - 1 - }, - - { - "LevelP10", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP10", - {0.050000001,0}, - 1 - }, - - { - "LevelP10", - {0.2,0}, - 1 - }, - - { - "LevelP10", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_10 - { - type="text"; - source="static"; - text="10"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP10", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP10", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP10", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_10: VALP_1_10 - { - align="right"; - pos[]= - { - "LevelP10", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP10", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP10", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM15: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM15", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM15", - {-0.2,0}, - 1 - }, - - { - "LevelM15", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM15", - {-0.1,0}, - 1 - }, - - { - "LevelM15", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM15", - {0.050000001,0}, - 1 - }, - - { - "LevelM15", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM15", - {0.15000001,0}, - 1 - }, - - { - "LevelM15", - {0.2,0}, - 1 - }, - - { - "LevelM15", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_15 - { - type="text"; - source="static"; - text=-15; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM15", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM15", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM15", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_15: VALM_1_15 - { - align="right"; - pos[]= - { - "LevelM15", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM15", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM15", - {0.22,-0.035}, - 1 - }; - }; - class LevelP15: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP15", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP15", - {-0.2,0}, - 1 - }, - - { - "LevelP15", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP15", - {0.050000001,0}, - 1 - }, - - { - "LevelP15", - {0.2,0}, - 1 - }, - - { - "LevelP15", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_15 - { - type="text"; - source="static"; - text="15"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP15", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP15", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP15", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_15: VALP_1_15 - { - align="right"; - pos[]= - { - "LevelP15", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP15", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP15", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM20: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM20", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM20", - {-0.2,0}, - 1 - }, - - { - "LevelM20", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM20", - {-0.1,0}, - 1 - }, - - { - "LevelM20", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM20", - {0.050000001,0}, - 1 - }, - - { - "LevelM20", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM20", - {0.15000001,0}, - 1 - }, - - { - "LevelM20", - {0.2,0}, - 1 - }, - - { - "LevelM20", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_20 - { - type="text"; - source="static"; - text=-20; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM20", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM20", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM20", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_20: VALM_1_20 - { - align="right"; - pos[]= - { - "LevelM20", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM20", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM20", - {0.22,-0.035}, - 1 - }; - }; - class LevelP20: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP20", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP20", - {-0.2,0}, - 1 - }, - - { - "LevelP20", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP20", - {0.050000001,0}, - 1 - }, - - { - "LevelP20", - {0.2,0}, - 1 - }, - - { - "LevelP20", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_20 - { - type="text"; - source="static"; - text="20"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP20", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP20", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP20", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_20: VALP_1_20 - { - align="right"; - pos[]= - { - "LevelP20", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP20", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP20", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM25: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM25", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM25", - {-0.2,0}, - 1 - }, - - { - "LevelM25", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM25", - {-0.1,0}, - 1 - }, - - { - "LevelM25", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM25", - {0.050000001,0}, - 1 - }, - - { - "LevelM25", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM25", - {0.15000001,0}, - 1 - }, - - { - "LevelM25", - {0.2,0}, - 1 - }, - - { - "LevelM25", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_25 - { - type="text"; - source="static"; - text=-25; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM25", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM25", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM25", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_25: VALM_1_25 - { - align="right"; - pos[]= - { - "LevelM25", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM25", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM25", - {0.22,-0.035}, - 1 - }; - }; - class LevelP25: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP25", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP25", - {-0.2,0}, - 1 - }, - - { - "LevelP25", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP25", - {0.050000001,0}, - 1 - }, - - { - "LevelP25", - {0.2,0}, - 1 - }, - - { - "LevelP25", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_25 - { - type="text"; - source="static"; - text="25"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP25", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP25", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP25", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_25: VALP_1_25 - { - align="right"; - pos[]= - { - "LevelP25", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP25", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP25", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM30: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM30", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM30", - {-0.2,0}, - 1 - }, - - { - "LevelM30", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM30", - {-0.1,0}, - 1 - }, - - { - "LevelM30", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM30", - {0.050000001,0}, - 1 - }, - - { - "LevelM30", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM30", - {0.15000001,0}, - 1 - }, - - { - "LevelM30", - {0.2,0}, - 1 - }, - - { - "LevelM30", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_30 - { - type="text"; - source="static"; - text=-30; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM30", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM30", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM30", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_30: VALM_1_30 - { - align="right"; - pos[]= - { - "LevelM30", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM30", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM30", - {0.22,-0.035}, - 1 - }; - }; - class LevelP30: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP30", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP30", - {-0.2,0}, - 1 - }, - - { - "LevelP30", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP30", - {0.050000001,0}, - 1 - }, - - { - "LevelP30", - {0.2,0}, - 1 - }, - - { - "LevelP30", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_30 - { - type="text"; - source="static"; - text="30"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP30", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP30", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP30", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_30: VALP_1_30 - { - align="right"; - pos[]= - { - "LevelP30", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP30", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP30", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM35: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM35", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM35", - {-0.2,0}, - 1 - }, - - { - "LevelM35", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM35", - {-0.1,0}, - 1 - }, - - { - "LevelM35", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM35", - {0.050000001,0}, - 1 - }, - - { - "LevelM35", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM35", - {0.15000001,0}, - 1 - }, - - { - "LevelM35", - {0.2,0}, - 1 - }, - - { - "LevelM35", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_35 - { - type="text"; - source="static"; - text=-35; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM35", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM35", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM35", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_35: VALM_1_35 - { - align="right"; - pos[]= - { - "LevelM35", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM35", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM35", - {0.22,-0.035}, - 1 - }; - }; - class LevelP35: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP35", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP35", - {-0.2,0}, - 1 - }, - - { - "LevelP35", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP35", - {0.050000001,0}, - 1 - }, - - { - "LevelP35", - {0.2,0}, - 1 - }, - - { - "LevelP35", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_35 - { - type="text"; - source="static"; - text="35"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP35", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP35", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP35", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_35: VALP_1_35 - { - align="right"; - pos[]= - { - "LevelP35", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP35", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP35", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM40: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM40", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM40", - {-0.2,0}, - 1 - }, - - { - "LevelM40", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM40", - {-0.1,0}, - 1 - }, - - { - "LevelM40", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM40", - {0.050000001,0}, - 1 - }, - - { - "LevelM40", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM40", - {0.15000001,0}, - 1 - }, - - { - "LevelM40", - {0.2,0}, - 1 - }, - - { - "LevelM40", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_40 - { - type="text"; - source="static"; - text=-40; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM40", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM40", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM40", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_40: VALM_1_40 - { - align="right"; - pos[]= - { - "LevelM40", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM40", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM40", - {0.22,-0.035}, - 1 - }; - }; - class LevelP40: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP40", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP40", - {-0.2,0}, - 1 - }, - - { - "LevelP40", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP40", - {0.050000001,0}, - 1 - }, - - { - "LevelP40", - {0.2,0}, - 1 - }, - - { - "LevelP40", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_40 - { - type="text"; - source="static"; - text="40"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP40", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP40", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP40", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_40: VALP_1_40 - { - align="right"; - pos[]= - { - "LevelP40", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP40", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP40", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM45: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM45", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM45", - {-0.2,0}, - 1 - }, - - { - "LevelM45", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM45", - {-0.1,0}, - 1 - }, - - { - "LevelM45", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM45", - {0.050000001,0}, - 1 - }, - - { - "LevelM45", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM45", - {0.15000001,0}, - 1 - }, - - { - "LevelM45", - {0.2,0}, - 1 - }, - - { - "LevelM45", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_45 - { - type="text"; - source="static"; - text=-45; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM45", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM45", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM45", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_45: VALM_1_45 - { - align="right"; - pos[]= - { - "LevelM45", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM45", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM45", - {0.22,-0.035}, - 1 - }; - }; - class LevelP45: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP45", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP45", - {-0.2,0}, - 1 - }, - - { - "LevelP45", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP45", - {0.050000001,0}, - 1 - }, - - { - "LevelP45", - {0.2,0}, - 1 - }, - - { - "LevelP45", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_45 - { - type="text"; - source="static"; - text="45"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP45", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP45", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP45", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_45: VALP_1_45 - { - align="right"; - pos[]= - { - "LevelP45", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP45", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP45", - {0.22,0.085000001}, - 1 - }; - }; - class LevelM50: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelM50", - {-0.2,-0.029999999}, - 1 - }, - - { - "LevelM50", - {-0.2,0}, - 1 - }, - - { - "LevelM50", - {-0.15000001,0}, - 1 - }, - {}, - - { - "LevelM50", - {-0.1,0}, - 1 - }, - - { - "LevelM50", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelM50", - {0.050000001,0}, - 1 - }, - - { - "LevelM50", - {0.1,0}, - 1 - }, - {}, - - { - "LevelM50", - {0.15000001,0}, - 1 - }, - - { - "LevelM50", - {0.2,0}, - 1 - }, - - { - "LevelM50", - {0.2,-0.029999999}, - 1 - } - }; - }; - class VALM_1_50 - { - type="text"; - source="static"; - text=-50; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelM50", - {-0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM50", - {-0.17,-0.085000001}, - 1 - }; - down[]= - { - "LevelM50", - {-0.22,-0.035}, - 1 - }; - }; - class VALM_2_50: VALM_1_50 - { - align="right"; - pos[]= - { - "LevelM50", - {0.22,-0.085000001}, - 1 - }; - right[]= - { - "LevelM50", - {0.27,-0.085000001}, - 1 - }; - down[]= - { - "LevelM50", - {0.22,-0.035}, - 1 - }; - }; - class LevelP50: Level0 - { - type="line"; - width=3.0; - points[]= - { - - { - "LevelP50", - {-0.2,0.029999999}, - 1 - }, - - { - "LevelP50", - {-0.2,0}, - 1 - }, - - { - "LevelP50", - {-0.050000001,0}, - 1 - }, - {}, - - { - "LevelP50", - {0.050000001,0}, - 1 - }, - - { - "LevelP50", - {0.2,0}, - 1 - }, - - { - "LevelP50", - {0.2,0.029999999}, - 1 - } - }; - }; - class VALP_1_50 - { - type="text"; - source="static"; - text="50"; - align="left"; - scale=1; - sourceScale=1; - pos[]= - { - "LevelP50", - {-0.22,0.035}, - 1 - }; - right[]= - { - "LevelP50", - {-0.17,0.035}, - 1 - }; - down[]= - { - "LevelP50", - {-0.22,0.085000001}, - 1 - }; - }; - class VALP_2_50: VALP_1_50 - { - align="right"; - pos[]= - { - "LevelP50", - {0.22,0.035}, - 1 - }; - right[]= - { - "LevelP50", - {0.27,0.035}, - 1 - }; - down[]= - { - "LevelP50", - {0.22,0.085000001}, - 1 - }; - }; - }; - }; - class PlaneMovementCrosshair //fwd - { - clipTL[]={0,1}; - clipBR[]={1,0}; - type="line"; - width=6; - points[]= - { - {"ForwardVec1",1,"Velocity",1,{"0 *2 /3","-0.02 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.0099999998 *2 /3","-0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.01732 *2 /3","-0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.02 *2 /3","0 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.01732 *2 /3","0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.0099999998 *2 /3","0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0 *2 /3","0.02 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.0099999998 *2 /3","0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.01732 *2 /3","0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.02 *2 /3","0 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.01732 *2 /3","-0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.0099999998 *2 /3","-0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0 *2 /3","-0.02 *2 /3"},1}, - - {}, - - {"ForwardVec1",1,"Velocity",1,{0.035,0},1}, - {"ForwardVec1",1,"Velocity",1,{"0.02 *2 /3",0},1}, - - {}, - - {"ForwardVec1",1,"Velocity",1,{-0.035,0},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.02 *2 /3",0},1}, - - {}, - - {"ForwardVec1",1,"Velocity",1,{0,"-0.039999999 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{0,"-0.02 *2 /3"},1} - }; - }; - class RadarTargets //fwd - { - type="radar"; - //pos0[]={0.50,0.38}; - //pos10[]={1.40,1.22}; - ///pos0[]={0.50,0.27}; - ///pos10[]={1.40,1.10}; - pos0[]={0.50,0.32}; - pos10[]={1.382,1.145}; - width=2.5; - points[]= - { - - { - "ForwardVec",1,"RadarContact", - {-0.02,-0.02}, - 1 - }, - - { - "ForwardVec",1,"RadarContact", - {0.02,-0.02}, - 1 - }, - - { - "ForwardVec",1,"RadarContact", - {0.02,0.02}, - 1 - }, - - { - "ForwardVec",1,"RadarContact", - {-0.02,0.02}, - 1 - }, - - { - "ForwardVec",1,"RadarContact", - {-0.02,-0.02}, - 1 - } - }; - }; - class AA_target //fwd - { - condition="AAmissile"; - class Target - { - type = "line"; - points[] = - { - { "TargetSelected",{ 0,"-0.08 + 0.2" },1 }, - { "TargetSelected",{ 0.05,"-0.0696 + 0.2" },1 }, - { "TargetSelected",{ 0.087,"-0.50*0.10/(1.5/1.2) + 0.2" },1 }, - { "TargetSelected",{ 0.1,"0 + 0.2"},1 }, - { "TargetSelected",{ 0.087,"0.04 + 0.2" },1 }, - { "TargetSelected",{ 0.05,"+0.87*0.10/(1.5/1.2) + 0.2" },1 }, - { "TargetSelected",{ 0,"0.08 + 0.2"},1 }, - { "TargetSelected",{ -0.05,"0.0696 + 0.2"},1 }, - { "TargetSelected",{ -0.087,"+0.50*0.10/(1.5/1.2) + 0.2" },1 }, - { "TargetSelected",{ -0.1,"0 + 0.2" },1 }, - { "TargetSelected",{ -0.087,"-0.04 + 0.2" },1 }, - { "TargetSelected",{ -0.05,"-0.87*0.10/(1.5/1.2) + 0.2" },1 }, - { "TargetSelected",{ 0,"-0.08 + 0.2" },1 },{"*/"}, - - { - "ForwardVec",1,"TargetSelected",1, - {0,-0.02}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.0099999998,-0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.01732,-0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.02,0}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.01732,0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.0099999998,0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0,0.02}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.0099999998,0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.01732,0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.02,0}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.01732,-0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.0099999998,-0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0,-0.02}, - 1 - } - }; - }; - }; - class AG_target //fwd - { - condition="ATmissile"; - class Target - { - type = "line"; - points[] = - { - { "TargetSelected",{ 0,"-0.08" },1 }, - { "TargetSelected",{ 0.05,"-0.0696" },1 }, - { "TargetSelected",{ 0.087,"-0.50*0.10/(1.5/1.2)" },1 }, - { "TargetSelected",{ 0.1,"0"},1 }, - { "TargetSelected",{ 0.087,"0.04" },1 }, - { "TargetSelected",{ 0.05,"+0.87*0.10/(1.5/1.2)" },1 }, - { "TargetSelected",{ 0,"0.08"},1 }, - { "TargetSelected",{ -0.05,"0.0696"},1 }, - { "TargetSelected",{ -0.087,"+0.50*0.10/(1.5/1.2)" },1 }, - { "TargetSelected",{ -0.1,"0" },1 }, - { "TargetSelected",{ -0.087,"-0.04" },1 }, - { "TargetSelected",{ -0.05,"-0.87*0.10/(1.5/1.2)" },1 }, - { "TargetSelected",{ 0,"-0.08" },1 }, - - { - "ForwardVec",1,"TargetSelected",1, - {0,-0.02}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.0099999998,-0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.01732,-0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.02,0}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.01732,0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0.0099999998,0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0,0.02}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.0099999998,0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.01732,0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.02,0}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.01732,-0.0099999998}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {-0.0099999998,-0.01732}, - 1 - }, - - { - "ForwardVec",1,"TargetSelected",1, - {0,-0.02}, - 1 - }, - - - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.02 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.01 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.02 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.01 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.02,0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.01,0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.02,0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.01,0 },1 } - }; - }; - }; - class GUN_target //fwd - { - condition="mgun"; - class Target - { - type="line"; - width=4; - points[]= - { - //////////////////////////////////////////////// UP - - { "ForwardVec",1,"target",{ 0,-0.060 },1 }, - { "ForwardVec",1,"target",{ 0,-0.055 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,-0.050 },1 }, - { "ForwardVec",1,"target",{ 0,-0.045 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,-0.040 },1 }, - { "ForwardVec",1,"target",{ 0,-0.035 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.030 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.025 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.020 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.015 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.010 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.005 },1 }, - {}, - //////////////////////////////////////////////// center - { "ForwardVec",1,"TargetSelected",1,{ 0,0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0 },1 }, - {}, - /////////////////////////////////////////////// DOWN - - { "ForwardVec",1,"target",{ 0,0.060 },1 }, - { "ForwardVec",1,"target",{ 0,0.055 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,0.050 },1 }, - { "ForwardVec",1,"target",{ 0,0.045 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,0.040 },1 }, - { "ForwardVec",1,"target",{ 0,0.035 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.030 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.025 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.020 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.015 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.010 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.005 },1 }, - {}, - /////////////////////////////////////////////// LEFT - - { "ForwardVec",1,"target",{ -0.060, 0 },1 }, - { "ForwardVec",1,"target",{ -0.055, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ -0.050, 0 },1 }, - { "ForwardVec",1,"target",{ -0.045, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ -0.040, 0 },1 }, - { "ForwardVec",1,"target",{ -0.035, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.030, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.025, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.020, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.015, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.010, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.005, 0 },1 }, - {}, - /////////////////////////////////////////////// RIGHT - - { "ForwardVec",1,"target",{ 0.060, 0 },1 }, - { "ForwardVec",1,"target",{ 0.055, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ 0.050, 0 },1 }, - { "ForwardVec",1,"target",{ 0.045, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ 0.040, 0 },1 }, - { "ForwardVec",1,"target",{ 0.035, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.030, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.025, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.020, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.015, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.010, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.005, 0 },1 }, - {} - }; - }; - }; - class Rocket_target //fwd - { - condition="rocket"; - class Target - { - type="line"; - width=4; - points[]= - { - //////////////////////////////////////////////// UP - - { "ForwardVec",1,"target",{ 0,-0.060 },1 }, - { "ForwardVec",1,"target",{ 0,-0.055 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,-0.050 },1 }, - { "ForwardVec",1,"target",{ 0,-0.045 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,-0.040 },1 }, - { "ForwardVec",1,"target",{ 0,-0.035 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.030 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.025 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.020 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.015 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.010 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,-0.005 },1 }, - {}, - //////////////////////////////////////////////// center - { "ForwardVec",1,"TargetSelected",1,{ 0,0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0 },1 }, - {}, - /////////////////////////////////////////////// DOWN - - { "ForwardVec",1,"target",{ 0,0.060 },1 }, - { "ForwardVec",1,"target",{ 0,0.055 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,0.050 },1 }, - { "ForwardVec",1,"target",{ 0,0.045 },1 }, - {}, - { "ForwardVec",1,"target",{ 0,0.040 },1 }, - { "ForwardVec",1,"target",{ 0,0.035 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.030 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.025 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.020 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.015 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.010 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0,0.005 },1 }, - {}, - /////////////////////////////////////////////// LEFT - - { "ForwardVec",1,"target",{ -0.060, 0 },1 }, - { "ForwardVec",1,"target",{ -0.055, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ -0.050, 0 },1 }, - { "ForwardVec",1,"target",{ -0.045, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ -0.040, 0 },1 }, - { "ForwardVec",1,"target",{ -0.035, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.030, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.025, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.020, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.015, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ -0.010, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ -0.005, 0 },1 }, - {}, - /////////////////////////////////////////////// RIGHT - - { "ForwardVec",1,"target",{ 0.060, 0 },1 }, - { "ForwardVec",1,"target",{ 0.055, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ 0.050, 0 },1 }, - { "ForwardVec",1,"target",{ 0.045, 0 },1 }, - {}, - { "ForwardVec",1,"target",{ 0.040, 0 },1 }, - { "ForwardVec",1,"target",{ 0.035, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.030, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.025, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.020, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.015, 0 },1 }, - {}, - { "ForwardVec",1,"TargetSelected",1,{ 0.010, 0 },1 }, - { "ForwardVec",1,"TargetSelected",1,{ 0.005, 0 },1 }, - {} - }; - }; - }; - class GunCross //fwd - { - type="group"; - condition = "mgun"; - class CCIP_circle - { - type = "line"; - width = 5.0; - points[] = - { - { "ForwardVec",1,"WeaponAimGUN",1,{ "-1.2000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-1.0000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.9877 * 0.06","-0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.9397 * 0.06","-0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.8660 * 0.06","-0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.7660 * 0.06","-0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.6428 * 0.06","-0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.5000 * 0.06","-0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.3420 * 0.06","-0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.1736 * 0.06","-0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","-1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.1736 * 0.06","-0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.3420 * 0.06","-0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.5000 * 0.06","-0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.6428 * 0.06","-0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.7660 * 0.06","-0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.8660 * 0.06","-0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.9397 * 0.06","-0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.9877 * 0.06","-0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "1.0000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "1.2000 * 0.06","-0.0000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-1.2000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-1.0000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.9877 * 0.06","0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.9397 * 0.06","0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.8660 * 0.06","0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.7660 * 0.06","0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.6428 * 0.06","0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.5000 * 0.06","0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.3420 * 0.06","0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.1736 * 0.06","0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.1736 * 0.06","0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.3420 * 0.06","0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.5000 * 0.06","0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.6428 * 0.06","0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.7660 * 0.06","0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.8660 * 0.06","0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.9397 * 0.06","0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "0.9877 * 0.06","0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "1.0000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "1.2000 * 0.06","0.0000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","-1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","-1.2000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ "-0.0000 * 0.06","1.2000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimGUN",1,{ 0.005,0 },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ -0.005,0 },1 }, - { }, - { "ForwardVec",1,"WeaponAimGUN",1,{ 0,0.005 },1 }, - { "ForwardVec",1,"WeaponAimGUN",1,{ 0,-0.005 },1 } - }; - }; - }; - class RocketCross //fwd - { - type="group"; - condition="rocket"; - class CCIP_circle - { - type = "line"; - width = 5.0; - points[] = - { - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-1.2000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-1.0000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.9877 * 0.06","-0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.9397 * 0.06","-0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.8660 * 0.06","-0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.7660 * 0.06","-0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.6428 * 0.06","-0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.5000 * 0.06","-0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.3420 * 0.06","-0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.1736 * 0.06","-0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","-1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.1736 * 0.06","-0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.3420 * 0.06","-0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.5000 * 0.06","-0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.6428 * 0.06","-0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.7660 * 0.06","-0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.8660 * 0.06","-0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.9397 * 0.06","-0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.9877 * 0.06","-0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "1.0000 * 0.06","-0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "1.2000 * 0.06","-0.0000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-1.2000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-1.0000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.9877 * 0.06","0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.9397 * 0.06","0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.8660 * 0.06","0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.7660 * 0.06","0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.6428 * 0.06","0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.5000 * 0.06","0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.3420 * 0.06","0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.1736 * 0.06","0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.1736 * 0.06","0.9877 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.3420 * 0.06","0.9397 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.5000 * 0.06","0.8660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.6428 * 0.06","0.7660 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.7660 * 0.06","0.6428 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.8660 * 0.06","0.5000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.9397 * 0.06","0.3420 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "0.9877 * 0.06","0.1736 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "1.0000 * 0.06","0.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "1.2000 * 0.06","0.0000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","-1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","-1.2000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","1.0000 * 0.06" },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ "-0.0000 * 0.06","1.2000 * 0.06" },1 }, - { }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ 0.005,0 },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ -0.005,0 },1 }, - { }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ 0,0.005 },1 }, - { "ForwardVec",1,"WeaponAimROCKET",1,{ 0,-0.005 },1 } - }; - }; - }; - class AC_Centerline //fwd - { - type="group"; - condition="on"; - class RockCross - { - type = "line"; - width=4; - points[] = - { - {"ForwardVec",1,{" -0.006 + 0.5" , "0 + 0.32" },1}, - {"ForwardVec",1,{" 0.006 + 0.5" , "0 + 0.32" },1}, - { }, - {"ForwardVec",1,{" -0.0 + 0.5" , "0.006 + 0.32" },1}, - {"ForwardVec",1,{" 0.0 + 0.5" , "-0.006 + 0.32" },1} - }; - }; - }; - class ATMissileTOFGroup - { - condition="ATmissile"; - type="group"; - class TOFtext - { - type="text"; - align="right"; - source="static"; - text="TOF="; - scale=1; - pos[]= - { - {0.15,0.62}, - 1 - }; - right[]= - { - {0.19,0.62}, - 1 - }; - down[]= - { - {0.15,0.66}, - 1 - }; - }; - class TOFnumber - { - type="text"; - source="targetDist"; - sourcescale = 0.0025; - align="right"; - scale=1; - pos[]= - { - {0.23,0.62}, - 1 - }; - right[]= - { - {0.27,0.62}, - 1 - }; - down[]= - { - {0.23,0.66}, - 1 - }; - }; - }; - class BombTOFGroup - { - condition="Bomb"; - type="group"; - class Crosshairs - { - type = "line"; - width=7; - points[] = - { - {{"0 + 0.5" , "-0.02 + 0.5"},1 }, - {{"0.0099999998 + 0.5" , "-0.01732 + 0.5"},1}, - {{"0.01732 + 0.5" , "-0.0099999998 + 0.5"},1}, - {{"0.02 + 0.5" , "0 + 0.5"},1}, - {{"0.01732 + 0.5" , "0.0099999998 + 0.5"},1}, - {{"0.0099999998 + 0.5" , "0.01732 + 0.5"},1}, - {{"0 + 0.5" , "0.02 + 0.5"},1}, - {{"-0.0099999998 + 0.5" , "0.01732 + 0.5"},1}, - {{"-0.01732 + 0.5" , "0.0099999998 + 0.5"},1}, - {{"-0.02 + 0.5" , "0 + 0.5"},1}, - {{"-0.01732 + 0.5" , "-0.0099999998 + 0.5"},1}, - {{"-0.0099999998 + 0.5" , "-0.01732 + 0.5"},1}, - {{"0 + 0.5" , "-0.02 + 0.5"},1}, - { }, - {{" -0.005 + 0.5" , "0 + 0.5" },1}, - {{" 0.005 + 0.5" , "0 + 0.5" },1}, - { }, - {{" -0.00 + 0.5" , "-0.005 + 0.5" },1}, - {{" 0.00 + 0.5" , "0.005 + 0.5" },1} - - }; - }; - class Target_Line_LGB - { - type = "line"; - width=5; - points[] = - { - - { - "TargetSelected", - {0,0}, - 1 - }, - - { - "Velocity", - {0,0}, - 1 - }, - - - }; - }; - class Target_SPI_LGB - { - type = "line"; - width=3; - points[] = - { - - { - "TargetSelected", - {0,0}, - 1 - }, - - { - "TargetSelected", - {0,-0.05}, - 1 - }, - - - }; - }; - class TOFtext - { - type="text"; - align="right"; - source="static"; - text="TOF="; - scale=1; - pos[]= - { - {0.15,0.62}, - 1 - }; - right[]= - { - {0.19,0.62}, - 1 - }; - down[]= - { - {0.15,0.66}, - 1 - }; - }; - class TOFnumber - { - type="text"; - source="altitudeASL"; - sourcescale = 0.013; - align="right"; - scale=1; - pos[]= - { - {0.23,0.62}, - 1 - }; - right[]= - { - {0.27,0.62}, - 1 - }; - down[]= - { - {0.23,0.66}, - 1 - }; - }; - }; - class ILS_Bars //fwd - { - condition = "ils"; - class Glideslope - { - clipTL[] = {0.0,0.0}; - clipBR[] = {1.0,1.0}; - class ILS - { - type = "line"; - width=2.5; - points[] = - { - { "ForwardVec",1,"ILS_W",1,{ -0.2,0 },1 }, - { "ForwardVec",1,"ILS_W",1,{ 0.2,0 },1 }, - { }, - { "ForwardVec",1,"ILS_W",1,{ 0,0.02 },1 }, - { "ForwardVec",1,"ILS_W",1,{ 0,-0.02 },1 }, - { }, - { "ForwardVec",1,"ILS_W",1,{ 0.1,0.02 },1 }, - { "ForwardVec",1,"ILS_W",1,{ 0.1,-0.02 },1 }, - { }, - { "ForwardVec",1,"ILS_W",1,{ 0.2,0.02 },1 }, - { "ForwardVec",1,"ILS_W",1,{ 0.2,-0.02 },1 }, - { }, - { "ForwardVec",1,"ILS_W",1,{ -0.1,0.02 },1 }, - { "ForwardVec",1,"ILS_W",1,{ -0.1,-0.02 },1 }, - { }, - { "ForwardVec",1,"ILS_W",1,{ -0.2,0.02 },1 }, - { "ForwardVec",1,"ILS_W",1,{ -0.2,-0.02 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0,-0.2 },1 }, - { "ForwardVec",1,"ILS_H",1,{ 0,0.2 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0.02,0 },1 }, - { "ForwardVec",1,"ILS_H",1,{ -0.02,0 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0.02,0.1 },1 }, - { "ForwardVec",1,"ILS_H",1,{ -0.02,0.1 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0.02,0.2 },1 }, - { "ForwardVec",1,"ILS_H",1,{ -0.02,0.2 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0.02,-0.1 },1 }, - { "ForwardVec",1,"ILS_H",1,{ -0.02,-0.1 },1 }, - { }, - { "ForwardVec",1,"ILS_H",1,{ 0.02,-0.2 },1 }, - { "ForwardVec",1,"ILS_H",1,{ -0.02,-0.2 },1 }, - { } - }; - }; - }; - }; - }; - }; -}; diff --git a/TO_MERGE/agm/Aircraft/mfd_comanche.hpp b/TO_MERGE/agm/Aircraft/mfd_comanche.hpp deleted file mode 100644 index 087c0a7988..0000000000 --- a/TO_MERGE/agm/Aircraft/mfd_comanche.hpp +++ /dev/null @@ -1,1310 +0,0 @@ - -class MFD { - class AirplaneHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class PlaneOrientation { - type = "fixed"; - pos[] = {0.5,0.54}; - }; - - class GunnerAim { - type = "vector"; - source = "weapon"; - pos0[] = {0,0}; - pos10[] = {0.011,0.0035}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.65,0.65}; - }; - - class VspeedBone { - type = "linear"; - source = "vspeed"; - sourceScale = 1; - min = -10; - max = 10; - minPos[] = {0.93,0.2}; - maxPos[] = {0.93,0.8}; - }; - - class RadarAltitudeBone { - type = "linear"; - source = "altitudeAGL"; - sourceScale = 1; - min = 0; - max = 60; - minPos[] = {0.965,0.2}; - maxPos[] = {0.965,0.8}; - }; - - class HorizonBankRot { - type = "rotational"; - source = "horizonBank"; - center[] = {0.5,0.5}; - min = -3.1416; - max = 3.1416; - minAngle = -180; - maxAngle = 180; - aspectRatio = 1; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.25,0.25}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.75,0.75}; - }; - - class Level0 { - type = "horizon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.78,0.78}; - angle = 0; - }; - - class LevelP5: Level0 { - angle = 5; - }; - - class LevelM5: Level0 { - angle = -5; - }; - - class LevelP10: Level0 { - angle = 10; - }; - - class LevelM10: Level0 { - angle = -10; - }; - - class LevelP15: Level0 { - angle = 15; - }; - - class LevelM15: Level0 { - angle = -15; - }; - - class LevelP20: Level0 { - angle = 20; - }; - - class LevelM20: Level0 { - angle = -20; - }; - - class LevelP25: Level0 { - angle = 25; - }; - - class LevelM25: Level0 { - angle = -25; - }; - - class LevelP30: Level0 { - angle = 30; - }; - - class LevelM30: Level0 { - angle = -30; - }; - - class LevelP35: Level0 { - angle = 35; - }; - - class LevelM35: Level0 { - angle = -35; - }; - - class LevelP40: Level0 { - angle = 40; - }; - - class LevelM40: Level0 { - angle = -40; - }; - - class LevelP45: Level0 { - angle = 45; - }; - - class LevelM45: Level0 { - angle = -45; - }; - - class LevelP50: Level0 { - angle = 50; - }; - - class LevelM50: Level0 { - angle = -50; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class Horizont { - clipTL[] = {0.15,0.15}; - clipBR[] = {0.85,0.85}; - class Dimmed { - class Level0 { - type = "line"; - points[] = { - {"Level0",{-0.42,0},1}, - {"Level0",{-0.38,0},1},{}, - {"Level0",{-0.37,0},1}, - {"Level0",{-0.33,0},1},{}, - {"Level0",{-0.32,0},1}, - {"Level0",{-0.28,0},1},{}, - {"Level0",{-0.27,0},1}, - {"Level0",{-0.23,0},1},{}, - {"Level0",{-0.22,0},1}, - {"Level0",{-0.18,0},1},{}, - {"Level0",{-0.17,0},1}, - {"Level0",{-0.13,0},1},{}, - {"Level0",{-0.12,0},1}, - {"Level0",{-0.08,0},1},{}, - {"Level0",{0.42,0},1}, - {"Level0",{0.38,0},1},{}, - {"Level0",{0.37,0},1}, - {"Level0",{0.33,0},1},{}, - {"Level0",{0.32,0},1}, - {"Level0",{0.28,0},1},{}, - {"Level0",{0.27,0},1}, - {"Level0",{0.23,0},1},{}, - {"Level0",{0.22,0},1}, - {"Level0",{0.18,0},1},{}, - {"Level0",{0.17,0},1}, - {"Level0",{0.13,0},1},{}, - {"Level0",{0.12,0},1}, - {"Level0",{0.08,0},1} - }; - }; - - class LevelM10: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM10",{-0.2,-0.03},1}, - {"LevelM10",{-0.2,0},1}, - {"LevelM10",{-0.15,0},1},{}, - {"LevelM10",{-0.1,0},1}, - {"LevelM10",{-0.05,0},1},{}, - {"LevelM10",{0.05,0},1}, - {"LevelM10",{0.1,0},1},{}, - {"LevelM10",{0.15,0},1}, - {"LevelM10",{0.2,0},1}, - {"LevelM10",{0.2,-0.03},1} - }; - }; - - class VALM_1_10 { - type = "text"; - source = "static"; - text = -10; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM10",{-0.22,-0.085},1}; - right[] = {"LevelM10",{-0.17,-0.085},1}; - down[] = {"LevelM10",{-0.22,-0.035},1}; - }; - - class VALM_2_10: VALM_1_10 { - align = "right"; - pos[] = {"LevelM10",{0.22,-0.085},1}; - right[] = {"LevelM10",{0.27,-0.085},1}; - down[] = {"LevelM10",{0.22,-0.035},1}; - }; - - class LevelP10: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP10",{-0.2,0.03},1}, - {"LevelP10",{-0.2,0},1}, - {"LevelP10",{-0.05,0},1},{}, - {"LevelP10",{0.05,0},1}, - {"LevelP10",{0.2,0},1}, - {"LevelP10",{0.2,0.03},1} - }; - }; - - class VALP_1_10 { - type = "text"; - source = "static"; - text = "10"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP10",{-0.22,0.035},1}; - right[] = {"LevelP10",{-0.17,0.035},1}; - down[] = {"LevelP10",{-0.22,0.085},1}; - }; - - class VALP_2_10: VALP_1_10 { - align = "right"; - pos[] = {"LevelP10",{0.22,0.035},1}; - right[] = {"LevelP10",{0.27,0.035},1}; - down[] = {"LevelP10",{0.22,0.085},1}; - }; - - class LevelM20: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM20",{-0.2,-0.03},1}, - {"LevelM20",{-0.2,0},1}, - {"LevelM20",{-0.15,0},1},{}, - {"LevelM20",{-0.1,0},1}, - {"LevelM20",{-0.05,0},1},{}, - {"LevelM20",{0.05,0},1}, - {"LevelM20",{0.1,0},1},{}, - {"LevelM20",{0.15,0},1}, - {"LevelM20",{0.2,0},1}, - {"LevelM20",{0.2,-0.03},1} - }; - }; - - class VALM_1_20 { - type = "text"; - source = "static"; - text = -20; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM20",{-0.22,-0.085},1}; - right[] = {"LevelM20",{-0.17,-0.085},1}; - down[] = {"LevelM20",{-0.22,-0.035},1}; - }; - - class VALM_2_20: VALM_1_20 { - align = "right"; - pos[] = {"LevelM20",{0.22,-0.085},1}; - right[] = {"LevelM20",{0.27,-0.085},1}; - down[] = {"LevelM20",{0.22,-0.035},1}; - }; - - class LevelP20: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP20",{-0.2,0.03},1}, - {"LevelP20",{-0.2,0},1}, - {"LevelP20",{-0.05,0},1},{}, - {"LevelP20",{0.05,0},1}, - {"LevelP20",{0.2,0},1}, - {"LevelP20",{0.2,0.03},1} - }; - }; - - class VALP_1_20 { - type = "text"; - source = "static"; - text = "20"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP20",{-0.22,0.035},1}; - right[] = {"LevelP20",{-0.17,0.035},1}; - down[] = {"LevelP20",{-0.22,0.085},1}; - }; - - class VALP_2_20: VALP_1_20 { - align = "right"; - pos[] = {"LevelP20",{0.22,0.035},1}; - right[] = {"LevelP20",{0.27,0.035},1}; - down[] = {"LevelP20",{0.22,0.085},1}; - }; - - class LevelM30: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM30",{-0.2,-0.03},1}, - {"LevelM30",{-0.2,0},1}, - {"LevelM30",{-0.15,0},1},{}, - {"LevelM30",{-0.1,0},1}, - {"LevelM30",{-0.05,0},1},{}, - {"LevelM30",{0.05,0},1}, - {"LevelM30",{0.1,0},1},{}, - {"LevelM30",{0.15,0},1}, - {"LevelM30",{0.2,0},1}, - {"LevelM30",{0.2,-0.03},1} - }; - }; - - class VALM_1_30 { - type = "text"; - source = "static"; - text = -30; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM30",{-0.22,-0.085},1}; - right[] = {"LevelM30",{-0.17,-0.085},1}; - down[] = {"LevelM30",{-0.22,-0.035},1}; - }; - - class VALM_2_30: VALM_1_30 { - align = "right"; - pos[] = {"LevelM30",{0.22,-0.085},1}; - right[] = {"LevelM30",{0.27,-0.085},1}; - down[] = {"LevelM30",{0.22,-0.035},1}; - }; - - class LevelP30: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP30",{-0.2,0.03},1}, - {"LevelP30",{-0.2,0},1}, - {"LevelP30",{-0.05,0},1},{}, - {"LevelP30",{0.05,0},1}, - {"LevelP30",{0.2,0},1}, - {"LevelP30",{0.2,0.03},1} - }; - }; - - class VALP_1_30 { - type = "text"; - source = "static"; - text = "30"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP30",{-0.22,0.035},1}; - right[] = {"LevelP30",{-0.17,0.035},1}; - down[] = {"LevelP30",{-0.22,0.085},1}; - }; - - class VALP_2_30: VALP_1_30 { - align = "right"; - pos[] = {"LevelP30",{0.22,0.035},1}; - right[] = {"LevelP30",{0.27,0.035},1}; - down[] = {"LevelP30",{0.22,0.085},1}; - }; - - class LevelM40: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM40",{-0.2,-0.03},1}, - {"LevelM40",{-0.2,0},1}, - {"LevelM40",{-0.15,0},1},{}, - {"LevelM40",{-0.1,0},1}, - {"LevelM40",{-0.05,0},1},{}, - {"LevelM40",{0.05,0},1}, - {"LevelM40",{0.1,0},1},{}, - {"LevelM40",{0.15,0},1}, - {"LevelM40",{0.2,0},1}, - {"LevelM40",{0.2,-0.03},1} - }; - }; - - class VALM_1_40 { - type = "text"; - source = "static"; - text = -40; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM40",{-0.22,-0.085},1}; - right[] = {"LevelM40",{-0.17,-0.085},1}; - down[] = {"LevelM40",{-0.22,-0.035},1}; - }; - - class VALM_2_40: VALM_1_40 { - align = "right"; - pos[] = {"LevelM40",{0.22,-0.085},1}; - right[] = {"LevelM40",{0.27,-0.085},1}; - down[] = {"LevelM40",{0.22,-0.035},1}; - }; - - class LevelP40: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP40",{-0.2,0.03},1}, - {"LevelP40",{-0.2,0},1}, - {"LevelP40",{-0.05,0},1},{}, - {"LevelP40",{0.05,0},1}, - {"LevelP40",{0.2,0},1}, - {"LevelP40",{0.2,0.03},1} - }; - }; - - class VALP_1_40 { - type = "text"; - source = "static"; - text = "40"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP40",{-0.22,0.035},1}; - right[] = {"LevelP40",{-0.17,0.035},1}; - down[] = {"LevelP40",{-0.22,0.085},1}; - }; - - class VALP_2_40: VALP_1_40 { - align = "right"; - pos[] = {"LevelP40",{0.22,0.035},1}; - right[] = {"LevelP40",{0.27,0.035},1}; - down[] = {"LevelP40",{0.22,0.085},1}; - }; - - class LevelM50: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM50",{-0.2,-0.03},1}, - {"LevelM50",{-0.2,0},1}, - {"LevelM50",{-0.15,0},1},{}, - {"LevelM50",{-0.1,0},1}, - {"LevelM50",{-0.05,0},1},{}, - {"LevelM50",{0.05,0},1}, - {"LevelM50",{0.1,0},1},{}, - {"LevelM50",{0.15,0},1}, - {"LevelM50",{0.2,0},1}, - {"LevelM50",{0.2,-0.03},1} - }; - }; - - class VALM_1_50 { - type = "text"; - source = "static"; - text = -50; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM50",{-0.22,-0.085},1}; - right[] = {"LevelM50",{-0.17,-0.085},1}; - down[] = {"LevelM50",{-0.22,-0.035},1}; - }; - - class VALM_2_50: VALM_1_50 { - align = "right"; - pos[] = {"LevelM50",{0.22,-0.085},1}; - right[] = {"LevelM50",{0.27,-0.085},1}; - down[] = {"LevelM50",{0.22,-0.035},1}; - }; - - class LevelP50: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP50",{-0.2,0.03},1}, - {"LevelP50",{-0.2,0},1}, - {"LevelP50",{-0.05,0},1},{}, - {"LevelP50",{0.05,0},1}, - {"LevelP50",{0.2,0},1}, - {"LevelP50",{0.2,0.03},1} - }; - }; - - class VALP_1_50 { - type = "text"; - source = "static"; - text = "50"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP50",{-0.22,0.035},1}; - right[] = {"LevelP50",{-0.17,0.035},1}; - down[] = {"LevelP50",{-0.22,0.085},1}; - }; - - class VALP_2_50: VALP_1_50 { - align = "right"; - pos[] = {"LevelP50",{0.22,0.035},1}; - right[] = {"LevelP50",{0.27,0.035},1}; - down[] = {"LevelP50",{0.22,0.085},1}; - }; - }; - }; - - class HorizonBankRot { - type = "line"; - width = 3; - points[] = { - {"HorizonBankRot",{0,0.25},1}, - {"HorizonBankRot",{-0.01,0.23},1}, - {"HorizonBankRot",{0.01,0.23},1}, - {"HorizonBankRot",{0,0.25},1} - }; - }; - - class Static { - clipTL[] = {0,1}; - clipBR[] = {1,0}; - type = "line"; - width = 5; - points[] = { - {{"0.5-0.1","0.9-0.04"},1}, - {{"0.5-0.1","0.9+0.04"},1}, - {{"0.5+0.1","0.9+0.04"},1}, - {{"0.5+0.1","0.9-0.04"},1}, - {{"0.5-0.1","0.9-0.04"},1},{}, - {{"0.5-0.1",0.9},1}, - {{"0.5-0.092",0.9},1},{}, - {{"0.5+0.1",0.9},1}, - {{"0.5+0.092",0.9},1},{}, - {{0.5,"0.9-0.04"},1}, - {{0.5,"0.9-0.032"},1},{}, - {{0.5,"0.9+0.04"},1}, - {{0.5,"0.9+0.032"},1},{} - }; - }; - - class Centerline { - type = "line"; - width = 5; - points[] = { - {{0.5,0.48},1}, - {{0.5,0.45},1},{}, - {{0.5,0.52},1}, - {{0.5,0.55},1},{}, - {{0.48,0.5},1}, - {{0.45,0.5},1},{}, - {{0.52,0.5},1}, - {{0.55,0.5},1}, - {} - }; - }; - - class Gunner { - type = "line"; - width = 6; - points[] = { - {"GunnerAim",{"0.5-0.015","0.9-0.008"},1}, - {"GunnerAim",{"0.5-0.015","0.9+0.008"},1}, - {"GunnerAim",{"0.5+0.015","0.9+0.008"},1}, - {"GunnerAim",{"0.5+0.015","0.9-0.008"},1}, - {"GunnerAim",{"0.5-0.015","0.9-0.008"},1} - }; - }; - - class WeaponName { - type = "text"; - source = "weapon"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.61,0.86},1}; - right[] = {{0.65,0.86},1}; - down[] = {{0.61,0.9},1}; - }; - - class AmmoCount { - type = "text"; - source = "ammo"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.61,0.89},1}; - right[] = {{0.65,0.89},1}; - down[] = {{0.61,0.93},1}; - }; - - class LightsGroup { - type = "group"; - condition = "lights"; - class LightsText { - type = "text"; - source = "static"; - text = "LIGHTS"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.055"},1}; - right[] = {{0.07,"0.53 + 0.055"},1}; - down[] = {{0.03,"0.53 + 0.095"},1}; - }; - }; - - class CollisionLightsGroup { - type = "group"; - condition = "collisionlights"; - class CollisionLightsText { - type = "text"; - source = "static"; - text = "A-COL"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.105"},1}; - right[] = {{0.07,"0.53 + 0.105"},1}; - down[] = {{0.03,"0.53 + 0.145"},1}; - }; - }; - - class GearGroup { - type = "group"; - condition = "ils"; - class GearText { - type = "text"; - source = "static"; - text = "GEAR"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.155"},1}; - right[] = {{0.07,"0.53 + 0.155"},1}; - down[] = {{0.03,"0.53 + 0.195"},1}; - }; - }; - - class ATMissileTOFGroup { - condition = "ATmissile"; - type = "group"; - class TOFtext { - type = "text"; - align = "right"; - source = "static"; - text = "TOF = "; - scale = 1; - pos[] = {{0.61,0.92},1}; - right[] = {{0.65,0.92},1}; - down[] = {{0.61,0.96},1}; - }; - - class TOFnumber { - type = "text"; - source = "targetDist"; - sourcescale = 0.0025; - align = "right"; - scale = 1; - pos[] = {{0.69,0.92},1}; - right[] = {{0.73,0.92},1}; - down[] = {{0.69,0.96},1}; - }; - }; - - class LaserTOFGroup { - condition = "Bomb"; - type = "group"; - class TOFtext { - type = "text"; - align = "right"; - source = "static"; - text = "TOF = "; - scale = 1; - pos[] = {{0.61,0.92},1}; - right[] = {{0.65,0.92},1}; - down[] = {{0.61,0.96},1}; - }; - - class TOFnumber { - type = "text"; - source = "targetDist"; - sourcescale = 0.0025; - align = "right"; - scale = 1; - pos[] = {{0.69,0.92},1}; - right[] = {{0.73,0.92},1}; - down[] = {{0.69,0.96},1}; - }; - }; - - class RocketTOFGroup { - condition = "Rocket"; - type = "group"; - class TOFtext { - type = "text"; - align = "right"; - source = "static"; - text = "TOF = "; - scale = 1; - pos[] = {{0.61,0.92},1}; - right[] = {{0.65,0.92},1}; - down[] = {{0.61,0.96},1}; - }; - - class TOFnumber { - type = "text"; - source = "targetDist"; - sourcescale = 0.0025; - align = "right"; - scale = 1; - pos[] = {{0.69,0.92},1}; - right[] = {{0.73,0.92},1}; - down[] = {{0.69,0.96},1}; - }; - }; - - class RangeNumber { - type = "text"; - source = "targetDist"; - sourceScale = 1; - align = "left"; - scale = 1; - pos[] = {{0.39,0.89},1}; - right[] = {{0.43,0.89},1}; - down[] = {{0.39,0.93},1}; - }; - - class RangeText { - type = "text"; - source = "static"; - text = "RNG"; - align = "left"; - scale = 1; - pos[] = {{0.39,0.86},1}; - right[] = {{0.43,0.86},1}; - down[] = {{0.39,0.9},1}; - }; - - class SpeedNumber { - type = "text"; - align = "right"; - scale = 1; - source = "speed"; - sourceScale = 3.6; - pos[] = {{0.03,0.475},1}; - right[] = {{0.08,0.475},1}; - down[] = {{0.03,0.525},1}; - }; - - class TorqueNumber { - type = "text"; - align = "left"; - scale = 1; - source = "rtdRotorTorque"; - sourceScale = 290; - pos[] = {{0.065,0.175},1}; - right[] = {{0.115,0.175},1}; - down[] = {{0.065,0.225},1}; - }; - - class Torquetext { - type = "text"; - source = "static"; - text = "%"; - align = "right"; - scale = 1; - pos[] = {{0.07,0.175},1}; - right[] = {{0.12,0.175},1}; - down[] = {{0.07,0.225},1}; - }; - - class AltNumber { - type = "text"; - align = "right"; - scale = 1; - source = "altitudeAGL"; - sourceScale = 1; - pos[] = {{0.83,0.475},1}; - right[] = {{0.88,0.475},1}; - down[] = {{0.83,0.525},1}; - }; - - class ASLNumber { - type = "text"; - source = "altitudeASL"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.835,0.18},1}; - right[] = {{0.875,0.18},1}; - down[] = {{0.835,0.22},1}; - }; - - class VspeedScalePosta { - type = "line"; - width = 5; - points[] = { - {{0.98,0.2},1}, - {{1,0.2},1},{}, - {{0.93,0.2},1}, - {{0.95,0.2},1},{}, - {{0.98,0.35},1}, - {{1,0.35},1},{}, - {{0.93,0.35},1}, - {{0.95,0.35},1},{}, - {{0.94,0.38},1}, - {{0.95,0.38},1},{}, - {{0.94,0.41},1}, - {{0.95,0.41},1},{}, - {{0.94,0.44},1}, - {{0.95,0.44},1},{}, - {{0.94,0.47},1}, - {{0.95,0.47},1},{}, - {{0.98,0.5},1}, - {{1,0.5},1},{}, - {{0.93,0.5},1}, - {{0.95,0.5},1},{}, - {{0.94,0.53},1}, - {{0.95,0.53},1},{}, - {{0.94,0.56},1}, - {{0.95,0.56},1},{}, - {{0.94,0.59},1}, - {{0.95,0.59},1},{}, - {{0.94,0.62},1}, - {{0.95,0.62},1},{}, - {{0.98,0.65},1}, - {{1,0.65},1},{}, - {{0.93,0.65},1}, - {{0.95,0.65},1},{}, - {{0.99,0.68},1}, - {{0.98,0.68},1},{}, - {{0.99,0.71},1}, - {{0.98,0.71},1},{}, - {{0.99,0.74},1}, - {{0.98,0.74},1},{}, - {{0.99,0.77},1}, - {{0.98,0.77},1},{}, - {{0.98,0.8},1}, - {{1,0.8},1},{}, - {{0.93,0.8},1}, - {{0.95,0.8},1},{} - }; - }; - - class RadarAltitudeBand { - clipTL[] = {0,0.2}; - clipBR[] = {1,0.8}; - hideValue = 201; - class radarbanda { - type = "line"; - width = 17; - points[] = { - {"RadarAltitudeBone",{0,0},1}, - {"RadarAltitudeBone",{0,0.6},1} - }; - }; - }; - - class VspeedBand { - type = "line"; - width = 3; - points[] = { - {"VspeedBone",{-0.01,0},1}, - {"VspeedBone",{-0.025,-0.015},1}, - {"VspeedBone",{-0.025,0.015},1}, - {"VspeedBone",{-0.01,0},1},{} - }; - }; - - class HeadingNumber: SpeedNumber { - source = "heading"; - sourceScale = 1; - align = "center"; - pos[] = {{0.5,0.01},1}; - right[] = {{0.56,0.01},1}; - down[] = {{0.5,0.06},1}; - }; - - class Center_box { - type = "line"; - width = 3; - points[] = { - {{0.44,0.005},1}, - {{"0.44 + 0.12",0.005},1}, - {{"0.44 + 0.12","0.005 + 0.06"},1}, - {{0.44,"0.005 + 0.06"},1}, - {{0.44,0.005},1} - }; - }; - - class HeadingArrow { - type = "line"; - width = 7; - points[] = {{{"0.5","0.128 + 0.03"},1},{{0.5,0.128},1}}; - }; - - class HeadingScale { - type = "scale"; - horizontal = 1; - source = "heading"; - sourceScale = 1; - width = 5; - top = 0.12; - center = 0.5; - bottom = 0.88; - lineXleft = "0.03 + 0.085"; - lineYright = "0.02 + 0.085"; - lineXleftMajor = "0.04 + 0.085"; - lineYrightMajor = "0.02 + 0.085"; - majorLineEach = 3; - numberEach = 3; - step = 10; - stepSize = "0.05"; - align = "center"; - scale = 1; - pos[] = {0.119,"0.0 + 0.065"}; - right[] = {0.159,"0.0 + 0.065"}; - down[] = {0.119,"0.04 + 0.065"}; - }; - - class Fuel_Text { - type = "text"; - source = "static"; - text = "Fuel"; - align = "right"; - scale = 1; - pos[] = {{0.03,0.9},1}; - right[] = {{0.07,0.9},1}; - down[] = {{0.03,0.94},1}; - }; - - class Fuel_Number { - type = "text"; - source = "fuel"; - sourceScale = 100; - align = "right"; - scale = 1; - pos[] = {{0.1,0.9},1}; - right[] = {{0.14,0.9},1}; - down[] = {{0.1,0.94},1}; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.04,0.04,0.1}; - helmetRight[] = {0.08,0,0}; - helmetDown[] = {0,-0.08,0}; - }; - - class LittleHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.722,0.722}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.75,0.75}; - }; - - class ForwardVec1 { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.25,0.25}; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.253,0.253}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class WeaponAim1 { - type = "vector"; - source = "weapon"; - pos0[] = {0,0}; - pos10[] = {0.253,0.23}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class RadarContact { - type = "fixed"; - pos[] = {0,0}; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class PlaneMovementCrosshair { - type = "line"; - width = 7; - points[] = { - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,0.02},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1},{}, - {"ForwardVec1",1,"Velocity",1,{0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{-0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{0,-0.04},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1} - }; - }; - - class GunCross { - condition = "mgun"; - width = 6; - class Circle { - type = "line"; - width = 6; - points[] = { - {"ForwardVec",1,"WeaponAim",1,{0,-0.05},1}, - {"ForwardVec",1,"WeaponAim",1,{0,-0.015},1},{}, - {"ForwardVec",1,"WeaponAim",1,{0,0.015},1}, - {"ForwardVec",1,"WeaponAim",1,{0,0.05},1},{}, - {"ForwardVec",1,"WeaponAim",1,{-0.05,0},1}, - {"ForwardVec",1,"WeaponAim",1,{-0.015,0},1},{}, - {"ForwardVec",1,"WeaponAim",1,{0.015,0},1}, - {"ForwardVec",1,"WeaponAim",1,{0.05,0},1},{} - }; - }; - }; - - class RocketCross { - condition = "rocket"; - width = 6; - class Circle { - type = "line"; - width = 6; - points[] = { - {"ForwardVec",1,"WeaponAim",1,{-0.05,-0.08},1}, - {"ForwardVec",1,"WeaponAim",1,{0.05,-0.08},1},{}, - {"ForwardVec",1,"WeaponAim",1,{0,-0.08},1}, - {"ForwardVec",1,"WeaponAim",1,{0,0.08},1},{}, - {"ForwardVec",1,"WeaponAim",1,{-0.05,0.08},1}, - {"ForwardVec",1,"WeaponAim",1,{0.05,0.08},1},{} - }; - }; - }; - - class AT_Aim { - condition = "ATmissile"; - width = 2; - class Circle { - type = "line"; - width = 2; - points[] = { - {"ForwardVec",1,"WeaponAim",1,{-0.15,-0.15},1}, - {"ForwardVec",1,"WeaponAim",1,{0.15,-0.15},1}, - {"ForwardVec",1,"WeaponAim",1,{0.15,0.15},1}, - {"ForwardVec",1,"WeaponAim",1,{-0.15,0.15},1}, - {"ForwardVec",1,"WeaponAim",1,{-0.15,-0.15},1} - }; - }; - }; - - class AA_aim { - condition = "AAmissile"; - class Circle { - type = "line"; - width = 2.5; - points[] = { - {"ForwardVec",1,"WeaponAim",1,{"0 / 4","-0.248559 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.0434 / 4","-0.244781 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.0855 / 4","-0.233571 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.125 / 4","-0.215252 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.1607 / 4","-0.190396 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.1915 / 4","-0.159774 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.2165 / 4","-0.12428 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.234925 / 4","-0.0850072 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.2462 / 4","-0.0431499 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.25 / 4","0 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.2462 / 4","0.0431499 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.234925 / 4","0.0850072 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.2165 / 4","0.12428 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.1915 / 4","0.159774 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.1607 / 4","0.190396 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.125 / 4","0.215252 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.0855 / 4","0.233571 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.0434 / 4","0.244781 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0 / 4","0.248559 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.0434 / 4","0.244781 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.0855 / 4","0.233571 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.125 / 4","0.215252 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.1607 / 4","0.190396 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.1915 / 4","0.159774 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.2165 / 4","0.12428 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.234925 / 4","0.0850072 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.2462 / 4","0.0431499 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.25 / 4","0 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.2462 / 4","-0.0431499 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.234925 / 4","-0.0850072 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.2165 / 4","-0.12428 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.1915 / 4","-0.159774 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.1607 / 4","-0.190396 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.125 / 4","-0.215252 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.0855 / 4","-0.233571 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.0434 / 4","-0.244781 / 4"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0 / 4","-0.248559 / 4"},1},{}, - {"ForwardVec",1,"WeaponAim",1,{"0 / 2","-0.248559 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.0434 / 2","-0.244781 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.0855 / 2","-0.233571 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.125 / 2","-0.215252 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.1607 / 2","-0.190396 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.1915 / 2","-0.159774 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.2165 / 2","-0.12428 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.234925 / 2","-0.0850072 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.2462 / 2","-0.0431499 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.25 / 2","0 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.2462 / 2","0.0431499 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.234925 / 2","0.0850072 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.2165 / 2","0.12428 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.1915 / 2","0.159774 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.1607 / 2","0.190396 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.125 / 2","0.215252 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.0855 / 2","0.233571 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0.0434 / 2","0.244781 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0 / 2","0.248559 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.0434 / 2","0.244781 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.0855 / 2","0.233571 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.125 / 2","0.215252 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.1607 / 2","0.190396 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.1915 / 2","0.159774 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.2165 / 2","0.12428 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.234925 / 2","0.0850072 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.2462 / 2","0.0431499 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.25 / 2","0 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.2462 / 2","-0.0431499 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.234925 / 2","-0.0850072 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.2165 / 2","-0.12428 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.1915 / 2","-0.159774 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.1607 / 2","-0.190396 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.125 / 2","-0.215252 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.0855 / 2","-0.233571 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"-0.0434 / 2","-0.244781 / 2"},1}, - {"ForwardVec",1,"WeaponAim",1,{"0 / 2","-0.248559 / 2"},1} - }; - }; - }; - - class TargetACQ { - type = "line"; - width = 2; - points[] = { - {"ForwardVec",1,"target",{0,-0.060},1}, - {"ForwardVec",1,"target",{0,-0.055},1},{}, - {"ForwardVec",1,"target",{0,-0.050},1}, - {"ForwardVec",1,"target",{0,-0.045},1},{}, - {"ForwardVec",1,"target",{0,-0.040},1}, - {"ForwardVec",1,"target",{0,-0.035},1},{}, - {"ForwardVec",1,"target",{0,-0.030},1}, - {"ForwardVec",1,"target",{0,-0.025},1},{}, - {"ForwardVec",1,"target",{0,-0.020},1}, - {"ForwardVec",1,"target",{0,-0.015},1},{}, - {"ForwardVec",1,"target",{0,-0.010},1}, - {"ForwardVec",1,"target",{0,-0.005},1},{}, - {"ForwardVec",1,"target",{0,0},1}, - {"ForwardVec",1,"target",{0,0},1},{}, - {"ForwardVec",1,"target",{0,0.060},1}, - {"ForwardVec",1,"target",{0,0.055},1},{}, - {"ForwardVec",1,"target",{0,0.050},1}, - {"ForwardVec",1,"target",{0,0.045},1},{}, - {"ForwardVec",1,"target",{0,0.040},1}, - {"ForwardVec",1,"target",{0,0.035},1},{}, - {"ForwardVec",1,"target",{0,0.030},1}, - {"ForwardVec",1,"target",{0,0.025},1},{}, - {"ForwardVec",1,"target",{0,0.020},1}, - {"ForwardVec",1,"target",{0,0.015},1},{}, - {"ForwardVec",1,"target",{0,0.010},1}, - {"ForwardVec",1,"target",{0,0.005},1},{}, - {"ForwardVec",1,"target",{-0.060,0},1}, - {"ForwardVec",1,"target",{-0.055,0},1},{}, - {"ForwardVec",1,"target",{-0.050,0},1}, - {"ForwardVec",1,"target",{-0.045,0},1},{}, - {"ForwardVec",1,"target",{-0.040,0},1}, - {"ForwardVec",1,"target",{-0.035,0},1},{}, - {"ForwardVec",1,"target",{-0.030,0},1}, - {"ForwardVec",1,"target",{-0.025,0},1},{}, - {"ForwardVec",1,"target",{-0.020,0},1}, - {"ForwardVec",1,"target",{-0.015,0},1},{}, - {"ForwardVec",1,"target",{-0.010,0},1}, - {"ForwardVec",1,"target",{-0.005,0},1},{}, - {"ForwardVec",1,"target",{0.060,0},1}, - {"ForwardVec",1,"target",{0.055,0},1},{}, - {"ForwardVec",1,"target",{0.050,0},1}, - {"ForwardVec",1,"target",{0.045,0},1},{}, - {"ForwardVec",1,"target",{0.040,0},1}, - {"ForwardVec",1,"target",{0.035,0},1},{}, - {"ForwardVec",1,"target",{0.030,0},1}, - {"ForwardVec",1,"target",{0.025,0},1},{}, - {"ForwardVec",1,"target",{0.020,0},1}, - {"ForwardVec",1,"target",{0.015,0},1},{}, - {"ForwardVec",1,"target",{0.010,0},1}, - {"ForwardVec",1,"target",{0.005,0},1},{} - }; - }; - - class RadarTargets { - type = "radar"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - width = 2.5; - points[] = { - {"ForwardVec",1,"RadarContact",{-0.01,-0.01},1}, - {"ForwardVec",1,"RadarContact",{0.01,-0.01},1}, - {"ForwardVec",1,"RadarContact",{0.01,0.01},1}, - {"ForwardVec",1,"RadarContact",{-0.01,0.01},1}, - {"ForwardVec",1,"RadarContact",{-0.01,-0.01},1} - }; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.035,0.035,0.1}; - helmetRight[] = {0.07,0,0}; - helmetDown[] = {0,-0.07,0}; - }; -}; diff --git a/TO_MERGE/agm/Aircraft/mfd_ghosthawk.hpp b/TO_MERGE/agm/Aircraft/mfd_ghosthawk.hpp deleted file mode 100644 index 29e2c97819..0000000000 --- a/TO_MERGE/agm/Aircraft/mfd_ghosthawk.hpp +++ /dev/null @@ -1,1409 +0,0 @@ - -class MFD { - class AirplaneHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class PlaneOrientation { - type = "fixed"; - pos[] = {0.5,0.54}; - }; - - class GunnerAim { - type = "vector"; - source = "weapon"; - pos0[] = {0,0}; - pos10[] = {0.011,0.0027}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.65,0.65}; - }; - - class VspeedBone { - type = "linear"; - source = "vspeed"; - sourceScale = 1; - min = -10; - max = 10; - minPos[] = {0.93,0.2}; - maxPos[] = {0.93,0.8}; - }; - - class RadarAltitudeBone { - type = "linear"; - source = "altitudeAGL"; - sourceScale = 1; - min = 0; - max = 60; - minPos[] = {0.965,0.2}; - maxPos[] = {0.965,0.8}; - }; - - class HorizonBankRot { - type = "rotational"; - source = "horizonBank"; - center[] = {0.5,0.5}; - min = -3.1416; - max = 3.1416; - minAngle = -180; - maxAngle = 180; - aspectRatio = 1; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.25,0.25}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.75,0.75}; - }; - - class Level0 { - type = "horizon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.78,0.78}; - angle = 0; - }; - - class LevelP5: Level0 { - angle = 5; - }; - - class LevelM5: Level0 { - angle = -5; - }; - - class LevelP10: Level0 { - angle = 10; - }; - - class LevelM10: Level0 { - angle = -10; - }; - - class LevelP15: Level0 { - angle = 15; - }; - - class LevelM15: Level0 { - angle = -15; - }; - - class LevelP20: Level0 { - angle = 20; - }; - - class LevelM20: Level0 { - angle = -20; - }; - - class LevelP25: Level0 { - angle = 25; - }; - - class LevelM25: Level0 { - angle = -25; - }; - - class LevelP30: Level0 { - angle = 30; - }; - - class LevelM30: Level0 { - angle = -30; - }; - - class LevelP35: Level0 { - angle = 35; - }; - - class LevelM35: Level0 { - angle = -35; - }; - - class LevelP40: Level0 { - angle = 40; - }; - - class LevelM40: Level0 { - angle = -40; - }; - - class LevelP45: Level0 { - angle = 45; - }; - - class LevelM45: Level0 { - angle = -45; - }; - - class LevelP50: Level0 { - angle = 50; - }; - - class LevelM50: Level0 { - angle = -50; - }; - - class LevelP55: Level0 { - angle = 55; - }; - - class LevelM55: Level0 { - angle = -55; - }; - - class LevelP60: Level0 { - angle = 60; - }; - - class LevelM60: Level0 { - angle = -60; - }; - - class LevelP65: Level0 { - angle = 65; - }; - - class LevelM65: Level0 { - angle = -65; - }; - - class LevelP70: Level0 { - angle = 70; - }; - - class LevelM70: Level0 { - angle = -70; - }; - - class LevelP75: Level0 { - angle = 75; - }; - - class LevelM75: Level0 { - angle = -75; - }; - - class LevelP80: Level0 { - angle = 80; - }; - - class LevelM80: Level0 { - angle = -80; - }; - - class LevelP85: Level0 { - angle = 85; - }; - - class LevelM85: Level0 { - angle = -85; - }; - - class LevelP90: Level0 { - angle = 90; - }; - - class LevelM90: Level0 { - angle = -90; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class Horizont { - clipTL[] = {0.15,0.15}; - clipBR[] = {0.85,0.85}; - class Dimmed { - class Level0 { - type = "line"; - points[] = { - {"Level0",{-0.42,0},1}, - {"Level0",{-0.08,0},1},{}, - {"Level0",{0.42,0},1}, - {"Level0",{0.08,0},1},{} - }; - }; - - /*class VALM_1_0 { - type = "text"; - source = "static"; - text = 0; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"Level0",{-0.23,-0.025},1}; - right[] = {"Level0",{-0.13,-0.025},1}; - down[] = {"Level0",{-0.23,0.025},1}; - }; - - class VALM_2_0: VALM_1_0 { - align = "right"; - pos[] = {"Level0",{0.22,-0.025},1}; - right[] = {"Level0",{0.31999999,-0.025},1}; - down[] = {"Level0",{0.22,0.025},1}; - }; - - class LevelM5: Level0 { - type = "line"; - width = 3.0; - points[] = { - {"LevelM5",{-0.2,-0.029999999},1}, - {"LevelM5",{-0.2,0},1}, - {"LevelM5",{-0.15000001,0},1},{}, - {"LevelM5",{-0.1,0},1}, - {"LevelM5",{-0.050000001,0},1},{}, - {"LevelM5",{0.050000001,0},1}, - {"LevelM5",{0.1,0},1},{}, - {"LevelM5",{0.15000001,0},1}, - {"LevelM5",{0.2,0},1}, - {"LevelM5",{0.2,-0.029999999},1} - }; - }; - - class VALM_1_5 { - type = "text"; - source = "static"; - text = -5; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM5",{-0.22,-0.085000001},1}; - right[] = {"LevelM5",{-0.17,-0.085000001},1}; - down[] = {"LevelM5",{-0.22,-0.035},1}; - }; - - class VALM_2_5: VALM_1_5 { - align = "right"; - pos[] = {"LevelM5",{0.22,-0.085000001},1}; - right[] = {"LevelM5",{0.27,-0.085000001},1}; - down[] = {"LevelM5",{0.22,-0.035},1}; - }; - - class LevelP5: Level0 { - type = "line"; - width = 3.0; - points[] = { - {"LevelP5",{-0.2,0.029999999},1}, - {"LevelP5",{-0.2,0},1}, - {"LevelP5",{-0.050000001,0},1},{}, - {"LevelP5",{0.050000001,0},1}, - {"LevelP5",{0.2,0},1}, - {"LevelP5",{0.2,0.029999999},1} - }; - }; - - class VALP_1_5 { - type = "text"; - source = "static"; - text = "5"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP5",{-0.22,0.035},1}; - right[] = {"LevelP5",{-0.17,0.035},1}; - down[] = {"LevelP5",{-0.22,0.085000001},1}; - }; - - class VALP_2_5: VALP_1_5 { - align = "right"; - pos[] = {"LevelP5",{0.22,0.035},1}; - right[] = {"LevelP5",{0.27,0.035},1}; - down[] = {"LevelP5",{0.22,0.085000001},1}; - };*/ - - class LevelM10: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM10",{-0.2,-0.03},1}, - {"LevelM10",{-0.2,0},1}, - {"LevelM10",{-0.15,0},1},{}, - {"LevelM10",{-0.1,0},1}, - {"LevelM10",{-0.05,0},1},{}, - {"LevelM10",{0.05,0},1}, - {"LevelM10",{0.1,0},1},{}, - {"LevelM10",{0.15,0},1}, - {"LevelM10",{0.2,0},1}, - {"LevelM10",{0.2,-0.03},1} - }; - }; - - class VALM_1_10 { - type = "text"; - source = "static"; - text = -10; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM10",{-0.22,-0.085},1}; - right[] = {"LevelM10",{-0.17,-0.085},1}; - down[] = {"LevelM10",{-0.22,-0.035},1}; - }; - - class VALM_2_10: VALM_1_10 { - align = "right"; - pos[] = {"LevelM10",{0.22,-0.085},1}; - right[] = {"LevelM10",{0.27,-0.085},1}; - down[] = {"LevelM10",{0.22,-0.035},1}; - }; - - class LevelP10: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP10",{-0.2,0.03},1}, - {"LevelP10",{-0.2,0},1}, - {"LevelP10",{-0.05,0},1},{}, - {"LevelP10",{0.05,0},1}, - {"LevelP10",{0.2,0},1}, - {"LevelP10",{0.2,0.03},1} - }; - }; - - class VALP_1_10 { - type = "text"; - source = "static"; - text = "10"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP10",{-0.22,0.035},1}; - right[] = {"LevelP10",{-0.17,0.035},1}; - down[] = {"LevelP10",{-0.22,0.085},1}; - }; - - class VALP_2_10: VALP_1_10 { - align = "right"; - pos[] = {"LevelP10",{0.22,0.035},1}; - right[] = {"LevelP10",{0.27,0.035},1}; - down[] = {"LevelP10",{0.22,0.085},1}; - }; - - /*class LevelM15: Level0 { - type = "line"; - width = 3.0; - points[] = { - {"LevelM15",{-0.2,-0.029999999},1}, - {"LevelM15",{-0.2,0},1}, - {"LevelM15",{-0.15000001,0},1},{}, - {"LevelM15",{-0.1,0},1}, - {"LevelM15",{-0.050000001,0},1},{}, - {"LevelM15",{0.050000001,0},1}, - {"LevelM15",{0.1,0},1},{}, - {"LevelM15",{0.15000001,0},1}, - {"LevelM15",{0.2,0},1}, - {"LevelM15",{0.2,-0.029999999},1} - }; - }; - - class VALM_1_15 { - type = "text"; - source = "static"; - text = -15; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM15",{-0.22,-0.085000001},1}; - right[] = {"LevelM15",{-0.17,-0.085000001},1}; - down[] = {"LevelM15",{-0.22,-0.035},1}; - }; - - class VALM_2_15: VALM_1_15 { - align = "right"; - pos[] = {"LevelM15",{0.22,-0.085000001},1}; - right[] = {"LevelM15",{0.27,-0.085000001},1}; - down[] = {"LevelM15",{0.22,-0.035},1}; - }; - - class LevelP15: Level0 { - type = "line"; - width = 3.0; - points[] = { - {"LevelP15",{-0.2,0.029999999},1}, - {"LevelP15",{-0.2,0},1}, - {"LevelP15",{-0.050000001,0},1},{}, - {"LevelP15",{0.050000001,0},1}, - {"LevelP15",{0.2,0},1}, - {"LevelP15",{0.2,0.029999999},1} - }; - }; - - class VALP_1_15 { - type = "text"; - source = "static"; - text = "15"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP15",{-0.22,0.035},1}; - right[] = {"LevelP15",{-0.17,0.035},1}; - down[] = {"LevelP15",{-0.22,0.085000001},1}; - }; - - class VALP_2_15: VALP_1_15 { - align = "right"; - pos[] = {"LevelP15",{0.22,0.035},1}; - right[] = {"LevelP15",{0.27,0.035},1}; - down[] = {"LevelP15",{0.22,0.085000001},1}; - };*/ - - class LevelM20: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM20",{-0.2,-0.03},1}, - {"LevelM20",{-0.2,0},1}, - {"LevelM20",{-0.15,0},1},{}, - {"LevelM20",{-0.1,0},1}, - {"LevelM20",{-0.05,0},1},{}, - {"LevelM20",{0.05,0},1}, - {"LevelM20",{0.1,0},1},{}, - {"LevelM20",{0.15,0},1}, - {"LevelM20",{0.2,0},1}, - {"LevelM20",{0.2,-0.03},1} - }; - }; - - class VALM_1_20 { - type = "text"; - source = "static"; - text = -20; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM20",{-0.22,-0.085},1}; - right[] = {"LevelM20",{-0.17,-0.085},1}; - down[] = {"LevelM20",{-0.22,-0.035},1}; - }; - - class VALM_2_20: VALM_1_20 { - align = "right"; - pos[] = {"LevelM20",{0.22,-0.085},1}; - right[] = {"LevelM20",{0.27,-0.085},1}; - down[] = {"LevelM20",{0.22,-0.035},1}; - }; - - class LevelP20: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP20",{-0.2,0.03},1}, - {"LevelP20",{-0.2,0},1}, - {"LevelP20",{-0.05,0},1},{}, - {"LevelP20",{0.05,0},1}, - {"LevelP20",{0.2,0},1}, - {"LevelP20",{0.2,0.03},1} - }; - }; - - class VALP_1_20 { - type = "text"; - source = "static"; - text = "20"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP20",{-0.22,0.035},1}; - right[] = {"LevelP20",{-0.17,0.035},1}; - down[] = {"LevelP20",{-0.22,0.085},1}; - }; - - class VALP_2_20: VALP_1_20 { - align = "right"; - pos[] = {"LevelP20",{0.22,0.035},1}; - right[] = {"LevelP20",{0.27,0.035},1}; - down[] = {"LevelP20",{0.22,0.085},1}; - }; - - /*class LevelM25: Level0 { - type = "line"; - width = 3.0; - points[] = { - {"LevelM25",{-0.2,-0.029999999},1}, - {"LevelM25",{-0.2,0},1}, - {"LevelM25",{-0.15000001,0},1},{}, - {"LevelM25",{-0.1,0},1}, - {"LevelM25",{-0.050000001,0},1},{}, - {"LevelM25",{0.050000001,0},1}, - {"LevelM25",{0.1,0},1},{}, - {"LevelM25",{0.15000001,0},1}, - {"LevelM25",{0.2,0},1}, - {"LevelM25",{0.2,-0.029999999},1} - }; - }; - - class VALM_1_25 { - type = "text"; - source = "static"; - text = -25; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM25",{-0.22,-0.085000001},1}; - right[] = {"LevelM25",{-0.17,-0.085000001},1}; - down[] = {"LevelM25",{-0.22,-0.035},1}; - }; - - class VALM_2_25: VALM_1_25 { - align = "right"; - pos[] = {"LevelM25",{0.22,-0.085000001},1}; - right[] = {"LevelM25",{0.27,-0.085000001},1}; - down[] = {"LevelM25",{0.22,-0.035},1}; - }; - - class LevelP25: Level0 { - type = "line"; - width = 3.0; - points[] = { - {"LevelP25",{-0.2,0.029999999},1}, - {"LevelP25",{-0.2,0},1}, - {"LevelP25",{-0.050000001,0},1},{}, - {"LevelP25",{0.050000001,0},1}, - {"LevelP25",{0.2,0},1}, - {"LevelP25",{0.2,0.029999999},1} - }; - }; - - class VALP_1_25 { - type = "text"; - source = "static"; - text = "25"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP25",{-0.22,0.035},1}; - right[] = {"LevelP25",{-0.17,0.035},1}; - down[] = {"LevelP25",{-0.22,0.085000001},1}; - }; - - class VALP_2_25: VALP_1_25 { - align = "right"; - pos[] = {"LevelP25",{0.22,0.035},1}; - right[] = {"LevelP25",{0.27,0.035},1}; - down[] = {"LevelP25",{0.22,0.085000001},1}; - };*/ - - class LevelM30: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM30",{-0.2,-0.03},1}, - {"LevelM30",{-0.2,0},1}, - {"LevelM30",{-0.15,0},1},{}, - {"LevelM30",{-0.1,0},1}, - {"LevelM30",{-0.05,0},1},{}, - {"LevelM30",{0.05,0},1}, - {"LevelM30",{0.1,0},1},{}, - {"LevelM30",{0.15,0},1}, - {"LevelM30",{0.2,0},1}, - {"LevelM30",{0.2,-0.03},1} - }; - }; - - class VALM_1_30 { - type = "text"; - source = "static"; - text = -30; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM30",{-0.22,-0.085},1}; - right[] = {"LevelM30",{-0.17,-0.085},1}; - down[] = {"LevelM30",{-0.22,-0.035},1}; - }; - - class VALM_2_30: VALM_1_30 { - align = "right"; - pos[] = {"LevelM30",{0.22,-0.085},1}; - right[] = {"LevelM30",{0.27,-0.085},1}; - down[] = {"LevelM30",{0.22,-0.035},1}; - }; - - class LevelP30: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP30",{-0.2,0.03},1}, - {"LevelP30",{-0.2,0},1}, - {"LevelP30",{-0.05,0},1},{}, - {"LevelP30",{0.05,0},1}, - {"LevelP30",{0.2,0},1}, - {"LevelP30",{0.2,0.03},1} - }; - }; - - class VALP_1_30 { - type = "text"; - source = "static"; - text = "30"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP30",{-0.22,0.035},1}; - right[] = {"LevelP30",{-0.17,0.035},1}; - down[] = {"LevelP30",{-0.22,0.085},1}; - }; - - class VALP_2_30: VALP_1_30 { - align = "right"; - pos[] = {"LevelP30",{0.22,0.035},1}; - right[] = {"LevelP30",{0.27,0.035},1}; - down[] = {"LevelP30",{0.22,0.085},1}; - }; - - /*class LevelM35: Level0 { - type = "line"; - width = 3.0; - points[] = { - {"LevelM35",{-0.2,-0.029999999},1}, - {"LevelM35",{-0.2,0},1}, - {"LevelM35",{-0.15000001,0},1},{}, - {"LevelM35",{-0.1,0},1}, - {"LevelM35",{-0.050000001,0},1},{}, - {"LevelM35",{0.050000001,0},1}, - {"LevelM35",{0.1,0},1},{}, - {"LevelM35",{0.15000001,0},1}, - {"LevelM35",{0.2,0},1}, - {"LevelM35",{0.2,-0.029999999},1} - }; - }; - - class VALM_1_35 { - type = "text"; - source = "static"; - text = -35; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM35",{-0.22,-0.085000001},1}; - right[] = {"LevelM35",{-0.17,-0.085000001},1}; - down[] = {"LevelM35",{-0.22,-0.035},1}; - }; - - class VALM_2_35: VALM_1_35 { - align = "right"; - pos[] = {"LevelM35",{0.22,-0.085000001},1}; - right[] = {"LevelM35",{0.27,-0.085000001},1}; - down[] = {"LevelM35",{0.22,-0.035},1}; - }; - - class LevelP35: Level0 { - type = "line"; - width = 3.0; - points[] = { - {"LevelP35",{-0.2,0.029999999},1}, - {"LevelP35",{-0.2,0},1}, - {"LevelP35",{-0.050000001,0},1},{}, - {"LevelP35",{0.050000001,0},1}, - {"LevelP35",{0.2,0},1}, - {"LevelP35",{0.2,0.029999999},1} - }; - }; - - class VALP_1_35 { - type = "text"; - source = "static"; - text = "35"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP35",{-0.22,0.035},1}; - right[] = {"LevelP35",{-0.17,0.035},1}; - down[] = {"LevelP35",{-0.22,0.085000001},1}; - }; - - class VALP_2_35: VALP_1_35 { - align = "right"; - pos[] = {"LevelP35",{0.22,0.035},1}; - right[] = {"LevelP35",{0.27,0.035},1}; - down[] = {"LevelP35",{0.22,0.085000001},1}; - };*/ - - class LevelM40: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM40",{-0.2,-0.03},1}, - {"LevelM40",{-0.2,0},1}, - {"LevelM40",{-0.15,0},1},{}, - {"LevelM40",{-0.1,0},1}, - {"LevelM40",{-0.05,0},1},{}, - {"LevelM40",{0.05,0},1}, - {"LevelM40",{0.1,0},1},{}, - {"LevelM40",{0.15,0},1}, - {"LevelM40",{0.2,0},1}, - {"LevelM40",{0.2,-0.03},1} - }; - }; - - class VALM_1_40 { - type = "text"; - source = "static"; - text = -40; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM40",{-0.22,-0.085},1}; - right[] = {"LevelM40",{-0.17,-0.085},1}; - down[] = {"LevelM40",{-0.22,-0.035},1}; - }; - - class VALM_2_40: VALM_1_40 { - align = "right"; - pos[] = {"LevelM40",{0.22,-0.085},1}; - right[] = {"LevelM40",{0.27,-0.085},1}; - down[] = {"LevelM40",{0.22,-0.035},1}; - }; - - class LevelP40: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP40",{-0.2,0.03},1}, - {"LevelP40",{-0.2,0},1}, - {"LevelP40",{-0.05,0},1},{}, - {"LevelP40",{0.05,0},1}, - {"LevelP40",{0.2,0},1}, - {"LevelP40",{0.2,0.03},1} - }; - }; - - class VALP_1_40 { - type = "text"; - source = "static"; - text = "40"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP40",{-0.22,0.035},1}; - right[] = {"LevelP40",{-0.17,0.035},1}; - down[] = {"LevelP40",{-0.22,0.085},1}; - }; - - class VALP_2_40: VALP_1_40 { - align = "right"; - pos[] = {"LevelP40",{0.22,0.035},1}; - right[] = {"LevelP40",{0.27,0.035},1}; - down[] = {"LevelP40",{0.22,0.085},1}; - }; - - /*class LevelM45: Level0 { - type = "line"; - width = 3.0; - points[] = { - {"LevelM45",{-0.2,-0.029999999},1}, - {"LevelM45",{-0.2,0},1}, - {"LevelM45",{-0.15000001,0},1},{}, - {"LevelM45",{-0.1,0},1}, - {"LevelM45",{-0.050000001,0},1},{}, - {"LevelM45",{0.050000001,0},1}, - {"LevelM45",{0.1,0},1},{}, - {"LevelM45",{0.15000001,0},1}, - {"LevelM45",{0.2,0},1}, - {"LevelM45",{0.2,-0.029999999},1} - }; - }; - - class VALM_1_45 { - type = "text"; - source = "static"; - text = -45; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM45",{-0.22,-0.085000001},1}; - right[] = {"LevelM45",{-0.17,-0.085000001},1}; - down[] = {"LevelM45",{-0.22,-0.035},1}; - }; - - class VALM_2_45: VALM_1_45 { - align = "right"; - pos[] = {"LevelM45",{0.22,-0.085000001},1}; - right[] = {"LevelM45",{0.27,-0.085000001},1}; - down[] = {"LevelM45",{0.22,-0.035},1}; - }; - - class LevelP45: Level0 { - type = "line"; - width = 3.0; - points[] = { - {"LevelP45",{-0.2,0.029999999},1}, - {"LevelP45",{-0.2,0},1}, - {"LevelP45",{-0.050000001,0},1},{}, - {"LevelP45",{0.050000001,0},1}, - {"LevelP45",{0.2,0},1}, - {"LevelP45",{0.2,0.029999999},1} - }; - }; - - class VALP_1_45 { - type = "text"; - source = "static"; - text = "45"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP45",{-0.22,0.035},1}; - right[] = {"LevelP45",{-0.17,0.035},1}; - down[] = {"LevelP45",{-0.22,0.085000001},1}; - }; - - class VALP_2_45: VALP_1_45 { - align = "right"; - pos[] = {"LevelP45",{0.22,0.035},1}; - right[] = {"LevelP45",{0.27,0.035},1}; - down[] = {"LevelP45",{0.22,0.085000001},1}; - };*/ - - class LevelM50: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM50",{-0.2,-0.03},1}, - {"LevelM50",{-0.2,0},1}, - {"LevelM50",{-0.15,0},1},{}, - {"LevelM50",{-0.1,0},1}, - {"LevelM50",{-0.05,0},1},{}, - {"LevelM50",{0.05,0},1}, - {"LevelM50",{0.1,0},1},{}, - {"LevelM50",{0.15,0},1}, - {"LevelM50",{0.2,0},1}, - {"LevelM50",{0.2,-0.03},1} - }; - }; - - class VALM_1_50 { - type = "text"; - source = "static"; - text = -50; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM50",{-0.22,-0.085},1}; - right[] = {"LevelM50",{-0.17,-0.085},1}; - down[] = {"LevelM50",{-0.22,-0.035},1}; - }; - - class VALM_2_50: VALM_1_50 { - align = "right"; - pos[] = {"LevelM50",{0.22,-0.085},1}; - right[] = {"LevelM50",{0.27,-0.085},1}; - down[] = {"LevelM50",{0.22,-0.035},1}; - }; - - class LevelP50: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP50",{-0.2,0.03},1}, - {"LevelP50",{-0.2,0},1}, - {"LevelP50",{-0.05,0},1},{}, - {"LevelP50",{0.05,0},1}, - {"LevelP50",{0.2,0},1}, - {"LevelP50",{0.2,0.03},1} - }; - }; - - class VALP_1_50 { - type = "text"; - source = "static"; - text = "50"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP50",{-0.22,0.035},1}; - right[] = {"LevelP50",{-0.17,0.035},1}; - down[] = {"LevelP50",{-0.22,0.085},1}; - }; - - class VALP_2_50: VALP_1_50 { - align = "right"; - pos[] = {"LevelP50",{0.22,0.035},1}; - right[] = {"LevelP50",{0.27,0.035},1}; - down[] = {"LevelP50",{0.22,0.085},1}; - }; - }; - }; - - class StaticBank { - type = "line"; - width = 3; - points[] = { - {{0.4782,0.251},1}, - {{0.4773,0.241},1},{}, - {{0.4566,0.2538},1}, - {{0.4549,0.2439},1},{}, - {{0.4353,0.2585},1}, - {{0.4301,0.2392},1},{}, - {{0.4145,0.2651},1}, - {{0.4111,0.2557},1},{}, - {{0.3943,0.2734},1}, - {{0.3901,0.2644},1},{}, - {{0.375,0.2835},1}, - {{0.365,0.2662},1},{}, - {{0.3232,0.3232},1}, - {{0.3091,0.3091},1},{}, - {{0.2835,0.375},1}, - {{0.2662,0.365},1},{}, - {{"0.5 + (0.5- 0.4782)",0.251},1}, - {{"0.5 + (0.5- 0.4773)",0.241},1},{}, - {{"0.5 + (0.5- 0.4566)",0.2538},1}, - {{"0.5 + (0.5- 0.4549)",0.2439},1},{}, - {{"0.5 + (0.5- 0.4353)",0.2585},1}, - {{"0.5 + (0.5- 0.4301)",0.2392},1},{}, - {{"0.5 + (0.5- 0.4145)",0.2651},1}, - {{"0.5 + (0.5- 0.4111)",0.2557},1},{}, - {{"0.5 + (0.5- 0.3943)",0.2734},1}, - {{"0.5 + (0.5- 0.3901)",0.2644},1},{}, - {{"0.5 + (0.5- 0.3750)",0.2835},1}, - {{"0.5 + (0.5- 0.3650)",0.2662},1},{}, - {{"0.5 + (0.5- 0.3232)",0.3232},1}, - {{"0.5 + (0.5- 0.3091)",0.3091},1},{}, - {{"0.5 + (0.5- 0.2835)",0.375},1}, - {{"0.5 + (0.5- 0.2662)",0.365},1},{}, - {{0.5,"0.5 - 0.25"},1}, - {{0.5,"0.5 - 0.28"},1} - }; - }; - - class HorizonBankRot { - type = "line"; - width = 3; - points[] = { - {"HorizonBankRot",{0,0.25},1}, - {"HorizonBankRot",{-0.01,0.23},1}, - {"HorizonBankRot",{0.01,0.23},1}, - {"HorizonBankRot",{0,0.25},1} - }; - }; - - class Centerline { - type = "line"; - width = 7; - points[] = { - {{0.45,0.5},1}, - {{0.48,0.5},1}, - {{0.49,0.525},1}, - {{0.5,0.5},1}, - {{0.51,0.525},1}, - {{0.52,0.5},1}, - {{0.55,0.5},1} - }; - }; - - /*class WeaponName { - type = "text"; - source = "weapon"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.03,0.86},1}; - right[] = {{0.07,0.86},1}; - down[] = {{0.03,0.90},1}; - }; - - class AmmoCount { - type = "text"; - source = "ammo"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.03,0.89},1}; - right[] = {{0.07,0.89},1}; - down[] = {{0.03,0.93},1}; - };*/ - - class LightsGroup { - type = "group"; - condition = "lights"; - class LightsText { - type = "text"; - source = "static"; - text = "LIGHTS"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.055"},1}; - right[] = {{0.07,"0.53 + 0.055"},1}; - down[] = {{0.03,"0.53 + 0.095"},1}; - }; - }; - - class CollisionLightsGroup { - type = "group"; - condition = "collisionlights"; - class CollisionLightsText { - type = "text"; - source = "static"; - text = "A-COL"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.105"},1}; - right[] = {{0.07,"0.53 + 0.105"},1}; - down[] = {{0.03,"0.53 + 0.145"},1}; - }; - }; - - class GearGroup { - type = "group"; - condition = "ils"; - class GearText { - type = "text"; - source = "static"; - text = "GEAR"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.155"},1}; - right[] = {{0.07,"0.53 + 0.155"},1}; - down[] = {{0.03,"0.53 + 0.195"},1}; - }; - }; - - class SpeedNumber { - type = "text"; - align = "right"; - scale = 1; - source = "speed"; - sourceScale = 3.6; - pos[] = {{0.03,0.475},1}; - right[] = {{0.08,0.475},1}; - down[] = {{0.03,0.525},1}; - }; - - class TorqueNumber { - type = "text"; - align = "left"; - scale = 1; - source = "rtdRotorTorque"; - sourceScale = 318; - pos[] = {{0.065,0.175},1}; - right[] = {{0.115,0.175},1}; - down[] = {{0.065,0.225},1}; - }; - - class Torquetext { - type = "text"; - source = "static"; - text = "%"; - align = "right"; - scale = 1; - pos[] = {{0.07,0.175},1}; - right[] = {{0.12,0.175},1}; - down[] = {{0.07,0.225},1}; - }; - - class AltNumber { - type = "text"; - align = "right"; - scale = 1; - source = "altitudeAGL"; - sourceScale = 1; - pos[] = {{0.83,0.475},1}; - right[] = {{0.88,0.475},1}; - down[] = {{0.83,0.525},1}; - }; - - class ASLNumber { - type = "text"; - source = "altitudeASL"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.835,0.18},1}; - right[] = {{0.875,0.18},1}; - down[] = {{0.835,0.22},1}; - }; - - class VspeedScalePosta { - type = "line"; - width = 5; - points[] = { - {{0.98,0.2},1}, - {{1,0.2},1},{}, - {{0.93,0.2},1}, - {{0.95,0.2},1},{}, - {{0.98,0.35},1}, - {{1,0.35},1},{}, - {{0.93,0.35},1}, - {{0.95,0.35},1},{}, - {{0.94,0.38},1}, - {{0.95,0.38},1},{}, - {{0.94,0.41},1}, - {{0.95,0.41},1},{}, - {{0.94,0.44},1}, - {{0.95,0.44},1},{}, - {{0.94,0.47},1}, - {{0.95,0.47},1},{}, - {{0.98,0.5},1}, - {{1,0.5},1},{}, - {{0.93,0.5},1}, - {{0.95,0.5},1},{}, - {{0.94,0.53},1}, - {{0.95,0.53},1},{}, - {{0.94,0.56},1}, - {{0.95,0.56},1},{}, - {{0.94,0.59},1}, - {{0.95,0.59},1},{}, - {{0.94,0.62},1}, - {{0.95,0.62},1},{}, - {{0.98,0.65},1}, - {{1,0.65},1},{}, - {{0.93,0.65},1}, - {{0.95,0.65},1},{}, - {{0.99,0.68},1}, - {{0.98,0.68},1},{}, - {{0.99,0.71},1}, - {{0.98,0.71},1},{}, - {{0.99,0.74},1}, - {{0.98,0.74},1},{}, - {{0.99,0.77},1}, - {{0.98,0.77},1},{}, - {{0.98,0.8},1}, - {{1,0.8},1},{}, - {{0.93,0.8},1}, - {{0.95,0.8},1},{} - }; - }; - - class RadarAltitudeBand { - clipTL[] = {0,0.2}; - clipBR[] = {1,0.8}; - class radarbanda { - type = "line"; - width = 17; - points[] = { - {"RadarAltitudeBone",{0,0},1}, - {"RadarAltitudeBone",{0,0.6},1} - }; - }; - }; - - class VspeedBand { - type = "line"; - width = 3; - points[] = { - {"VspeedBone",{-0.01,0},1}, - {"VspeedBone",{-0.025,-0.015},1}, - {"VspeedBone",{-0.025,0.015},1}, - {"VspeedBone",{-0.01,0},1},{} - }; - }; - - class HeadingNumber: SpeedNumber { - source = "heading"; - sourceScale = 1; - align = "center"; - pos[] = {{0.5,0.01},1}; - right[] = {{0.56,0.01},1}; - down[] = {{0.5,0.06},1}; - }; - - class Center_box { - type = "line"; - width = 3; - points[] = { - {{0.44,0.005},1}, - {{"0.44 + 0.12",0.005},1}, - {{"0.44 + 0.12","0.005 + 0.06"},1}, - {{0.44,"0.005 + 0.06"},1}, - {{0.44,0.005},1} - }; - }; - - class HeadingArrow { - type = "line"; - width = 7; - points[] = { - {{"0.5","0.128 + 0.03"},1}, - {{0.5,0.128},1} - }; - }; - - class HeadingScale { - type = "scale"; - horizontal = 1; - source = "heading"; - sourceScale = 1; - width = 5; - top = 0.12; - center = 0.5; - bottom = 0.88; - lineXleft = "0.03 + 0.085"; - lineYright = "0.02 + 0.085"; - lineXleftMajor = "0.04 + 0.085"; - lineYrightMajor = "0.02 + 0.085"; - majorLineEach = 3; - numberEach = 3; - step = 10; - stepSize = "0.05"; - align = "center"; - scale = 1; - pos[] = {0.119,"0.0 + 0.065"}; - right[] = {0.159,"0.0 + 0.065"}; - down[] = {0.119,"0.04 + 0.065"}; - }; - - class Fuel_Text { - type = "text"; - source = "static"; - text = "Fuel"; - align = "right"; - scale = 1; - pos[] = {{0.85,0.86},1}; - right[] = {{0.89,0.86},1}; - down[] = {{0.85,0.9},1}; - }; - - class Fuel_Number { - type = "text"; - source = "fuel"; - sourceScale = 100; - align = "right"; - scale = 1; - pos[] = {{0.92,0.86},1}; - right[] = {{0.96,0.86},1}; - down[] = {{0.92,0.9},1}; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.04,0.04,0.1}; - helmetRight[] = {0.08,0,0}; - helmetDown[] = {0,-0.08,0}; - }; - - class LittleHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.722,0.722}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.75,0.75}; - }; - - class ForwardVec1 { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.25,0.25}; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.253,0.253}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class WeaponAim1 { - type = "vector"; - source = "weapon"; - pos0[] = {0,0}; - pos10[] = {0.253,0.23}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class RadarContact { - type = "fixed"; - pos[] = {0,0}; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class PlaneMovementCrosshair { - type = "line"; - width = 7; - points[] = { - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,0.02},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1},{}, - {"ForwardVec1",1,"Velocity",1,{0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{-0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{0,-0.04},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1} - }; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.035,0.035,0.1}; - helmetRight[] = {0.07,0,0}; - helmetDown[] = {0,-0.07,0}; - }; -}; diff --git a/TO_MERGE/agm/Aircraft/mfd_littlebird.hpp b/TO_MERGE/agm/Aircraft/mfd_littlebird.hpp deleted file mode 100644 index 57970e3108..0000000000 --- a/TO_MERGE/agm/Aircraft/mfd_littlebird.hpp +++ /dev/null @@ -1,565 +0,0 @@ - -class MFD { - class AirplaneHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class PlaneOrientation { - type = "fixed"; - pos[] = {0.5,0.5}; - }; - - class Target: Pos10Vector { - source = "target"; - }; - - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.65,0.65}; - }; - - class VspeedBone { - type = "linear"; - source = "vspeed"; - sourceScale = 1; - min = -10; - max = 10; - minPos[] = {0.93,0.2}; - maxPos[] = {0.93,0.8}; - }; - - class RadarAltitudeBone { - type = "linear"; - source = "altitudeAGL"; - sourceScale = 1; - min = 0; - max = 60; - minPos[] = {0.965,0.2}; - maxPos[] = {0.965,0.8}; - }; - - class HorizonBankRot { - type = "rotational"; - source = "horizonBank"; - center[] = {0.5,0.5}; - min = -3.1416; - max = 3.1416; - minAngle = -180; - maxAngle = 180; - aspectRatio = 1; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.1,0.1}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.65,0.65}; - }; - - class Level0 { - type = "horizon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.78,0.78}; - angle = 0; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class Horizont { - clipTL[] = {0.15,0.15}; - clipBR[] = {0.85,0.85}; - class Dimmed { - class Level0 { - type = "line"; - points[] = { - {"Level0",{-0.42,0},1}, - {"Level0",{-0.38,0},1},{}, - {"Level0",{-0.37,0},1}, - {"Level0",{-0.33,0},1},{}, - {"Level0",{-0.32,0},1}, - {"Level0",{-0.28,0},1},{}, - {"Level0",{-0.27,0},1}, - {"Level0",{-0.23,0},1},{}, - {"Level0",{-0.22,0},1}, - {"Level0",{-0.18,0},1},{}, - {"Level0",{-0.17,0},1}, - {"Level0",{-0.13,0},1},{}, - {"Level0",{-0.12,0},1}, - {"Level0",{-0.08,0},1},{}, - {"Level0",{0.42,0},1}, - {"Level0",{0.38,0},1},{}, - {"Level0",{0.37,0},1}, - {"Level0",{0.33,0},1},{}, - {"Level0",{0.32,0},1}, - {"Level0",{0.28,0},1},{}, - {"Level0",{0.27,0},1}, - {"Level0",{0.23,0},1},{}, - {"Level0",{0.22,0},1}, - {"Level0",{0.18,0},1},{}, - {"Level0",{0.17,0},1}, - {"Level0",{0.13,0},1},{}, - {"Level0",{0.12,0},1}, - {"Level0",{0.08,0},1} - }; - }; - }; - }; - - /*class StaticBank { - type = "line"; - width = 3; - points[] = { - ////////////////////////////////////////////////////// LEFT - {{0.4782,0.2510},1}, - {{0.4773,0.2410},1},{}, - {{0.4566,0.2538},1}, - {{0.4549,0.2439},1},{}, - {{0.4353,0.2585},1}, - {{0.4301,0.2392},1},{}, - {{0.4145,0.2651},1}, - {{0.4111,0.2557},1},{}, - {{0.3943,0.2734},1}, - {{0.3901,0.2644},1},{}, - {{0.3750,0.2835},1}, - {{0.3650,0.2662},1},{}, - {{0.3232,0.3232},1}, - {{0.3091,0.3091},1},{}, - {{0.2835,0.3750},1}, - {{0.2662,0.3650},1},{}, - /////////////////////////////////////////////////////// RIGHT - {{"0.5 + (0.5- 0.4782)",0.2510},1}, - {{"0.5 + (0.5- 0.4773)",0.2410},1},{}, - {{"0.5 + (0.5- 0.4566)",0.2538},1}, - {{"0.5 + (0.5- 0.4549)",0.2439},1},{}, - {{"0.5 + (0.5- 0.4353)",0.2585},1}, - {{"0.5 + (0.5- 0.4301)",0.2392},1},{}, - {{"0.5 + (0.5- 0.4145)",0.2651},1}, - {{"0.5 + (0.5- 0.4111)",0.2557},1},{}, - {{"0.5 + (0.5- 0.3943)",0.2734},1}, - {{"0.5 + (0.5- 0.3901)",0.2644},1},{}, - {{"0.5 + (0.5- 0.3750)",0.2835},1}, - {{"0.5 + (0.5- 0.3650)",0.2662},1},{}, - {{"0.5 + (0.5- 0.3232)",0.3232},1}, - {{"0.5 + (0.5- 0.3091)",0.3091},1},{}, - {{"0.5 + (0.5- 0.2835)",0.3750},1}, - {{"0.5 + (0.5- 0.2662)",0.3650},1},{}, - /////////////////////////////////////////////////////// CENTER - {{0.5,"0.5 - 0.25"},1}, - {{0.5,"0.5 - 0.28"},1} - }; - };*/ - - class HorizonBankRot { - type = "line"; - width = 3; - points[] = { - {"HorizonBankRot",{0,0.25},1}, - {"HorizonBankRot",{-0.01,0.23},1}, - {"HorizonBankRot",{0.01,0.23},1}, - {"HorizonBankRot",{0,0.25},1} - }; - }; - - class Centerline { - type = "line"; - width = 7; - points[] = { - {{0.45,0.5},1}, - {{0.48,0.5},1}, - {{0.49,0.525},1}, - {{0.5,0.5},1}, - {{0.51,0.525},1}, - {{0.52,0.5},1}, - {{0.55,0.5},1} - }; - }; - - /*class WeaponName { - type = "text"; - source = "weapon"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.03,0.86},1}; - right[] = {{0.07,0.86},1}; - down[] = {{0.03,0.90},1}; - }; - - class AmmoCount { - type = "text"; - source = "ammo"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.03,0.89},1}; - right[] = {{0.07,0.89},1}; - down[] = {{0.03,0.93},1}; - };*/ - - class LightsGroup { - type = "group"; - condition = "lights"; - class LightsText { - type = "text"; - source = "static"; - text = "LIGHTS"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.055"},1}; - right[] = {{0.07,"0.53 + 0.055"},1}; - down[] = {{0.03,"0.53 + 0.095"},1}; - }; - }; - - class CollisionLightsGroup { - type = "group"; - condition = "collisionlights"; - class CollisionLightsText { - type = "text"; - source = "static"; - text = "A-COL"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.105"},1}; - right[] = {{0.07,"0.53 + 0.105"},1}; - down[] = {{0.03,"0.53 + 0.145"},1}; - }; - }; - - class SpeedNumber { - type = "text"; - align = "right"; - scale = 1; - source = "speed"; - sourceScale = 3.6; - pos[] = {{0.03,0.475},1}; - right[] = {{0.08,0.475},1}; - down[] = {{0.03,0.525},1}; - }; - - class TorqueNumber { - type = "text"; - align = "left"; - scale = 1; - source = "rtdRotorTorque"; - sourceScale = 110; - pos[] = {{0.065,0.175},1}; - right[] = {{0.115,0.175},1}; - down[] = {{0.065,0.225},1}; - }; - - class Torquetext { - type = "text"; - source = "static"; - text = "%"; - align = "right"; - scale = 1; - pos[] = {{0.07,0.175},1}; - right[] = {{0.12,0.175},1}; - down[] = {{0.07,0.225},1}; - }; - - class AltNumber { - type = "text"; - align = "right"; - scale = 1; - source = "altitudeAGL"; - sourceScale = 1; - pos[] = {{0.83,0.475},1}; - right[] = {{0.88,0.475},1}; - down[] = {{0.83,0.525},1}; - }; - - class ASLNumber { - type = "text"; - source = "altitudeASL"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.835,0.18},1}; - right[] = {{0.875,0.18},1}; - down[] = {{0.835,0.22},1}; - }; - - class VspeedScalePosta { - type = "line"; - width = 5; - points[] = { - {{0.98,0.2},1}, - {{1,0.2},1},{}, - {{0.93,0.2},1}, - {{0.95,0.2},1},{}, - {{0.98,0.35},1}, - {{1,0.35},1},{}, - {{0.93,0.35},1}, - {{0.95,0.35},1},{}, - {{0.94,0.38},1}, - {{0.95,0.38},1},{}, - {{0.94,0.41},1}, - {{0.95,0.41},1},{}, - {{0.94,0.44},1}, - {{0.95,0.44},1},{}, - {{0.94,0.47},1}, - {{0.95,0.47},1},{}, - {{0.98,0.5},1}, - {{1,0.5},1},{}, - {{0.93,0.5},1}, - {{0.95,0.5},1},{}, - {{0.94,0.53},1}, - {{0.95,0.53},1},{}, - {{0.94,0.56},1}, - {{0.95,0.56},1},{}, - {{0.94,0.59},1}, - {{0.95,0.59},1},{}, - {{0.94,0.62},1}, - {{0.95,0.62},1},{}, - {{0.98,0.65},1}, - {{1,0.65},1},{}, - {{0.93,0.65},1}, - {{0.95,0.65},1},{}, - {{0.99,0.68},1}, - {{0.98,0.68},1},{}, - {{0.99,0.71},1}, - {{0.98,0.71},1},{}, - {{0.99,0.74},1}, - {{0.98,0.74},1},{}, - {{0.99,0.77},1}, - {{0.98,0.77},1},{}, - {{0.98,0.8},1}, - {{1,0.8},1},{}, - {{0.93,0.8},1}, - {{0.95,0.8},1},{} - }; - }; - - class RadarAltitudeBand { - clipTL[] = {0,0.2}; - clipBR[] = {1,0.8}; - class radarbanda { - type = "line"; - width = 17; - points[] = { - {"RadarAltitudeBone",{0,0},1}, - {"RadarAltitudeBone",{0,0.6},1} - }; - }; - }; - - class VspeedBand { - type = "line"; - width = 3; - points[] = { - {"VspeedBone",{-0.01,0},1}, - {"VspeedBone",{-0.025,-0.015},1}, - {"VspeedBone",{-0.025,0.015},1}, - {"VspeedBone",{-0.01,0},1},{} - }; - }; - - class HeadingNumber: SpeedNumber { - source = "heading"; - sourceScale = 1; - align = "center"; - pos[] = {{0.5,0.01},1}; - right[] = {{0.56,0.01},1}; - down[] = {{0.5,0.06},1}; - }; - - class Center_box { - type = "line"; - width = 3; - points[] = { - {{0.44,0.005},1}, - {{"0.44 + 0.12",0.005},1}, - {{"0.44 + 0.12","0.005 + 0.06"},1}, - {{0.44,"0.005 + 0.06"},1}, - {{0.44,0.005},1} - }; - }; - - class HeadingArrow { - type = "line"; - width = 7; - points[] = {{{"0.5","0.128 + 0.03"},1},{{0.5,0.128},1}}; - }; - - class HeadingScale { - type = "scale"; - horizontal = 1; - source = "heading"; - sourceScale = 1; - width = 5; - top = 0.12; - center = 0.5; - bottom = 0.88; - lineXleft = "0.03 + 0.085"; - lineYright = "0.02 + 0.085"; - lineXleftMajor = "0.04 + 0.085"; - lineYrightMajor = "0.02 + 0.085"; - majorLineEach = 3; - numberEach = 3; - step = 10; - stepSize = "0.05"; - align = "center"; - scale = 1; - pos[] = {0.12,"0.0 + 0.065"}; - right[] = {0.16,"0.0 + 0.065"}; - down[] = {0.12,"0.04 + 0.065"}; - }; - - class Fuel_Text { - type = "text"; - source = "static"; - text = "Fuel"; - align = "right"; - scale = 1; - pos[] = {{0.85,0.86},1}; - right[] = {{0.89,0.86},1}; - down[] = {{0.85,0.9},1}; - }; - - class Fuel_Number { - type = "text"; - source = "fuel"; - sourceScale = 100; - align = "right"; - scale = 1; - pos[] = {{0.92,0.86},1}; - right[] = {{0.96,0.86},1}; - down[] = {{0.92,0.9},1}; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.04,0.04,0.1}; - helmetRight[] = {0.08,0,0}; - helmetDown[] = {0,-0.08,0}; - }; - - class LittleHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.722,0.722}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.75,0.75}; - }; - - class ForwardVec1 { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.25,0.25}; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.253,0.253}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class WeaponAim1 { - type = "vector"; - source = "weapon"; - pos0[] = {0,0}; - pos10[] = {0.253,0.23}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class RadarContact { - type = "fixed"; - pos[] = {0,0}; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class PlaneMovementCrosshair { - type = "line"; - width = 7; - points[] = { - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,0.02},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1},{}, - {"ForwardVec1",1,"Velocity",1,{0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{-0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{0,-0.04},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1} - }; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.035,0.035,0.1}; - helmetRight[] = {0.07,0,0}; - helmetDown[] = {0,-0.07,0}; - }; -}; diff --git a/TO_MERGE/agm/Aircraft/mfd_littlebird_armed.hpp b/TO_MERGE/agm/Aircraft/mfd_littlebird_armed.hpp deleted file mode 100644 index 424e7cd408..0000000000 --- a/TO_MERGE/agm/Aircraft/mfd_littlebird_armed.hpp +++ /dev/null @@ -1,694 +0,0 @@ - -class MFD { - class AirplaneHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class PlaneOrientation { - type = "fixed"; - pos[] = {0.5,0.5}; - }; - - class Target: Pos10Vector { - source = "target"; - }; - - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.65,0.65}; - }; - - class VspeedBone { - type = "linear"; - source = "vspeed"; - sourceScale = 1; - min = -10; - max = 10; - minPos[] = {0.93,0.2}; - maxPos[] = {0.93,0.8}; - }; - - class RadarAltitudeBone { - type = "linear"; - source = "altitudeAGL"; - sourceScale = 1; - min = 0; - max = 60; - minPos[] = {0.965,0.2}; - maxPos[] = {0.965,0.8}; - }; - - class HorizonBankRot { - type = "rotational"; - source = "horizonBank"; - center[] = {0.5,0.5}; - min = -3.1416; - max = 3.1416; - minAngle = -180; - maxAngle = 180; - aspectRatio = 1; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.22,0.22}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.73,0.73}; - }; - - class Level0 { - type = "horizon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.78,0.78}; - angle = 0; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class Horizont { - clipTL[] = {0.15,0.15}; - clipBR[] = {0.85,0.85}; - class Dimmed { - class Level0 { - type = "line"; - points[] = { - {"Level0",{-0.42,0},1}, - {"Level0",{-0.38,0},1},{}, - {"Level0",{-0.37,0},1}, - {"Level0",{-0.33,0},1},{}, - {"Level0",{-0.32,0},1}, - {"Level0",{-0.28,0},1},{}, - {"Level0",{-0.27,0},1}, - {"Level0",{-0.23,0},1},{}, - {"Level0",{-0.22,0},1}, - {"Level0",{-0.18,0},1},{}, - {"Level0",{-0.17,0},1}, - {"Level0",{-0.13,0},1},{}, - {"Level0",{-0.12,0},1}, - {"Level0",{-0.08,0},1},{}, - {"Level0",{0.42,0},1}, - {"Level0",{0.38,0},1},{}, - {"Level0",{0.37,0},1}, - {"Level0",{0.33,0},1},{}, - {"Level0",{0.32,0},1}, - {"Level0",{0.28,0},1},{}, - {"Level0",{0.27,0},1}, - {"Level0",{0.23,0},1},{}, - {"Level0",{0.22,0},1}, - {"Level0",{0.18,0},1},{}, - {"Level0",{0.17,0},1}, - {"Level0",{0.13,0},1},{}, - {"Level0",{0.12,0},1}, - {"Level0",{0.08,0},1} - }; - }; - }; - }; - - /*class StaticBank { - type = "line"; - width = 3; - points[] = { - ////////////////////////////////////////////////////// LEFT - {{0.4782,0.2510},1}, - {{0.4773,0.2410},1},{}, - {{0.4566,0.2538},1}, - {{0.4549,0.2439},1},{}, - {{0.4353,0.2585},1}, - {{0.4301,0.2392},1},{}, - {{0.4145,0.2651},1}, - {{0.4111,0.2557},1},{}, - {{0.3943,0.2734},1}, - {{0.3901,0.2644},1},{}, - {{0.3750,0.2835},1}, - {{0.3650,0.2662},1},{}, - {{0.3232,0.3232},1}, - {{0.3091,0.3091},1},{}, - {{0.2835,0.3750},1}, - {{0.2662,0.3650},1},{}, - /////////////////////////////////////////////////////// RIGHT - {{"0.5 + (0.5- 0.4782)",0.2510},1}, - {{"0.5 + (0.5- 0.4773)",0.2410},1},{}, - {{"0.5 + (0.5- 0.4566)",0.2538},1}, - {{"0.5 + (0.5- 0.4549)",0.2439},1},{}, - {{"0.5 + (0.5- 0.4353)",0.2585},1}, - {{"0.5 + (0.5- 0.4301)",0.2392},1},{}, - {{"0.5 + (0.5- 0.4145)",0.2651},1}, - {{"0.5 + (0.5- 0.4111)",0.2557},1},{}, - {{"0.5 + (0.5- 0.3943)",0.2734},1}, - {{"0.5 + (0.5- 0.3901)",0.2644},1},{}, - {{"0.5 + (0.5- 0.3750)",0.2835},1}, - {{"0.5 + (0.5- 0.3650)",0.2662},1},{}, - {{"0.5 + (0.5- 0.3232)",0.3232},1}, - {{"0.5 + (0.5- 0.3091)",0.3091},1},{}, - {{"0.5 + (0.5- 0.2835)",0.3750},1}, - {{"0.5 + (0.5- 0.2662)",0.3650},1},{}, - /////////////////////////////////////////////////////// CENTER - {{0.5,"0.5 - 0.25"},1}, - {{0.5,"0.5 - 0.28"},1} - }; - };*/ - - class HorizonBankRot { - type = "line"; - width = 3; - points[] = { - {"HorizonBankRot",{0,0.25},1}, - {"HorizonBankRot",{-0.01,0.23},1}, - {"HorizonBankRot",{0.01,0.23},1}, - {"HorizonBankRot",{0,0.25},1} - }; - }; - - class Centerline { - type = "line"; - width = 7; - points[] = { - {{0.45,0.5},1}, - {{0.48,0.5},1}, - {{0.49,0.525},1}, - {{0.5,0.5},1}, - {{0.51,0.525},1}, - {{0.52,0.5},1}, - {{0.55,0.5},1} - }; - }; - - class GunCross { - condition = "mgun"; - type = "group"; - class GunSight { - type = "line"; - width = 7; - points[] = { - {"ForwardVec",1,"WeaponAim",1,{0,-0.02},1}, - {"ForwardVec",1,"WeaponAim",1,{0,-0.05},1},{}, - {"ForwardVec",1,"WeaponAim",1,{0,0.02},1}, - {"ForwardVec",1,"WeaponAim",1,{0,0.05},1},{}, - {"ForwardVec",1,"WeaponAim",1,{-0.02,0},1}, - {"ForwardVec",1,"WeaponAim",1,{-0.05,0},1},{}, - {"ForwardVec",1,"WeaponAim",1,{0.02,0},1}, - {"ForwardVec",1,"WeaponAim",1,{0.05,0},1},{} - }; - }; - }; - - class RocketCross { - condition = "rocket"; - type = "group"; - class RocketSight { - type = "line"; - width = 5.5; - points[] = { - {"ForwardVec",1,"WeaponAim",1,{0.04,-0.06},1}, - {"ForwardVec",1,"WeaponAim",1,{-0.04,-0.06},1},{}, - {"ForwardVec",1,"WeaponAim",1,{0,-0.06},1}, - {"ForwardVec",1,"WeaponAim",1,{0,-0.01},1},{}, - {"ForwardVec",1,"WeaponAim",1,{0,0.001},1}, - {"ForwardVec",1,"WeaponAim",1,{0,-0.001},1},{}, - {"ForwardVec",1,"WeaponAim",1,{0.001,0},1}, - {"ForwardVec",1,"WeaponAim",1,{-0.001,0},1},{}, - {"ForwardVec",1,"WeaponAim",1,{0,0.01},1}, - {"ForwardVec",1,"WeaponAim",1,{0,0.06},1},{}, - {"ForwardVec",1,"WeaponAim",1,{0.04,0.06},1}, - {"ForwardVec",1,"WeaponAim",1,{-0.04,0.06},1},{} - }; - }; - }; - - /*class Mastermode_GUN { - condition = "mgun"; - type = "group"; - class MasterMODE { - type = "text"; - source = "static"; - text = "GUN"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.03,0.83},1}; - right[] = {{0.07,0.83},1}; - down[] = {{0.03,0.87},1}; - }; - };*/ - - class WeaponName { - type = "text"; - source = "weapon"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.03,0.86},1}; - right[] = {{0.07,0.86},1}; - down[] = {{0.03,0.9},1}; - }; - - class AmmoCount { - type = "text"; - source = "ammo"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.03,0.89},1}; - right[] = {{0.07,0.89},1}; - down[] = {{0.03,0.93},1}; - }; - - class LightsGroup { - type = "group"; - condition = "lights"; - class LightsText { - type = "text"; - source = "static"; - text = "LIGHTS"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.055"},1}; - right[] = {{0.07,"0.53 + 0.055"},1}; - down[] = {{0.03,"0.53 + 0.095"},1}; - }; - }; - - class CollisionLightsGroup { - type = "group"; - condition = "collisionlights"; - class CollisionLightsText { - type = "text"; - source = "static"; - text = "A-COL"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.105"},1}; - right[] = {{0.07,"0.53 + 0.105"},1}; - down[] = {{0.03,"0.53 + 0.145"},1}; - }; - }; - - class RangeNumber { - type = "text"; - source = "targetDist"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.51,0.94},1}; - right[] = {{0.56,0.94},1}; - down[] = {{0.51,0.98},1}; - }; - - class RangeText { - type = "text"; - source = "static"; - text = "RNG"; - align = "left"; - scale = 1; - pos[] = {{0.49,0.94},1}; - right[] = {{0.54,0.94},1}; - down[] = {{0.49,0.98},1}; - }; - - class SpeedNumber { - type = "text"; - align = "right"; - scale = 1; - source = "speed"; - sourceScale = 3.6; - pos[] = {{0.03,0.475},1}; - right[] = {{0.08,0.475},1}; - down[] = {{0.03,0.525},1}; - }; - - class TorqueNumber { - type = "text"; - align = "left"; - scale = 1; - source = "rtdRotorTorque"; - sourceScale = 100; - pos[] = {{0.065,0.175},1}; - right[] = {{0.115,0.175},1}; - down[] = {{0.065,0.225},1}; - }; - - class Torquetext { - type = "text"; - source = "static"; - text = "%"; - align = "right"; - scale = 1; - pos[] = {{0.07,0.175},1}; - right[] = {{0.12,0.175},1}; - down[] = {{0.07,0.225},1}; - }; - - class AltNumber { - type = "text"; - align = "right"; - scale = 1; - source = "altitudeAGL"; - sourceScale = 1; - pos[] = {{0.83,0.475},1}; - right[] = {{0.88,0.475},1}; - down[] = {{0.83,0.525},1}; - }; - - class ASLNumber { - type = "text"; - source = "altitudeASL"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.835,0.18},1}; - right[] = {{0.875,0.18},1}; - down[] = {{0.835,0.22},1}; - }; - - class VspeedScalePosta { - type = "line"; - width = 5; - points[] = { - {{0.98,0.2},1}, - {{1,0.2},1},{}, - {{0.93,0.2},1}, - {{0.95,0.2},1},{}, - {{0.98,0.35},1}, - {{1,0.35},1},{}, - {{0.93,0.35},1}, - {{0.95,0.35},1},{}, - {{0.94,0.38},1}, - {{0.95,0.38},1},{}, - {{0.94,0.41},1}, - {{0.95,0.41},1},{}, - {{0.94,0.44},1}, - {{0.95,0.44},1},{}, - {{0.94,0.47},1}, - {{0.95,0.47},1},{}, - {{0.98,0.5},1}, - {{1,0.5},1},{}, - {{0.93,0.5},1}, - {{0.95,0.5},1},{}, - {{0.94,0.53},1}, - {{0.95,0.53},1},{}, - {{0.94,0.56},1}, - {{0.95,0.56},1},{}, - {{0.94,0.59},1}, - {{0.95,0.59},1},{}, - {{0.94,0.62},1}, - {{0.95,0.62},1},{}, - {{0.98,0.65},1}, - {{1,0.65},1},{}, - {{0.93,0.65},1}, - {{0.95,0.65},1},{}, - {{0.99,0.68},1}, - {{0.98,0.68},1},{}, - {{0.99,0.71},1}, - {{0.98,0.71},1},{}, - {{0.99,0.74},1}, - {{0.98,0.74},1},{}, - {{0.99,0.77},1}, - {{0.98,0.77},1},{}, - {{0.98,0.8},1}, - {{1,0.8},1},{}, - {{0.93,0.8},1}, - {{0.95,0.8},1},{} - }; - }; - - class RadarAltitudeBand { - clipTL[] = {0,0.2}; - clipBR[] = {1,0.8}; - class radarbanda { - type = "line"; - width = 17; - points[] = { - {"RadarAltitudeBone",{0,0},1}, - {"RadarAltitudeBone",{0,0.6},1} - }; - }; - }; - - class VspeedBand { - type = "line"; - width = 3; - points[] = { - {"VspeedBone",{-0.01,0},1}, - {"VspeedBone",{-0.025,-0.015},1}, - {"VspeedBone",{-0.025,0.015},1}, - {"VspeedBone",{-0.01,0},1} - }; - }; - - class HeadingNumber: SpeedNumber { - source = "heading"; - sourceScale = 1; - align = "center"; - pos[] = {{0.5,0.01},1}; - right[] = {{0.56,0.01},1}; - down[] = {{0.5,0.06},1}; - }; - - class Center_box { - type = "line"; - width = 3; - points[] = { - {{0.44,0.005},1}, - {{"0.44 + 0.12",0.005},1}, - {{"0.44 + 0.12","0.005 + 0.06"},1}, - {{0.44,"0.005 + 0.06"},1}, - {{0.44,0.005},1} - }; - }; - - class HeadingArrow { - type = "line"; - width = 7; - points[] = { - {{"0.5","0.128 + 0.03"},1}, - {{0.5,0.128},1} - }; - }; - - class HeadingScale { - type = "scale"; - horizontal = 1; - source = "heading"; - sourceScale = 1; - width = 5; - top = 0.12; - center = 0.5; - bottom = 0.88; - lineXleft = "0.03 + 0.085"; - lineYright = "0.02 + 0.085"; - lineXleftMajor = "0.04 + 0.085"; - lineYrightMajor = "0.02 + 0.085"; - majorLineEach = 3; - numberEach = 3; - step = 10; - stepSize = "0.05"; - align = "center"; - scale = 1; - pos[] = {0.119,"0.0 + 0.065"}; - right[] = {0.159,"0.0 + 0.065"}; - down[] = {0.119,"0.04 + 0.065"}; - }; - - class Fuel_Text { - type = "text"; - source = "static"; - text = "Fuel"; - align = "right"; - scale = 1; - pos[] = {{0.85,0.86},1}; - right[] = {{0.89,0.86},1}; - down[] = {{0.85,0.9},1}; - }; - - class Fuel_Number { - type = "text"; - source = "fuel"; - sourceScale = 100; - align = "right"; - scale = 1; - pos[] = {{0.92,0.86},1}; - right[] = {{0.96,0.86},1}; - down[] = {{0.92,0.9},1}; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.04,0.04,0.1}; - helmetRight[] = {0.08,0,0}; - helmetDown[] = {0,-0.08,0}; - }; - - class LittleHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.722,0.722}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.76,0.76}; - }; - - class ForwardVec1 { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.26,0.26}; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.253,0.253}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class RadarContact { - type = "fixed"; - pos[] = {0,0}; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class PlaneMovementCrosshair { - type = "line"; - width = 7; - points[] = { - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,0.02},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1},{}, - {"ForwardVec1",1,"Velocity",1,{0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{-0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{0,-0.04},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1} - }; - }; - - class TargetACQ { - type = "line"; - width = 2; - points[] = { - //////////////////////////////////////////////// UP - /*{"ForwardVec1",1,"target",{0,-0.10},1},{"ForwardVec1",1,"target",{0,-0.095},1},{}, - {"ForwardVec1",1,"target",{0,-0.09},1},{"ForwardVec1",1,"target",{0,-0.085},1},{}, - {"ForwardVec1",1,"target",{0,-0.080},1},{"ForwardVec1",1,"target",{0,-0.075},1},{}, - {"ForwardVec1",1,"target",{0,-0.070},1},{"ForwardVec1",1,"target",{0,-0.065},1},{},*/ - {"ForwardVec",1,"target",{0,-0.060},1},{"ForwardVec",1,"target",{0,-0.055},1},{}, - {"ForwardVec",1,"target",{0,-0.050},1},{"ForwardVec",1,"target",{0,-0.045},1},{}, - {"ForwardVec",1,"target",{0,-0.040},1},{"ForwardVec",1,"target",{0,-0.035},1},{}, - {"ForwardVec",1,"target",{0,-0.030},1},{"ForwardVec",1,"target",{0,-0.025},1},{}, - {"ForwardVec",1,"target",{0,-0.020},1},{"ForwardVec",1,"target",{0,-0.015},1},{}, - {"ForwardVec",1,"target",{0,-0.010},1},{"ForwardVec",1,"target",{0,-0.005},1},{}, - //////////////////////////////////////////////// center - {"ForwardVec",1,"target",{0,0},1},{"ForwardVec",1,"target",{0,0},1},{}, - /////////////////////////////////////////////// DOWN - /*{"ForwardVec1",1,"target",{0,0.10},1},{"ForwardVec1",1,"target",{0,0.095},1},{}, - {"ForwardVec1",1,"target",{0,0.09},1},{"ForwardVec1",1,"target",{0,0.085},1},{}, - {"ForwardVec1",1,"target",{0,0.080},1},{"ForwardVec1",1,"target",{0,0.075},1},{}, - {"ForwardVec1",1,"target",{0,0.070},1},{"ForwardVec1",1,"target",{0,0.065},1},{},*/ - {"ForwardVec",1,"target",{0,0.060},1},{"ForwardVec",1,"target",{0,0.055},1},{}, - {"ForwardVec",1,"target",{0,0.050},1},{"ForwardVec",1,"target",{0,0.045},1},{}, - {"ForwardVec",1,"target",{0,0.040},1},{"ForwardVec",1,"target",{0,0.035},1},{}, - {"ForwardVec",1,"target",{0,0.030},1},{"ForwardVec",1,"target",{0,0.025},1},{}, - {"ForwardVec",1,"target",{0,0.020},1},{"ForwardVec",1,"target",{0,0.015},1},{}, - {"ForwardVec",1,"target",{0,0.010},1},{"ForwardVec",1,"target",{0,0.005},1},{}, - /////////////////////////////////////////////// LEFT - /*{"ForwardVec1",1,"target",{-0.10, 0},1},{"ForwardVec1",1,"target",{-0.095,0},1},{}, - {"ForwardVec1",1,"target",{-0.09, 0},1},{"ForwardVec1",1,"target",{-0.085,0},1},{}, - {"ForwardVec1",1,"target",{-0.080, 0},1},{"ForwardVec1",1,"target",{-0.075,0},1},{}, - {"ForwardVec1",1,"target",{-0.070, 0},1},{"ForwardVec1",1,"target",{-0.065,0},1},{},*/ - {"ForwardVec",1,"target",{-0.060, 0},1},{"ForwardVec",1,"target",{-0.055,0},1},{}, - {"ForwardVec",1,"target",{-0.050, 0},1},{"ForwardVec",1,"target",{-0.045,0},1},{}, - {"ForwardVec",1,"target",{-0.040, 0},1},{"ForwardVec",1,"target",{-0.035,0},1},{}, - {"ForwardVec",1,"target",{-0.030, 0},1},{"ForwardVec",1,"target",{-0.025,0},1},{}, - {"ForwardVec",1,"target",{-0.020, 0},1},{"ForwardVec",1,"target",{-0.015,0},1},{}, - {"ForwardVec",1,"target",{-0.010, 0},1},{"ForwardVec",1,"target",{-0.005,0},1},{}, - /////////////////////////////////////////////// RIGHT - /*{"ForwardVec1",1,"target",{0.10, 0},1},{"ForwardVec1",1,"target",{0.095,0},1},{}, - {"ForwardVec1",1,"target",{0.09, 0},1},{"ForwardVec1",1,"target",{0.085,0},1},{}, - {"ForwardVec1",1,"target",{0.080, 0},1},{"ForwardVec1",1,"target",{0.075,0},1},{}, - {"ForwardVec1",1,"target",{0.070, 0},1},{"ForwardVec1",1,"target",{0.065,0},1},{},*/ - {"ForwardVec",1,"target",{0.060, 0},1},{"ForwardVec",1,"target",{0.055,0},1},{}, - {"ForwardVec",1,"target",{0.050, 0},1},{"ForwardVec",1,"target",{0.045,0},1},{}, - {"ForwardVec",1,"target",{0.040, 0},1},{"ForwardVec",1,"target",{0.035,0},1},{}, - {"ForwardVec",1,"target",{0.030, 0},1},{"ForwardVec",1,"target",{0.025,0},1},{}, - {"ForwardVec",1,"target",{0.020, 0},1},{"ForwardVec",1,"target",{0.015,0},1},{}, - {"ForwardVec",1,"target",{0.010, 0},1},{"ForwardVec",1,"target",{0.005,0},1},{} - }; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.035,0.035,0.1}; - helmetRight[] = {0.07,0,0}; - helmetDown[] = {0,-0.07,0}; - }; -}; diff --git a/TO_MERGE/agm/Aircraft/mfd_merlin.hpp b/TO_MERGE/agm/Aircraft/mfd_merlin.hpp deleted file mode 100644 index 227e1c6c43..0000000000 --- a/TO_MERGE/agm/Aircraft/mfd_merlin.hpp +++ /dev/null @@ -1,1296 +0,0 @@ - -class MFD { - class AirplaneHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class PlaneOrientation { - type = "fixed"; - pos[] = {0.5,0.54}; - }; - - class GunnerAim { - type = "vector"; - source = "weapon"; - pos0[] = {0,0}; - pos10[] = {0.011,0.0027}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.65,0.65}; - }; - - class VspeedBone { - type = "linear"; - source = "vspeed"; - sourceScale = 1; - min = -10; - max = 10; - minPos[] = {0.93,0.2}; - maxPos[] = {0.93,0.8}; - }; - - class RadarAltitudeBone { - type = "linear"; - source = "altitudeAGL"; - sourceScale = 1; - min = 0; - max = 60; - minPos[] = {0.965,0.2}; - maxPos[] = {0.965,0.8}; - }; - - class HorizonBankRot { - type = "rotational"; - source = "horizonBank"; - center[] = {0.5,0.5}; - min = -3.1416; - max = 3.1416; - minAngle = -180; - maxAngle = 180; - aspectRatio = 1; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.25,0.25}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.75,0.75}; - }; - - class Level0 { - type = "horizon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.78,0.78}; - angle = 0; - }; - - class LevelP5: Level0 { - angle = 5; - }; - - class LevelM5: Level0 { - angle = -5; - }; - - class LevelP10: Level0 { - angle = 10; - }; - - class LevelM10: Level0 { - angle = -10; - }; - - class LevelP15: Level0 { - angle = 15; - }; - - class LevelM15: Level0 { - angle = -15; - }; - - class LevelP20: Level0 { - angle = 20; - }; - - class LevelM20: Level0 { - angle = -20; - }; - - class LevelP25: Level0 { - angle = 25; - }; - - class LevelM25: Level0 { - angle = -25; - }; - - class LevelP30: Level0 { - angle = 30; - }; - - class LevelM30: Level0 { - angle = -30; - }; - - class LevelP35: Level0 { - angle = 35; - }; - - class LevelM35: Level0 { - angle = -35; - }; - - class LevelP40: Level0 { - angle = 40; - }; - - class LevelM40: Level0 { - angle = -40; - }; - - class LevelP45: Level0 { - angle = 45; - }; - - class LevelM45: Level0 { - angle = -45; - }; - - class LevelP50: Level0 { - angle = 50; - }; - - class LevelM50: Level0 { - angle = -50; - }; - - class LevelP55: Level0 { - angle = 55; - }; - - class LevelM55: Level0 { - angle = -55; - }; - - class LevelP60: Level0 { - angle = 60; - }; - - class LevelM60: Level0 { - angle = -60; - }; - - class LevelP65: Level0 { - angle = 65; - }; - - class LevelM65: Level0 { - angle = -65; - }; - - class LevelP70: Level0 { - angle = 70; - }; - - class LevelM70: Level0 { - angle = -70; - }; - - class LevelP75: Level0 { - angle = 75; - }; - - class LevelM75: Level0 { - angle = -75; - }; - - class LevelP80: Level0 { - angle = 80; - }; - - class LevelM80: Level0 { - angle = -80; - }; - - class LevelP85: Level0 { - angle = 85; - }; - - class LevelM85: Level0 { - angle = -85; - }; - - class LevelP90: Level0 { - angle = 90; - }; - - class LevelM90: Level0 { - angle = -90; - }; - - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class Horizont { - clipTL[] = {0.15,0.15}; - clipBR[] = {0.85,0.85}; - class Dimmed { - class Level0 { - type = "line"; - points[] = { - {"Level0",{-0.42,0},1}, - {"Level0",{-0.08,0},1},{}, - {"Level0",{0.42,0},1}, - {"Level0",{0.08,0},1},{} - }; - }; - - /*class VALM_1_0 { - type = "text"; - source = "static"; - text = 0; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"Level0",{-0.23,-0.025},1}; - right[] = {"Level0",{-0.13,-0.025},1}; - down[] = {"Level0",{-0.23,0.025},1}; - }; - - class VALM_2_0: VALM_1_0 { - align = "right"; - pos[] = {"Level0",{0.22,-0.025},1}; - right[] = {"Level0",{0.32,-0.025},1}; - down[] = {"Level0",{0.22,0.025},1}; - }; - - class LevelM5: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM5",{-0.2,-0.03},1}, - {"LevelM5",{-0.2,0},1}, - {"LevelM5",{-0.15,0},1},{}, - {"LevelM5",{-0.1,0},1}, - {"LevelM5",{-0.05,0},1},{}, - {"LevelM5",{0.05,0},1}, - {"LevelM5",{0.1,0},1},{}, - {"LevelM5",{0.15,0},1}, - {"LevelM5",{0.2,0},1}, - {"LevelM5",{0.2,-0.03},1} - }; - }; - - class VALM_1_5 { - type = "text"; - source = "static"; - text = -5; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM5",{-0.22,-0.085},1}; - right[] = {"LevelM5",{-0.17,-0.085},1}; - down[] = {"LevelM5",{-0.22,-0.035},1}; - }; - - class VALM_2_5: VALM_1_5 { - align = "right"; - pos[] = {"LevelM5",{0.22,-0.085},1}; - right[] = {"LevelM5",{0.27,-0.085},1}; - down[] = {"LevelM5",{0.22,-0.035},1}; - }; - - class LevelP5: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP5",{-0.2,0.03},1}, - {"LevelP5",{-0.2,0},1}, - {"LevelP5",{-0.05,0},1},{}, - {"LevelP5",{0.05,0},1}, - {"LevelP5",{0.2,0},1}, - {"LevelP5",{0.2,0.03},1} - }; - }; - - class VALP_1_5 { - type = "text"; - source = "static"; - text = "5"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP5",{-0.22,0.035},1}; - right[] = {"LevelP5",{-0.17,0.035},1}; - down[] = {"LevelP5",{-0.22,0.085},1}; - }; - - class VALP_2_5: VALP_1_5 { - align = "right"; - pos[] = {"LevelP5",{0.22,0.035},1}; - right[] = {"LevelP5",{0.27,0.035},1}; - down[] = {"LevelP5",{0.22,0.085},1}; - };*/ - - class LevelM10: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM10",{-0.2,-0.03},1}, - {"LevelM10",{-0.2,0},1}, - {"LevelM10",{-0.15,0},1},{}, - {"LevelM10",{-0.1,0},1}, - {"LevelM10",{-0.05,0},1},{}, - {"LevelM10",{0.05,0},1}, - {"LevelM10",{0.1,0},1},{}, - {"LevelM10",{0.15,0},1}, - {"LevelM10",{0.2,0},1}, - {"LevelM10",{0.2,-0.03},1} - }; - }; - - class VALM_1_10 { - type = "text"; - source = "static"; - text = -10; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM10",{-0.22,-0.085},1}; - right[] = {"LevelM10",{-0.17,-0.085},1}; - down[] = {"LevelM10",{-0.22,-0.035},1}; - }; - - class VALM_2_10: VALM_1_10 { - align = "right"; - pos[] = {"LevelM10",{0.22,-0.085},1}; - right[] = {"LevelM10",{0.27,-0.085},1}; - down[] = {"LevelM10",{0.22,-0.035},1}; - }; - - class LevelP10: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP10",{-0.2,0.03},1}, - {"LevelP10",{-0.2,0},1}, - {"LevelP10",{-0.05,0},1},{}, - {"LevelP10",{0.05,0},1}, - {"LevelP10",{0.2,0},1}, - {"LevelP10",{0.2,0.03},1} - }; - }; - - class VALP_1_10 { - type = "text"; - source = "static"; - text = "10"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP10",{-0.22,0.035},1}; - right[] = {"LevelP10",{-0.17,0.035},1}; - down[] = {"LevelP10",{-0.22,0.085},1}; - }; - - class VALP_2_10: VALP_1_10 { - align = "right"; - pos[] = {"LevelP10",{0.22,0.035},1}; - right[] = {"LevelP10",{0.27,0.035},1}; - down[] = {"LevelP10",{0.22,0.085},1}; - }; - - /*class LevelM15: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM15",{-0.2,-0.03},1}, - {"LevelM15",{-0.2,0},1}, - {"LevelM15",{-0.15,0},1},{}, - {"LevelM15",{-0.1,0},1}, - {"LevelM15",{-0.05,0},1},{}, - {"LevelM15",{0.05,0},1}, - {"LevelM15",{0.1,0},1},{}, - {"LevelM15",{0.15,0},1}, - {"LevelM15",{0.2,0},1}, - {"LevelM15",{0.2,-0.03},1} - }; - }; - - class VALM_1_15 { - type = "text"; - source = "static"; - text = -15; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM15",{-0.22,-0.085},1}; - right[] = {"LevelM15",{-0.17,-0.085},1}; - down[] = {"LevelM15",{-0.22,-0.035},1}; - }; - - class VALM_2_15: VALM_1_15 { - align = "right"; - pos[] = {"LevelM15",{0.22,-0.085},1}; - right[] = {"LevelM15",{0.27,-0.085},1}; - down[] = {"LevelM15",{0.22,-0.035},1}; - }; - - class LevelP15: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP15",{-0.2,0.03},1}, - {"LevelP15",{-0.2,0},1}, - {"LevelP15",{-0.05,0},1},{}, - {"LevelP15",{0.05,0},1}, - {"LevelP15",{0.2,0},1}, - {"LevelP15",{0.2,0.03},1} - }; - }; - - class VALP_1_15 { - type = "text"; - source = "static"; - text = "15"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP15",{-0.22,0.035},1}; - right[] = {"LevelP15",{-0.17,0.035},1}; - down[] = {"LevelP15",{-0.22,0.085},1}; - }; - - class VALP_2_15: VALP_1_15 { - align = "right"; - pos[] = {"LevelP15",{0.22,0.035},1}; - right[] = {"LevelP15",{0.27,0.035},1}; - down[] = {"LevelP15",{0.22,0.085},1}; - };*/ - - class LevelM20: Level0 { - type = "line"; - width = 3; - points[] = {{"LevelM20",{-0.2,-0.03},1},{"LevelM20",{-0.2,0},1},{"LevelM20",{-0.15,0},1},{},{"LevelM20",{-0.1,0},1},{"LevelM20",{-0.05,0},1},{},{"LevelM20",{0.05,0},1},{"LevelM20",{0.1,0},1},{},{"LevelM20",{0.15,0},1},{"LevelM20",{0.2,0},1},{"LevelM20",{0.2,-0.03},1}}; - }; - - class VALM_1_20 { - type = "text"; - source = "static"; - text = -20; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM20",{-0.22,-0.085},1}; - right[] = {"LevelM20",{-0.17,-0.085},1}; - down[] = {"LevelM20",{-0.22,-0.035},1}; - }; - - class VALM_2_20: VALM_1_20 { - align = "right"; - pos[] = {"LevelM20",{0.22,-0.085},1}; - right[] = {"LevelM20",{0.27,-0.085},1}; - down[] = {"LevelM20",{0.22,-0.035},1}; - }; - - class LevelP20: Level0 { - type = "line"; - width = 3; - points[] = {{"LevelP20",{-0.2,0.03},1},{"LevelP20",{-0.2,0},1},{"LevelP20",{-0.05,0},1},{},{"LevelP20",{0.05,0},1},{"LevelP20",{0.2,0},1},{"LevelP20",{0.2,0.03},1}}; - }; - - class VALP_1_20 { - type = "text"; - source = "static"; - text = "20"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP20",{-0.22,0.035},1}; - right[] = {"LevelP20",{-0.17,0.035},1}; - down[] = {"LevelP20",{-0.22,0.085},1}; - }; - - class VALP_2_20: VALP_1_20 { - align = "right"; - pos[] = {"LevelP20",{0.22,0.035},1}; - right[] = {"LevelP20",{0.27,0.035},1}; - down[] = {"LevelP20",{0.22,0.085},1}; - }; - - /*class LevelM25: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM25",{-0.2,-0.03},1}, - {"LevelM25",{-0.2,0},1}, - {"LevelM25",{-0.15,0},1},{}, - {"LevelM25",{-0.1,0},1}, - {"LevelM25",{-0.05,0},1},{}, - {"LevelM25",{0.05,0},1}, - {"LevelM25",{0.1,0},1},{}, - {"LevelM25",{0.15,0},1}, - {"LevelM25",{0.2,0},1}, - {"LevelM25",{0.2,-0.03},1} - }; - }; - - class VALM_1_25 { - type = "text"; - source = "static"; - text = -25; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM25",{-0.22,-0.085},1}; - right[] = {"LevelM25",{-0.17,-0.085},1}; - down[] = {"LevelM25",{-0.22,-0.035},1}; - }; - - class VALM_2_25: VALM_1_25 { - align = "right"; - pos[] = {"LevelM25",{0.22,-0.085},1}; - right[] = {"LevelM25",{0.27,-0.085},1}; - down[] = {"LevelM25",{0.22,-0.035},1}; - }; - - class LevelP25: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP25",{-0.2,0.03},1}, - {"LevelP25",{-0.2,0},1}, - {"LevelP25",{-0.05,0},1},{}, - {"LevelP25",{0.05,0},1}, - {"LevelP25",{0.2,0},1}, - {"LevelP25",{0.2,0.03},1} - }; - }; - - class VALP_1_25 { - type = "text"; - source = "static"; - text = "25"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP25",{-0.22,0.035},1}; - right[] = {"LevelP25",{-0.17,0.035},1}; - down[] = {"LevelP25",{-0.22,0.085},1}; - }; - - class VALP_2_25: VALP_1_25 { - align = "right"; - pos[] = {"LevelP25",{0.22,0.035},1}; - right[] = {"LevelP25",{0.27,0.035},1}; - down[] = {"LevelP25",{0.22,0.085},1}; - };*/ - - class LevelM30: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM30",{-0.2,-0.03},1}, - {"LevelM30",{-0.2,0},1}, - {"LevelM30",{-0.15,0},1},{}, - {"LevelM30",{-0.1,0},1}, - {"LevelM30",{-0.05,0},1},{}, - {"LevelM30",{0.05,0},1}, - {"LevelM30",{0.1,0},1},{}, - {"LevelM30",{0.15,0},1}, - {"LevelM30",{0.2,0},1}, - {"LevelM30",{0.2,-0.03},1} - }; - }; - - class VALM_1_30 { - type = "text"; - source = "static"; - text = -30; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM30",{-0.22,-0.085},1}; - right[] = {"LevelM30",{-0.17,-0.085},1}; - down[] = {"LevelM30",{-0.22,-0.035},1}; - }; - - class VALM_2_30: VALM_1_30 { - align = "right"; - pos[] = {"LevelM30",{0.22,-0.085},1}; - right[] = {"LevelM30",{0.27,-0.085},1}; - down[] = {"LevelM30",{0.22,-0.035},1}; - }; - - class LevelP30: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP30",{-0.2,0.03},1}, - {"LevelP30",{-0.2,0},1}, - {"LevelP30",{-0.05,0},1},{}, - {"LevelP30",{0.05,0},1}, - {"LevelP30",{0.2,0},1}, - {"LevelP30",{0.2,0.03},1} - }; - }; - - class VALP_1_30 { - type = "text"; - source = "static"; - text = "30"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP30",{-0.22,0.035},1}; - right[] = {"LevelP30",{-0.17,0.035},1}; - down[] = {"LevelP30",{-0.22,0.085},1}; - }; - - class VALP_2_30: VALP_1_30 { - align = "right"; - pos[] = {"LevelP30",{0.22,0.035},1}; - right[] = {"LevelP30",{0.27,0.035},1}; - down[] = {"LevelP30",{0.22,0.085},1}; - }; - - /*class LevelM35: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM35",{-0.2,-0.03},1}, - {"LevelM35",{-0.2,0},1}, - {"LevelM35",{-0.15,0},1},{}, - {"LevelM35",{-0.1,0},1}, - {"LevelM35",{-0.05,0},1},{}, - {"LevelM35",{0.05,0},1}, - {"LevelM35",{0.1,0},1},{}, - {"LevelM35",{0.15,0},1}, - {"LevelM35",{0.2,0},1}, - {"LevelM35",{0.2,-0.03},1} - }; - }; - - class VALM_1_35 { - type = "text"; - source = "static"; - text = -35; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM35",{-0.22,-0.085},1}; - right[] = {"LevelM35",{-0.17,-0.085},1}; - down[] = {"LevelM35",{-0.22,-0.035},1}; - }; - - class VALM_2_35: VALM_1_35 { - align = "right"; - pos[] = {"LevelM35",{0.22,-0.085},1}; - right[] = {"LevelM35",{0.27,-0.085},1}; - down[] = {"LevelM35",{0.22,-0.035},1}; - }; - - class LevelP35: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP35",{-0.2,0.03},1}, - {"LevelP35",{-0.2,0},1}, - {"LevelP35",{-0.05,0},1},{}, - {"LevelP35",{0.05,0},1}, - {"LevelP35",{0.2,0},1}, - {"LevelP35",{0.2,0.03},1} - }; - }; - - class VALP_1_35 { - type = "text"; - source = "static"; - text = "35"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP35",{-0.22,0.035},1}; - right[] = {"LevelP35",{-0.17,0.035},1}; - down[] = {"LevelP35",{-0.22,0.085},1}; - }; - - class VALP_2_35: VALP_1_35 { - align = "right"; - pos[] = {"LevelP35",{0.22,0.035},1}; - right[] = {"LevelP35",{0.27,0.035},1}; - down[] = {"LevelP35",{0.22,0.085},1}; - };*/ - - class LevelM40: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM40",{-0.2,-0.03},1}, - {"LevelM40",{-0.2,0},1}, - {"LevelM40",{-0.15,0},1},{}, - {"LevelM40",{-0.1,0},1}, - {"LevelM40",{-0.05,0},1},{}, - {"LevelM40",{0.05,0},1}, - {"LevelM40",{0.1,0},1},{}, - {"LevelM40",{0.15,0},1}, - {"LevelM40",{0.2,0},1}, - {"LevelM40",{0.2,-0.03},1} - }; - }; - - class VALM_1_40 { - type = "text"; - source = "static"; - text = -40; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM40",{-0.22,-0.085},1}; - right[] = {"LevelM40",{-0.17,-0.085},1}; - down[] = {"LevelM40",{-0.22,-0.035},1}; - }; - - class VALM_2_40: VALM_1_40 { - align = "right"; - pos[] = {"LevelM40",{0.22,-0.085},1}; - right[] = {"LevelM40",{0.27,-0.085},1}; - down[] = {"LevelM40",{0.22,-0.035},1}; - }; - - class LevelP40: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP40",{-0.2,0.03},1}, - {"LevelP40",{-0.2,0},1}, - {"LevelP40",{-0.05,0},1},{}, - {"LevelP40",{0.05,0},1}, - {"LevelP40",{0.2,0},1}, - {"LevelP40",{0.2,0.03},1} - }; - }; - - class VALP_1_40 { - type = "text"; - source = "static"; - text = "40"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP40",{-0.22,0.035},1}; - right[] = {"LevelP40",{-0.17,0.035},1}; - down[] = {"LevelP40",{-0.22,0.085},1}; - }; - - class VALP_2_40: VALP_1_40 { - align = "right"; - pos[] = {"LevelP40",{0.22,0.035},1}; - right[] = {"LevelP40",{0.27,0.035},1}; - down[] = {"LevelP40",{0.22,0.085},1}; - }; - - /*class LevelM45: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM45",{-0.2,-0.03},1}, - {"LevelM45",{-0.2,0},1}, - {"LevelM45",{-0.15,0},1},{}, - {"LevelM45",{-0.1,0},1}, - {"LevelM45",{-0.05,0},1},{}, - {"LevelM45",{0.05,0},1}, - {"LevelM45",{0.1,0},1},{}, - {"LevelM45",{0.15,0},1}, - {"LevelM45",{0.2,0},1}, - {"LevelM45",{0.2,-0.03},1} - }; - }; - - class VALM_1_45 { - type = "text"; - source = "static"; - text = -45; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM45",{-0.22,-0.085},1}; - right[] = {"LevelM45",{-0.17,-0.085},1}; - down[] = {"LevelM45",{-0.22,-0.035},1}; - }; - - class VALM_2_45: VALM_1_45 { - align = "right"; - pos[] = {"LevelM45",{0.22,-0.085},1}; - right[] = {"LevelM45",{0.27,-0.085},1}; - down[] = {"LevelM45",{0.22,-0.035},1}; - }; - - class LevelP45: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP45",{-0.2,0.03},1}, - {"LevelP45",{-0.2,0},1}, - {"LevelP45",{-0.05,0},1},{}, - {"LevelP45",{0.05,0},1}, - {"LevelP45",{0.2,0},1}, - {"LevelP45",{0.2,0.03},1} - }; - }; - - class VALP_1_45 { - type = "text"; - source = "static"; - text = "45"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP45",{-0.22,0.035},1}; - right[] = {"LevelP45",{-0.17,0.035},1}; - down[] = {"LevelP45",{-0.22,0.085},1}; - }; - - class VALP_2_45: VALP_1_45 { - align = "right"; - pos[] = {"LevelP45",{0.22,0.035},1}; - right[] = {"LevelP45",{0.27,0.035},1}; - down[] = {"LevelP45",{0.22,0.085},1}; - };*/ - - class LevelM50: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelM50",{-0.2,-0.03},1}, - {"LevelM50",{-0.2,0},1}, - {"LevelM50",{-0.15,0},1},{}, - {"LevelM50",{-0.1,0},1}, - {"LevelM50",{-0.05,0},1},{}, - {"LevelM50",{0.05,0},1}, - {"LevelM50",{0.1,0},1},{}, - {"LevelM50",{0.15,0},1}, - {"LevelM50",{0.2,0},1}, - {"LevelM50",{0.2,-0.03},1} - }; - }; - - class VALM_1_50 { - type = "text"; - source = "static"; - text = -50; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelM50",{-0.22,-0.085},1}; - right[] = {"LevelM50",{-0.17,-0.085},1}; - down[] = {"LevelM50",{-0.22,-0.035},1}; - }; - - class VALM_2_50: VALM_1_50 { - align = "right"; - pos[] = {"LevelM50",{0.22,-0.085},1}; - right[] = {"LevelM50",{0.27,-0.085},1}; - down[] = {"LevelM50",{0.22,-0.035},1}; - }; - - class LevelP50: Level0 { - type = "line"; - width = 3; - points[] = { - {"LevelP50",{-0.2,0.03},1}, - {"LevelP50",{-0.2,0},1}, - {"LevelP50",{-0.05,0},1},{}, - {"LevelP50",{0.05,0},1}, - {"LevelP50",{0.2,0},1}, - {"LevelP50",{0.2,0.03},1} - }; - }; - - class VALP_1_50 { - type = "text"; - source = "static"; - text = "50"; - align = "left"; - scale = 1; - sourceScale = 1; - pos[] = {"LevelP50",{-0.22,0.035},1}; - right[] = {"LevelP50",{-0.17,0.035},1}; - down[] = {"LevelP50",{-0.22,0.085},1}; - }; - - class VALP_2_50: VALP_1_50 { - align = "right"; - pos[] = {"LevelP50",{0.22,0.035},1}; - right[] = {"LevelP50",{0.27,0.035},1}; - down[] = {"LevelP50",{0.22,0.085},1}; - }; - }; - }; - - class StaticBank { - type = "line"; - width = 3; - points[] = { - {{0.4782,0.251},1}, - {{0.4773,0.241},1},{}, - {{0.4566,0.2538},1}, - {{0.4549,0.2439},1},{}, - {{0.4353,0.2585},1}, - {{0.4301,0.2392},1},{}, - {{0.4145,0.2651},1}, - {{0.4111,0.2557},1},{}, - {{0.3943,0.2734},1}, - {{0.3901,0.2644},1},{}, - {{0.375,0.2835},1}, - {{0.365,0.2662},1},{}, - {{0.3232,0.3232},1}, - {{0.3091,0.3091},1},{}, - {{0.2835,0.375},1}, - {{0.2662,0.365},1},{}, - {{"0.5 + (0.5- 0.4782)",0.251},1}, - {{"0.5 + (0.5- 0.4773)",0.241},1},{}, - {{"0.5 + (0.5- 0.4566)",0.2538},1}, - {{"0.5 + (0.5- 0.4549)",0.2439},1},{}, - {{"0.5 + (0.5- 0.4353)",0.2585},1}, - {{"0.5 + (0.5- 0.4301)",0.2392},1},{}, - {{"0.5 + (0.5- 0.4145)",0.2651},1}, - {{"0.5 + (0.5- 0.4111)",0.2557},1},{}, - {{"0.5 + (0.5- 0.3943)",0.2734},1}, - {{"0.5 + (0.5- 0.3901)",0.2644},1},{}, - {{"0.5 + (0.5- 0.3750)",0.2835},1}, - {{"0.5 + (0.5- 0.3650)",0.2662},1},{}, - {{"0.5 + (0.5- 0.3232)",0.3232},1}, - {{"0.5 + (0.5- 0.3091)",0.3091},1},{}, - {{"0.5 + (0.5- 0.2835)",0.375},1}, - {{"0.5 + (0.5- 0.2662)",0.365},1},{}, - {{0.5,"0.5 - 0.25"},1},{{0.5,"0.5 - 0.28"},1} - }; - }; - - class HorizonBankRot { - type = "line"; - width = 3; - points[] = {{"HorizonBankRot",{0,0.25},1},{"HorizonBankRot",{-0.01,0.23},1},{"HorizonBankRot",{0.01,0.23},1},{"HorizonBankRot",{0,0.25},1}}; - }; - - class Centerline { - type = "line"; - width = 7; - points[] = {{{0.45,0.5},1},{{0.48,0.5},1},{{0.49,0.525},1},{{0.5,0.5},1},{{0.51,0.525},1},{{0.52,0.5},1},{{0.55,0.5},1}}; - }; - - /*class WeaponName { - type = "text"; - source = "weapon"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.03,0.86},1}; - right[] = {{0.07,0.86},1}; - down[] = {{0.03,0.9},1}; - }; - - class AmmoCount { - type = "text"; - source = "ammo"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.03,0.89},1}; - right[] = {{0.07,0.89},1}; - down[] = {{0.03,0.93},1}; - };*/ - - class LightsGroup { - type = "group"; - condition = "lights"; - class LightsText { - type = "text"; - source = "static"; - text = "LIGHTS"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.055"},1}; - right[] = {{0.07,"0.53 + 0.055"},1}; - down[] = {{0.03,"0.53 + 0.095"},1}; - }; - }; - - class CollisionLightsGroup { - type = "group"; - condition = "collisionlights"; - class CollisionLightsText { - type = "text"; - source = "static"; - text = "A-COL"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.105"},1}; - right[] = {{0.07,"0.53 + 0.105"},1}; - down[] = {{0.03,"0.53 + 0.145"},1}; - }; - }; - - class GearGroup { - type = "group"; - condition = "ils"; - class GearText { - type = "text"; - source = "static"; - text = "GEAR"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.155"},1}; - right[] = {{0.07,"0.53 + 0.155"},1}; - down[] = {{0.03,"0.53 + 0.195"},1}; - }; - }; - - class SpeedNumber { - type = "text"; - align = "right"; - scale = 1; - source = "speed"; - sourceScale = 3.6; - pos[] = {{0.03,0.475},1}; - right[] = {{0.08,0.475},1}; - down[] = {{0.03,0.525},1}; - }; - - class TorqueNumber { - type = "text"; - align = "left"; - scale = 1; - source = "rtdRotorTorque"; - sourceScale = 488; - pos[] = {{0.065,0.175},1}; - right[] = {{0.115,0.175},1}; - down[] = {{0.065,0.225},1}; - }; - - class Torquetext { - type = "text"; - source = "static"; - text = "%"; - align = "right"; - scale = 1; - pos[] = {{0.07,0.175},1}; - right[] = {{0.12,0.175},1}; - down[] = {{0.07,0.225},1}; - }; - - class AltNumber { - type = "text"; - align = "right"; - scale = 1; - source = "altitudeAGL"; - sourceScale = 1; - pos[] = {{0.83,0.475},1}; - right[] = {{0.88,0.475},1}; - down[] = {{0.83,0.525},1}; - }; - - class ASLNumber { - type = "text"; - source = "altitudeASL"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.835,0.18},1}; - right[] = {{0.875,0.18},1}; - down[] = {{0.835,0.22},1}; - }; - - class VspeedScalePosta { - type = "line"; - width = 5; - points[] = {{{0.98,0.2},1},{{1,0.2},1},{},{{0.93,0.2},1},{{0.95,0.2},1},{},{{0.98,0.35},1},{{1,0.35},1},{},{{0.93,0.35},1},{{0.95,0.35},1},{},{{0.94,0.38},1},{{0.95,0.38},1},{},{{0.94,0.41},1},{{0.95,0.41},1},{},{{0.94,0.44},1},{{0.95,0.44},1},{},{{0.94,0.47},1},{{0.95,0.47},1},{},{{0.98,0.5},1},{{1,0.5},1},{},{{0.93,0.5},1},{{0.95,0.5},1},{},{{0.94,0.53},1},{{0.95,0.53},1},{},{{0.94,0.56},1},{{0.95,0.56},1},{},{{0.94,0.59},1},{{0.95,0.59},1},{},{{0.94,0.62},1},{{0.95,0.62},1},{},{{0.98,0.65},1},{{1,0.65},1},{},{{0.93,0.65},1},{{0.95,0.65},1},{},{{0.99,0.68},1},{{0.98,0.68},1},{},{{0.99,0.71},1},{{0.98,0.71},1},{},{{0.99,0.74},1},{{0.98,0.74},1},{},{{0.99,0.77},1},{{0.98,0.77},1},{},{{0.98,0.8},1},{{1,0.8},1},{},{{0.93,0.8},1},{{0.95,0.8},1},{}}; - }; - - class RadarAltitudeBand { - clipTL[] = {0,0.2}; - clipBR[] = {1,0.8}; - class radarbanda { - type = "line"; - width = 17; - points[] = {{"RadarAltitudeBone",{0,0},1},{"RadarAltitudeBone",{0,0.6},1}}; - }; - }; - - class VspeedBand { - type = "line"; - width = 3; - points[] = {{"VspeedBone",{-0.01,0},1},{"VspeedBone",{-0.025,-0.015},1},{"VspeedBone",{-0.025,0.015},1},{"VspeedBone",{-0.01,0},1},{}}; - }; - - class HeadingNumber: SpeedNumber { - source = "heading"; - sourceScale = 1; - align = "center"; - pos[] = {{0.5,0.01},1}; - right[] = {{0.56,0.01},1}; - down[] = {{0.5,0.06},1}; - }; - - class Center_box { - type = "line"; - width = 3; - points[] = {{{0.44,0.005},1},{{"0.44 + 0.12",0.005},1},{{"0.44 + 0.12","0.005 + 0.06"},1},{{0.44,"0.005 + 0.06"},1},{{0.44,0.005},1}}; - }; - - class HeadingArrow { - type = "line"; - width = 7; - points[] = {{{"0.5","0.128 + 0.03"},1},{{0.5,0.128},1}}; - }; - - class HeadingScale { - type = "scale"; - horizontal = 1; - source = "heading"; - sourceScale = 1; - width = 5; - top = 0.12; - center = 0.5; - bottom = 0.88; - lineXleft = "0.03 + 0.085"; - lineYright = "0.02 + 0.085"; - lineXleftMajor = "0.04 + 0.085"; - lineYrightMajor = "0.02 + 0.085"; - majorLineEach = 3; - numberEach = 3; - step = 10; - stepSize = "0.05"; - align = "center"; - scale = 1; - pos[] = {0.119,"0.0 + 0.065"}; - right[] = {0.159,"0.0 + 0.065"}; - down[] = {0.119,"0.04 + 0.065"}; - }; - - class Fuel_Text { - type = "text"; - source = "static"; - text = "Fuel"; - align = "right"; - scale = 1; - pos[] = {{0.85,0.86},1}; - right[] = {{0.89,0.86},1}; - down[] = {{0.85,0.9},1}; - }; - - class Fuel_Number { - type = "text"; - source = "fuel"; - sourceScale = 100; - align = "right"; - scale = 1; - pos[] = {{0.92,0.86},1}; - right[] = {{0.96,0.86},1}; - down[] = {{0.92,0.9},1}; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.04,0.04,0.1}; - helmetRight[] = {0.08,0,0}; - helmetDown[] = {0,-0.08,0}; - }; - - class LittleHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.722,0.722}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.75,0.75}; - }; - - class ForwardVec1 { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.25,0.25}; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.253,0.253}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class WeaponAim1 { - type = "vector"; - source = "weapon"; - pos0[] = {0,0}; - pos10[] = {0.253,0.23}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class RadarContact { - type = "fixed"; - pos[] = {0,0}; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class PlaneMovementCrosshair { - type = "line"; - width = 7; - points[] = {{"ForwardVec1",1,"Velocity",1,{0,-0.02},1},{"ForwardVec1",1,"Velocity",1,{0.01,-0.01732},1},{"ForwardVec1",1,"Velocity",1,{0.01732,-0.01},1},{"ForwardVec1",1,"Velocity",1,{0.02,0},1},{"ForwardVec1",1,"Velocity",1,{0.01732,0.01},1},{"ForwardVec1",1,"Velocity",1,{0.01,0.01732},1},{"ForwardVec1",1,"Velocity",1,{0,0.02},1},{"ForwardVec1",1,"Velocity",1,{-0.01,0.01732},1},{"ForwardVec1",1,"Velocity",1,{-0.01732,0.01},1},{"ForwardVec1",1,"Velocity",1,{-0.02,0},1},{"ForwardVec1",1,"Velocity",1,{-0.01732,-0.01},1},{"ForwardVec1",1,"Velocity",1,{-0.01,-0.01732},1},{"ForwardVec1",1,"Velocity",1,{0,-0.02},1},{},{"ForwardVec1",1,"Velocity",1,{0.04,0},1},{"ForwardVec1",1,"Velocity",1,{0.02,0},1},{},{"ForwardVec1",1,"Velocity",1,{-0.04,0},1},{"ForwardVec1",1,"Velocity",1,{-0.02,0},1},{},{"ForwardVec1",1,"Velocity",1,{0,-0.04},1},{"ForwardVec1",1,"Velocity",1,{0,-0.02},1}}; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.035,0.035,0.1}; - helmetRight[] = {0.07,0,0}; - helmetDown[] = {0,-0.07,0}; - }; -}; diff --git a/TO_MERGE/agm/Aircraft/mfd_thunderbolt.hpp b/TO_MERGE/agm/Aircraft/mfd_thunderbolt.hpp deleted file mode 100644 index 18571e8b1d..0000000000 --- a/TO_MERGE/agm/Aircraft/mfd_thunderbolt.hpp +++ /dev/null @@ -1,1979 +0,0 @@ - -class MFD { - class HUD_1 { - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0.12; - borderRight = 0.12; - borderTop = 0.05; - borderBottom = 0.15; - color[] = {0,1,0,0.1}; - enableParallax = 1; - class Bones { - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.38}; - pos10[] = {1.166,1.215}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.38}; - pos10[] = {1.166,1.215}; - }; - - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {1.215,1.215}; - }; - - class VerticalSpeed { - type = "linear"; - source = "vspeed"; - sourceScale = 1; - min = -100; - max = 100; - minPos[] = {0,0.15}; - maxPos[] = {0,-0.15}; - }; - - class center { - type = "fixed"; - pos[] = {0.5,0.38}; - }; - - class RangeBone { - type = "linear"; - source = "targetDist"; - sourceScale = 1; - min = 0; - max = 12000; - minPos[] = {0.08,0.4}; - maxPos[] = {0.08,0.6}; - }; - - class RadarAltitudeBone { - type = "linear"; - source = "altitudeAGL"; - sourceScale = 1; - min = 0; - max = 500; - minPos[] = {0.71,0.4}; - maxPos[] = {0.71,0.6}; - }; - - class VspeedBone { - type = "linear"; - source = "vspeed"; - sourceScale = 1; - min = -50; - max = 50; - minPos[] = {0.94,0.4}; - maxPos[] = {0.94,0.6}; - }; - }; - - class Draw { - color[] = {0.15,1,0.15}; - alpha = 0.9; - clipTL[] = {0,0}; - clipBR[] = {1,1}; - condition = "on"; - class WeaponName { - type = "text"; - source = "weapon"; - sourceScale = 1; - align = "left"; - scale = 1; - pos[] = {{"0.15 + 0.1",0.85},1}; - right[] = {{"0.19 + 0.1",0.85},1}; - down[] = {{"0.15 + 0.1",0.89},1}; - }; - - class AmmoCount { - type = "text"; - source = "ammo"; - sourceScale = 1; - align = "left"; - scale = 1; - pos[] = {{"0.15 + 0.1",0.89},1}; - right[] = {{"0.19 + 0.1",0.89},1}; - down[] = {{"0.15 + 0.1",0.93},1}; - }; - - class GearGroup { - type = "group"; - condition = "ils"; - class GearText { - type = "text"; - source = "static"; - text = "GEAR"; - align = "left"; - scale = 1; - pos[] = {{"0.15 + 0.1","0.53 - 0.40"},1}; - right[] = {{"0.20 + 0.1","0.53 - 0.40"},1}; - down[] = {{"0.15 + 0.1","0.53 - 0.40 + 0.05"},1}; - }; - - class radarbanda { - type = "line"; - width = 4; - points[] = { - {"RadarAltitudeBone",{-0.005,0.005},1}, - {"RadarAltitudeBone",{-0.005,0},1}, - {"RadarAltitudeBone",{0,0},1}, - {{0.71,0.6},1},{}, - {{0.71,0.4},1}, - {{0.72,0.4},1},{}, - {{0.71,0.44},1}, - {{0.72,0.44},1},{}, - {{0.71,0.48},1}, - {{0.72,0.48},1},{}, - {{0.71,0.52},1}, - {{0.72,0.52},1},{}, - {{0.71,0.56},1}, - {{0.72,0.56},1},{}, - {{0.71,0.6},1}, - {{0.72,0.6},1} - }; - }; - - class radartext_5 { - type = "text"; - source = "static"; - text = "5"; - align = "right"; - scale = 1; - pos[] = {{0.721,"0.385 + 0.00"},1}; - right[] = {{0.751,"0.385 + 0.00"},1}; - down[] = {{0.721,"0.415 + 0.00"},1}; - }; - - class radartext_4 { - type = "text"; - source = "static"; - text = "4"; - align = "right"; - scale = 1; - pos[] = {{0.721,"0.385 + 0.04"},1}; - right[] = {{0.751,"0.385 + 0.04"},1}; - down[] = {{0.721,"0.415 + 0.04"},1}; - }; - - class radartext_3 { - type = "text"; - source = "static"; - text = "3"; - align = "right"; - scale = 1; - pos[] = {{0.721,"0.385 + 0.08"},1}; - right[] = {{0.751,"0.385 + 0.08"},1}; - down[] = {{0.721,"0.415 + 0.08"},1}; - }; - - class radartext_2 { - type = "text"; - source = "static"; - text = "2"; - align = "right"; - scale = 1; - pos[] = {{0.721,"0.385 + 0.120"},1}; - right[] = {{0.751,"0.385 + 0.120"},1}; - down[] = {{0.721,"0.415 + 0.120"},1}; - }; - - class radartext_1 { - type = "text"; - source = "static"; - text = "1"; - align = "right"; - scale = 1; - pos[] = {{0.721,"0.385 + 0.160"},1}; - right[] = {{0.751,"0.385 + 0.160"},1}; - down[] = {{0.721,"0.415 + 0.160"},1}; - }; - - class radartext_0 { - type = "text"; - source = "static"; - text = "0"; - align = "right"; - scale = 1; - pos[] = {{0.721,"0.385 + 0.200"},1}; - right[] = {{0.751,"0.385 + 0.200"},1}; - down[] = {{0.721,"0.415 + 0.200"},1}; - }; - - /*class Vspeedbanda { - type = "line"; - width = 4; - points[] = { - {"VspeedBone",{0.007,-0.007},1}, - {"VspeedBone",{0,0},1}, - {"VspeedBone",{0.007,0.007},1},{}, - {"VspeedBone",{0,0},1}, - {"VspeedBone",{0.012,0},1}, - {{0.952,0.5},1},{}, - {{0.92,0.4},1}, - {{0.94,0.4},1},{}, - {{0.92,0.42},1}, - {{0.93,0.42},1},{}, - {{0.92,0.44},1}, - {{0.93,0.44},1},{}, - {{0.92,0.46},1}, - {{0.93,0.46},1},{}, - {{0.92,0.48},1}, - {{0.93,0.48},1},{}, - {{0.92,0.5},1}, - {{0.94,0.5},1},{}, - {{0.92,0.52},1}, - {{0.93,0.52},1},{}, - {{0.92,0.54},1}, - {{0.93,0.54},1},{}, - {{0.92,0.56},1}, - {{0.93,0.56},1},{}, - {{0.92,0.58},1}, - {{0.93,0.58},1},{}, - {{0.92,0.6},1}, - {{0.94,0.6},1} - }; - };*/ - }; - - class Vspeedbanda1 { - type = "line"; - width = 4; - points[] = { - {"VspeedBone",{0.007,-0.007},1}, - {"VspeedBone",{0,0},1}, - {"VspeedBone",{0.007,0.007},1},{}, - {"VspeedBone",{0,0},1}, - {"VspeedBone",{0.012,0},1}, - {{0.952,0.5},1},{}, - {{0.92,0.4},1}, - {{0.94,0.4},1},{}, - {{0.92,0.42},1}, - {{0.93,0.42},1},{}, - {{0.92,0.44},1}, - {{0.93,0.44},1},{}, - {{0.92,0.46},1}, - {{0.93,0.46},1},{}, - {{0.92,0.48},1}, - {{0.93,0.48},1},{}, - {{0.92,0.5},1}, - {{0.94,0.5},1},{}, - {{0.92,0.52},1}, - {{0.93,0.52},1},{}, - {{0.92,0.54},1}, - {{0.93,0.54},1},{}, - {{0.92,0.56},1}, - {{0.93,0.56},1},{}, - {{0.92,0.58},1}, - {{0.93,0.58},1},{}, - {{0.92,0.6},1}, - {{0.94,0.6},1} - }; - }; - - class StallGroup { - type = "group"; - condition = "stall"; - color[] = {1,0,0}; - blinkingPattern[] = {0.2,0.2}; - blinkingStartsOn = 1; - class StallText { - type = "text"; - source = "static"; - text = "STALL"; - align = "center"; - scale = 1; - pos[] = {{0.5,"0.53 - 0.25"},1}; - right[] = {{0.55,"0.53 - 0.25"},1}; - down[] = {{0.5,"0.53 - 0.21"},1}; - }; - }; - - class FLAPSGroup { - type = "group"; - condition = "flaps"; - class FLAPSText { - type = "text"; - source = "static"; - text = "FLAPS"; - align = "left"; - scale = 1; - pos[] = {{"0.15 + 0.1","0.53 - 0.35"},1}; - right[] = {{"0.20 + 0.1","0.53 - 0.35"},1}; - down[] = {{"0.15 + 0.1","0.53 - 0.35 + 0.05"},1}; - }; - }; - - class CollisionLightsGroup { - type = "group"; - condition = "collisionlights"; - class CollisionLightsText { - type = "text"; - source = "static"; - text = "A-COL"; - align = "left"; - scale = 1; - pos[] = {{"0.15 + 0.1","0.53 - 0.25"},1}; - right[] = {{"0.20 + 0.1","0.53 - 0.25"},1}; - down[] = {{"0.15 + 0.1","0.53 - 0.25 + 0.05"},1}; - }; - }; - - class LightsGroup { - type = "group"; - condition = "lights"; - class LightsText { - type = "text"; - source = "static"; - text = "LLS"; - align = "left"; - scale = 1; - pos[] = {{"0.15 + 0.1","0.53 - 0.30"},1}; - right[] = {{"0.20 + 0.1","0.53 - 0.30"},1}; - down[] = {{"0.15 + 0.1","0.53 - 0.30 + 0.05"},1}; - }; - }; - - class SpeedNumber { - type = "text"; - align = "left"; - scale = 1; - source = "speed"; - sourceScale = 3.6; - pos[] = {{"0.15 + 0.1",0.47},1}; - right[] = {{"0.21 + 0.1",0.47},1}; - down[] = {{"0.15 + 0.1",0.53},1}; - }; - - /*class GroundSpeedNumber { - type = "text"; - align = "left"; - scale = 1; - source = "sqrt((speed*speed)-(vspeed*vspeed))"; - sourceScale = 3.6; - pos[] = {{"0.15 + 0.1",0.37},1}; - right[] = {{"0.21 + 0.1",0.37},1}; - down[] = {{"0.15 + 0.1",0.43},1}; - };*/ - - class MachNumber { - type = "text"; - align = "left"; - scale = 1; - source = "speed"; - sourceScale = 0.0288; - pos[] = {{"0.12 + 0.1",0.53},1}; - right[] = {{"0.17 + 0.1",0.53},1}; - down[] = {{"0.12 + 0.1",0.58},1}; - }; - - class MachText { - type = "text"; - source = "static"; - text = "0."; - align = "left"; - scale = 1; - pos[] = {{"0.09 + 0.1",0.53},1}; - right[] = {{"0.14 + 0.1",0.53},1}; - down[] = {{"0.09 + 0.1",0.58},1}; - }; - - class MachTextM { - type = "text"; - source = "static"; - text = "M"; - align = "left"; - scale = 1; - pos[] = {{"0.1501 + 0.1",0.53},1}; - right[] = {{"0.2001 + 0.1",0.53},1}; - down[] = {{"0.1501 + 0.1",0.58},1}; - }; - - class HeadingNumber: SpeedNumber { - source = "heading"; - sourceScale = 1; - align = "right"; - pos[] = {{"0.85 - 0.1",0.15},1}; - right[] = {{"0.90 - 0.1",0.15},1}; - down[] = {{"0.85 - 0.1",0.2},1}; - }; - - class AltNumber: SpeedNumber { - align = "right"; - source = "altitudeASL"; - sourceScale = 1; - pos[] = {{"0.85 - 0.1",0.47},1}; - right[] = {{"0.91 - 0.1",0.47},1}; - down[] = {{"0.85 - 0.1",0.53},1}; - }; - - class PitcherNumber: SpeedNumber { - type = "text"; - source = "horizonDive"; - sourceScale = 57.2958; - align = "right"; - scale = 1; - pos[] = {{"0.85 - 0.1",0.54},1}; - right[] = {{"0.90 - 0.1",0.54},1}; - down[] = {{"0.85 - 0.1",0.59},1}; - }; - - class AGLText { - type = "text"; - source = "static"; - text = "AGL/"; - align = "right"; - scale = 1; - pos[] = {{"0.85 - 0.1",0.76},1}; - right[] = {{"0.89000002 - 0.1",0.76},1}; - down[] = {{"0.85 - 0.1",0.8},1}; - }; - - class AGLNumber { - type = "text"; - source = "altitudeAGL"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{"0.85 - 0.1",0.8},1}; - right[] = {{"0.89 - 0.1",0.8},1}; - down[] = {{"0.85 - 0.1",0.84},1}; - }; - - class ClimbText { - type = "text"; - source = "static"; - text = "CLIMB/"; - align = "right"; - scale = 1; - pos[] = {{"0.85 - 0.1",0.85001},1}; - right[] = {{"0.89 - 0.1",0.85001},1}; - down[] = {{"0.85 - 0.1",0.89001},1}; - }; - - class ClimbNumber { - type = "text"; - source = "vspeed"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{"0.85 - 0.1",0.89001},1}; - right[] = {{"0.89 - 0.1",0.89001},1}; - down[] = {{"0.85 - 0.1",0.93001},1}; - }; - - class RangeText { - type = "text"; - source = "static"; - text = "RNG/"; - align = "left"; - scale = 1; - pos[] = {{"0.15 + 0.1",0.76},1}; - right[] = {{"0.19 + 0.1",0.76},1}; - down[] = {{"0.15 + 0.1",0.8},1}; - }; - - class RangeNumber { - type = "text"; - source = "targetDist"; - sourceScale = 1; - align = "left"; - scale = 1; - pos[] = {{"0.15 + 0.1",0.8},1}; - right[] = {{"0.19 + 0.1",0.8},1}; - down[] = {{"0.15 + 0.1",0.84},1}; - }; - - class ATRangeScale { - condition = "ATmissile"; - type = "group"; - class RangeBand { - type = "line"; - width = 3; - points[] = { - {"RangeBone",{0,0},1}, - {"RangeBone",{-0.01,-0.01},1}, - {"RangeBone",{-0.01,0.01},1}, - {"RangeBone",{0,0},1} - }; - }; - - class ATMissileRange { - type = "line"; - width = 3; - points[] = { - {{0.08,0.4},1}, - {{0.1,0.4},1},{}, - {{0.08,0.467},1}, - {{0.1,0.467},1},{}, - {{0.08,0.567},1}, - {{0.1,0.567},1},{}, - {{0.08,0.6},1}, - {{0.1,0.6},1},{}, - {{0.08,0.467},1}, - {{0.08,0.567},1},{} - }; - }; - }; - - class HeadingArrow { - type = "line"; - width = 4; - points[] = { - {{0.5,0.95},1}, - {{0.515,0.965},1}, - {{0.485,0.965},1}, - {{0.5,0.95},1} - }; - }; - - class HeadingScale { - type = "scale"; - horizontal = 1; - source = "heading"; - sourceScale = 0.1; - width = 5; - top = 0.35; - center = 0.5; - bottom = 0.65; - lineXleft = "0.06 + 0.89"; - lineYright = "0.05 + 0.89"; - lineXleftMajor = "0.06 + 0.89"; - lineYrightMajor = "0.04 + 0.89"; - majorLineEach = 2; - numberEach = 2; - step = "1 / 2"; - stepSize = "(0.65 - 0.35) / 5"; - align = "center"; - scale = 1; - pos[] = {0.35,"0.0 + 0.89"}; - right[] = {0.38,"0.0 + 0.89"}; - down[] = {0.35,"0.03 + 0.89"}; - }; - }; - }; - - class HUD_2 { - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0.12; - borderRight = 0.12; - borderTop = 0.05; - borderBottom = 0.15; - color[] = {0,1,0,0.1}; - enableParallax = 1; - class Bones { - class ForwardVec1 { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0,0}; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0,0}; - }; - - class RadarContact { - type = "fixed"; - pos[] = {0,0}; - }; - - class HorizonBankRot { - type = "rotational"; - source = "horizonBank"; - center[] = {0.5,0.32}; - min = 3.1416; - max = -3.1416; - minAngle = -180; - maxAngle = 180; - aspectRatio = 1; - }; - - class VspeedBone { - type = "linear"; - source = "vspeed"; - sourceScale = 1; - min = -10; - max = 10; - minPos[] = {0.2,0.35}; - maxPos[] = {0.2,0.65}; - }; - - class ILS_H { - type = "ils"; - pos0[] = {0.5,0.32}; - pos3[] = {0.7,0.32}; - }; - - class ILS_W: ILS_H { - pos3[] = {0.5,0.53}; - }; - - class WeaponAimGUN { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.32}; - pos10[] = {" 0.5 + 0.253 "," 0.32 + 0.253 "}; - }; - - class WeaponAimROCKET { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.39}; - pos10[] = {" 0.5 + 0.253 "," 0.390 + 0.253 "}; - }; - - class RadarAltitudeBone { - type = "linear"; - source = "altitudeAGL"; - sourceScale = 0.1; - min = 0; - max = 200; - minPos[] = {0.5,0.1}; - maxPos[] = {0.5,0.85}; - }; - - class TargetSelected { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.32}; - pos10[] = {1.382,1.145}; - }; - - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.32}; - pos10[] = {0.8,0.62}; - }; - - class center { - type = "fixed"; - pos[] = {0.5,0.38}; - }; - - class Level0 { - type = "horizon"; - pos0[] = {0.5,0.32}; - pos10[] = {1.5,1.32}; - angle = 0; - }; - - class LevelP5: Level0 { - angle = 5; - }; - - class LevelM5: Level0 { - angle = -5; - }; - - class LevelP10: Level0 { - angle = 10; - }; - - class LevelM10: Level0 { - angle = -10; - }; - - class LevelP15: Level0 { - angle = 15; - }; - - class LevelM15: Level0 { - angle = -15; - }; - - class LevelP20: Level0 { - angle = 20; - }; - - class LevelM20: Level0 { - angle = -20; - }; - - class LevelP25: Level0 { - angle = 25; - }; - - class LevelM25: Level0 { - angle = -25; - }; - - class LevelP30: Level0 { - angle = 30; - }; - - class LevelM30: Level0 { - angle = -30; - }; - - class LevelP35: Level0 { - angle = 35; - }; - - class LevelM35: Level0 { - angle = -35; - }; - - class LevelP40: Level0 { - angle = 40; - }; - - class LevelM40: Level0 { - angle = -40; - }; - - class LevelP45: Level0 { - angle = 45; - }; - - class LevelM45: Level0 { - angle = -45; - }; - - class LevelP50: Level0 { - angle = 50; - }; - - class LevelM50: Level0 { - angle = -50; - }; - }; - - class Draw { - color[] = {0.15,1,0.15}; - alpha = 0.9; - clipTL[] = {0,0}; - clipBR[] = {1,1}; - condition = "on"; - class Horizont { - clipTL[] = {0.1,0.1}; - clipBR[] = {0.9,0.9}; - class Dimmed { - class Level0 { - type = "line"; - points[] = { - {"Level0",{-0.2,0},1}, - {"Level0",{-0.05,0},1},{}, - {"Level0",{0.05,0},1}, - {"Level0",{0.2,0},1} - }; - }; - - /*class VALM_1_0 { - type = "text"; - source = "static"; - text = 0; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"Level0",{-0.23,-0.025},1}; - right[] = {"Level0",{-0.13,-0.025},1}; - down[] = {"Level0",{-0.23,0.025},1}; - }; - - class VALM_2_0: VALM_1_0 { - align = "right"; - pos[] = {"Level0",{0.22,-0.025},1}; - right[] = {"Level0",{0.32,-0.025},1}; - down[] = {"Level0",{0.22,0.025},1}; - };*/ - - class LevelM5: Level0 { - type = "line"; - points[] = { - {"LevelM5",{-0.2,-0.03},1}, - {"LevelM5",{-0.2,0},1}, - {"LevelM5",{-0.15,0},1},{}, - {"LevelM5",{-0.1,0},1}, - {"LevelM5",{-0.05,0},1},{}, - {"LevelM5",{0.05,0},1}, - {"LevelM5",{0.1,0},1},{}, - {"LevelM5",{0.15,0},1}, - {"LevelM5",{0.2,0},1}, - {"LevelM5",{0.2,-0.03},1} - }; - }; - - class VALM_1_5 { - type = "text"; - source = "static"; - text = -5; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelM5",{-0.23,-0.085},1}; - right[] = {"LevelM5",{-0.13,-0.085},1}; - down[] = {"LevelM5",{-0.23,-0.035},1}; - }; - - class VALM_2_5: VALM_1_5 { - align = "right"; - pos[] = {"LevelM5",{0.22,-0.085},1}; - right[] = {"LevelM5",{0.32,-0.085},1}; - down[] = {"LevelM5",{0.22,-0.035},1}; - }; - - class LevelP5: Level0 { - type = "line"; - points[] = { - {"LevelP5",{-0.2,0.03},1}, - {"LevelP5",{-0.2,0},1}, - {"LevelP5",{-0.05,0},1},{}, - {"LevelP5",{0.05,0},1}, - {"LevelP5",{0.2,0},1}, - {"LevelP5",{0.2,0.03},1} - }; - }; - - class VALP_1_5 { - type = "text"; - source = "static"; - text = "5"; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelP5",{-0.23,0.035},1}; - right[] = {"LevelP5",{-0.13,0.035},1}; - down[] = {"LevelP5",{-0.23,0.085},1}; - }; - - class VALP_2_5: VALP_1_5 { - align = "right"; - pos[] = {"LevelP5",{0.22,0.035},1}; - right[] = {"LevelP5",{0.32,0.035},1}; - down[] = {"LevelP5",{0.22,0.085},1}; - }; - - class LevelM10: Level0 { - type = "line"; - points[] = { - {"LevelM10",{-0.2,-0.03},1}, - {"LevelM10",{-0.2,0},1}, - {"LevelM10",{-0.15,0},1},{}, - {"LevelM10",{-0.1,0},1}, - {"LevelM10",{-0.05,0},1},{}, - {"LevelM10",{0.05,0},1}, - {"LevelM10",{0.1,0},1},{}, - {"LevelM10",{0.15,0},1}, - {"LevelM10",{0.2,0},1}, - {"LevelM10",{0.2,-0.03},1} - }; - }; - - class VALM_1_10 { - type = "text"; - source = "static"; - text = -10; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelM10",{-0.23,-0.085},1}; - right[] = {"LevelM10",{-0.13,-0.085},1}; - down[] = {"LevelM10",{-0.23,-0.035},1}; - }; - - class VALM_2_10: VALM_1_10 { - align = "right"; - pos[] = {"LevelM10",{0.22,-0.085},1}; - right[] = {"LevelM10",{0.32,-0.085},1}; - down[] = {"LevelM10",{0.22,-0.035},1}; - }; - - class LevelP10: Level0 { - type = "line"; - points[] = { - {"LevelP10",{-0.2,0.03},1}, - {"LevelP10",{-0.2,0},1}, - {"LevelP10",{-0.05,0},1},{}, - {"LevelP10",{0.05,0},1}, - {"LevelP10",{0.2,0},1}, - {"LevelP10",{0.2,0.03},1} - }; - }; - - class VALP_1_10 { - type = "text"; - source = "static"; - text = "10"; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelP10",{-0.23,0.035},1}; - right[] = {"LevelP10",{-0.13,0.035},1}; - down[] = {"LevelP10",{-0.23,0.085},1}; - }; - - class VALP_2_10: VALP_1_10 { - align = "right"; - pos[] = {"LevelP10",{0.22,0.035},1}; - right[] = {"LevelP10",{0.32,0.035},1}; - down[] = {"LevelP10",{0.22,0.085},1}; - }; - - class LevelM15: Level0 { - type = "line"; - points[] = { - {"LevelM15",{-0.2,-0.03},1}, - {"LevelM15",{-0.2,0},1}, - {"LevelM15",{-0.15,0},1},{}, - {"LevelM15",{-0.1,0},1}, - {"LevelM15",{-0.05,0},1},{}, - {"LevelM15",{0.05,0},1}, - {"LevelM15",{0.1,0},1},{}, - {"LevelM15",{0.15,0},1}, - {"LevelM15",{0.2,0},1}, - {"LevelM15",{0.2,-0.03},1} - }; - }; - - class VALM_1_15 { - type = "text"; - source = "static"; - text = -15; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelM15",{-0.23,-0.085},1}; - right[] = {"LevelM15",{-0.13,-0.085},1}; - down[] = {"LevelM15",{-0.23,-0.035},1}; - }; - - class VALM_2_15: VALM_1_15 { - align = "right"; - pos[] = {"LevelM15",{0.22,-0.085},1}; - right[] = {"LevelM15",{0.32,-0.085},1}; - down[] = {"LevelM15",{0.22,-0.035},1}; - }; - - class LevelP15: Level0 { - type = "line"; - points[] = { - {"LevelP15",{-0.2,0.03},1}, - {"LevelP15",{-0.2,0},1}, - {"LevelP15",{-0.05,0},1},{}, - {"LevelP15",{0.05,0},1}, - {"LevelP15",{0.2,0},1}, - {"LevelP15",{0.2,0.03},1} - }; - }; - - class VALP_1_15 { - type = "text"; - source = "static"; - text = "15"; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelP15",{-0.23,0.035},1}; - right[] = {"LevelP15",{-0.13,0.035},1}; - down[] = {"LevelP15",{-0.23,0.085},1}; - }; - - class VALP_2_15: VALP_1_15 { - align = "right"; - pos[] = {"LevelP15",{0.22,0.035},1}; - right[] = {"LevelP15",{0.32,0.035},1}; - down[] = {"LevelP15",{0.22,0.085},1}; - }; - - class LevelM20: Level0 { - type = "line"; - points[] = { - {"LevelM20",{-0.2,-0.03},1}, - {"LevelM20",{-0.2,0},1}, - {"LevelM20",{-0.15,0},1},{}, - {"LevelM20",{-0.1,0},1}, - {"LevelM20",{-0.05,0},1},{}, - {"LevelM20",{0.05,0},1}, - {"LevelM20",{0.1,0},1},{}, - {"LevelM20",{0.15,0},1}, - {"LevelM20",{0.2,0},1}, - {"LevelM20",{0.2,-0.03},1} - }; - }; - - class VALM_1_20 { - type = "text"; - source = "static"; - text = -20; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelM20",{-0.23,-0.085},1}; - right[] = {"LevelM20",{-0.13,-0.085},1}; - down[] = {"LevelM20",{-0.23,-0.035},1}; - }; - - class VALM_2_20: VALM_1_20 { - align = "right"; - pos[] = {"LevelM20",{0.22,-0.085},1}; - right[] = {"LevelM20",{0.32,-0.085},1}; - down[] = {"LevelM20",{0.22,-0.035},1}; - }; - - class LevelP20: Level0 { - type = "line"; - points[] = { - {"LevelP20",{-0.2,0.03},1}, - {"LevelP20",{-0.2,0},1}, - {"LevelP20",{-0.05,0},1},{}, - {"LevelP20",{0.05,0},1}, - {"LevelP20",{0.2,0},1}, - {"LevelP20",{0.2,0.03},1} - }; - }; - - class VALP_1_20 { - type = "text"; - source = "static"; - text = "20"; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelP20",{-0.23,0.035},1}; - right[] = {"LevelP20",{-0.13,0.035},1}; - down[] = {"LevelP20",{-0.23,0.085},1}; - }; - - class VALP_2_20: VALP_1_20 { - align = "right"; - pos[] = {"LevelP20",{0.22,0.035},1}; - right[] = {"LevelP20",{0.32,0.035},1}; - down[] = {"LevelP20",{0.22,0.085},1}; - }; - - class LevelM25: Level0 { - type = "line"; - points[] = { - {"LevelM25",{-0.2,-0.03},1}, - {"LevelM25",{-0.2,0},1}, - {"LevelM25",{-0.15,0},1},{}, - {"LevelM25",{-0.1,0},1}, - {"LevelM25",{-0.05,0},1},{}, - {"LevelM25",{0.05,0},1}, - {"LevelM25",{0.1,0},1},{}, - {"LevelM25",{0.15,0},1}, - {"LevelM25",{0.2,0},1}, - {"LevelM25",{0.2,-0.03},1} - }; - }; - - class VALM_1_25 { - type = "text"; - source = "static"; - text = -25; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelM25",{-0.23,-0.085},1}; - right[] = {"LevelM25",{-0.13,-0.085},1}; - down[] = {"LevelM25",{-0.23,-0.035},1}; - }; - - class VALM_2_25: VALM_1_25 { - align = "right"; - pos[] = {"LevelM25",{0.22,-0.085},1}; - right[] = {"LevelM25",{0.32,-0.085},1}; - down[] = {"LevelM25",{0.22,-0.035},1}; - }; - - class LevelP25: Level0 { - type = "line"; - points[] = { - {"LevelP25",{-0.2,0.03},1}, - {"LevelP25",{-0.2,0},1}, - {"LevelP25",{-0.05,0},1},{}, - {"LevelP25",{0.05,0},1}, - {"LevelP25",{0.2,0},1}, - {"LevelP25",{0.2,0.03},1} - }; - }; - - class VALP_1_25 { - type = "text"; - source = "static"; - text = "25"; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelP25",{-0.23,0.035},1}; - right[] = {"LevelP25",{-0.13,0.035},1}; - down[] = {"LevelP25",{-0.23,0.085},1}; - }; - - class VALP_2_25: VALP_1_25 { - align = "right"; - pos[] = {"LevelP25",{0.22,0.035},1}; - right[] = {"LevelP25",{0.32,0.035},1}; - down[] = {"LevelP25",{0.22,0.085},1}; - }; - - class LevelM30: Level0 { - type = "line"; - points[] = { - {"LevelM30",{-0.2,-0.03},1}, - {"LevelM30",{-0.2,0},1}, - {"LevelM30",{-0.15,0},1},{}, - {"LevelM30",{-0.1,0},1}, - {"LevelM30",{-0.05,0},1},{}, - {"LevelM30",{0.05,0},1}, - {"LevelM30",{0.1,0},1},{}, - {"LevelM30",{0.15,0},1}, - {"LevelM30",{0.2,0},1}, - {"LevelM30",{0.2,-0.03},1} - }; - }; - - class VALM_1_30 { - type = "text"; - source = "static"; - text = -30; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelM30",{-0.23,-0.085},1}; - right[] = {"LevelM30",{-0.13,-0.085},1}; - down[] = {"LevelM30",{-0.23,-0.035},1}; - }; - - class VALM_2_30: VALM_1_30 { - align = "right"; - pos[] = {"LevelM30",{0.22,-0.085},1}; - right[] = {"LevelM30",{0.32,-0.085},1}; - down[] = {"LevelM30",{0.22,-0.035},1}; - }; - - class LevelP30: Level0 { - type = "line"; - points[] = { - {"LevelP30",{-0.2,0.03},1}, - {"LevelP30",{-0.2,0},1}, - {"LevelP30",{-0.05,0},1},{}, - {"LevelP30",{0.05,0},1}, - {"LevelP30",{0.2,0},1}, - {"LevelP30",{0.2,0.03},1} - }; - }; - - class VALP_1_30 { - type = "text"; - source = "static"; - text = "30"; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelP30",{-0.23,0.035},1}; - right[] = {"LevelP30",{-0.13,0.035},1}; - down[] = {"LevelP30",{-0.23,0.085},1}; - }; - - class VALP_2_30: VALP_1_30 { - align = "right"; - pos[] = {"LevelP30",{0.22,0.035},1}; - right[] = {"LevelP30",{0.32,0.035},1}; - down[] = {"LevelP30",{0.22,0.085},1}; - }; - - class LevelM35: Level0 { - type = "line"; - points[] = { - {"LevelM35",{-0.2,-0.03},1}, - {"LevelM35",{-0.2,0},1}, - {"LevelM35",{-0.15,0},1},{}, - {"LevelM35",{-0.1,0},1}, - {"LevelM35",{-0.05,0},1},{}, - {"LevelM35",{0.05,0},1}, - {"LevelM35",{0.1,0},1},{}, - {"LevelM35",{0.15,0},1}, - {"LevelM35",{0.2,0},1}, - {"LevelM35",{0.2,-0.03},1} - }; - }; - - class VALM_1_35 { - type = "text"; - source = "static"; - text = -35; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelM35",{-0.23,-0.085},1}; - right[] = {"LevelM35",{-0.13,-0.085},1}; - down[] = {"LevelM35",{-0.23,-0.035},1}; - }; - - class VALM_2_35: VALM_1_35 { - align = "right"; - pos[] = {"LevelM35",{0.22,-0.085},1}; - right[] = {"LevelM35",{0.32,-0.085},1}; - down[] = {"LevelM35",{0.22,-0.035},1}; - }; - - class LevelP35: Level0 { - type = "line"; - points[] = { - {"LevelP35",{-0.2,0.03},1}, - {"LevelP35",{-0.2,0},1}, - {"LevelP35",{-0.05,0},1},{}, - {"LevelP35",{0.05,0},1}, - {"LevelP35",{0.2,0},1}, - {"LevelP35",{0.2,0.03},1} - }; - }; - - class VALP_1_35 { - type = "text"; - source = "static"; - text = "35"; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelP35",{-0.23,0.035},1}; - right[] = {"LevelP35",{-0.13,0.035},1}; - down[] = {"LevelP35",{-0.23,0.085},1}; - }; - - class VALP_2_35: VALP_1_35 { - align = "right"; - pos[] = {"LevelP35",{0.22,0.035},1}; - right[] = {"LevelP35",{0.32,0.035},1}; - down[] = {"LevelP35",{0.22,0.085},1}; - }; - - class LevelM40: Level0 { - type = "line"; - points[] = { - {"LevelM40",{-0.2,-0.03},1}, - {"LevelM40",{-0.2,0},1}, - {"LevelM40",{-0.15,0},1},{}, - {"LevelM40",{-0.1,0},1}, - {"LevelM40",{-0.05,0},1},{}, - {"LevelM40",{0.05,0},1}, - {"LevelM40",{0.1,0},1},{}, - {"LevelM40",{0.15,0},1}, - {"LevelM40",{0.2,0},1}, - {"LevelM40",{0.2,-0.03},1} - }; - }; - - class VALM_1_40 { - type = "text"; - source = "static"; - text = -40; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelM40",{-0.23,-0.085},1}; - right[] = {"LevelM40",{-0.13,-0.085},1}; - down[] = {"LevelM40",{-0.23,-0.035},1}; - }; - - class VALM_2_40: VALM_1_40 { - align = "right"; - pos[] = {"LevelM40",{0.22,-0.085},1}; - right[] = {"LevelM40",{0.32,-0.085},1}; - down[] = {"LevelM40",{0.22,-0.035},1}; - }; - - class LevelP40: Level0 { - type = "line"; - points[] = { - {"LevelP40",{-0.2,0.03},1}, - {"LevelP40",{-0.2,0},1}, - {"LevelP40",{-0.05,0},1},{}, - {"LevelP40",{0.05,0},1}, - {"LevelP40",{0.2,0},1}, - {"LevelP40",{0.2,0.03},1} - }; - }; - - class VALP_1_40 { - type = "text"; - source = "static"; - text = "40"; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelP40",{-0.23,0.035},1}; - right[] = {"LevelP40",{-0.13,0.035},1}; - down[] = {"LevelP40",{-0.23,0.085},1}; - }; - - class VALP_2_40: VALP_1_40 { - align = "right"; - pos[] = {"LevelP40",{0.22,0.035},1}; - right[] = {"LevelP40",{0.32,0.035},1}; - down[] = {"LevelP40",{0.22,0.085},1}; - }; - - class LevelM45: Level0 { - type = "line"; - points[] = { - {"LevelM45",{-0.2,-0.03},1}, - {"LevelM45",{-0.2,0},1}, - {"LevelM45",{-0.15,0},1},{}, - {"LevelM45",{-0.1,0},1}, - {"LevelM45",{-0.05,0},1},{}, - {"LevelM45",{0.05,0},1}, - {"LevelM45",{0.1,0},1},{}, - {"LevelM45",{0.15,0},1}, - {"LevelM45",{0.2,0},1}, - {"LevelM45",{0.2,-0.03},1} - }; - }; - - class VALM_1_45 { - type = "text"; - source = "static"; - text = -45; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelM45",{-0.23,-0.085},1}; - right[] = {"LevelM45",{-0.13,-0.085},1}; - down[] = {"LevelM45",{-0.23,-0.035},1}; - }; - - class VALM_2_45: VALM_1_45 { - align = "right"; - pos[] = {"LevelM45",{0.22,-0.085},1}; - right[] = {"LevelM45",{0.32,-0.085},1}; - down[] = {"LevelM45",{0.22,-0.035},1}; - }; - - class LevelP45: Level0 { - type = "line"; - points[] = { - {"LevelP45",{-0.2,0.03},1}, - {"LevelP45",{-0.2,0},1}, - {"LevelP45",{-0.05,0},1},{}, - {"LevelP45",{0.05,0},1}, - {"LevelP45",{0.2,0},1}, - {"LevelP45",{0.2,0.03},1} - }; - }; - - class VALP_1_45 { - type = "text"; - source = "static"; - text = "45"; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelP45",{-0.23,0.035},1}; - right[] = {"LevelP45",{-0.13,0.035},1}; - down[] = {"LevelP45",{-0.23,0.085},1}; - }; - - class VALP_2_45: VALP_1_45 { - align = "right"; - pos[] = {"LevelP45",{0.22,0.035},1}; - right[] = {"LevelP45",{0.32,0.035},1}; - down[] = {"LevelP45",{0.22,0.085},1}; - }; - - class LevelM50: Level0 { - type = "line"; - points[] = { - {"LevelM50",{-0.2,-0.03},1}, - {"LevelM50",{-0.2,0},1}, - {"LevelM50",{-0.15,0},1},{}, - {"LevelM50",{-0.1,0},1}, - {"LevelM50",{-0.05,0},1},{}, - {"LevelM50",{0.05,0},1}, - {"LevelM50",{0.1,0},1},{}, - {"LevelM50",{0.15,0},1}, - {"LevelM50",{0.2,0},1}, - {"LevelM50",{0.2,-0.03},1} - }; - }; - - class VALM_1_50 { - type = "text"; - source = "static"; - text = -50; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelM50",{-0.23,-0.085},1}; - right[] = {"LevelM50",{-0.13,-0.085},1}; - down[] = {"LevelM50",{-0.23,-0.035},1}; - }; - - class VALM_2_50: VALM_1_50 { - align = "right"; - pos[] = {"LevelM50",{0.22,-0.085},1}; - right[] = {"LevelM50",{0.32,-0.085},1}; - down[] = {"LevelM50",{0.22,-0.035},1}; - }; - - class LevelP50: Level0 { - type = "line"; - points[] = { - {"LevelP50",{-0.2,0.03},1}, - {"LevelP50",{-0.2,0},1}, - {"LevelP50",{-0.05,0},1},{}, - {"LevelP50",{0.05,0},1}, - {"LevelP50",{0.2,0},1}, - {"LevelP50",{0.2,0.03},1} - }; - }; - - class VALP_1_50 { - type = "text"; - source = "static"; - text = "50"; - align = "left"; - scale = 1; - sourceScale = 57.2958; - pos[] = {"LevelP50",{-0.23,0.035},1}; - right[] = {"LevelP50",{-0.13,0.035},1}; - down[] = {"LevelP50",{-0.23,0.085},1}; - }; - - class VALP_2_50: VALP_1_50 { - align = "right"; - pos[] = {"LevelP50",{0.22,0.035},1}; - right[] = {"LevelP50",{0.32,0.035},1}; - down[] = {"LevelP50",{0.22,0.085},1}; - }; - }; - }; - - class PlaneMovementCrosshair { - clipTL[] = {0,1}; - clipBR[] = {1,0}; - type = "line"; - width = 6; - points[] = { - {"ForwardVec1",1,"Velocity",1,{"0 *2 /3","-0.02 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.0099999998 *2 /3","-0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.01732 *2 /3","-0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.02 *2 /3","0 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.01732 *2 /3","0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0.0099999998 *2 /3","0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0 *2 /3","0.02 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.0099999998 *2 /3","0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.01732 *2 /3","0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.02 *2 /3","0 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.01732 *2 /3","-0.0099999998 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.0099999998 *2 /3","-0.01732 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{"0 *2 /3","-0.02 *2 /3"},1},{}, - {"ForwardVec1",1,"Velocity",1,{0.035,0},1}, - {"ForwardVec1",1,"Velocity",1,{"0.02 *2 /3",0},1},{}, - {"ForwardVec1",1,"Velocity",1,{-0.035,0},1}, - {"ForwardVec1",1,"Velocity",1,{"-0.02 *2 /3",0},1},{}, - {"ForwardVec1",1,"Velocity",1,{0,"-0.039999999 *2 /3"},1}, - {"ForwardVec1",1,"Velocity",1,{0,"-0.02 *2 /3"},1} - }; - }; - - class RadarTargets { - type = "radar"; - pos0[] = {0.5,0.32}; - pos10[] = {1.382,1.145}; - width = 2.5; - points[] = { - {"ForwardVec",1,"RadarContact",{-0.02,-0.02},1}, - {"ForwardVec",1,"RadarContact",{0.02,-0.02},1}, - {"ForwardVec",1,"RadarContact",{0.02,0.02},1}, - {"ForwardVec",1,"RadarContact",{-0.02,0.02},1}, - {"ForwardVec",1,"RadarContact",{-0.02,-0.02},1} - }; - }; - - class AA_target { - condition = "AAmissile"; - class Target { - type = "line"; - points[] = { - /*{"TargetSelected",{ 0,"-0.08 + 0.2"},1}, - {"TargetSelected",{0.05,"-0.0696 + 0.2"},1}, - {"TargetSelected",{0.087,"-0.50*0.10/(1.5/1.2) + 0.2"},1}, - {"TargetSelected",{0.1,"0 + 0.2"},1}, - {"TargetSelected",{0.087,"0.04 + 0.2"},1}, - {"TargetSelected",{0.05,"+0.87*0.10/(1.5/1.2) + 0.2"},1}, - {"TargetSelected",{0,"0.08 + 0.2"},1}, - {"TargetSelected",{-0.05,"0.0696 + 0.2"},1}, - {"TargetSelected",{-0.087,"+0.50*0.10/(1.5/1.2) + 0.2"},1}, - {"TargetSelected",{-0.1,"0 + 0.2"},1}, - {"TargetSelected",{-0.087,"-0.04 + 0.2"},1}, - {"TargetSelected",{-0.05,"-0.87*0.10/(1.5/1.2) + 0.2"},1}, - {"TargetSelected",{0,"-0.08 + 0.2"},1}*/ - {"ForwardVec",1,"TargetSelected",1,{0,-0.02},1}, - {"ForwardVec",1,"TargetSelected",1,{0.0099999998,-0.01732},1}, - {"ForwardVec",1,"TargetSelected",1,{0.01732,-0.0099999998},1}, - {"ForwardVec",1,"TargetSelected",1,{0.02,0},1}, - {"ForwardVec",1,"TargetSelected",1,{0.01732,0.0099999998},1}, - {"ForwardVec",1,"TargetSelected",1,{0.0099999998,0.01732},1}, - {"ForwardVec",1,"TargetSelected",1,{0,0.02},1}, - {"ForwardVec",1,"TargetSelected",1,{-0.0099999998,0.01732},1}, - {"ForwardVec",1,"TargetSelected",1,{-0.01732,0.0099999998},1}, - {"ForwardVec",1,"TargetSelected",1,{-0.02,0},1}, - {"ForwardVec",1,"TargetSelected",1,{-0.01732,-0.0099999998},1}, - {"ForwardVec",1,"TargetSelected",1,{-0.0099999998,-0.01732},1}, - {"ForwardVec",1,"TargetSelected",1,{0,-0.02},1} - }; - }; - }; - - class AG_target { - condition = "ATmissile"; - class Target { - type = "line"; - points[] = { - /*{"TargetSelected",{0,"-0.08"},1}, - {"TargetSelected",{0.05,"-0.0696"},1}, - {"TargetSelected",{0.087,"-0.50*0.10/(1.5/1.2)"},1}, - {"TargetSelected",{0.1,"0"},1}, - {"TargetSelected",{0.087,"0.04"},1}, - {"TargetSelected",{0.05,"+0.87*0.10/(1.5/1.2)"},1}, - {"TargetSelected",{0,"0.08"},1}, - {"TargetSelected",{-0.05,"0.0696"},1}, - {"TargetSelected",{-0.087,"+0.50*0.10/(1.5/1.2)"},1}, - {"TargetSelected",{-0.1,"0"},1}, - {"TargetSelected",{-0.087,"-0.04"},1}, - {"TargetSelected",{-0.05,"-0.87*0.10/(1.5/1.2)"},1}, - {"TargetSelected",{0,"-0.08"},1},*/ - {"ForwardVec",1,"TargetSelected",1,{0,-0.02},1}, - {"ForwardVec",1,"TargetSelected",1,{0.0099999998,-0.01732},1}, - {"ForwardVec",1,"TargetSelected",1,{0.01732,-0.0099999998},1}, - {"ForwardVec",1,"TargetSelected",1,{0.02,0},1}, - {"ForwardVec",1,"TargetSelected",1,{0.01732,0.0099999998},1}, - {"ForwardVec",1,"TargetSelected",1,{0.0099999998,0.01732},1}, - {"ForwardVec",1,"TargetSelected",1,{0,0.02},1}, - {"ForwardVec",1,"TargetSelected",1,{-0.0099999998,0.01732},1}, - {"ForwardVec",1,"TargetSelected",1,{-0.01732,0.0099999998},1}, - {"ForwardVec",1,"TargetSelected",1,{-0.02,0},1}, - {"ForwardVec",1,"TargetSelected",1,{-0.01732,-0.0099999998},1}, - {"ForwardVec",1,"TargetSelected",1,{-0.0099999998,-0.01732},1}, - {"ForwardVec",1,"TargetSelected",1,{0,-0.02},1},{}, - {"ForwardVec",1,"TargetSelected",1,{0,-0.02},1}, - {"ForwardVec",1,"TargetSelected",1,{0,-0.01},1},{}, - {"ForwardVec",1,"TargetSelected",1,{0,0.02},1}, - {"ForwardVec",1,"TargetSelected",1,{0,0.01},1},{}, - {"ForwardVec",1,"TargetSelected",1,{0.02,0},1}, - {"ForwardVec",1,"TargetSelected",1,{0.01,0},1},{}, - {"ForwardVec",1,"TargetSelected",1,{-0.02,0},1}, - {"ForwardVec",1,"TargetSelected",1,{-0.01,0},1} - }; - }; - }; - - class GUN_target { - condition = "mgun"; - class Target { - type = "line"; - width = 4; - points[] = { - //////////////////////////////////////////////// UP - /*{"ForwardVec",1,"target",{ 0,-0.060},1}, - {"ForwardVec",1,"target",{ 0,-0.055},1},{}, - {"ForwardVec",1,"target",{ 0,-0.050},1}, - {"ForwardVec",1,"target",{ 0,-0.045},1},{}, - {"ForwardVec",1,"target",{ 0,-0.040},1}, - {"ForwardVec",1,"target",{ 0,-0.035},1},{},*/ - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.030},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.025},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.020},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.015},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.010},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.005},1},{}, - //////////////////////////////////////////////// center - {"ForwardVec",1,"TargetSelected",1,{ 0,0},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0},1},{}, - /////////////////////////////////////////////// DOWN - /*{"ForwardVec",1,"target",{ 0,0.060},1}, - {"ForwardVec",1,"target",{ 0,0.055},1},{}, - {"ForwardVec",1,"target",{ 0,0.050},1}, - {"ForwardVec",1,"target",{ 0,0.045},1},{}, - {"ForwardVec",1,"target",{ 0,0.040},1}, - {"ForwardVec",1,"target",{ 0,0.035},1},{},*/ - {"ForwardVec",1,"TargetSelected",1,{ 0,0.030},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0.025},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0.020},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0.015},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0.010},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0.005},1},{}, - /////////////////////////////////////////////// LEFT - /*{"ForwardVec",1,"target",{ -0.060, 0},1}, - {"ForwardVec",1,"target",{ -0.055, 0},1},{}, - {"ForwardVec",1,"target",{ -0.050, 0},1}, - {"ForwardVec",1,"target",{ -0.045, 0},1},{}, - {"ForwardVec",1,"target",{ -0.040, 0},1}, - {"ForwardVec",1,"target",{ -0.035, 0},1},{},*/ - {"ForwardVec",1,"TargetSelected",1,{ -0.030, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ -0.025, 0},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ -0.020, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ -0.015, 0},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ -0.010, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ -0.005, 0},1},{}, - /////////////////////////////////////////////// RIGHT - /*{"ForwardVec",1,"target",{ 0.060, 0},1}, - {"ForwardVec",1,"target",{ 0.055, 0},1},{}, - {"ForwardVec",1,"target",{ 0.050, 0},1}, - {"ForwardVec",1,"target",{ 0.045, 0},1},{}, - {"ForwardVec",1,"target",{ 0.040, 0},1}, - {"ForwardVec",1,"target",{ 0.035, 0},1},{},*/ - {"ForwardVec",1,"TargetSelected",1,{ 0.030, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0.025, 0},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0.020, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0.015, 0},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0.010, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0.005, 0},1},{} - }; - }; - }; - - class Rocket_target { - condition = "rocket"; - class Target { - type = "line"; - width = 4; - points[] = { - //////////////////////////////////////////////// UP - /*{"ForwardVec",1,"target",{ 0,-0.060},1}, - {"ForwardVec",1,"target",{ 0,-0.055},1},{}, - {"ForwardVec",1,"target",{ 0,-0.050},1}, - {"ForwardVec",1,"target",{ 0,-0.045},1},{}, - {"ForwardVec",1,"target",{ 0,-0.040},1}, - {"ForwardVec",1,"target",{ 0,-0.035},1},{},*/ - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.030},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.025},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.020},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.015},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.010},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,-0.005},1},{}, - //////////////////////////////////////////////// center - {"ForwardVec",1,"TargetSelected",1,{ 0,0},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0},1},{}, - /////////////////////////////////////////////// DOWN - /*{"ForwardVec",1,"target",{ 0,0.060},1}, - {"ForwardVec",1,"target",{ 0,0.055},1},{}, - {"ForwardVec",1,"target",{ 0,0.050},1}, - {"ForwardVec",1,"target",{ 0,0.045},1},{}, - {"ForwardVec",1,"target",{ 0,0.040},1}, - {"ForwardVec",1,"target",{ 0,0.035},1},{},*/ - {"ForwardVec",1,"TargetSelected",1,{ 0,0.030},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0.025},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0.020},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0.015},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0.010},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0,0.005},1},{}, - /////////////////////////////////////////////// LEFT - /*{"ForwardVec",1,"target",{ -0.060, 0},1}, - {"ForwardVec",1,"target",{ -0.055, 0},1},{}, - {"ForwardVec",1,"target",{ -0.050, 0},1}, - {"ForwardVec",1,"target",{ -0.045, 0},1},{}, - {"ForwardVec",1,"target",{ -0.040, 0},1}, - {"ForwardVec",1,"target",{ -0.035, 0},1},{},*/ - {"ForwardVec",1,"TargetSelected",1,{ -0.030, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ -0.025, 0},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ -0.020, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ -0.015, 0},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ -0.010, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ -0.005, 0},1},{}, - /////////////////////////////////////////////// RIGHT - /*{"ForwardVec",1,"target",{ 0.060, 0},1}, - {"ForwardVec",1,"target",{ 0.055, 0},1},{}, - {"ForwardVec",1,"target",{ 0.050, 0},1}, - {"ForwardVec",1,"target",{ 0.045, 0},1},{}, - {"ForwardVec",1,"target",{ 0.040, 0},1}, - {"ForwardVec",1,"target",{ 0.035, 0},1},{},*/ - {"ForwardVec",1,"TargetSelected",1,{ 0.030, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0.025, 0},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0.020, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0.015, 0},1},{}, - {"ForwardVec",1,"TargetSelected",1,{ 0.010, 0},1}, - {"ForwardVec",1,"TargetSelected",1,{ 0.005, 0},1},{} - }; - }; - }; - - class GunCross { - type = "group"; - condition = "mgun"; - class CCIP_circle { - type = "line"; - width = 5; - points[] = { - {"ForwardVec",1,"WeaponAimGUN",1,{"-1.2000 * 0.06","-0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-1.0000 * 0.06","-0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.9877 * 0.06","-0.1736 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.9397 * 0.06","-0.3420 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.8660 * 0.06","-0.5000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.7660 * 0.06","-0.6428 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.6428 * 0.06","-0.7660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.5000 * 0.06","-0.8660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.3420 * 0.06","-0.9397 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.1736 * 0.06","-0.9877 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.0000 * 0.06","-1.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.1736 * 0.06","-0.9877 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.3420 * 0.06","-0.9397 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.5000 * 0.06","-0.8660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.6428 * 0.06","-0.7660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.7660 * 0.06","-0.6428 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.8660 * 0.06","-0.5000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.9397 * 0.06","-0.3420 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.9877 * 0.06","-0.1736 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"1.0000 * 0.06","-0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"1.2000 * 0.06","-0.0000 * 0.06"},1},{}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-1.2000 * 0.06","0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-1.0000 * 0.06","0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.9877 * 0.06","0.1736 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.9397 * 0.06","0.3420 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.8660 * 0.06","0.5000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.7660 * 0.06","0.6428 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.6428 * 0.06","0.7660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.5000 * 0.06","0.8660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.3420 * 0.06","0.9397 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.1736 * 0.06","0.9877 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.0000 * 0.06","1.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.1736 * 0.06","0.9877 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.3420 * 0.06","0.9397 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.5000 * 0.06","0.8660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.6428 * 0.06","0.7660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.7660 * 0.06","0.6428 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.8660 * 0.06","0.5000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.9397 * 0.06","0.3420 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"0.9877 * 0.06","0.1736 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"1.0000 * 0.06","0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"1.2000 * 0.06","0.0000 * 0.06"},1},{}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.0000 * 0.06","-1.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.0000 * 0.06","-1.2000 * 0.06"},1},{}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.0000 * 0.06","1.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{"-0.0000 * 0.06","1.2000 * 0.06"},1},{}, - {"ForwardVec",1,"WeaponAimGUN",1,{ 0.005,0},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{ -0.005,0},1},{}, - {"ForwardVec",1,"WeaponAimGUN",1,{ 0,0.005},1}, - {"ForwardVec",1,"WeaponAimGUN",1,{ 0,-0.005},1} - }; - }; - }; - - class RocketCross { - type = "group"; - condition = "rocket"; - class CCIP_circle { - type = "line"; - width = 5; - points[] = { - {"ForwardVec",1,"WeaponAimROCKET",1,{"-1.2000 * 0.06","-0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-1.0000 * 0.06","-0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.9877 * 0.06","-0.1736 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.9397 * 0.06","-0.3420 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.8660 * 0.06","-0.5000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.7660 * 0.06","-0.6428 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.6428 * 0.06","-0.7660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.5000 * 0.06","-0.8660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.3420 * 0.06","-0.9397 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.1736 * 0.06","-0.9877 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.0000 * 0.06","-1.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.1736 * 0.06","-0.9877 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.3420 * 0.06","-0.9397 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.5000 * 0.06","-0.8660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.6428 * 0.06","-0.7660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.7660 * 0.06","-0.6428 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.8660 * 0.06","-0.5000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.9397 * 0.06","-0.3420 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.9877 * 0.06","-0.1736 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"1.0000 * 0.06","-0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"1.2000 * 0.06","-0.0000 * 0.06"},1},{}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-1.2000 * 0.06","0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-1.0000 * 0.06","0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.9877 * 0.06","0.1736 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.9397 * 0.06","0.3420 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.8660 * 0.06","0.5000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.7660 * 0.06","0.6428 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.6428 * 0.06","0.7660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.5000 * 0.06","0.8660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.3420 * 0.06","0.9397 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.1736 * 0.06","0.9877 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.0000 * 0.06","1.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.1736 * 0.06","0.9877 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.3420 * 0.06","0.9397 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.5000 * 0.06","0.8660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.6428 * 0.06","0.7660 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.7660 * 0.06","0.6428 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.8660 * 0.06","0.5000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.9397 * 0.06","0.3420 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"0.9877 * 0.06","0.1736 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"1.0000 * 0.06","0.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"1.2000 * 0.06","0.0000 * 0.06"},1},{}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.0000 * 0.06","-1.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.0000 * 0.06","-1.2000 * 0.06"},1},{}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.0000 * 0.06","1.0000 * 0.06"},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{"-0.0000 * 0.06","1.2000 * 0.06"},1},{}, - {"ForwardVec",1,"WeaponAimROCKET",1,{ 0.005,0},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{ -0.005,0},1},{}, - {"ForwardVec",1,"WeaponAimROCKET",1,{ 0,0.005},1}, - {"ForwardVec",1,"WeaponAimROCKET",1,{ 0,-0.005},1} - }; - }; - }; - - class AC_Centerline { - type = "group"; - condition = "on"; - class RockCross { - type = "line"; - width = 4; - points[] = { - {"ForwardVec",1,{" -0.006 + 0.5","0 + 0.32"},1}, - {"ForwardVec",1,{" 0.006 + 0.5","0 + 0.32"},1},{}, - {"ForwardVec",1,{" -0.0 + 0.5","0.006 + 0.32"},1}, - {"ForwardVec",1,{" 0.0 + 0.5","-0.006 + 0.32"},1} - }; - }; - }; - - class ATMissileTOFGroup { - condition = "ATmissile"; - type = "group"; - class TOFtext { - type = "text"; - align = "right"; - source = "static"; - text = "TOF="; - scale = 1; - pos[] = {{0.15,0.62},1}; - right[] = {{0.19,0.62},1}; - down[] = {{0.15,0.66},1}; - }; - - class TOFnumber { - type = "text"; - source = "targetDist"; - sourcescale = 0.0025; - align = "right"; - scale = 1; - pos[] = {{0.23,0.62},1}; - right[] = {{0.27,0.62},1}; - down[] = {{0.23,0.66},1}; - }; - }; - - class BombTOFGroup { - condition = "Bomb"; - type = "group"; - class Crosshairs { - type = "line"; - width = 7; - points[] = { - {{"0 + 0.5","-0.02 + 0.5"},1}, - {{"0.0099999998 + 0.5","-0.01732 + 0.5"},1}, - {{"0.01732 + 0.5","-0.0099999998 + 0.5"},1}, - {{"0.02 + 0.5","0 + 0.5"},1}, - {{"0.01732 + 0.5","0.0099999998 + 0.5"},1}, - {{"0.0099999998 + 0.5","0.01732 + 0.5"},1}, - {{"0 + 0.5","0.02 + 0.5"},1}, - {{"-0.0099999998 + 0.5","0.01732 + 0.5"},1}, - {{"-0.01732 + 0.5","0.0099999998 + 0.5"},1}, - {{"-0.02 + 0.5","0 + 0.5"},1}, - {{"-0.01732 + 0.5","-0.0099999998 + 0.5"},1}, - {{"-0.0099999998 + 0.5","-0.01732 + 0.5"},1}, - {{"0 + 0.5","-0.02 + 0.5"},1},{}, - {{" -0.005 + 0.5","0 + 0.5"},1}, - {{" 0.005 + 0.5","0 + 0.5"},1},{}, - {{" -0.00 + 0.5","-0.005 + 0.5"},1}, - {{" 0.00 + 0.5","0.005 + 0.5"},1} - }; - }; - - /*class Target_Line_LGB { - type = "line"; - width = 5; - points[] = { - {"TargetSelected",{0,0},1}, - {"Velocity",{0,0},1} - }; - };*/ - - class Target_SPI_LGB { - type = "line"; - width = 3; - points[] = { - {"TargetSelected",{0,0},1}, - {"TargetSelected",{0,-0.05},1} - }; - }; - - class TOFtext { - type = "text"; - align = "right"; - source = "static"; - text = "TOF="; - scale = 1; - pos[] = {{0.15,0.62},1}; - right[] = {{0.19,0.62},1}; - down[] = {{0.15,0.66},1}; - }; - - class TOFnumber { - type = "text"; - source = "altitudeASL"; - sourcescale = 0.013; - align = "right"; - scale = 1; - pos[] = {{0.23,0.62},1}; - right[] = {{0.27,0.62},1}; - down[] = {{0.23,0.66},1}; - }; - - }; - - class ILS_Bars { - condition = "ils"; - class Glideslope { - clipTL[] = {0,0}; - clipBR[] = {1,1}; - class ILS { - type = "line"; - width = 2.5; - points[] = { - {"ForwardVec",1,"ILS_W",1,{-0.2,0},1}, - {"ForwardVec",1,"ILS_W",1,{0.2,0},1},{}, - {"ForwardVec",1,"ILS_W",1,{0,0.02},1}, - {"ForwardVec",1,"ILS_W",1,{0,-0.02},1},{}, - {"ForwardVec",1,"ILS_W",1,{0.1,0.02},1}, - {"ForwardVec",1,"ILS_W",1,{0.1,-0.02},1},{}, - {"ForwardVec",1,"ILS_W",1,{0.2,0.02},1}, - {"ForwardVec",1,"ILS_W",1,{0.2,-0.02},1},{}, - {"ForwardVec",1,"ILS_W",1,{-0.1,0.02},1}, - {"ForwardVec",1,"ILS_W",1,{-0.1,-0.02},1},{}, - {"ForwardVec",1,"ILS_W",1,{-0.2,0.02},1}, - {"ForwardVec",1,"ILS_W",1,{-0.2,-0.02},1},{}, - {"ForwardVec",1,"ILS_H",1,{0,-0.2},1}, - {"ForwardVec",1,"ILS_H",1,{0,0.2},1},{}, - {"ForwardVec",1,"ILS_H",1,{0.02,0},1}, - {"ForwardVec",1,"ILS_H",1,{-0.02,0},1},{}, - {"ForwardVec",1,"ILS_H",1,{0.02,0.1},1}, - {"ForwardVec",1,"ILS_H",1,{-0.02,0.1},1},{}, - {"ForwardVec",1,"ILS_H",1,{0.02,0.2},1}, - {"ForwardVec",1,"ILS_H",1,{-0.02,0.2},1},{}, - {"ForwardVec",1,"ILS_H",1,{0.02,-0.1},1}, - {"ForwardVec",1,"ILS_H",1,{-0.02,-0.1},1},{}, - {"ForwardVec",1,"ILS_H",1,{0.02,-0.2},1}, - {"ForwardVec",1,"ILS_H",1,{-0.02,-0.2},1},{} - }; - }; - }; - }; - }; - }; -}; diff --git a/TO_MERGE/agm/Aircraft/mfd_wildcat.hpp b/TO_MERGE/agm/Aircraft/mfd_wildcat.hpp deleted file mode 100644 index d3217f0ac4..0000000000 --- a/TO_MERGE/agm/Aircraft/mfd_wildcat.hpp +++ /dev/null @@ -1,784 +0,0 @@ - -class MFD { - class AirplaneHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class PlaneOrientation { - type = "fixed"; - pos[] = {0.5,0.5}; - }; - - class GunnerAim { - type = "vector"; - source = "weapon"; - pos0[] = {0,0}; - pos10[] = {0.011,0.0027}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.65,0.65}; - }; - - class VspeedBone { - type = "linear"; - source = "vspeed"; - sourceScale = 1; - min = -10; - max = 10; - minPos[] = {0.93,0.2}; - maxPos[] = {0.93,0.8}; - }; - - class RadarAltitudeBone { - type = "linear"; - source = "altitudeAGL"; - sourceScale = 1; - min = 0; - max = 60; - minPos[] = {0.965,0.2}; - maxPos[] = {0.965,0.8}; - }; - - class HorizonBankRot { - type = "rotational"; - source = "horizonBank"; - center[] = {0.5,0.5}; - min = -3.1416; - max = 3.1416; - minAngle = -180; - maxAngle = 180; - aspectRatio = 1; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.2193,0.2193}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.75,0.75}; - }; - - class Level0 { - type = "horizon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.78,0.78}; - angle = 0; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class Horizont { - clipTL[] = {0.15,0.15}; - clipBR[] = {0.85,0.85}; - class Dimmed { - class Level0 { - type = "line"; - points[] = { - {"Level0",{-0.42,0},1}, - {"Level0",{-0.38,0},1},{}, - {"Level0",{-0.37,0},1}, - {"Level0",{-0.33,0},1},{}, - {"Level0",{-0.32,0},1}, - {"Level0",{-0.28,0},1},{}, - {"Level0",{-0.27,0},1}, - {"Level0",{-0.23,0},1},{}, - {"Level0",{-0.22,0},1}, - {"Level0",{-0.18,0},1},{}, - {"Level0",{-0.17,0},1}, - {"Level0",{-0.13,0},1},{}, - {"Level0",{-0.12,0},1}, - {"Level0",{-0.08,0},1},{}, - {"Level0",{0.42,0},1}, - {"Level0",{0.38,0},1},{}, - {"Level0",{0.37,0},1}, - {"Level0",{0.33,0},1},{}, - {"Level0",{0.32,0},1}, - {"Level0",{0.28,0},1},{}, - {"Level0",{0.27,0},1}, - {"Level0",{0.23,0},1},{}, - {"Level0",{0.22,0},1}, - {"Level0",{0.18,0},1},{}, - {"Level0",{0.17,0},1}, - {"Level0",{0.13,0},1},{}, - {"Level0",{0.12,0},1}, - {"Level0",{0.08,0},1} - }; - }; - }; - }; - - /*class StaticBank { - type = "line"; - width = 3; - points[] = { - {{0.4782,0.251},1}, - {{0.4773,0.241},1},{}, - {{0.4566,0.2538},1}, - {{0.4549,0.2439},1},{}, - {{0.4353,0.2585},1}, - {{0.4301,0.2392},1},{}, - {{0.4145,0.2651},1}, - {{0.4111,0.2557},1},{}, - {{0.3943,0.2734},1}, - {{0.3901,0.2644},1},{}, - {{0.375,0.2835},1}, - {{0.365,0.2662},1},{}, - {{0.3232,0.3232},1}, - {{0.3091,0.3091},1},{}, - {{0.2835,0.375},1}, - {{0.2662,0.365},1},{}, - {{"0.5 + (0.5- 0.4782)",0.251},1}, - {{"0.5 + (0.5- 0.4773)",0.241},1},{}, - {{"0.5 + (0.5- 0.4566)",0.2538},1}, - {{"0.5 + (0.5- 0.4549)",0.2439},1},{}, - {{"0.5 + (0.5- 0.4353)",0.2585},1}, - {{"0.5 + (0.5- 0.4301)",0.2392},1},{}, - {{"0.5 + (0.5- 0.4145)",0.2651},1}, - {{"0.5 + (0.5- 0.4111)",0.2557},1},{}, - {{"0.5 + (0.5- 0.3943)",0.2734},1}, - {{"0.5 + (0.5- 0.3901)",0.2644},1},{}, - {{"0.5 + (0.5- 0.3750)",0.2835},1}, - {{"0.5 + (0.5- 0.3650)",0.2662},1},{}, - {{"0.5 + (0.5- 0.3232)",0.3232},1}, - {{"0.5 + (0.5- 0.3091)",0.3091},1},{}, - {{"0.5 + (0.5- 0.2835)",0.375},1}, - {{"0.5 + (0.5- 0.2662)",0.365},1},{}, - {{0.5,"0.5 - 0.25"},1}, - {{0.5,"0.5 - 0.28"},1} - }; - };*/ - - class HorizonBankRot { - type = "line"; - width = 3; - points[] = {{"HorizonBankRot",{0,0.25},1},{"HorizonBankRot",{-0.01,0.23},1},{"HorizonBankRot",{0.01,0.23},1},{"HorizonBankRot",{0,0.25},1}}; - }; - - class Static { - clipTL[] = {0,1}; - clipBR[] = {1,0}; - type = "line"; - width = 5; - points[] = {{{"0.5-0.1","0.9-0.04"},1},{{"0.5-0.1","0.9+0.04"},1},{{"0.5+0.1","0.9+0.04"},1},{{"0.5+0.1","0.9-0.04"},1},{{"0.5-0.1","0.9-0.04"},1},{},{{"0.5-0.1",0.9},1},{{"0.5-0.092",0.9},1},{},{{"0.5+0.1",0.9},1},{{"0.5+0.092",0.9},1},{},{{0.5,"0.9-0.04"},1},{{0.5,"0.9-0.032"},1},{},{{0.5,"0.9+0.04"},1},{{0.5,"0.9+0.032"},1},{}}; - }; - - class Centerline { - type = "line"; - width = 7; - points[] = {{{0.5,0.49},1},{{0.5,0.47},1},{},{{0.5,0.51},1},{{0.5,0.53},1},{},{{0.49,0.5},1},{{0.47,0.5},1},{},{{0.51,0.5},1},{{0.53,0.5},1},{}}; - }; - - class GunCross_CIRCLE { - type = "group"; - class CCIP_circle { - type = "line"; - width = 4; - points[] = { - {"ForwardVec",1,"PlaneOrientation",1,{"-1.2000 * 0.04","-0.0000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-1.0000 * 0.04","-0.0000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.9877 * 0.04","-0.1736 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.9397 * 0.04","-0.3420 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.8660 * 0.04","-0.5000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.7660 * 0.04","-0.6428 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.6428 * 0.04","-0.7660 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.5000 * 0.04","-0.8660 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.3420 * 0.04","-0.9397 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.1736 * 0.04","-0.9877 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.0000 * 0.04","-1.0000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.1736 * 0.04","-0.9877 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.3420 * 0.04","-0.9397 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.5000 * 0.04","-0.8660 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.6428 * 0.04","-0.7660 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.7660 * 0.04","-0.6428 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.8660 * 0.04","-0.5000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.9397 * 0.04","-0.3420 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.9877 * 0.04","-0.1736 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"1.0000 * 0.04","-0.0000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"1.2000 * 0.04","-0.0000 * 0.04"},1},{}, - {"ForwardVec",1,"PlaneOrientation",1,{"-1.2000 * 0.04","0.0000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-1.0000 * 0.04","0.0000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.9877 * 0.04","0.1736 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.9397 * 0.04","0.3420 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.8660 * 0.04","0.5000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.7660 * 0.04","0.6428 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.6428 * 0.04","0.7660 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.5000 * 0.04","0.8660 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.3420 * 0.04","0.9397 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.1736 * 0.04","0.9877 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.0000 * 0.04","1.0000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.1736 * 0.04","0.9877 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.3420 * 0.04","0.9397 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.5000 * 0.04","0.8660 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.6428 * 0.04","0.7660 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.7660 * 0.04","0.6428 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.8660 * 0.04","0.5000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.9397 * 0.04","0.3420 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"0.9877 * 0.04","0.1736 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"1.0000 * 0.04","0.0000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"1.2000 * 0.04","0.0000 * 0.04"},1},{}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.0000 * 0.04","-1.0000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.0000 * 0.04","-1.2000 * 0.04"},1},{}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.0000 * 0.04","1.0000 * 0.04"},1}, - {"ForwardVec",1,"PlaneOrientation",1,{"-0.0000 * 0.04","1.2000 * 0.04"},1},{}, - {"ForwardVec",1,"PlaneOrientation",1,{0.005,0},1}, - {"ForwardVec",1,"PlaneOrientation",1,{-0.005,0},1},{}, - {"ForwardVec",1,"PlaneOrientation",1,{0,0.005},1}, - {"ForwardVec",1,"PlaneOrientation",1,{0,-0.005},1} - }; - }; - }; - - class Gunner { - type = "line"; - width = 6; - points[] = { - {"GunnerAim",{"0.5-0.015","0.9-0.008"},1}, - {"GunnerAim",{"0.5-0.015","0.9+0.008"},1}, - {"GunnerAim",{"0.5+0.015","0.9+0.008"},1}, - {"GunnerAim",{"0.5+0.015","0.9-0.008"},1}, - {"GunnerAim",{"0.5-0.015","0.9-0.008"},1} - }; - }; - - class WeaponName { - type = "text"; - source = "weapon"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.61,0.86},1}; - right[] = {{0.65,0.86},1}; - down[] = {{0.61,0.9},1}; - }; - - class AmmoCount { - type = "text"; - source = "ammo"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.61,0.89},1}; - right[] = {{0.65,0.89},1}; - down[] = {{0.61,0.93},1}; - }; - - class LightsGroup { - type = "group"; - condition = "lights"; - class LightsText { - type = "text"; - source = "static"; - text = "LIGHTS"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.055"},1}; - right[] = {{0.07,"0.53 + 0.055"},1}; - down[] = {{0.03,"0.53 + 0.095"},1}; - }; - }; - - class CollisionLightsGroup { - type = "group"; - condition = "collisionlights"; - class CollisionLightsText { - type = "text"; - source = "static"; - text = "A-COL"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.105"},1}; - right[] = {{0.07,"0.53 + 0.105"},1}; - down[] = {{0.03,"0.53 + 0.145"},1}; - }; - }; - - class ATMissileTOFGroup { - condition = "ATmissile"; - type = "group"; - class TOFtext { - type = "text"; - align = "right"; - source = "static"; - text = "TOF="; - scale = 1; - pos[] = {{0.61,0.92},1}; - right[] = {{0.65,0.92},1}; - down[] = {{0.61,0.96},1}; - }; - - class TOFnumber { - type = "text"; - source = "targetDist"; - sourcescale = 0.0025; - align = "right"; - scale = 1; - pos[] = {{0.69,0.92},1}; - right[] = {{0.73,0.92},1}; - down[] = {{0.69,0.96},1}; - }; - }; - - class RangeNumber { - type = "text"; - source = "targetDist"; - sourceScale = 1; - align = "left"; - scale = 1; - pos[] = {{0.39,0.89},1}; - right[] = {{0.43,0.89},1}; - down[] = {{0.39,0.93},1}; - }; - - class RangeText { - type = "text"; - source = "static"; - text = "RNG"; - align = "left"; - scale = 1; - pos[] = {{0.39,0.86},1}; - right[] = {{0.43,0.86},1}; - down[] = {{0.39,0.9},1}; - }; - - class SpeedNumber { - type = "text"; - align = "right"; - scale = 1; - source = "speed"; - sourceScale = 3.6; - pos[] = {{0.03,0.475},1}; - right[] = {{0.08,0.475},1}; - down[] = {{0.03,0.525},1}; - }; - - class TorqueNumber { - type = "text"; - align = "left"; - scale = 1; - source = "rtdRotorTorque"; - sourceScale = 363; - pos[] = {{0.065,0.175},1}; - right[] = {{0.115,0.175},1}; - down[] = {{0.065,0.225},1}; - }; - - class Torquetext { - type = "text"; - source = "static"; - text = "%"; - align = "right"; - scale = 1; - pos[] = {{0.07,0.175},1}; - right[] = {{0.12,0.175},1}; - down[] = {{0.07,0.225},1}; - }; - - class AltNumber { - type = "text"; - align = "right"; - scale = 1; - source = "altitudeAGL"; - sourceScale = 1; - pos[] = {{0.83,0.475},1}; - right[] = {{0.88,0.475},1}; - down[] = {{0.83,0.525},1}; - }; - - class ASLNumber { - type = "text"; - source = "altitudeASL"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.835,0.18},1}; - right[] = {{0.875,0.18},1}; - down[] = {{0.835,0.22},1}; - }; - - class VspeedScalePosta { - type = "line"; - width = 5; - points[] = { - {{0.98,0.2},1}, - {{1,0.2},1},{}, - {{0.93,0.2},1}, - {{0.95,0.2},1},{}, - {{0.98,0.35},1}, - {{1,0.35},1},{}, - {{0.93,0.35},1}, - {{0.95,0.35},1},{}, - {{0.94,0.38},1}, - {{0.95,0.38},1},{}, - {{0.94,0.41},1}, - {{0.95,0.41},1},{}, - {{0.94,0.44},1}, - {{0.95,0.44},1},{}, - {{0.94,0.47},1}, - {{0.95,0.47},1},{}, - {{0.98,0.5},1}, - {{1,0.5},1},{}, - {{0.93,0.5},1}, - {{0.95,0.5},1},{}, - {{0.94,0.53},1}, - {{0.95,0.53},1},{}, - {{0.94,0.56},1}, - {{0.95,0.56},1},{}, - {{0.94,0.59},1}, - {{0.95,0.59},1},{}, - {{0.94,0.62},1}, - {{0.95,0.62},1},{}, - {{0.98,0.65},1}, - {{1,0.65},1},{}, - {{0.93,0.65},1}, - {{0.95,0.65},1},{}, - {{0.99,0.68},1}, - {{0.98,0.68},1},{}, - {{0.99,0.71},1}, - {{0.98,0.71},1},{}, - {{0.99,0.74},1}, - {{0.98,0.74},1},{}, - {{0.99,0.77},1}, - {{0.98,0.77},1},{}, - {{0.98,0.8},1}, - {{1,0.8},1},{}, - {{0.93,0.8},1}, - {{0.95,0.8},1},{} - }; - }; - - class RadarAltitudeBand { - clipTL[] = {0,0.2}; - clipBR[] = {1,0.8}; - class radarbanda { - type = "line"; - width = 17; - points[] = { - {"RadarAltitudeBone",{0,0},1}, - {"RadarAltitudeBone",{0,0.6},1} - }; - }; - }; - - class VspeedBand { - type = "line"; - width = 3; - points[] = { - {"VspeedBone",{-0.01,0},1}, - {"VspeedBone",{-0.025,-0.015},1}, - {"VspeedBone",{-0.025,0.015},1}, - {"VspeedBone",{-0.01,0},1},{} - }; - }; - - class HeadingNumber: SpeedNumber { - source = "heading"; - sourceScale = 1; - align = "center"; - pos[] = {{0.5,0.01},1}; - right[] = {{0.56,0.01},1}; - down[] = {{0.5,0.06},1}; - }; - - class Center_box { - type = "line"; - width = 3; - points[] = { - {{0.44,0.005},1}, - {{"0.44 + 0.12",0.005},1}, - {{"0.44 + 0.12","0.005 + 0.06"},1}, - {{0.44,"0.005 + 0.06"},1}, - {{0.44,0.005},1} - }; - }; - - class HeadingArrow { - type = "line"; - width = 7; - points[] = { - {{"0.5","0.128 + 0.03"},1}, - {{0.5,0.128},1} - }; - }; - - class HeadingScale { - type = "scale"; - horizontal = 1; - source = "heading"; - sourceScale = 1; - width = 5; - top = 0.12; - center = 0.5; - bottom = 0.88; - lineXleft = "0.03 + 0.085"; - lineYright = "0.02 + 0.085"; - lineXleftMajor = "0.04 + 0.085"; - lineYrightMajor = "0.02 + 0.085"; - majorLineEach = 3; - numberEach = 3; - step = 10; - stepSize = "0.05"; - align = "center"; - scale = 1; - pos[] = {0.119,"0.0 + 0.065"}; - right[] = {0.159,"0.0 + 0.065"}; - down[] = {0.119,"0.04 + 0.065"}; - }; - - class Fuel_Text { - type = "text"; - source = "static"; - text = "Fuel"; - align = "right"; - scale = 1; - pos[] = {{0.03,0.9},1}; - right[] = {{0.07,0.9},1}; - down[] = {{0.03,0.94},1}; - }; - - class Fuel_Number { - type = "text"; - source = "fuel"; - sourceScale = 100; - align = "right"; - scale = 1; - pos[] = {{0.1,0.9},1}; - right[] = {{0.14,0.9},1}; - down[] = {{0.1,0.94},1}; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.04,0.04,0.1}; - helmetRight[] = {0.08,0,0}; - helmetDown[] = {0,-0.08,0}; - }; - - class LittleHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.722,0.722}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.75,0.75}; - }; - - class ForwardVec1 { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.25,0.25}; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.253,0.253}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class WeaponAim1 { - type = "vector"; - source = "weapon"; - pos0[] = {0,0}; - pos10[] = {0.253,0.23}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class RadarContact { - type = "fixed"; - pos[] = {0,0}; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class PlaneMovementCrosshair { - type = "line"; - width = 7; - points[] = { - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,0.02},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1},{}, - {"ForwardVec1",1,"Velocity",1,{0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{-0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{0,-0.04},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1} - }; - }; - - class TargetACQ { - type = "line"; - width = 2; - points[] = { - //////////////////////////////////////////////// UP - /*{"ForwardVec1",1,"target",{0,-0.1},1}, - {"ForwardVec1",1,"target",{0,-0.095},1},{}, - {"ForwardVec1",1,"target",{0,-0.09},1}, - {"ForwardVec1",1,"target",{0,-0.085},1},{}, - {"ForwardVec1",1,"target",{0,-0.08},1}, - {"ForwardVec1",1,"target",{0,-0.075},1},{}, - {"ForwardVec1",1,"target",{0,-0.07},1}, - {"ForwardVec1",1,"target",{0,-0.065},1},{},*/ - {"ForwardVec",1,"target",{0,-0.06},1}, - {"ForwardVec",1,"target",{0,-0.055},1},{}, - {"ForwardVec",1,"target",{0,-0.05},1}, - {"ForwardVec",1,"target",{0,-0.045},1},{}, - {"ForwardVec",1,"target",{0,-0.04},1}, - {"ForwardVec",1,"target",{0,-0.035},1},{}, - {"ForwardVec",1,"target",{0,-0.03},1}, - {"ForwardVec",1,"target",{0,-0.025},1},{}, - {"ForwardVec",1,"target",{0,-0.02},1}, - {"ForwardVec",1,"target",{0,-0.015},1},{}, - {"ForwardVec",1,"target",{0,-0.01},1}, - {"ForwardVec",1,"target",{0,-0.005},1},{}, - //////////////////////////////////////////////// center - {"ForwardVec",1,"target",{0,0},1}, - {"ForwardVec",1,"target",{0,0},1},{}, - /////////////////////////////////////////////// DOWN - /*{"ForwardVec1",1,"target",{0,0.1},1}, - {"ForwardVec1",1,"target",{0,0.095},1},{}, - {"ForwardVec1",1,"target",{0,0.09},1}, - {"ForwardVec1",1,"target",{0,0.085},1},{}, - {"ForwardVec1",1,"target",{0,0.080},1}, - {"ForwardVec1",1,"target",{0,0.075},1},{}, - {"ForwardVec1",1,"target",{0,0.070},1}, - {"ForwardVec1",1,"target",{0,0.065},1},{},*/ - {"ForwardVec",1,"target",{0,0.060},1}, - {"ForwardVec",1,"target",{0,0.055},1},{}, - {"ForwardVec",1,"target",{0,0.050},1}, - {"ForwardVec",1,"target",{0,0.045},1},{}, - {"ForwardVec",1,"target",{0,0.040},1}, - {"ForwardVec",1,"target",{0,0.035},1},{}, - {"ForwardVec",1,"target",{0,0.030},1}, - {"ForwardVec",1,"target",{0,0.025},1},{}, - {"ForwardVec",1,"target",{0,0.020},1}, - {"ForwardVec",1,"target",{0,0.015},1},{}, - {"ForwardVec",1,"target",{0,0.010},1}, - {"ForwardVec",1,"target",{0,0.005},1},{}, - /////////////////////////////////////////////// LEFT - /*{"ForwardVec1",1,"target",{-0.10, 0},1}, - {"ForwardVec1",1,"target",{-0.095, 0},1},{}, - {"ForwardVec1",1,"target",{-0.09, 0},1}, - {"ForwardVec1",1,"target",{-0.085, 0},1},{}, - {"ForwardVec1",1,"target",{-0.080, 0},1}, - {"ForwardVec1",1,"target",{-0.075, 0},1},{}, - {"ForwardVec1",1,"target",{-0.070, 0},1}, - {"ForwardVec1",1,"target",{-0.065, 0},1},{},*/ - {"ForwardVec",1,"target",{-0.060, 0},1}, - {"ForwardVec",1,"target",{-0.055, 0},1},{}, - {"ForwardVec",1,"target",{-0.050, 0},1}, - {"ForwardVec",1,"target",{-0.045, 0},1},{}, - {"ForwardVec",1,"target",{-0.040, 0},1}, - {"ForwardVec",1,"target",{-0.035, 0},1},{}, - {"ForwardVec",1,"target",{-0.030, 0},1}, - {"ForwardVec",1,"target",{-0.025, 0},1},{}, - {"ForwardVec",1,"target",{-0.020, 0},1}, - {"ForwardVec",1,"target",{-0.015, 0},1},{}, - {"ForwardVec",1,"target",{-0.010, 0},1}, - {"ForwardVec",1,"target",{-0.005, 0},1},{}, - /////////////////////////////////////////////// RIGHT - /*{"ForwardVec1",1,"target",{0.10, 0},1}, - {"ForwardVec1",1,"target",{0.095, 0},1},{}, - {"ForwardVec1",1,"target",{0.09, 0},1}, - {"ForwardVec1",1,"target",{0.085, 0},1},{}, - {"ForwardVec1",1,"target",{0.080, 0},1}, - {"ForwardVec1",1,"target",{0.075, 0},1},{}, - {"ForwardVec1",1,"target",{0.070, 0},1}, - {"ForwardVec1",1,"target",{0.065, 0},1},{},*/ - {"ForwardVec",1,"target",{0.060, 0},1}, - {"ForwardVec",1,"target",{0.055, 0},1},{}, - {"ForwardVec",1,"target",{0.050, 0},1}, - {"ForwardVec",1,"target",{0.045, 0},1},{}, - {"ForwardVec",1,"target",{0.040, 0},1}, - {"ForwardVec",1,"target",{0.035, 0},1},{}, - {"ForwardVec",1,"target",{0.030, 0},1}, - {"ForwardVec",1,"target",{0.025, 0},1},{}, - {"ForwardVec",1,"target",{0.020, 0},1}, - {"ForwardVec",1,"target",{0.015, 0},1},{}, - {"ForwardVec",1,"target",{0.010, 0},1}, - {"ForwardVec",1,"target",{0.005, 0},1},{} - }; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.035,0.035,0.1}; - helmetRight[] = {0.07,0,0}; - helmetDown[] = {0,-0.07,0}; - }; -}; diff --git a/TO_MERGE/agm/Aircraft/mfd_wildcat_unarmed.hpp b/TO_MERGE/agm/Aircraft/mfd_wildcat_unarmed.hpp deleted file mode 100644 index 26f4b42dc5..0000000000 --- a/TO_MERGE/agm/Aircraft/mfd_wildcat_unarmed.hpp +++ /dev/null @@ -1,896 +0,0 @@ - -class MFD { - class AirplaneHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class PlaneOrientation { - type = "fixed"; - pos[] = {0.5,0.5}; - }; - - class GunnerAim { - type = "vector"; - source = "weapon"; - pos0[] = {0,0}; - pos10[] = {0.011,0.0027}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.85,0.85}; - }; - - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.65,0.65}; - }; - - class VspeedBone { - type = "linear"; - source = "vspeed"; - sourceScale = 1; - min = -10; - max = 10; - minPos[] = {0.93,0.2}; - maxPos[] = {0.93,0.8}; - }; - - class RadarAltitudeBone { - type = "linear"; - source = "altitudeAGL"; - sourceScale = 1; - min = 0; - max = 60; - minPos[] = {0.965,0.2}; - maxPos[] = {0.965,0.8}; - }; - - class HorizonBankRot { - type = "rotational"; - source = "horizonBank"; - center[] = {0.5,0.5}; - min = -3.1416; - max = 3.1416; - minAngle = -180; - maxAngle = 180; - aspectRatio = 1; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.235,0.235}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.75,0.75}; - }; - - class Level0 { - type = "horizon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.78,0.78}; - angle = 0; - }; - - class LevelP5: Level0 { - angle = 5; - }; - - class LevelM5: Level0 { - angle = -5; - }; - - class LevelP10: Level0 { - angle = 10; - }; - - class LevelM10: Level0 { - angle = -10; - }; - - class LevelP15: Level0 { - angle = 15; - }; - - class LevelM15: Level0 { - angle = -15; - }; - - class LevelP20: Level0 { - angle = 20; - }; - - class LevelM20: Level0 { - angle = -20; - }; - - class LevelP25: Level0 { - angle = 25; - }; - - class LevelM25: Level0 { - angle = -25; - }; - - class LevelP30: Level0 { - angle = 30; - }; - - class LevelM30: Level0 { - angle = -30; - }; - - class LevelP35: Level0 { - angle = 35; - }; - - class LevelM35: Level0 { - angle = -35; - }; - - class LevelP40: Level0 { - angle = 40; - }; - - class LevelM40: Level0 { - angle = -40; - }; - - class LevelP45: Level0 { - angle = 45; - }; - - class LevelM45: Level0 { - angle = -45; - }; - - class LevelP50: Level0 { - angle = 50; - }; - - class LevelM50: Level0 { - angle = -50; - }; - - class LevelP55: Level0 { - angle = 55; - }; - - class LevelM55: Level0 { - angle = -55; - }; - - class LevelP60: Level0 { - angle = 60; - }; - - class LevelM60: Level0 { - angle = -60; - }; - - class LevelP65: Level0 { - angle = 65; - }; - - class LevelM65: Level0 { - angle = -65; - }; - - class LevelP70: Level0 { - angle = 70; - }; - - class LevelM70: Level0 { - angle = -70; - }; - - class LevelP75: Level0 { - angle = 75; - }; - - class LevelM75: Level0 { - angle = -75; - }; - - class LevelP80: Level0 { - angle = 80; - }; - - class LevelM80: Level0 { - angle = -80; - }; - - class LevelP85: Level0 { - angle = 85; - }; - - class LevelM85: Level0 { - angle = -85; - }; - - class LevelP90: Level0 { - angle = 90; - }; - - class LevelM90: Level0 { - angle = -90; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class Horizont { - clipTL[] = {0.15,0.15}; - clipBR[] = {0.85,0.85}; - class Dimmed { - class Level0 { - type = "line"; - points[] = { - {"Level0",{-0.42,0},1}, - {"Level0",{-0.38,0},1},{}, - {"Level0",{-0.37,0},1}, - {"Level0",{-0.33,0},1},{}, - {"Level0",{-0.32,0},1}, - {"Level0",{-0.28,0},1},{}, - {"Level0",{-0.27,0},1}, - {"Level0",{-0.23,0},1},{}, - {"Level0",{-0.22,0},1}, - {"Level0",{-0.18,0},1},{}, - {"Level0",{-0.17,0},1}, - {"Level0",{-0.13,0},1},{}, - {"Level0",{-0.12,0},1}, - {"Level0",{-0.08,0},1},{}, - {"Level0",{0.42,0},1}, - {"Level0",{0.38,0},1},{}, - {"Level0",{0.37,0},1}, - {"Level0",{0.33,0},1},{}, - {"Level0",{0.32,0},1}, - {"Level0",{0.28,0},1},{}, - {"Level0",{0.27,0},1}, - {"Level0",{0.23,0},1},{}, - {"Level0",{0.22,0},1}, - {"Level0",{0.18,0},1},{}, - {"Level0",{0.17,0},1}, - {"Level0",{0.13,0},1},{}, - {"Level0",{0.12,0},1}, - {"Level0",{0.08,0},1} - }; - }; - }; - }; - - /*class StaticBank { - type = "line"; - width = 3; - points[] = { - {{0.4782,0.251},1}, - {{0.4773,0.241},1},{}, - {{0.4566,0.2538},1}, - {{0.4549,0.2439},1},{}, - {{0.4353,0.2585},1}, - {{0.4301,0.2392},1},{}, - {{0.4145,0.2651},1}, - {{0.4111,0.2557},1},{}, - {{0.3943,0.2734},1}, - {{0.3901,0.2644},1},{}, - {{0.375,0.2835},1}, - {{0.365,0.2662},1},{}, - {{0.3232,0.3232},1}, - {{0.3091,0.3091},1},{}, - {{0.2835,0.375},1}, - {{0.2662,0.365},1},{}, - {{"0.5 + (0.5- 0.4782)",0.251},1}, - {{"0.5 + (0.5- 0.4773)",0.241},1},{}, - {{"0.5 + (0.5- 0.4566)",0.2538},1}, - {{"0.5 + (0.5- 0.4549)",0.2439},1},{}, - {{"0.5 + (0.5- 0.4353)",0.2585},1}, - {{"0.5 + (0.5- 0.4301)",0.2392},1},{}, - {{"0.5 + (0.5- 0.4145)",0.2651},1}, - {{"0.5 + (0.5- 0.4111)",0.2557},1},{}, - {{"0.5 + (0.5- 0.3943)",0.2734},1}, - {{"0.5 + (0.5- 0.3901)",0.2644},1},{}, - {{"0.5 + (0.5- 0.3750)",0.2835},1}, - {{"0.5 + (0.5- 0.3650)",0.2662},1},{}, - {{"0.5 + (0.5- 0.3232)",0.3232},1}, - {{"0.5 + (0.5- 0.3091)",0.3091},1},{}, - {{"0.5 + (0.5- 0.2835)",0.375},1}, - {{"0.5 + (0.5- 0.2662)",0.365},1},{}, - {{0.5,"0.5 - 0.25"},1}, - {{0.5,"0.5 - 0.28"},1} - }; - };*/ - - class HorizonBankRot { - type = "line"; - width = 3; - points[] = { - {"HorizonBankRot",{0,0.25},1}, - {"HorizonBankRot",{-0.01,0.23},1}, - {"HorizonBankRot",{0.01,0.23},1}, - {"HorizonBankRot",{0,0.25},1} - }; - }; - - class Static { - clipTL[] = {0,1}; - clipBR[] = {1,0}; - type = "line"; - width = 5; - points[] = { - {{"0.5-0.1","0.9-0.04"},1}, - {{"0.5-0.1","0.9+0.04"},1}, - {{"0.5+0.1","0.9+0.04"},1}, - {{"0.5+0.1","0.9-0.04"},1}, - {{"0.5-0.1","0.9-0.04"},1},{}, - {{"0.5-0.1",0.9},1}, - {{"0.5-0.092",0.9},1},{}, - {{"0.5+0.1",0.9},1}, - {{"0.5+0.092",0.9},1},{}, - {{0.5,"0.9-0.04"},1}, - {{0.5,"0.9-0.032"},1},{}, - {{0.5,"0.9+0.04"},1}, - {{0.5,"0.9+0.032"},1},{} - }; - }; - - class Centerline { - type = "line"; - width = 7; - points[] = { - {{0.5,0.49},1}, - {{0.5,0.47},1},{}, - {{0.5,0.51},1}, - {{0.5,0.53},1},{}, - {{0.49,0.5},1}, - {{0.47,0.5},1},{}, - {{0.51,0.5},1}, - {{0.53,0.5},1},{} - }; - }; - - class Gunner { - type = "line"; - width = 6; - points[] = { - {"GunnerAim",{"0.5-0.015","0.9-0.008"},1}, - {"GunnerAim",{"0.5-0.015","0.9+0.008"},1}, - {"GunnerAim",{"0.5+0.015","0.9+0.008"},1}, - {"GunnerAim",{"0.5+0.015","0.9-0.008"},1}, - {"GunnerAim",{"0.5-0.015","0.9-0.008"},1} - }; - }; - - class WeaponName { - type = "text"; - source = "weapon"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.61,0.86},1}; - right[] = {{0.65,0.86},1}; - down[] = {{0.61,0.9},1}; - }; - - class AmmoCount { - type = "text"; - source = "ammo"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.61,0.89},1}; - right[] = {{0.65,0.89},1}; - down[] = {{0.61,0.93},1}; - }; - - class LightsGroup { - type = "group"; - condition = "lights"; - class LightsText { - type = "text"; - source = "static"; - text = "LIGHTS"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.055"},1}; - right[] = {{0.07,"0.53 + 0.055"},1}; - down[] = {{0.03,"0.53 + 0.095"},1}; - }; - }; - - class CollisionLightsGroup { - type = "group"; - condition = "collisionlights"; - class CollisionLightsText { - type = "text"; - source = "static"; - text = "A-COL"; - align = "right"; - scale = 1; - pos[] = {{0.03,"0.53 + 0.105"},1}; - right[] = {{0.07,"0.53 + 0.105"},1}; - down[] = {{0.03,"0.53 + 0.145"},1}; - }; - }; - - class ATMissileTOFGroup { - condition = "ATmissile"; - type = "group"; - class TOFtext { - type = "text"; - align = "right"; - source = "static"; - text = "TOF="; - scale = 1; - pos[] = {{0.61,0.92},1}; - right[] = {{0.65,0.92},1}; - down[] = {{0.61,0.96},1}; - }; - - class TOFnumber { - type = "text"; - source = "targetDist"; - sourcescale = 0.0025; - align = "right"; - scale = 1; - pos[] = {{0.69,0.92},1}; - right[] = {{0.73,0.92},1}; - down[] = {{0.69,0.96},1}; - }; - }; - - class RangeNumber { - type = "text"; - source = "targetDist"; - sourceScale = 1; - align = "left"; - scale = 1; - pos[] = {{0.39,0.89},1}; - right[] = {{0.43,0.89},1}; - down[] = {{0.39,0.93},1}; - }; - - class RangeText { - type = "text"; - source = "static"; - text = "RNG"; - align = "left"; - scale = 1; - pos[] = {{0.39,0.86},1}; - right[] = {{0.43,0.86},1}; - down[] = {{0.39,0.9},1}; - }; - - class SpeedNumber { - type = "text"; - align = "right"; - scale = 1; - source = "speed"; - sourceScale = 3.6; - pos[] = {{0.03,0.475},1}; - right[] = {{0.08,0.475},1}; - down[] = {{0.03,0.525},1}; - }; - - class TorqueNumber { - type = "text"; - align = "left"; - scale = 1; - source = "rtdRotorTorque"; - sourceScale = 110; - pos[] = {{0.065,0.175},1}; - right[] = {{0.115,0.175},1}; - down[] = {{0.065,0.225},1}; - }; - - class Torquetext { - type = "text"; - source = "static"; - text = "%"; - align = "right"; - scale = 1; - pos[] = {{0.07,0.175},1}; - right[] = {{0.12,0.175},1}; - down[] = {{0.07,0.225},1}; - }; - - class AltNumber { - type = "text"; - align = "right"; - scale = 1; - source = "altitudeAGL"; - sourceScale = 1; - pos[] = {{0.83,0.475},1}; - right[] = {{0.88,0.475},1}; - down[] = {{0.83,0.525},1}; - }; - - class ASLNumber { - type = "text"; - source = "altitudeASL"; - sourceScale = 1; - align = "right"; - scale = 1; - pos[] = {{0.835,0.18},1}; - right[] = {{0.875,0.18},1}; - down[] = {{0.835,0.22},1}; - }; - - class VspeedScalePosta { - type = "line"; - width = 5; - points[] = { - {{0.98,0.2},1}, - {{1,0.2},1},{}, - {{0.93,0.2},1}, - {{0.95,0.2},1},{}, - {{0.98,0.35},1}, - {{1,0.35},1},{}, - {{0.93,0.35},1}, - {{0.95,0.35},1},{}, - {{0.94,0.38},1}, - {{0.95,0.38},1},{}, - {{0.94,0.41},1}, - {{0.95,0.41},1},{}, - {{0.94,0.44},1}, - {{0.95,0.44},1},{}, - {{0.94,0.47},1}, - {{0.95,0.47},1},{}, - {{0.98,0.5},1}, - {{1,0.5},1},{}, - {{0.93,0.5},1}, - {{0.95,0.5},1},{}, - {{0.94,0.53},1}, - {{0.95,0.53},1},{}, - {{0.94,0.56},1}, - {{0.95,0.56},1},{}, - {{0.94,0.59},1}, - {{0.95,0.59},1},{}, - {{0.94,0.62},1}, - {{0.95,0.62},1},{}, - {{0.98,0.65},1}, - {{1,0.65},1},{}, - {{0.93,0.65},1}, - {{0.95,0.65},1},{}, - {{0.99,0.68},1}, - {{0.98,0.68},1},{}, - {{0.99,0.71},1}, - {{0.98,0.71},1},{}, - {{0.99,0.74},1}, - {{0.98,0.74},1},{}, - {{0.99,0.77},1}, - {{0.98,0.77},1},{}, - {{0.98,0.8},1}, - {{1,0.8},1},{}, - {{0.93,0.8},1}, - {{0.95,0.8},1},{} - }; - }; - - class RadarAltitudeBand { - clipTL[] = {0,0.2}; - clipBR[] = {1,0.8}; - class radarbanda { - type = "line"; - width = 17; - points[] = { - {"RadarAltitudeBone",{0,0},1}, - {"RadarAltitudeBone",{0,0.6},1} - }; - }; - }; - - class VspeedBand { - type = "line"; - width = 3; - points[] = { - {"VspeedBone",{-0.01,0},1}, - {"VspeedBone",{-0.025,-0.015},1}, - {"VspeedBone",{-0.025,0.015},1}, - {"VspeedBone",{-0.01,0},1},{} - }; - }; - - class HeadingNumber: SpeedNumber { - source = "heading"; - sourceScale = 1; - align = "center"; - pos[] = {{0.5,0.01},1}; - right[] = {{0.56,0.01},1}; - down[] = {{0.5,0.06},1}; - }; - - class Center_box { - type = "line"; - width = 3; - points[] = { - {{0.44,0.005},1}, - {{"0.44 + 0.12",0.005},1}, - {{"0.44 + 0.12","0.005 + 0.06"},1}, - {{0.44,"0.005 + 0.06"},1}, - {{0.44,0.005},1} - }; - }; - - class HeadingArrow { - type = "line"; - width = 7; - points[] = { - {{"0.5","0.128 + 0.03"},1}, - {{0.5,0.128},1} - }; - }; - - class HeadingScale { - type = "scale"; - horizontal = 1; - source = "heading"; - sourceScale = 1; - width = 5; - top = 0.12; - center = 0.5; - bottom = 0.88; - lineXleft = "0.03 + 0.085"; - lineYright = "0.02 + 0.085"; - lineXleftMajor = "0.04 + 0.085"; - lineYrightMajor = "0.02 + 0.085"; - majorLineEach = 3; - numberEach = 3; - step = 10; - stepSize = "0.05"; - align = "center"; - scale = 1; - pos[] = {0.119,"0.0 + 0.065"}; - right[] = {0.159,"0.0 + 0.065"}; - down[] = {0.119,"0.04 + 0.065"}; - }; - - class Fuel_Text { - type = "text"; - source = "static"; - text = "Fuel"; - align = "right"; - scale = 1; - pos[] = {{0.03,0.9},1}; - right[] = {{0.07,0.9},1}; - down[] = {{0.03,0.94},1}; - }; - - class Fuel_Number { - type = "text"; - source = "fuel"; - sourceScale = 100; - align = "right"; - scale = 1; - pos[] = {{0.1,0.9},1}; - right[] = {{0.14,0.9},1}; - down[] = {{0.1,0.94},1}; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.04,0.04,0.1}; - helmetRight[] = {0.08,0,0}; - helmetDown[] = {0,-0.08,0}; - }; - - class LittleHUD { - class Pos10Vector { - type = "vector"; - pos0[] = {0.5,0.5}; - pos10[] = {0.722,0.722}; - }; - - topLeft = "HUD_top_left"; - topRight = "HUD_top_right"; - bottomLeft = "HUD_bottom_left"; - borderLeft = 0; - borderRight = 0; - borderTop = 0; - borderBottom = 0; - color[] = {0.15,1,0.15,1}; - enableParallax = 0; - class Bones { - class Velocity { - type = "vector"; - source = "velocity"; - pos0[] = {0.5,0.5}; - pos10[] = {0.75,0.75}; - }; - - class ForwardVec1 { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.25,0.25}; - }; - - class ForwardVec { - type = "vector"; - source = "forward"; - pos0[] = {0,0}; - pos10[] = {0.253,0.253}; - }; - - class WeaponAim { - type = "vector"; - source = "weapon"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class WeaponAim1 { - type = "vector"; - source = "weapon"; - pos0[] = {0,0}; - pos10[] = {0.253,0.23}; - }; - - class Target { - type = "vector"; - source = "target"; - pos0[] = {0.5,0.5}; - pos10[] = {0.753,0.753}; - }; - - class RadarContact { - type = "fixed"; - pos[] = {0,0}; - }; - }; - - class Draw { - color[] = {0.18,1,0.18}; - alpha = 1; - condition = "on"; - class PlaneMovementCrosshair { - type = "line"; - width = 7; - points[] = { - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,0.02},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01732,-0.01},1}, - {"ForwardVec1",1,"Velocity",1,{-0.01,-0.01732},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1},{}, - {"ForwardVec1",1,"Velocity",1,{0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{-0.04,0},1}, - {"ForwardVec1",1,"Velocity",1,{-0.02,0},1},{}, - {"ForwardVec1",1,"Velocity",1,{0,-0.04},1}, - {"ForwardVec1",1,"Velocity",1,{0,-0.02},1} - }; - }; - - class TargetACQ { - type = "line"; - width = 2; - points[] = { - //////////////////////////////////////////////// UP - /*{"ForwardVec1",1,"target",{0,-0.1},1}, - {"ForwardVec1",1,"target",{0,-0.095},1},{}, - {"ForwardVec1",1,"target",{0,-0.09},1}, - {"ForwardVec1",1,"target",{0,-0.085},1},{}, - {"ForwardVec1",1,"target",{0,-0.08},1}, - {"ForwardVec1",1,"target",{0,-0.075},1},{}, - {"ForwardVec1",1,"target",{0,-0.07},1}, - {"ForwardVec1",1,"target",{0,-0.065},1},{},*/ - {"ForwardVec",1,"target",{0,-0.06},1}, - {"ForwardVec",1,"target",{0,-0.055},1},{}, - {"ForwardVec",1,"target",{0,-0.05},1}, - {"ForwardVec",1,"target",{0,-0.045},1},{}, - {"ForwardVec",1,"target",{0,-0.04},1}, - {"ForwardVec",1,"target",{0,-0.035},1},{}, - {"ForwardVec",1,"target",{0,-0.03},1}, - {"ForwardVec",1,"target",{0,-0.025},1},{}, - {"ForwardVec",1,"target",{0,-0.02},1}, - {"ForwardVec",1,"target",{0,-0.015},1},{}, - {"ForwardVec",1,"target",{0,-0.01},1}, - {"ForwardVec",1,"target",{0,-0.005},1},{}, - //////////////////////////////////////////////// center - {"ForwardVec",1,"target",{0,0},1}, - {"ForwardVec",1,"target",{0,0},1},{}, - /////////////////////////////////////////////// DOWN - /*{"ForwardVec1",1,"target",{0,0.1},1}, - {"ForwardVec1",1,"target",{0,0.095},1},{}, - {"ForwardVec1",1,"target",{0,0.09},1}, - {"ForwardVec1",1,"target",{0,0.085},1},{}, - {"ForwardVec1",1,"target",{0,0.080},1}, - {"ForwardVec1",1,"target",{0,0.075},1},{}, - {"ForwardVec1",1,"target",{0,0.070},1}, - {"ForwardVec1",1,"target",{0,0.065},1},{},*/ - {"ForwardVec",1,"target",{0,0.060},1}, - {"ForwardVec",1,"target",{0,0.055},1},{}, - {"ForwardVec",1,"target",{0,0.050},1}, - {"ForwardVec",1,"target",{0,0.045},1},{}, - {"ForwardVec",1,"target",{0,0.040},1}, - {"ForwardVec",1,"target",{0,0.035},1},{}, - {"ForwardVec",1,"target",{0,0.030},1}, - {"ForwardVec",1,"target",{0,0.025},1},{}, - {"ForwardVec",1,"target",{0,0.020},1}, - {"ForwardVec",1,"target",{0,0.015},1},{}, - {"ForwardVec",1,"target",{0,0.010},1}, - {"ForwardVec",1,"target",{0,0.005},1},{}, - /////////////////////////////////////////////// LEFT - /*{"ForwardVec1",1,"target",{-0.10, 0},1}, - {"ForwardVec1",1,"target",{-0.095, 0},1},{}, - {"ForwardVec1",1,"target",{-0.09, 0},1}, - {"ForwardVec1",1,"target",{-0.085, 0},1},{}, - {"ForwardVec1",1,"target",{-0.080, 0},1}, - {"ForwardVec1",1,"target",{-0.075, 0},1},{}, - {"ForwardVec1",1,"target",{-0.070, 0},1}, - {"ForwardVec1",1,"target",{-0.065, 0},1},{},*/ - {"ForwardVec",1,"target",{-0.060, 0},1}, - {"ForwardVec",1,"target",{-0.055, 0},1},{}, - {"ForwardVec",1,"target",{-0.050, 0},1}, - {"ForwardVec",1,"target",{-0.045, 0},1},{}, - {"ForwardVec",1,"target",{-0.040, 0},1}, - {"ForwardVec",1,"target",{-0.035, 0},1},{}, - {"ForwardVec",1,"target",{-0.030, 0},1}, - {"ForwardVec",1,"target",{-0.025, 0},1},{}, - {"ForwardVec",1,"target",{-0.020, 0},1}, - {"ForwardVec",1,"target",{-0.015, 0},1},{}, - {"ForwardVec",1,"target",{-0.010, 0},1}, - {"ForwardVec",1,"target",{-0.005, 0},1},{}, - /////////////////////////////////////////////// RIGHT - /*{"ForwardVec1",1,"target",{0.10, 0},1}, - {"ForwardVec1",1,"target",{0.095, 0},1},{}, - {"ForwardVec1",1,"target",{0.09, 0},1}, - {"ForwardVec1",1,"target",{0.085, 0},1},{}, - {"ForwardVec1",1,"target",{0.080, 0},1}, - {"ForwardVec1",1,"target",{0.075, 0},1},{}, - {"ForwardVec1",1,"target",{0.070, 0},1}, - {"ForwardVec1",1,"target",{0.065, 0},1},{},*/ - {"ForwardVec",1,"target",{0.060, 0},1}, - {"ForwardVec",1,"target",{0.055, 0},1},{}, - {"ForwardVec",1,"target",{0.050, 0},1}, - {"ForwardVec",1,"target",{0.045, 0},1},{}, - {"ForwardVec",1,"target",{0.040, 0},1}, - {"ForwardVec",1,"target",{0.035, 0},1},{}, - {"ForwardVec",1,"target",{0.030, 0},1}, - {"ForwardVec",1,"target",{0.025, 0},1},{}, - {"ForwardVec",1,"target",{0.020, 0},1}, - {"ForwardVec",1,"target",{0.015, 0},1},{}, - {"ForwardVec",1,"target",{0.010, 0},1}, - {"ForwardVec",1,"target",{0.005, 0},1},{} - }; - }; - }; - - helmetMountedDisplay = 1; - helmetPosition[] = {-0.035,0.035,0.1}; - helmetRight[] = {0.07,0,0}; - helmetDown[] = {0,-0.07,0}; - }; -}; diff --git a/addons/aircraft/CfgAmmo.hpp b/addons/aircraft/CfgAmmo.hpp new file mode 100644 index 0000000000..2c9d6a91e6 --- /dev/null +++ b/addons/aircraft/CfgAmmo.hpp @@ -0,0 +1,302 @@ + +class CfgAmmo { + class BulletBase; + class B_20mm: BulletBase { + deflecting = 3; + hit = 100; + indirectHit = 10; + indirectHitRange = 2; + model = "\A3\Weapons_f\Data\bullettracer\tracer_red"; + }; + + class SubmunitionBullet; + class B_65x39_Minigun_Caseless: SubmunitionBullet { + hit = 10; + indirectHit = 0; + indirectHitRange = 0; + caliber = 1; + deflecting = 5; + typicalSpeed = 850; + }; + + class B_762x51_Minigun_Tracer_Red: SubmunitionBullet { + hit = 12; + indirectHit = 0; + indirectHitRange = 0; + model = "\A3\Weapons_f\Data\bullettracer\tracer_red"; + caliber = 1.6; + deflecting = 5; + typicalSpeed = 850; + }; + + class M_Titan_AA; + class M_Zephyr: M_Titan_AA { + proxyShape = "\A3\Weapons_F\Ammo\Missile_AA_02_F.p3d"; + model = "\A3\Weapons_F\Ammo\Missile_AA_02_fly_F.p3d"; + airFriction = 0.078; + sideAirFriction = 0.18; + maneuvrability = 24; + class CamShakeFire {}; + class CamShakePlayerFire {}; + }; + + class M_Zephyr_Mi06: M_Zephyr { + maverickWeaponIndexOffset = 6; + }; + + class MissileBase; + class M_Air_AA: MissileBase { + model = "\A3\Weapons_F\Ammo\Missile_AT_02_fly_F"; + proxyShape = "\A3\Weapons_F\Ammo\Missile_AT_02_F"; + hit = 280; + indirectHit = 85; + indirectHitRange = 10; + maneuvrability = 27; + simulationStep = 0.002; + airLock = 1; + irLock = 1; + cost = 1500; + //maxSpeed = 2400; + timeToLive = 40; + airFriction = 0.05; + sideAirFriction = 0.1; + trackOversteer = 1; + trackLead = 1; + initTime = 0; + thrustTime = 12; + thrust = 340; + fuseDistance = 500; + weaponLockSystem = "2 + 16"; + maxControlRange = 8000; + class CamShakeExplode {}; + class CamShakeHit {}; + class CamShakeFire {}; + class CamShakePlayerFire {}; + }; + + class Missile_AA_04_F: MissileBase { + hit = 800; + indirectHit = 60; + indirectHitRange = 12; + airLock = 2; + irLock = 1; + laserLock = 0; + nvLock = 0; + weaponLockSystem = "2 + 16"; + cmimmunity = 0.8; + initTime = 0; + thrust = 380; + thrustTime = 9.5; + airFriction = 0.04; + sideAirFriction = 0.08; + //maxSpeed = 2600; + maneuvrability = 14; + simulationStep = 0.002; + fuseDistance = 500; + timeToLive = 19; + trackLead = 1; + trackOversteer = 1; + }; + + class Gatling_30mm_HE_Plane_CAS_01_F: BulletBase { + model = "\A3\Weapons_f\Data\bullettracer\tracer_red.p3d"; + cost = 20; + hit = 80; + indirectHit = 12; + indirectHitRange = 3; + caliber = 1.4; + explosive = 0.6; + airlock = 1; + deflecting = 3; + airFriction = -0.00042; + typicalSpeed = 960; + visibleFire = 32; + audibleFire = 32; + visibleFireTime = 3; + fuseDistance = 3; + tracerScale = 2.5; + tracerStartTime = 0.02; + tracerEndTime = 4.7; + multiSoundHit[] = {"soundHit1",0.2,"soundHit2",0.2,"soundHit3",0.2,"soundHit4",0.1,"soundHit5",0.15,"soundHit6",0.15}; + soundFly[] = {"A3\Sounds_F\weapons\Explosion\cannon_fly",1,1,50}; + explosionSoundEffect = "DefaultExplosion"; + explosionEffects = "ExploAmmoExplosion"; + craterEffects = "ExploAmmoCrater"; + soundHit1[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_1",3.16228,1,1600}; + soundHit2[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_2",3.16228,1,1600}; + soundHit3[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_3",3.16228,1,1600}; + soundHit4[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_4",3.16228,1,1600}; + soundHit5[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_5",3.16228,1,1600}; + soundHit6[] = {"A3\Sounds_F\weapons\Explosion\gr_explosion_6",3.16228,1,1600}; + class CamShakeExplode {}; + class CamShakeHit {}; + class CamShakeFire {}; + class CamShakePlayerFire {}; + }; + class ACE_Gatling_30mm_HE_Plane_CAS_01_Deploy: Gatling_30mm_HE_Plane_CAS_01_F { + simulation = "shotSubmunitions"; + triggerTime = 0; + submunitionAmmo = "ACE_Gatling_30mm_HE_Plane_CAS_01_Sub"; + submunitionConeType[] = {"custom", {{0,0}, {0,0}, {0,0}} }; + }; + class ACE_Gatling_30mm_HE_Plane_CAS_01_Sub: Gatling_30mm_HE_Plane_CAS_01_F { + }; + + class Cannon_30mm_HE_Plane_CAS_02_F: Gatling_30mm_HE_Plane_CAS_01_F { + model = "\A3\Weapons_f\Data\bullettracer\tracer_green.p3d"; + hit = 70; + indirectHit = 11; + indirectHitRange = 3; + caliber = 2; + explosive = 0.6; + }; + + class Missile_AGM_02_F: MissileBase { + model = "\A3\Weapons_F_EPC\Ammo\Missile_AGM_02_fly_F.p3d"; + proxyShape = "\A3\Weapons_F_EPC\Ammo\Missile_AGM_02_F.p3d"; + maverickWeaponIndexOffset = 2; + cost = 1500; + hit = 2100; + indirectHit = 85; + indirectHitRange = 8; + manualControl = 0; + maxControlRange = 8000; + airLock = 0; + irLock = 1; + laserLock = 0; + nvLock = 0; + weaponLockSystem = "2 + 16"; + cmimmunity = 0.8; + initTime = 0; + thrust = 240; + thrustTime = 5; + airFriction = 0.05; + sideAirFriction = 0.1; + maxSpeed = 828; + maneuvrability = 27; + simulationStep = 0.002; + fuseDistance = 500; + timeToLive = 40; + trackLead = 1; + trackOversteer = 1; + craterEffects = "AAMissileCrater"; + effectsMissile = "missile3"; + explosionEffects = "AAMissileExplosion"; + muzzleEffect = "BIS_fnc_effectFiredHeliRocket"; + whistleDist = 20; + class CamShakeExplode {}; + class CamShakeHit {}; + class CamShakeFire {}; + class CamShakePlayerFire {}; + }; + + class LaserBombCore; + class Bomb_04_F: LaserBombCore { + model = "\A3\Weapons_F_EPC\Ammo\Bomb_04_fly_F.p3d"; + proxyShape = "\A3\Weapons_F_EPC\Ammo\Bomb_04_F.p3d"; + maverickWeaponIndexOffset = 8; + hit = 6000; + indirectHit = 1400; + indirectHitRange = 15; + nvLock = 1; + weaponLockSystem = "2 + 16 + 4"; + maneuvrability = 20; + fuseDistance = 35; + trackLead = 0.95; + trackOversteer = 1; + craterEffects = "BombCrater"; + explosionEffects = "BombExplosion"; + explosionSoundEffect = "DefaultExplosion"; + explosionTime = 2; + multiSoundHit[] = {"soundHit1",0.2,"soundHit2",0.2,"soundHit3",0.2,"soundHit4",0.2,"soundHit5",0.2}; + soundHit1[] = {"\A3\Sounds_F\weapons\Explosion\expl_big_1",2.51189,1,2400}; + soundHit2[] = {"\A3\Sounds_F\weapons\Explosion\expl_big_2",2.51189,1,2400}; + soundHit3[] = {"\A3\Sounds_F\weapons\Explosion\expl_big_3",2.51189,1,2400}; + soundHit4[] = {"\A3\Sounds_F\weapons\Explosion\expl_shell_1",2.51189,1,2400}; + soundHit5[] = {"\A3\Sounds_F\weapons\Explosion\expl_shell_2",2.51189,1,2400}; + whistleDist = 24; + }; + + class Rocket_04_HE_F: MissileBase { + model = "\A3\Weapons_F_EPC\Ammo\Rocket_04_HE_fly_F.p3d"; + proxyShape = "\A3\Weapons_F_EPC\Ammo\Rocket_04_HE_F.p3d"; + maverickWeaponIndexOffset = 12; + cost = 500; + hit = 210; + indirectHit = 55; + indirectHitRange = 15; + manualControl = 0; + maxControlRange = 8000; + airLock = 0; + irLock = 1; + laserLock = 0; + nvLock = 0; + weaponLockSystem = 0; + cmimmunity = 1; + initTime = 0.002; + thrust = 1600; + thrustTime = 0.7; + airFriction = 0.0046; + sideAirFriction = 0.005; + maxSpeed = 610; + maneuvrability = 0; + fuseDistance = 50; + timeToLive = 60; + effectsMissileInit = "MissileDAR1"; + whistleDist = 30; + class CamShakeExplode {}; + class CamShakeHit {}; + class CamShakeFire {}; + class CamShakePlayerFire {}; + }; + + class Rocket_04_AP_F: Rocket_04_HE_F { + model = "\A3\Weapons_F_EPC\Ammo\Rocket_04_AP_fly_F.p3d"; + proxyShape = "\A3\Weapons_F_EPC\Ammo\Rocket_04_AP_F.p3d"; + maverickWeaponIndexOffset = 19; + hit = 400; + indirectHit = 20; + indirectHitRange = 10; + }; + + class Missile_AA_03_F: Missile_AA_04_F { + model = "\A3\Weapons_F_EPC\Ammo\Missile_AA_03_fly_F.p3d"; + proxyShape = "\A3\Weapons_F_EPC\Ammo\Missile_AA_03_F.p3d"; + maverickWeaponIndexOffset = 0; + hit = 900; + indirectHit = 50; + indirectHitRange = 15; + }; + + class Missile_AGM_01_F: Missile_AGM_02_F { + model = "\A3\Weapons_F_EPC\Ammo\Missile_AGM_01_fly_F.p3d"; + proxyShape = "\A3\Weapons_F_EPC\Ammo\Missile_AGM_01_F.p3d"; + maverickWeaponIndexOffset = 2; + hit = 2200; + indirectHit = 90; + indirectHitRange = 10; + }; + + class Bomb_03_F: Bomb_04_F { + model = "\A3\Weapons_F_EPC\Ammo\Bomb_03_F.p3d"; + proxyShape = "\A3\Weapons_F_EPC\Ammo\Bomb_03_F.p3d"; + maverickWeaponIndexOffset = 6; + hit = 6400; + indirectHit = 1400; + indirectHitRange = 16; + }; + + class Rocket_03_HE_F: Rocket_04_HE_F { + model = "\A3\Weapons_F_EPC\Ammo\Rocket_03_HE_fly_F.p3d"; + proxyShape = "\A3\Weapons_F_EPC\Ammo\Rocket_03_HE_F.p3d"; + maverickWeaponIndexOffset = 8; + }; + + class Rocket_03_AP_F: Rocket_04_AP_F { + model = "\A3\Weapons_F_EPC\Ammo\Rocket_03_AP_fly_F.p3d"; + proxyShape = "\A3\Weapons_F_EPC\Ammo\Rocket_03_AP_F.p3d"; + maverickWeaponIndexOffset = 28; + }; + + class RocketBase; +}; diff --git a/addons/aircraft/CfgMagazines.hpp b/addons/aircraft/CfgMagazines.hpp new file mode 100644 index 0000000000..7328eda091 --- /dev/null +++ b/addons/aircraft/CfgMagazines.hpp @@ -0,0 +1,202 @@ + +class CfgMagazines { + class VehicleMagazine; + class 24Rnd_PG_missiles; + + class 12Rnd_PG_missiles: 24Rnd_PG_missiles { + count = 12; + displayName = "$STR_A3_CfgMagazines_12Rnd_PG_missiles0"; + displayNameShort = "$STR_A3_CfgMagazines_12Rnd_PG_missiles_dns"; + descriptionShort = "$STR_A3_CfgMagazines_12Rnd_PG_missiles1"; + }; + class 12Rnd_missiles: VehicleMagazine { + scope = 2; + count = 12; + ammo = "M_AT"; + displayName = "$STR_A3_CfgMagazines_24Rnd_PuG_missiles0"; + displayNameShort = "$STR_A3_CfgMagazines_24Rnd_PuG_missiles_dns"; + descriptionShort = "$STR_A3_CfgMagazines_24Rnd_PuG_missiles0"; + initSpeed = 44; + maxLeadSpeed = 800; + nameSound = "rockets"; + sound[] = {"A3\sounds_f\weapons\rockets\explosion_missile_01",1,1,1200}; + reloadSound[] = {"",0.000316228,1}; + }; + + //minigun magazines, muzzle velocities and tracercounts + class 200Rnd_65x39_Belt: VehicleMagazine {}; + class 2000Rnd_65x39_Belt: 200Rnd_65x39_Belt {}; + class 2000Rnd_65x39_Belt_Tracer_Red: 2000Rnd_65x39_Belt { + }; + class 2000Rnd_65x39_Belt_Green: 2000Rnd_65x39_Belt {}; + class 2000Rnd_65x39_Belt_Tracer_Green: 2000Rnd_65x39_Belt_Green { + tracersEvery = 1; + }; + class 2000Rnd_65x39_Belt_Yellow: 2000Rnd_65x39_Belt { + tracersEvery = 1; + }; + class 2000Rnd_65x39_Belt_Tracer_Yellow: 2000Rnd_65x39_Belt_Yellow { + tracersEvery = 1; + }; + + class 5000Rnd_762x51_Belt: 2000Rnd_65x39_Belt { + tracersEvery = 1; + count = 5000; + }; + class 5000Rnd_762x51_Yellow_Belt: 5000Rnd_762x51_Belt {}; + class 4000Rnd_762x51_M134 : 5000Rnd_762x51_Belt { + count = 4000; + tracersEvery = 1; + }; + class 2000Rnd_762x51_M134 : 4000Rnd_762x51_M134 { + count = 2000; + tracersEvery = 1; + }; + + class 2Rnd_AAA_missiles: VehicleMagazine { + scope = 2; + displayName = "$STR_A3_CfgMagazines_2Rnd_AAA_missiles0"; + displayNameShort = "$STR_A3_CfgMagazines_2Rnd_AAA_missiles_dns"; + ammo = "M_Air_AA"; + count = 2; + maxLeadSpeed = 950; + nameSound = "missiles"; + }; + class 2Rnd_AAA_missiles_MI02: 2Rnd_AAA_missiles { + ammo = "M_Air_AA_MI02"; + }; + class 4Rnd_AAA_missiles: 2Rnd_AAA_missiles { + displayName = "$STR_A3_CfgMagazines_4Rnd_AAA_missiles0"; + displayNameShort = "$STR_A3_CfgMagazines_4Rnd_AAA_missiles_dns"; + count = 4; + }; + class 4Rnd_AAA_missiles_MI02: 4Rnd_AAA_missiles { + ammo = "M_Air_AA_MI02"; + }; + + class 4Rnd_GAA_missiles: VehicleMagazine { + scope = 2; + displayName = "$STR_A3_CfgMagazines_4Rnd_GAA_missiles0"; + displayNameShort = "$STR_A3_CfgMagazines_4Rnd_GAA_missiles_dns"; + count = 4; + ammo = "M_Zephyr"; + maxLeadSpeed = 950; + nameSound = "missiles"; + }; + + class 300Rnd_20mm_shells: VehicleMagazine { + scope = 2; + displayName = "$STR_A3_CfgMagazines_300Rnd_20mm_shells0"; + displayNameShort = "$STR_A3_CfgMagazines_300Rnd_20mm_shells_dns"; + ammo = "B_20mm"; + count = 300; + deflecting = 3; + maxLeadSpeed = 300; + tracersEvery = 5; + nameSound = "cannon"; + }; + + class 1000Rnd_Gatling_30mm_Plane_CAS_01_F: VehicleMagazine { + scope = 2; + displayNameShort = ""; + ammo = "ACE_Gatling_30mm_HE_Plane_CAS_01_Deploy"; + count = 1170; + //count = 390; + //initSpeed = 3852; + maxLeadSpeed = 300; + nameSound = "cannon"; + tracersEvery = 1; + }; + + class 2Rnd_Missile_AA_04_F: VehicleMagazine { + scope = 2; + displayNameShort = "$STR_A3_CFGMAGAZINES_4RND_AAA_MISSILES_DNS"; + ammo = "Missile_AA_04_F"; + count = 2; + maxLeadSpeed = 220; + nameSound = "missiles"; + }; + class 6Rnd_Missile_AGM_02_F: VehicleMagazine { + scope = 2; + displayNameShort = "$STR_A3_CFGMAGAZINES_38RND_80MM_ROCKETS_DNS"; + ammo = "Missile_AGM_02_F"; + count = 6; + maxLeadSpeed = 450; + nameSound = "missiles"; + }; + class 2Rnd_Missile_AGM_02_F: VehicleMagazine { + scope = 2; + displayNameShort = "$STR_A3_CFGMAGAZINES_38RND_80MM_ROCKETS_DNS"; + ammo = "Missile_AGM_02_F"; + count = 2; + maxLeadSpeed = 450; + nameSound = "missiles"; + }; + + class 7Rnd_Rocket_04_HE_F: VehicleMagazine { + scope = 2; + displayNameShort = "$STR_A3_CFGMAGAZINES_40RND_20MM_G_BELT_DNS"; + ammo = "Rocket_04_HE_F"; + count = 7; + maxLeadSpeed = 200; + nameSound = "rockets"; + }; + class 7Rnd_Rocket_04_AP_F: 7Rnd_Rocket_04_HE_F { + displayNameShort = "$STR_A3_CFGMAGAZINES_TITAN_AP_DNS"; + ammo = "Rocket_04_AP_F"; + }; + + class 4Rnd_Bomb_04_F: VehicleMagazine { + scope = 2; + displayNameShort = "$STR_A3_CFGVEHICLES_BOMB0"; + ammo = "Bomb_04_F"; + count = 4; + maxLeadSpeed = 1000; + nameSound = "cannon"; + }; + + class 500Rnd_Cannon_30mm_Plane_CAS_02_F: 1000Rnd_Gatling_30mm_Plane_CAS_01_F { + displayNameShort = ""; + ammo = "Cannon_30mm_HE_Plane_CAS_02_F"; + count = 500; + }; + + class 2Rnd_Missile_AA_03_F: 2Rnd_Missile_AA_04_F { + displayNameShort = "$STR_A3_CFGMAGAZINES_4RND_AAA_MISSILES_DNS"; + ammo = "Missile_AA_03_F"; + count = 2; + }; + class 4Rnd_Missile_AGM_01_F: 6Rnd_Missile_AGM_02_F { + displayNameShort = "$STR_A3_CFGMAGAZINES_38RND_80MM_ROCKETS_DNS"; + ammo = "Missile_AGM_01_F"; + count = 4; + }; + + class 20Rnd_Rocket_03_HE_F: 7Rnd_Rocket_04_HE_F { + displayNameShort = "$STR_A3_CFGMAGAZINES_40RND_20MM_G_BELT_DNS"; + ammo = "Rocket_03_HE_F"; + count = 20; + }; + class 20Rnd_Rocket_03_AP_F: 7Rnd_Rocket_04_AP_F { + displayNameShort = "$STR_A3_CFGMAGAZINES_TITAN_AP_DNS"; + ammo = "Rocket_03_AP_F"; + count = 20; + }; + + class 2Rnd_Bomb_03_F: 4Rnd_Bomb_04_F { + displayNameShort = "$STR_A3_CFGVEHICLES_BOMB0"; + ammo = "Bomb_03_F"; + count = 2; + }; + + class ACE_500Rnd_20mm_shells_Comanche: 300Rnd_20mm_shells { + displayName = "20mm"; + displayNameShort = "20mm"; + ammo = "B_20mm"; + count = 500; + deflecting = 3; + initSpeed = 1030; + maxLeadSpeed = 300; + tracersEvery = 5; + }; +}; diff --git a/addons/aircraft/CfgVehicles.hpp b/addons/aircraft/CfgVehicles.hpp new file mode 100644 index 0000000000..18be36b9e8 --- /dev/null +++ b/addons/aircraft/CfgVehicles.hpp @@ -0,0 +1,402 @@ + +class CfgVehicles { + class All { + class Turrets; + }; + + class AllVehicles: All { + class NewTurret { + class Turrets; + }; + class CargoTurret; + }; + + class Air: AllVehicles { + class AnimationSources; + }; + + class Helicopter: Air { + class Turrets { + class MainTurret; + }; + }; + + class Plane: Air {}; + + class ParachuteBase: Helicopter { + class Turrets; + }; + + class UAV: Plane {}; + + class Helicopter_Base_F: Helicopter { + class Turrets: Turrets { + class CopilotTurret; + }; + }; + + class Helicopter_Base_H: Helicopter_Base_F { + class Turrets: Turrets { + class CopilotTurret; + }; + //class UserActions; + }; + + class Heli_Light_01_base_F: Helicopter_Base_H { + lockDetectionSystem = 0; + incomingMissileDetectionSystem = 16; + driverCanEject = 1; + //class MFD {}; + class Turrets: Turrets { + class CopilotTurret: CopilotTurret { + canEject = 1; + showHMD = 1; + }; + }; + }; + + class B_Heli_Light_01_F: Heli_Light_01_base_F { + /*class Turrets: Turrets { + class CopilotTurret: CopilotTurret {}; + + class CargoTurret_01: CargoTurret {}; + class CargoTurret_02: CargoTurret_01 {}; + class CargoTurret_03: CargoTurret_02 {}; + class CargoTurret_04: CargoTurret_01 {}; + };*/ + }; + + class Heli_Light_01_armed_base_F: Heli_Light_01_base_F { + lockDetectionSystem = 0; + incomingMissileDetectionSystem = 16; + driverCanEject = 1; + //class MFD {}; + class Turrets: Turrets { + class CopilotTurret: CopilotTurret { + canEject = 1; + }; + }; + }; + + class B_Heli_Light_01_armed_F: Heli_Light_01_armed_base_F {}; + + class Heli_Light_02_base_F: Helicopter_Base_H { + driverCanEject = 1; + lockDetectionSystem = 12; + incomingMissileDetectionSystem = 16; + magazines[] = {"2000Rnd_762x51_Belt_T_Green", "12Rnd_PG_missiles", "168Rnd_CMFlare_Chaff_Magazine"}; + class Turrets: Turrets { + class CopilotTurret: CopilotTurret { + canEject = 1; + showHMD = 1; + }; + }; + }; + + class Plane_Base_F: Plane { + class Turrets { + class CopilotTurret; + }; + }; + + class Heli_Attack_01_base_F: Helicopter_Base_F { + lockDetectionSystem = 12; + incomingMissileDetectionSystem = 16; + driverCanEject = 1; + //class MFD {}; + class AnimationSources: AnimationSources { + class HitGlass1 { + source = "Hit"; + hitpoint = "HitGlass1"; + raw = 1; + }; + class HitGlass2: HitGlass1 { + hitpoint = "HitGlass2"; + }; + class HitGlass3: HitGlass1 { + hitpoint = "HitGlass3"; + }; + class HitGlass4: HitGlass1 { + hitpoint = "HitGlass4"; + }; + class Gatling { + source = "revolving"; + weapon = "ACE_gatling_20mm_Comanche"; + }; + class Hide { + source = "user"; + animPeriod = 0; + initPhase = 0; + }; + class Muzzle_flash { + source = "ammorandom"; + weapon = "ACE_gatling_20mm_Comanche"; + }; + }; + class Turrets: Turrets { + class MainTurret: MainTurret { + canEject = 1; + showHMD = 1; + weapons[] = {"ACE_gatling_20mm_Comanche","missiles_DAGR","missiles_ASRAAM"}; + magazines[] = {"ACE_500Rnd_20mm_shells_Comanche","4Rnd_AAA_missiles","24Rnd_PG_missiles"}; + }; + }; + }; + + class B_Heli_Attack_01_F: Heli_Attack_01_base_F {}; + + class Heli_Attack_02_base_F: Helicopter_Base_F { + lockDetectionSystem = 12; + incomingMissileDetectionSystem = 16; + driverCanEject = 1; + class Turrets: Turrets { + class MainTurret: MainTurret { + canEject = 1; + }; + }; + }; + + class Heli_Transport_01_base_F: Helicopter_Base_H { + lockDetectionSystem = 12; + incomingMissileDetectionSystem = 16; + driverCanEject = 1; + class Turrets: Turrets { + class CopilotTurret: CopilotTurret { + canEject = 1; + showHMD = 1; + }; + class MainTurret: MainTurret { + magazines[] = {"2000Rnd_762x51_Belt_T_Red"}; + canEject = 1; + }; + class RightDoorGun: MainTurret { + magazines[] = {"2000Rnd_762x51_Belt_T_Red"}; + canEject = 1; + }; + }; + /*class UserActions { + class DoorL1_Open { + available = 1; + condition = "((this doorPhase 'door_L') == 0) AND Alive(this) AND driver this != player AND gunner this != player"; + }; + class DoorR1_Open: DoorL1_Open { + condition = "((this doorPhase 'door_R') == 0) AND Alive(this) AND driver this != player AND gunner this != player"; + }; + class DoorL1_Close: DoorL1_Open { + condition = "((this doorPhase 'door_L') > 0) AND Alive(this) AND driver this != player AND gunner this != player"; + }; + class DoorR1_Close: DoorL1_Close { + condition = "((this doorPhase 'door_R') > 0) AND Alive(this) AND driver this != player AND gunner this != player"; + }; + };*/ + }; + + class Heli_Transport_02_base_F: Helicopter_Base_H { + lockDetectionSystem = 12; + incomingMissileDetectionSystem = 16; + driverCanEject = 1; + //class MFD {}; + class Turrets: Turrets { + class CopilotTurret: CopilotTurret { + canEject = 1; + showHMD = 1; + }; + + class CargoTurret_01: CargoTurret {}; + class CargoTurret_02: CargoTurret_01 {}; + }; + /*class UserActions: UserActions { + class DoorL1_Open { + available = 1; + condition = "this animationPhase ""door_back_L"" < 0.5 AND Alive(this)"; + }; + class DoorR1_Open: DoorL1_Open { + condition = "this animationPhase ""door_back_R"" < 0.5 AND Alive(this)"; + }; + class DoorL1_Close: DoorL1_Open { + condition = "this animationPhase ""door_back_L"" > 0.5 AND Alive(this)"; + }; + class DoorR1_Close: DoorL1_Close { + condition = "this animationPhase ""door_back_R"" > 0.5 AND Alive(this)"; + }; + class CargoRamp_Open: DoorL1_Open { + userActionID = 52; + displayName = "$STR_ACE_Aircraft_OpenCargoRamp"; + textToolTip = "$STR_ACE_Aircraft_OpenCargoRamp"; + position = "action_cargoramp"; + radius = 3.0; + condition = "this animationPhase ""cargoramp_open"" < 0.5 AND Alive(this)"; + statement = "this animateDoor ['cargoramp_open', 1]"; + }; + class CargoRamp_Close: DoorL1_Close { + userActionID = 55; + displayName = "$STR_ACE_Aircraft_CloseCargoRamp"; + textToolTip = "$STR_ACE_Aircraft_CloseCargoRamp"; + position = "action_cargoramp"; + radius = 3.0; + condition = "this animationPhase ""cargoramp_open"" > 0.5 AND Alive(this)"; + statement = "this animateDoor ['cargoramp_open', 0]"; + }; + };*/ + }; + + class I_Heli_Transport_02_F: Heli_Transport_02_base_F {}; + + class I_Heli_light_03_base_F: Helicopter_Base_F { + lockDetectionSystem = 0; + incomingMissileDetectionSystem = 16; + driverCanEject = 1; + //class MFD {}; + weapons[] = {"M134_minigun","missiles_DAR","CMFlareLauncher"}; + magazines[] = {"5000Rnd_762x51_Yellow_Belt","24Rnd_missiles","168Rnd_CMFlare_Chaff_Magazine"}; + class Turrets: Turrets { + class MainTurret: MainTurret { + canEject = 1; + showHMD = 1; + gunBeg = "commanderview"; + gunEnd = "laserstart"; + memoryPointGun = "laserstart"; + stabilizedInAxes = 3; + weapons[] = {"Laserdesignator_mounted"}; + soundServo[] = {"",0.01,1,30}; + magazines[] = {"Laserbatteries"}; + inGunnerMayFire = 1; + }; + }; + }; + + class I_Heli_light_03_F: I_Heli_light_03_base_F { + class Turrets: Turrets { + class MainTurret: MainTurret {}; + + class CargoTurret_01: CargoTurret {}; + class CargoTurret_02: CargoTurret_01 {}; + }; + }; + + class I_Heli_light_03_unarmed_base_F: I_Heli_light_03_base_F { + //class MFD {}; + }; + class I_Heli_light_03_unarmed_F: I_Heli_light_03_unarmed_base_F {}; + + class Plane_CAS_01_base_F: Plane_Base_F { + lockDetectionSystem = 12; + incomingMissileDetectionSystem = 16; + //class MFD {}; + class Turrets; + #include + }; + + class Plane_CAS_02_base_F: Plane_Base_F { + lockDetectionSystem = 12; + incomingMissileDetectionSystem = 16; + class Turrets; + #include + }; + + class Plane_Fighter_03_base_F: Plane_Base_F { + lockDetectionSystem = 12; + incomingMissileDetectionSystem = 16; + class Turrets; + #include + }; + + class UAV_01_base_F: Helicopter_Base_F { + /*class Turrets: Turrets { + class MainTurret: MainTurret {}; + };*/ + }; + + class UAV_02_base_F: UAV { + class Turrets { + class MainTurret; + }; + weapons[] = {}; + magazines[] = {}; + }; + + class UAV_02_CAS_base_F: UAV_02_base_F { + /*class Turrets: Turrets { + class MainTurret: MainTurret {}; + };*/ + weapons[] = {}; + magazines[] = {}; + }; + + class B_Heli_Transport_03_base_F: Helicopter_Base_H { + lockDetectionSystem = 12; + incomingMissileDetectionSystem = 16; + driverCanEject = 1; + class Turrets: Turrets { + class CopilotTurret: CopilotTurret { + canEject = 1; + }; + //class MainTurret: MainTurret {}; + class RightDoorGun: MainTurret {}; + + class CargoTurret_01: CargoTurret {}; + class CargoTurret_02: CargoTurret_01 {}; + }; + }; + + class B_Heli_Transport_03_unarmed_base_F: B_Heli_Transport_03_base_F { + class Turrets: Turrets { + class CopilotTurret: CopilotTurret { + canEject = 1; + }; + //class MainTurret: MainTurret {}; + //class RightDoorGun: MainTurret {}; + + //class CargoTurret_01: CargoTurret {}; + //class CargoTurret_02: CargoTurret_01 {}; + }; + }; + + class Heli_Transport_04_base_F: Helicopter_Base_H { + lockDetectionSystem = 12; + incomingMissileDetectionSystem = 16; + driverCanEject = 1; + class Turrets: Turrets { + class CopilotTurret: CopilotTurret { + canEject = 1; + }; + class LoadmasterTurret: MainTurret { + canEject = 1; + }; + }; + }; + + class O_Heli_Transport_04_bench_F: Heli_Transport_04_base_F { + class Turrets: Turrets { + class CopilotTurret: CopilotTurret { + canEject = 1; + }; + class LoadmasterTurret: LoadmasterTurret { + canEject = 1; + }; + + class CargoTurret_01: CargoTurret {}; + class CargoTurret_02: CargoTurret_01 {}; + class CargoTurret_03: CargoTurret_01 {}; + class CargoTurret_04: CargoTurret_01 {}; + class CargoTurret_05: CargoTurret_01 {}; + class CargoTurret_06: CargoTurret_05 {}; + class CargoTurret_07: CargoTurret_05 {}; + class CargoTurret_08: CargoTurret_05 {}; + }; + }; + + class O_Heli_Transport_04_covered_F: Heli_Transport_04_base_F { + class Turrets: Turrets { + class CopilotTurret: CopilotTurret { + canEject = 1; + }; + class LoadmasterTurret: LoadmasterTurret { + canEject = 1; + }; + + class CargoTurret_01: CargoTurret {}; + class CargoTurret_02: CargoTurret_01 {}; + }; + }; +}; diff --git a/addons/aircraft/CfgWeapons.hpp b/addons/aircraft/CfgWeapons.hpp new file mode 100644 index 0000000000..321df4a3af --- /dev/null +++ b/addons/aircraft/CfgWeapons.hpp @@ -0,0 +1,240 @@ + +class Mode_SemiAuto; +class Mode_Burst; +class Mode_FullAuto; + +class CfgWeapons { + class MGunCore; + class MGun: MGunCore {}; + + class LMG_RCWS: MGun {}; + + // Manual Switching Of Flare Mode + class SmokeLauncher; + class CMFlareLauncher: SmokeLauncher { + modes[] = {"Single", "Burst", "AIBurst"}; + class Single: Mode_SemiAuto { + reloadTime = 0.1; + }; + class Burst: Mode_Burst { + displayName = "$STR_ACE_Aircraft_CMFlareLauncher_Burst_Name"; + }; + }; + + class CannonCore; + class gatling_20mm: CannonCore { + magazines[] = {"2000Rnd_20mm_shells","1000Rnd_20mm_shells","300Rnd_20mm_shells","ACE_500Rnd_20mm_shells_Comanche"}; + + class manual: CannonCore { + reloadTime = 0.023; + dispersion = 0.006; + }; + class close: manual {}; + class short: close {}; + class medium: close {}; + class far: close {}; + }; + + class ACE_gatling_20mm_Comanche: gatling_20mm { + displayName = "XM301"; + class close: close { + reloadTime = 0.04; + dispersion = 0.0022; + }; + class far: far { + reloadTime = 0.04; + dispersion = 0.0022; + }; + class manual: manual { + reloadTime = 0.04; + dispersion = 0.0022; + displayName = "XM301"; + }; + class medium: medium { + reloadTime = 0.04; + dispersion = 0.0022; + }; + class short: short { + reloadTime = 0.04; + dispersion = 0.0022; + }; + }; + + class LMG_Minigun: LMG_RCWS { + magazines[] = {"1000Rnd_65x39_Belt","1000Rnd_65x39_Belt_Green","1000Rnd_65x39_Belt_Tracer_Green","1000Rnd_65x39_Belt_Tracer_Red","1000Rnd_65x39_Belt_Tracer_Yellow","1000Rnd_65x39_Belt_Yellow","2000Rnd_65x39_Belt","2000Rnd_65x39_Belt_Green","2000Rnd_65x39_Belt_Tracer_Green","2000Rnd_65x39_Belt_Tracer_Green_Splash","2000Rnd_65x39_Belt_Tracer_Red","2000Rnd_65x39_Belt_Tracer_Yellow","2000Rnd_65x39_Belt_Tracer_Yellow_Splash","2000Rnd_65x39_Belt_Yellow","2000Rnd_762x51_Belt_T_Green","2000Rnd_762x51_Belt_T_Red","2000Rnd_762x51_Belt_T_Yellow","200Rnd_65x39_Belt","200Rnd_65x39_Belt_Tracer_Green","200Rnd_65x39_Belt_Tracer_Red","200Rnd_65x39_Belt_Tracer_Yellow","5000Rnd_762x51_Belt","5000Rnd_762x51_Yellow_Belt"}; + class manual: MGun { + reloadTime = 0.015; + dispersion = 0.006; + }; + class close: manual {}; + class short: close {}; + class medium: close {}; + class far: close {}; + }; + class LMG_Minigun_heli: LMG_Minigun { + showAimCursorInternal = 0; + class manual: manual { + reloadTime = 0.015; + dispersion = 0.006; + }; + class close: manual {}; + class short: close {}; + class medium: close {}; + class far: close {}; + }; + class M134_minigun: MGunCore { + class LowROF: Mode_FullAuto { + reloadTime = 0.015; + dispersion = 0.006; + }; + class HighROF: LowROF { + reloadTime = 0.015; + dispersion = 0.006; + }; + class close: HighROF {}; + class short: close {}; + class medium: LowROF {}; + class far: medium {}; + }; + + class Gatling_30mm_Plane_CAS_01_F: CannonCore { + autoFire = 1; + burst = 1; + reloadTime = 0.0154; + class LowROF: Mode_FullAuto { + autoFire = 0; + //burst = 65; + burst = 22; + //reloadTime = 0.0154; + reloadTime = 0.0462; + //sound[] = {"A3\Sounds_F_epc\weapons\cas_02_cannon",1.77828,1,3800}; + sound[] = {"A3\Sounds_F_EPC\Weapons\gau_03_burst",2.51189,1,4500,{25704,32159}}; + weaponSoundEffect = "DefaultRifle"; + dispersion = 0.005; + soundContinuous = 1; + textureType = "burst"; + multiplier = 3; + }; + class close: LowROF {}; + class near: close {}; + class short: close {}; + class medium: close {}; + class far: close {}; + }; + + class RocketPods; + class Missile_AA_04_Plane_CAS_01_F: RocketPods { + holdsterAnimValue = 2; + aiRateOfFire = 5; + aiRateOfFireDistance = 500; + autoFire = 0; + cursor = "EmptyCursor"; + cursorAim = "missile"; + nameSound = "MissileLauncher"; + textureType = "fullAuto"; + weaponLockDelay = 3; + minRange = 300; + minRangeProbab = 0.25; + midRange = 2500; + midRangeProbab = 0.9; + maxRange = 9000; + maxRangeProbab = 0.01; + }; + + class MissileLauncher; + class Missile_AGM_02_Plane_CAS_01_F: MissileLauncher { + holdsterAnimValue = 3; + magazineReloadTime = 30; + reloadTime = 0.001; + textureType = "semi"; + weaponLockDelay = 3; + weaponSoundEffect = "DefaultRifle"; + }; + + class Rocket_04_HE_Plane_CAS_01_F: RocketPods { + holdsterAnimValue = 4; + canLock = 1; + modes[] = {"Far_AI","Medium_AI","Close_AI","Burst"}; + weaponLockDelay = 0; + class Far_AI: RocketPods { + canLock = 1; + weaponLockDelay = 0; + showToPlayer = 0; + minRange = 800; + minRangeProbab = 0.31; + midRange = 2500; + midRangeProbab = 0.71; + maxRange = 3200; + maxRangeProbab = 0.1; + burst = 1; + reloadTime = 0.001; + autoFire = 0; + aiRateOfFire = 5; + aiRateOfFireDistance = 500; + }; + class Medium_AI: Far_AI {}; + class Close_AI: Far_AI {}; + class Burst: RocketPods { + burst = 1; + reloadTime = 0.002; + minRange = 300; + minRangeProbab = 0.25; + midRange = 400; + midRangeProbab = 0.7; + maxRange = 1300; + maxRangeProbab = 0.1; + aiRateOfFire = 5; + aiRateOfFireDistance = 500; + autoFire = 0; + soundContinuous = 0; + textureType = "fullAuto"; + weaponSoundEffect = "DefaultRifle"; + }; + }; + + class Rocket_04_AP_Plane_CAS_01_F: Rocket_04_HE_Plane_CAS_01_F { + holdsterAnimValue = 5; + }; + + class Bomb_04_Plane_CAS_01_F: RocketPods { + holdsterAnimValue = 6; + aiRateOfFire = 5; + aiRateOfFireDistance = 500; + missileLockCone = 180; + nameSound = ""; + textureType = "fullAuto"; + weaponLockDelay = 1; + }; + + class Cannon_30mm_Plane_CAS_02_F: CannonCore { + scope = 1; + holdsterAnimValue = 1; + ballisticsComputer = 2; + canLock = 1; + modes[] = {"LowROF","close","near","short","medium","far"}; + nameSound = "cannon"; + shotFromTurret = 0; + muzzlePos = "Cannon_muzzleflash"; + muzzleEnd = "Cannon_barrel_end"; + selectionFireAnim = "Cannon_muzzleflash"; + autoFire = 1; + burst = 5; + reloadTime = 0.04; + class GunParticles { + class Effect { + effectName = "MachineGun2"; + positionName = "Cannon_barrel_start"; + directionName = "Cannon_barrel_end"; + }; + }; + class LowROF: Mode_FullAuto { + dispersion = 0.0055; + reloadTime = 0.04; + }; + class close: LowROF {}; + class near: close {}; + class short: close {}; + class medium: close {}; + class far: close {}; + }; +}; diff --git a/addons/aircraft/config.cpp b/addons/aircraft/config.cpp new file mode 100644 index 0000000000..1df70e15b0 --- /dev/null +++ b/addons/aircraft/config.cpp @@ -0,0 +1,18 @@ +#include "script_component.hpp" + +class CfgPatches { + class AGM_Aircraft { + units[] = {}; + weapons[] = {}; + requiredVersion = REQUIRED_VERSION; + requiredAddons[] = {"ace_common"}; + author[] = {"KoffeinFlummi","Crusty"}; + authorUrl = "https://github.com/KoffeinFlummi/"; + VERSION_CONFIG; + }; +}; + +#include "CfgAmmo.hpp" +#include "CfgMagazines.hpp" +#include "CfgVehicles.hpp" +#include "CfgWeapons.hpp" diff --git a/TO_MERGE/agm/Aircraft/flightmodel_alca.hpp b/addons/aircraft/flightmodel_alca.hpp similarity index 100% rename from TO_MERGE/agm/Aircraft/flightmodel_alca.hpp rename to addons/aircraft/flightmodel_alca.hpp diff --git a/TO_MERGE/agm/Aircraft/flightmodel_thunderbolt.hpp b/addons/aircraft/flightmodel_thunderbolt.hpp similarity index 100% rename from TO_MERGE/agm/Aircraft/flightmodel_thunderbolt.hpp rename to addons/aircraft/flightmodel_thunderbolt.hpp diff --git a/TO_MERGE/agm/Aircraft/flightmodel_yak.hpp b/addons/aircraft/flightmodel_yak.hpp similarity index 100% rename from TO_MERGE/agm/Aircraft/flightmodel_yak.hpp rename to addons/aircraft/flightmodel_yak.hpp diff --git a/addons/aircraft/script_component.hpp b/addons/aircraft/script_component.hpp new file mode 100644 index 0000000000..db2e42ac75 --- /dev/null +++ b/addons/aircraft/script_component.hpp @@ -0,0 +1,12 @@ +#define COMPONENT aircraft +#include "\z\ace\addons\main\script_mod.hpp" + +#ifdef DEBUG_ENABLED_AIRCRAFT + #define DEBUG_MODE_FULL +#endif + +#ifdef DEBUG_ENABLED_AIRCRAFT + #define DEBUG_SETTINGS DEBUG_ENABLED_AIRCRAFT +#endif + +#include "\z\ace\addons\main\script_macros.hpp" \ No newline at end of file diff --git a/TO_MERGE/agm/Aircraft/stringtable.xml b/addons/aircraft/stringtable.xml similarity index 87% rename from TO_MERGE/agm/Aircraft/stringtable.xml rename to addons/aircraft/stringtable.xml index 767ee131e1..da013cac5e 100644 --- a/TO_MERGE/agm/Aircraft/stringtable.xml +++ b/addons/aircraft/stringtable.xml @@ -1,8 +1,8 @@  - + - + Burst Feuerstoß Ráfaga @@ -14,7 +14,7 @@ Rajada Raffica - + Open Cargo Door Laderampe öffnen Abrir compuerta de carga @@ -24,7 +24,7 @@ Rámpát kinyitni Открыть грузовой отсек - + Close Cargo Door Laderampe schließen Cerrar compuerta de carga From 4e8daecb3540b819608de9878366d6352669bd9c Mon Sep 17 00:00:00 2001 From: commy2 Date: Wed, 14 Jan 2015 01:11:43 +0100 Subject: [PATCH 18/18] delete obolete stuff --- TO_MERGE/agm/Attach/UI/attach_ca.paa | Bin 22016 -> 0 bytes TO_MERGE/agm/Attach/UI/detach_ca.paa | Bin 22016 -> 0 bytes TO_MERGE/agm/Attach/UI/irstrobe_item.paa | Bin 44650 -> 0 bytes TO_MERGE/agm/Attach/config.cpp | 159 ----- TO_MERGE/agm/Attach/functions/fn_attach.sqf | 60 -- .../agm/Attach/functions/fn_canAttach.sqf | 19 - .../agm/Attach/functions/fn_canDetach.sqf | 17 - TO_MERGE/agm/Attach/functions/fn_detach.sqf | 63 -- .../agm/Attach/functions/fn_openAttachUI.sqf | 63 -- TO_MERGE/agm/Attach/stringtable.xml | 150 ---- TO_MERGE/agm/Interaction/Menu_Config.hpp | 632 ----------------- TO_MERGE/agm/Interaction/UI/CenterIcon_ca.paa | Bin 11081 -> 0 bytes .../agm/Interaction/UI/IconInteraction_ca.paa | Bin 5625 -> 0 bytes TO_MERGE/agm/Interaction/UI/backArrow_ca.paa | Bin 1522 -> 0 bytes .../agm/Interaction/UI/command_rose_ca.paa | Bin 40311 -> 0 bytes TO_MERGE/agm/Interaction/UI/dot_ca.paa | Bin 1522 -> 0 bytes TO_MERGE/agm/Interaction/UI/gestures_ca.paa | Bin 22016 -> 0 bytes TO_MERGE/agm/Interaction/UI/mouse_left_ca.paa | Bin 5625 -> 0 bytes .../agm/Interaction/UI/mouse_right_ca.paa | Bin 5625 -> 0 bytes .../agm/Interaction/UI/mouse_scroll_ca.paa | Bin 5625 -> 0 bytes .../agm/Interaction/UI/team/team_blue_ca.paa | Bin 22016 -> 0 bytes .../agm/Interaction/UI/team/team_green_ca.paa | Bin 22016 -> 0 bytes .../UI/team/team_management_ca.paa | Bin 22016 -> 0 bytes .../agm/Interaction/UI/team/team_red_ca.paa | Bin 22016 -> 0 bytes .../agm/Interaction/UI/team/team_white_ca.paa | Bin 22016 -> 0 bytes .../Interaction/UI/team/team_yellow_ca.paa | Bin 22016 -> 0 bytes TO_MERGE/agm/Interaction/clientInit.sqf | 12 - TO_MERGE/agm/Interaction/config.cpp | 664 ------------------ .../functions/fn_AddSelectableItem.sqf | 40 -- .../Interaction/functions/fn_GetActions.sqf | 154 ---- .../agm/Interaction/functions/fn_MoveDown.sqf | 66 -- .../functions/fn_addInteraction.sqf | 55 -- .../functions/fn_addInteractionSelf.sqf | 55 -- .../Interaction/functions/fn_addToTooltip.sqf | 3 - .../Interaction/functions/fn_applyButtons.sqf | 51 -- .../functions/fn_canInteractWith.sqf | 12 - .../Interaction/functions/fn_canLockDoor.sqf | 16 - .../functions/fn_canTapShoulder.sqf | 11 - .../Interaction/functions/fn_getActions2.sqf | 120 ---- .../functions/fn_getCaptivityStatus.sqf | 3 - .../agm/Interaction/functions/fn_getDoor.sqf | 31 - .../functions/fn_getDoorAnimations.sqf | 106 --- .../agm/Interaction/functions/fn_getDown.sqf | 33 - .../functions/fn_getSelectedButton.sqf | 23 - .../agm/Interaction/functions/fn_hideMenu.sqf | 22 - .../functions/fn_hideMouseHint.sqf | 22 - .../functions/fn_initialiseInteraction.sqf | 167 ----- .../Interaction/functions/fn_isInRange.sqf | 49 -- .../agm/Interaction/functions/fn_joinTeam.sqf | 20 - .../agm/Interaction/functions/fn_lockDoor.sqf | 27 - .../Interaction/functions/fn_menuKeyInput.sqf | 16 - .../functions/fn_moduleInteraction.sqf | 20 - .../Interaction/functions/fn_onButtonDown.sqf | 14 - .../functions/fn_onButtonDownSelf.sqf | 14 - .../Interaction/functions/fn_onButtonUp.sqf | 44 -- .../agm/Interaction/functions/fn_onClick.sqf | 44 -- .../functions/fn_onSelectMenuDblClick.sqf | 3 - .../agm/Interaction/functions/fn_openDoor.sqf | 56 -- .../agm/Interaction/functions/fn_openMenu.sqf | 6 - .../functions/fn_openMenuSelectUI.sqf | 43 -- .../Interaction/functions/fn_openMenuSelf.sqf | 3 - .../functions/fn_openSelectMenu.sqf | 43 -- .../Interaction/functions/fn_openSubMenu.sqf | 3 - .../functions/fn_openSubMenuSelf.sqf | 3 - .../functions/fn_prepareSelectMenu.sqf | 35 - .../agm/Interaction/functions/fn_push.sqf | 21 - .../functions/fn_removeInteraction.sqf | 35 - .../functions/fn_removeInteractionSelf.sqf | 35 - .../Interaction/functions/fn_removeTag.sqf | 19 - .../agm/Interaction/functions/fn_sendAway.sqf | 35 - .../functions/fn_setCaptivityStatus.sqf | 3 - .../agm/Interaction/functions/fn_showMenu.sqf | 118 ---- .../functions/fn_showMouseHint.sqf | 54 -- .../functions/fn_sortOptionsByPriority.sqf | 20 - .../Interaction/functions/fn_tapShoulder.sqf | 20 - .../functions/fn_updateTooltipPosition.sqf | 12 - TO_MERGE/agm/Interaction/rsc/button1.paa | Bin 24483 -> 0 bytes TO_MERGE/agm/Interaction/stringtable.xml | 652 ----------------- 78 files changed, 4296 deletions(-) delete mode 100644 TO_MERGE/agm/Attach/UI/attach_ca.paa delete mode 100644 TO_MERGE/agm/Attach/UI/detach_ca.paa delete mode 100644 TO_MERGE/agm/Attach/UI/irstrobe_item.paa delete mode 100644 TO_MERGE/agm/Attach/config.cpp delete mode 100644 TO_MERGE/agm/Attach/functions/fn_attach.sqf delete mode 100644 TO_MERGE/agm/Attach/functions/fn_canAttach.sqf delete mode 100644 TO_MERGE/agm/Attach/functions/fn_canDetach.sqf delete mode 100644 TO_MERGE/agm/Attach/functions/fn_detach.sqf delete mode 100644 TO_MERGE/agm/Attach/functions/fn_openAttachUI.sqf delete mode 100644 TO_MERGE/agm/Attach/stringtable.xml delete mode 100644 TO_MERGE/agm/Interaction/Menu_Config.hpp delete mode 100644 TO_MERGE/agm/Interaction/UI/CenterIcon_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/IconInteraction_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/backArrow_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/command_rose_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/dot_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/gestures_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/mouse_left_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/mouse_right_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/mouse_scroll_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/team/team_blue_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/team/team_green_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/team/team_management_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/team/team_red_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/team/team_white_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/UI/team/team_yellow_ca.paa delete mode 100644 TO_MERGE/agm/Interaction/clientInit.sqf delete mode 100644 TO_MERGE/agm/Interaction/config.cpp delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_AddSelectableItem.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_GetActions.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_MoveDown.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_addInteraction.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_addInteractionSelf.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_addToTooltip.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_applyButtons.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_canInteractWith.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_canLockDoor.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_canTapShoulder.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_getActions2.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_getCaptivityStatus.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_getDoor.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_getDoorAnimations.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_getDown.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_getSelectedButton.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_hideMenu.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_hideMouseHint.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_initialiseInteraction.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_isInRange.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_joinTeam.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_lockDoor.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_menuKeyInput.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_moduleInteraction.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_onButtonDown.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_onButtonDownSelf.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_onButtonUp.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_onClick.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_onSelectMenuDblClick.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_openDoor.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_openMenu.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_openMenuSelectUI.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_openMenuSelf.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_openSelectMenu.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_openSubMenu.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_openSubMenuSelf.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_prepareSelectMenu.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_push.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_removeInteraction.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_removeInteractionSelf.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_removeTag.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_sendAway.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_setCaptivityStatus.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_showMenu.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_showMouseHint.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_sortOptionsByPriority.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_tapShoulder.sqf delete mode 100644 TO_MERGE/agm/Interaction/functions/fn_updateTooltipPosition.sqf delete mode 100644 TO_MERGE/agm/Interaction/rsc/button1.paa delete mode 100644 TO_MERGE/agm/Interaction/stringtable.xml diff --git a/TO_MERGE/agm/Attach/UI/attach_ca.paa b/TO_MERGE/agm/Attach/UI/attach_ca.paa deleted file mode 100644 index ec545508ba595a2a3625507bd65226cc81b6d6e7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22016 zcmeHPeQZm z@(+ugP;JpBwMN<2qP11J&Pw-B*OY=gX|QCV##vTArYeMDy0!}lORU09MuEo8-S6D{ zUi=lX9p{6Lcco|hy!+n0_x#Se=iYnnxwh~fJDNO??AX~<#u!T`liv{Z_nRIknj;at zqv^3`q7__3KhfO$T@}B(aP{EFb8g0d>tXCAjj;(_g{LkmLoNJy^GOo{69E%}QW5Zq z0xogRn5Jo#$9hBi>XT&dKwFUa4m(Jcpy|=8EY_GtSA;^fC-{`iR~g&ZAKDigNS>GF zdCKV(Gu=H1C=STC`MHFYufk5phx>#$A#WPg=sqR7C%*+*Fuir=Ok9?ym(A&X1CZrzS);mxnMu;9lWFY@Y2TYra_4__1G zxkXWw#g=!z29>H0_r-X;QCDE9%ZB-A^~s|AomP!Ve_>LHYvmFFBqy z!C~K(kat?xDGSC6vC6ppe3Xs*V|6@UN6)E9rpPl9XbYb9B|i0CA$%0YV#$Z6BjJzf z=2alCI0kCZ+Y(}ZHlN|PBIs&Qh$+Y1>&J>x!ivaQ#jR$k%nWG<$%=KBZ`jAte zkYY-HIr&p-Me_@7-?#exiIaoUp9J|Y`goO&?MnPz>UfLwT*i7mpFV7zdG{J0_FWZn zR#;y9lcNt=`Xcm~Pt_UvVe9Ovjp+LA_T*oWtVEeDW}8dZ2S*}vKHd-xJrD`d5CZ=& zHo6`Ohj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;$(Hmf1LU=mtkt) z?eX|>+~xbrK*iT2|CNk?hR4CE!HX{US=u_y6BoLZ!hRs?UTs4EL)h(QdJg{*!8+*J z>7#lWFc!%oe;|q2Ov+DrL6-`j96Yl0Bbz^|KPk6fxsY@~sDMB+oEa9%2Q%%>9OY%$ zQ)_s6?P*hV=d4?V!7b9!#RFx!JtPS=MFZ;$`$&Ec>vXfPzT=wM=2UQwG>1RvOS&w- zICZ6?(#B-HycaA*`XO1t+jR(n;k`tGq^XYU`^mKqv4^kF1n6dg#@WUT_Psc%B zhw%l+YJ{_q@~y8ACL;me-r^ixwmr?kV=xmBjAsuR$68^o^V(~wladpc(Z+?Oo1$R; zrkp>aT;e^NVm7A*?3fq3HvDc#jylS)foO`ML(9H5JtzSyp+9Bqu3@q zEZxe8YMOO3I`Pn4c+$(1oVb=EziKRNe96M&mFR29HPjGYKdO22$<3H@5-s=@<57xV zE9~i9+hj|{4`36?iO>1qSH+)d|9a>rG7L>Y81#NB#r7rLJ}3^#2E_H2rE_@-R#yNF*@4}EzdIpjasDEL>w zuS)V-uj`Xmsa`+lOOEu3dH4 z;3(OH-!sZ`#c5cY-Q6v@K582!CoZFoQs{DW1p=2*#(p@o;bDRiy0Mo>$;Px=zXE+(;LrPKRaucVlTjZGPeJ~{diNnuV~tL zT2qIHg!hJ7$qQk>HT=<^z7pL=j{y|LPO&{lULGPE%Br$mL#tlVi=necG4{v9QSH|P e7T61|3>Fo5ZhH0A<7ap7wb5%Tf{gG6(*FR9p6lNL diff --git a/TO_MERGE/agm/Attach/UI/detach_ca.paa b/TO_MERGE/agm/Attach/UI/detach_ca.paa deleted file mode 100644 index 886c494d904f7bea2d583b05ad2b65deae32535d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22016 zcmeHPeQZ8XFvk->;lR?(_!NIF-9id3Yd((HsV7&dq3oco?* zKgV&5?U*oM`Qx2;-@6~@cka38o_pRi^L6W7p0BU_uFJ$23x~rii2j~y6Ve7v4y1_2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P z4Q(Wwzxix2f@hd_kx|Z1>V9ZTa-P}7IMFbf^}RTWjqOFw(L)8sX)T4wVvPRu?ts03 z#@}>HoMAU<+Hz?!)YrY<||JUu|7!h9|sc> "CfgMagazines" >> _x; - if (getNumber (_item >> "AGM_Attachable") == 1) then { - _actions = [ - _actions, - getText(_item >> "displayName"), - getText(_item >> "picture"), - _x - ] call AGM_Interaction_fnc_AddSelectableItem; - }; - _listed pushBack _x; - }; -} forEach _attachables; -_attachables = items _unit; -{ - if !(_x in _listed) then { - _item = ConfigFile >> "CfgWeapons" >> _x; - if (getNumber (_item >> "AGM_Attachable") == 1) then { - _actions = [ - _actions, - getText(_item >> "displayName"), - getText(_item >> "picture"), - _x - ] call AGM_Interaction_fnc_AddSelectableItem; - }; - _listed pushBack _x; - }; -} forEach _attachables; - -[ - _actions, - { - [AGM_player, _this] call AGM_Attach_fnc_attach; - call AGM_Interaction_fnc_hideMenu; - }, - { - call AGM_Interaction_fnc_hideMenu; - if !(profileNamespace getVariable ["AGM_Interaction_AutoCloseMenu", false]) then {"Default" call AGM_Interaction_fnc_openMenuSelf}; - } -] call AGM_Interaction_fnc_openSelectMenu; diff --git a/TO_MERGE/agm/Attach/stringtable.xml b/TO_MERGE/agm/Attach/stringtable.xml deleted file mode 100644 index 895dff95c7..0000000000 --- a/TO_MERGE/agm/Attach/stringtable.xml +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - Attach item >> - Gegenstand befestigen >> - Acoplar objeto >> - Przyczep przedmiot >> - Attacher l'objet >> - Připnout předmět >> - Acoplar item >> - Attacca l'oggetto >> - Tárgy hozzácsatolása >> - Добавить приспособления - - - Attach - Befestigen - Acoplar - Przyczep - Attacher - Připnout - Acoplar - Attacca - Hozzácsatolás - Присоединить - - - Detach item - Gegenstand entfernen - Quitar objeto - Odczep przedmiot - Détacher l'objet - Odepnout předmět - Separar item - Stacca l'oggetto - Tárgy lecsatolása - Отсоединить - - - IR Strobe Attached - IR-Stroboskop befestigt - Marcador IR acoplado - Przyczepiono stroboskop IR - Strobe IR attaché - IR Značkovač Připnutý - Marcador IV Acoplado - Strobo IR attaccata - Infravörös jeladó hozzácsatolva - ИК строб присоединён - - - IR Strobe Detached - IR-Stroboskop entfernt - Marcador IR quitado - Odczepiono stroboskop IR - Strobe IR détaché - IR Značkovač Odepnutý - Marcador IV Separado - Strobo IR staccata - Infravörös jeladó lecsatolva - ИК строб отсоединён - - - IR Grenade Attached - IR-Granate befestigt - Granada IR acoplada - Przyczepiono granat IR - Grenade IR attachée - IR Granát Připnutý - Granada IV Acoplada - Granata IR attaccata - Infravörös gránát hozzácsatolva - ИК граната присоединена - - - IR Grenade Detached - IR-Granate entfernt - Granada IR quitada - Odczepiono granat IR - Grenade IR détachée - IR Granát Odepnutý - Granada IV Separada - Granata IR staccata - Infravörös gránát lecsatolva - ИК граната отсоединена - - - Chemlight Attached - Leuchtstab befestigt - Barra de luz acoplada - Przyczepiono światło chemiczne - Chemlight attaché - Chemické světlo Připnuto - Chemlight Acoplada - Chemlight attaccata - Chemlight hozzácsatolva - Химсвет присоединён - - - Chemlight Detached - Leuchtstab entfernt - Barra de luz quitada - Odczepiono światło chemiczne - Chemlight détaché - Chemické světlo Odepnuto - Chemlight Separada - Chemlight staccata - Chemlight hozzácsatolva - Химсвет отсоединён - - - No inventory space - Kein Platz im Inventar - Sin espacio en inventario - Brak miejsca w ekwipunku - Pas de place dans l'inventaire - Není místo v inventáři - Sem espaço no inventário - Non hai più spazio - Nincs több hely - В инвентаре нет места - - - IR Strobe - IR-Stroboskop - Marcador IR - Stroboskop IR - Strobe IR - IR Značkovač - Marcador IV - Strobo IR - Infravörös jeladó - ИК строб - - - IR Strobe allows you to signal your position through a pulsating beacon only visible with NVGs. - Das IR-Stroboskop erlaubt es dir deine Position mit einem blinkenden Leuchtfeuer zu signalisieren, welches nur mit Nachtsichtgerät zu erkennen ist. - Stroboskop światła podczerwieni umożliwia oznaczenie swojej pozycji pulsacyjnym światłem widocznym tylko przez optykę noktowizyjną i gogle noktowizyjne. - El Marcador IR permite señalizar su posisición a través de una baliza visible solo a través de dispositivos de visión nocturna. - Le Strobe IR permet de signaler votre position grace à un clignotement visible par des JVN. - IR Značkovač je Infračerveně zářící stroboskop umožňující signalizaci vaší pozice díky blikajícímu světlu, které je vidět pouze při užití noktovizoru. - O Marcador IV permite que você sinalize sua posição através de um pulso visível somente com equipamento de visão noturna. - La Strobo IR è una luce stroboscopica che ti permette di segnalare la tua posizione grazie all'emissione di impulsi ad infrarossi visibili solo con i visori notturni. - Az infravörös jeladóval megjelölheted a helyzetedet úgy, hogy annak pulzáló fénye csak éjjellátó készülékkel látható. - ИК строб позволяет сигнализировать свое местоположение через пульсирующий маяк, видимый только через ПНВ. - - - \ No newline at end of file diff --git a/TO_MERGE/agm/Interaction/Menu_Config.hpp b/TO_MERGE/agm/Interaction/Menu_Config.hpp deleted file mode 100644 index cc66efa2e9..0000000000 --- a/TO_MERGE/agm/Interaction/Menu_Config.hpp +++ /dev/null @@ -1,632 +0,0 @@ - -#define HSPACE 0.5-2.0/16/2 -#define VSPACE 0.5-0.3/9/2 - -class RscStructuredText; -class AGM_Interaction_Button_Base { - tooltip = ""; - //action = "AGM_Interaction_isMousePressed = true;(findDisplay 1713999) closeDisplay 1;_action = AGM_Interaction_Buttons select AGM_Interaction_SelectedButton;AGM_Interaction_SelectedButton = -1; if (call (_action select 2)) then {call (_action select 1)};"; - action = ""; - - idc = -1; - access = 0; - type = 1; - text = ""; - font = "PuristaMedium"; - sizeEx = "0.8 / 40 / (getResolution select 5)"; - shadow = 2; - - style = 2; - x = 0; - y = 0; - w = 2.0 / 16 * safezoneW; - h = 0.3 / 9 * safezoneH; - - offsetX = 0.003; - offsetY = 0.003; - offsetPressedX = 0.002; - offsetPressedY = 0.002; - borderSize = 0; - - colorText[] = {1,1,1,1}; - colorDisabled[] = {0.5,0.5,0.5,1}; - colorBackground[] = {0,0,0,0.8}; - colorBackgroundDisabled[] = {0,0,0,0.8}; - colorBackgroundActive[] = {1,1,1,0}; - colorFocused[] = {1,1,1,1}; - colorShadow[] = {0,0,0,0}; - colorBorder[] = {1,1,1,0.8}; - - 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}; -}; - -#define ICON_BORDER 0.05 - -// Old command rose -class AGM_Interaction_Dialog { - idd = 1713999; - enableSimulation = 1; - movingEnable = 0; - onLoad = "_dlgInteractionDialog = _this select 0; for '_a' from 10 to 19 do {(_dlgInteractionDialog displayCtrl _a) ctrlShow false}; uiNamespace setVariable ['AGM_Interaction_Dialog', _dlgInteractionDialog];"; - objects[] = {}; - class controls { - class Interaction_BackgroundMain: AGM_Interaction_Button_Base { - type = 0; - style = 2; - idc = 2; - colorBackground[] = {0,0,0,0.5}; - colorBackgroundDisabled[] = {0,0,0,0.5}; - x = "(0.5-1.8/16/2 + 0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.55/9/2 + 0 * 0.04) * safezoneH + safezoneY"; - w = "1.8 / 16 * safezoneW"; - h = "0.55 / 9 * safezoneH"; - }; - - class Interaction_ButtonMain: AGM_Interaction_Button_Base { - action = "-1 call AGM_Interaction_fnc_onClick;"; - style = 2; - tooltip = ""; - text = "Interaction Menu"; - idc = 3; - sizeEx = "0.6 / 40 / (getResolution select 5)"; - colorBackground[] = {0,0,0,0}; - colorBackgroundDisabled[] = {0,0,0,0}; - colorBackgroundActive[] = {1,1,1,0.2}; - colorFocused[] = {0,0,0,0}; - x = "(0.5-1.8/16/2 + 0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.55/9/2 + 0 * 0.04) * safezoneH + safezoneY"; - w = "1.8 / 16 * safezoneW"; - h = "0.55 / 9 * safezoneH"; - }; - - class Interaction_Background0: AGM_Interaction_Button_Base { - type = 0; - style = 2; - idc = 40; - colorBackground[] = {0,0,0,0.5}; - colorBackgroundDisabled[] = {0,0,0,0.5}; - x = "(0.5-2.0/16/2 + 0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 2.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Background1: Interaction_Background0 { - idc = 41; - x = "(0.5-2.0/16/2 + 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 1.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Background2: Interaction_Background0 { - idc = 42; - x = "(0.5-2.0/16/2 + 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 0.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Background3: Interaction_Background0 { - idc = 43; - x = "(0.5-2.0/16/2 + 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 0.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Background4: Interaction_Background0 { - idc = 44; - x = "(0.5-2.0/16/2 + 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 1.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Background5: Interaction_Background0 { - idc = 45; - x = "(0.5-2.0/16/2 + 0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 2.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Background6: Interaction_Background0 { - idc = 46; - x = "(0.5-2.0/16/2 - 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 1.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Background7: Interaction_Background0 { - idc = 47; - x = "(0.5-2.0/16/2 - 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 0.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Background8: Interaction_Background0 { - idc = 48; - x = "(0.5-2.0/16/2 - 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 0.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Background9: Interaction_Background0 { - idc = 49; - x = "(0.5-2.0/16/2 - 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 1.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - - class Interaction_Icon0: AGM_Interaction_Button_Base { - tooltip = ""; - text = ""; - idc = 20; - type = 0; - style = 48; - colorBackground[] = {0,0,0,0}; - x = (0.5-(2.0-ICON_BORDER)/16/2 + 0 * 0.1) * safezoneW + safezoneX; - y = (0.5-(0.3-ICON_BORDER)/9/2 - 2.5 * 0.04) * safezoneH + safezoneY; - w = (0.3-ICON_BORDER) / 16 * safezoneW; - h = (0.3-ICON_BORDER) / 9 * safezoneH; - }; - class Interaction_Icon1: Interaction_Icon0 { - idc = 21; - x = (0.5-(2.0-ICON_BORDER)/16/2 + 1.0 * 0.1) * safezoneW + safezoneX; - y = (0.5-(0.3-ICON_BORDER)/9/2 - 1.5 * 0.04) * safezoneH + safezoneY; - w = (0.3-ICON_BORDER) / 16 * safezoneW; - h = (0.3-ICON_BORDER) / 9 * safezoneH; - }; - class Interaction_Icon2: Interaction_Icon0 { - idc = 22; - x = (0.5-(2.0-ICON_BORDER)/16/2 + 1.25 * 0.1) * safezoneW + safezoneX; - y = (0.5-(0.3-ICON_BORDER)/9/2 - 0.5 * 0.04) * safezoneH + safezoneY; - w = (0.3-ICON_BORDER) / 16 * safezoneW; - h = (0.3-ICON_BORDER) / 9 * safezoneH; - }; - class Interaction_Icon3: Interaction_Icon0 { - idc = 23; - x = (0.5-(2.0-ICON_BORDER)/16/2 + 1.25 * 0.1) * safezoneW + safezoneX; - y = (0.5-(0.3-ICON_BORDER)/9/2 + 0.5 * 0.04) * safezoneH + safezoneY; - w = (0.3-ICON_BORDER) / 16 * safezoneW; - h = (0.3-ICON_BORDER) / 9 * safezoneH; - }; - class Interaction_Icon4: Interaction_Icon0 { - idc = 24; - x = (0.5-(2.0-ICON_BORDER)/16/2 + 1.0 * 0.1) * safezoneW + safezoneX; - y = (0.5-(0.3-ICON_BORDER)/9/2 + 1.5 * 0.04) * safezoneH + safezoneY; - w = (0.3-ICON_BORDER) / 16 * safezoneW; - h = (0.3-ICON_BORDER) / 9 * safezoneH; - }; - class Interaction_Icon5 : Interaction_Icon0 { - idc = 25; - x = (0.5-(2.0-ICON_BORDER)/16/2 + 0 * 0.1) * safezoneW + safezoneX; - y = (0.5-(0.3-ICON_BORDER)/9/2 + 2.5 * 0.04) * safezoneH + safezoneY; - w = (0.3-ICON_BORDER) / 16 * safezoneW; - h = (0.3-ICON_BORDER) / 9 * safezoneH; - }; - class Interaction_Icon6: Interaction_Icon0 { - idc = 26; - x = (0.5-(2.0-ICON_BORDER)/16/2 - 1.0 * 0.1) * safezoneW + safezoneX; - y = (0.5-(0.3-ICON_BORDER)/9/2 + 1.5 * 0.04) * safezoneH + safezoneY; - w = (0.3-ICON_BORDER) / 16 * safezoneW; - h = (0.3-ICON_BORDER) / 9 * safezoneH; - }; - class Interaction_Icon7: Interaction_Icon0 { - idc = 27; - x = (0.5-(2.0-ICON_BORDER)/16/2 - 1.25 * 0.1) * safezoneW + safezoneX; - y = (0.5-(0.3-ICON_BORDER)/9/2 + 0.5 * 0.04) * safezoneH + safezoneY; - w = (0.3-ICON_BORDER) / 16 * safezoneW; - h = (0.3-ICON_BORDER) / 9 * safezoneH; - }; - class Interaction_Icon8: Interaction_Icon0 { - idc = 28; - x = (0.5-(2.0-ICON_BORDER)/16/2 - 1.25 * 0.1) * safezoneW + safezoneX; - y = (0.5-(0.3-ICON_BORDER)/9/2 - 0.5 * 0.04) * safezoneH + safezoneY; - w = (0.3-ICON_BORDER) / 16 * safezoneW; - h = (0.3-ICON_BORDER) / 9 * safezoneH; - }; - class Interaction_Icon9: Interaction_Icon0 { - idc = 29; - x = (0.5-(2.0-ICON_BORDER)/16/2 - 1.0 * 0.1) * safezoneW + safezoneX; - y = (0.5-(0.3-ICON_BORDER)/9/2 - 1.5 * 0.04) * safezoneH + safezoneY; - w = (0.3-ICON_BORDER) / 16 * safezoneW; - h = (0.3-ICON_BORDER) / 9 * safezoneH; - }; - - class Interaction_Shortcut0: AGM_Interaction_Button_Base { - tooltip = ""; - text = ""; - idc = 30; - style = 2; - colorBackground[] = {0,0,0,0}; - x = "(0.5+2.0/16/2-0.3/16 + 0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 2.5 * 0.04) * safezoneH + safezoneY"; - w = "0.3 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Shortcut1: Interaction_Shortcut0 { - idc = 31; - type = 0; - x = "(0.5+2.0/16/2-0.3/16 + 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 1.5 * 0.04) * safezoneH + safezoneY"; - w = "0.3 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Shortcut2: Interaction_Shortcut0 { - idc = 32; - type = 0; - x = "(0.5+2.0/16/2-0.3/16 + 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 0.5 * 0.04) * safezoneH + safezoneY"; - w = "0.3 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Shortcut3: Interaction_Shortcut0 { - idc = 33; - type = 0; - x = "(0.5+2.0/16/2-0.3/16 + 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 0.5 * 0.04) * safezoneH + safezoneY"; - w = "0.3 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Shortcut4: Interaction_Shortcut0 { - idc = 34; - type = 0; - x = "(0.5+2.0/16/2-0.3/16 + 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 1.5 * 0.04) * safezoneH + safezoneY"; - w = "0.3 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Shortcut5 : Interaction_Shortcut0 { - idc = 35; - type = 0; - x = "(0.5+2.0/16/2-0.3/16 + 0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 2.5 * 0.04) * safezoneH + safezoneY"; - w = "0.3 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Shortcut6: Interaction_Shortcut0 { - idc = 36; - type = 0; - x = "(0.5+2.0/16/2-0.3/16 - 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 1.5 * 0.04) * safezoneH + safezoneY"; - w = "0.3 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Shortcut7: Interaction_Shortcut0 { - idc = 37; - type = 0; - x = "(0.5+2.0/16/2-0.3/16 - 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 0.5 * 0.04) * safezoneH + safezoneY"; - w = "0.3 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Shortcut8: Interaction_Shortcut0 { - idc = 38; - type = 0; - x = "(0.5+2.0/16/2-0.3/16 - 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 0.5 * 0.04) * safezoneH + safezoneY"; - w = "0.3 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Shortcut9: Interaction_Shortcut0 { - idc = 39; - type = 0; - x = "(0.5+2.0/16/2-0.3/16 - 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 1.5 * 0.04) * safezoneH + safezoneY"; - w = "0.3 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - - class Interaction_Button0: AGM_Interaction_Button_Base { - action = "0 call AGM_Interaction_fnc_onClick;"; - style = 2; - tooltip = ""; - text = ""; - idc = 10; - colorBackground[] = {0,0,0,0}; - colorBackgroundDisabled[] = {0,0,0,0}; - colorBackgroundActive[] = {1,1,1,0.2}; - colorFocused[] = {0,0,0,0}; - x = "(0.5-2.0/16/2 + 0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 2.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Button1: Interaction_Button0 { - action = "1 call AGM_Interaction_fnc_onClick;"; - idc = 11; - x = "(0.5-2.0/16/2 + 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 1.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Button2: Interaction_Button0 { - action = "2 call AGM_Interaction_fnc_onClick;"; - idc = 12; - x = "(0.5-2.0/16/2 + 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 0.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Button3: Interaction_Button0 { - action = "3 call AGM_Interaction_fnc_onClick;"; - idc = 13; - x = "(0.5-2.0/16/2 + 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 0.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Button4: Interaction_Button0 { - action = "4 call AGM_Interaction_fnc_onClick;"; - idc = 14; - x = "(0.5-2.0/16/2 + 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 1.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Button5: Interaction_Button0 { - action = "5 call AGM_Interaction_fnc_onClick;"; - idc = 15; - x = "(0.5-2.0/16/2 + 0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 2.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Button6: Interaction_Button0 { - action = "6 call AGM_Interaction_fnc_onClick;"; - idc = 16; - x = "(0.5-2.0/16/2 - 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 1.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Button7: Interaction_Button0 { - action = "7 call AGM_Interaction_fnc_onClick;"; - idc = 17; - x = "(0.5-2.0/16/2 - 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 + 0.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Button8: Interaction_Button0 { - action = "8 call AGM_Interaction_fnc_onClick;"; - idc = 18; - x = "(0.5-2.0/16/2 - 1.25 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 0.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - class Interaction_Button9: Interaction_Button0 { - action = "9 call AGM_Interaction_fnc_onClick;"; - idc = 19; - x = "(0.5-2.0/16/2 - 1.0 * 0.1) * safezoneW + safezoneX"; - y = "(0.5-0.3/9/2 - 1.5 * 0.04) * safezoneH + safezoneY"; - w = "2.0 / 16 * safezoneW"; - h = "0.3 / 9 * safezoneH"; - }; - }; -}; - -class RscListbox; -class IGUIBack; -class RscText; -#define X_OFFSET 0.2 - -class RscAGM_SelectAnItem { - idd = 8854; - movingEnable = 0; - class controls { - class back:IGUIBack { - x = X_OFFSET; - y = 0; - w = 0.6; - h = 0.71; - colorBackground[] = {0, 0, 0, 0.2}; - }; - class header: RscText{ - idc = 8870; - x = X_OFFSET + 0.005; - y = 0.005; - w = 0.59; - h = 0.05; - style = 0x02; - text = ""; - }; - class itemList:RscListBox { - onMouseButtonDblClick = "_this call AGM_Interaction_fnc_onSelectMenuDblClick"; - idc = 8866; - x = X_OFFSET + 0.005; - w = 0.59; - h = 0.54; - y = 0.06; - }; - - class cancelBtnBackground: AGM_Interaction_Button_Base { - type = 0; - style = 2; - idc = -1; - colorBackground[] = {0,0,0,0.5}; - colorBackgroundDisabled[] = {0,0,0,0.5}; - x = X_OFFSET + 0.005; - w = 0.15; - h = 0.1; - y = 0.605; - }; - class approveBtnBackground: AGM_Interaction_Button_Base { - type = 0; - style = 2; - idc = -1; - colorBackground[] = {0,0,0,0.5}; - colorBackgroundDisabled[] = {0,0,0,0.5}; - x = X_OFFSET + 0.445; - y = 0.605; - h = 0.1; - w = 0.15; - }; - - class cancelBtn: AGM_Interaction_Button_Base { - idc = 8855; - x = X_OFFSET + 0.005; - w = 0.15; - h = 0.1; - y = 0.605; - style = 2; - text = $STR_AGM_Interaction_Back; //$STR_AGM_Interaction_CancelSelection; - action = "call AGM_Interaction_fnc_hideMenu;"; //'Default' call AGM_Interaction_fnc_openMenu; 'Default' call AGM_Interaction_fnc_openMenuSelf; - colorBackground[] = {0,0,0,0}; - colorBackgroundDisabled[] = {0,0,0,0}; - colorBackgroundActive[] = {1,1,1,0.2}; - colorFocused[] = {0,0,0,0}; - }; - class approveBtn: AGM_Interaction_Button_Base { - idc = 8860; - x = X_OFFSET + 0.445; - y = 0.605; - h = 0.1; - w = 0.15; - style = 2; - text = $STR_AGM_Interaction_MakeSelection; - action = "call AGM_Interaction_fnc_hideMenu;"; - colorBackground[] = {0,0,0,0}; - colorBackgroundDisabled[] = {0,0,0,0}; - colorBackgroundActive[] = {1,1,1,0.2}; - colorFocused[] = {0,0,0,0}; - }; - }; -}; - -#define GUI_GRID_W (0.025) -#define GUI_GRID_H (0.04) - -class RscPicture; -class RscInteractionIcon: RscPicture { - x = 19.25 * GUI_GRID_W; - y = 15.75 * GUI_GRID_H; - w = 2*GUI_GRID_H; - h = 2*GUI_GRID_H; -}; -class RscInteractionHelperIcon: RscInteractionIcon { - x = 20 * GUI_GRID_W; - y = 16 * GUI_GRID_H; - w = GUI_GRID_H; - h = GUI_GRID_H; -}; -class RscInteractionText: RscText{ - x = 21 * GUI_GRID_W; - y = 16 * GUI_GRID_H; - w = 8 * GUI_GRID_W; - h = 1.5 * GUI_GRID_H; -}; -class RscTitles { - class AGM_FlowMenu { - idd = 9920; - enableSimulation = 1; - movingEnable = 0; - fadeIn=0.5; - fadeOut=0.5; - duration = 10e10; - onLoad = "uiNamespace setVariable ['AGM_Flow_Display', _this select 0];"; - - class controls { - class RearIcon: RscInteractionIcon{ - idc = 999; - text = "AGM_interaction\UI\CenterIcon_ca.paa"; - x = 17.9 * GUI_GRID_W; - y = 10 * GUI_GRID_H; - w = 3.7 * GUI_GRID_H; - h = 5.75 * GUI_GRID_H; - }; - class TopIcon: RscInteractionIcon{ - idc = 1200; - h = 1 * GUI_GRID_H; - y = 9 * GUI_GRID_H; - }; - class FirstIcon: RscInteractionIcon{ - idc = 1201; - y = 10.25 * GUI_GRID_H; - h = 1.5 * GUI_GRID_H; - }; - class SelectedItemIcon: RscInteractionIcon{ - idc = 1202; - y = 12 * GUI_GRID_H; - }; - class ThirdIcon: RscInteractionIcon{ - idc = 1203; - y = 14.25 * GUI_GRID_H; - h = 1.5 * GUI_GRID_H; - }; - class BottomIcon: TopIcon{ - idc = 1204; - y = 16 * GUI_GRID_H; - }; - class ItemName: RscText{ - idc = 1000; - style = 0x01; - x = 5.25 * GUI_GRID_W; - y = 12.15 * GUI_GRID_H; - w = 13 * GUI_GRID_W; - h = 1.5 * GUI_GRID_H; - colorBackground[] = {0.3, 0.3, 0.3, 0.8}; - }; - class BackIcon: RscInteractionIcon{ - idc = 1210; - text = "AGM_interaction\UI\backArrow_ca.paa"; - x = 18.25 * GUI_GRID_W; - y = 12.69 * GUI_GRID_H; - w = 0.5 * GUI_GRID_W; - h = 0.5 * GUI_GRID_H; - }; - class ItemDetails: RscStructuredText{ - idc = 1100; - style = 0x0c; - x = 23.5 * GUI_GRID_W; - y = 11 * GUI_GRID_H; - w = 13 * GUI_GRID_W; - h = 3.9 * GUI_GRID_H; - colorBackground[] = {0, 0, 0, 0.4}; - }; - }; - }; - class AGM_InteractionHelper { - idd = 9930; - enableSimulation = 1; - movingEnable = 0; - fadeIn=0.5; - fadeOut=0.5; - duration = 10e10; - onLoad = "uiNamespace setVariable ['AGM_Helper_Display', _this select 0];"; - - class controls { - class SelectIcon: RscInteractionHelperIcon{ - idc = 1200; - text = "AGM_interaction\UI\mouse_left_ca.paa"; - y = 17.5 * GUI_GRID_H; - }; - class SelectText: RscInteractionText{ - idc = 1000; - y = 17 * GUI_GRID_H; - text = $STR_AGM_Interaction_MakeSelection; - }; - class GoBackIcon: RscInteractionHelperIcon{ - idc = 1201; - text = "AGM_interaction\UI\mouse_right_ca.paa"; - y = 19.5 * GUI_GRID_H; - }; - class GoBackText: RscInteractionText{ - idc = 1001; - y = 19 * GUI_GRID_H; - text = $STR_AGM_Interaction_Back; - }; - class ScrollIcon: RscInteractionHelperIcon{ - idc = 1202; - text = "AGM_interaction\UI\mouse_scroll_ca.paa"; - y = 18.5 * GUI_GRID_H; - }; - class ScrollText: RscInteractionText{ - idc = 1002; - y = 18 * GUI_GRID_H; - text = $STR_AGM_Interaction_ScrollHint; - }; - }; - }; -}; diff --git a/TO_MERGE/agm/Interaction/UI/CenterIcon_ca.paa b/TO_MERGE/agm/Interaction/UI/CenterIcon_ca.paa deleted file mode 100644 index 86deb5df7c1aa509e5946aa246f8ef0206bd698a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11081 zcmeHN3vd(18Qzm6Tc%hz1QE#DAZ(de3?UFi3u!n(uyrnW6i4SKZ9Ld=fq*5u%rt6& z5S<0hv&6E15Ml@n!z7)|Bry;!6CS~1QwFB=mB|o5Oi75tG@W*EI+VZ!TY<=^Y<`JJw+$^WRIjQ!&x)HUvN*e;j^lO{Q2r+B&l6Byr~d`M{o%s)iG`ZJyl7$a zVu0fB-YooXP+rv^)W03{pJ>p(HYw**Q|{5BQ5X+|2m&GZ4ukPXqHoc7 z1M3e(9E+;+gNn)O4-E83)QHKaE(4u>x`pA~jmrF`#55YQ1w4Imq?|XJ*gn_%e;Jv3 z_0fC*+I%cs!jZu*mnSI8Q9!rLUhSo;+;CpX}7(=DdSV zIo;pzjNkM#;m!w9X@t-kSEZ6G~*kF%T`b?mIcHFAjYvzOE zCkmgT;neoc58ht-KYsSEYz`i#zpohN*ZHehBAbE*>mdFyVhBOH-k*T|AL{B$#p20h zIt=vk&vdxC81&zJ8~MMA&i~Vye)E53^mkA3lk-VSu&`OP*Ze2Na=m?;D{lk+!HihNc0n&HnC+UG^*)%#< zcrX!7f_`-jE# z`^3b0g6qvBFUaHh5A6-*8T$pUH=Wa&e2Y;2M-%y(B>AqIpQSzKdOF`V59U|Y$6_CG zylZ23tzVnpFU|(%$5w0cIqDDhpO4*@xk{5a>@hj4vLlJPfy6Cq_2sZN>g434{$aQ5 zfG1g>$POU}_E+r_7EMkuTWcRa1^y?bmC-#7_^VN)KYR-D_DuW+Ny*Ty8@t+?vS@q= zf^b#+v5mf1$kr(2`_O+P{{t7VW*7q`EW7*}p{jhOo55gmSj;xNvvvA;VrG)9(9^2?^3v9r@A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/TO_MERGE/agm/Interaction/UI/IconInteraction_ca.paa deleted file mode 100644 index 000c4bc9c69a7eba2bc576fd9ca7e5a2774e9132..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5625 zcmds54Nz0r6~0kG5tJW)7L5qTj8v-@O`GYCtbtwRN0zLt;woF(4cM)UB#w5F)@B2% zTk7ZHspl3`e6R!L z4fq!f4*-5IlJ!>*{gm@WEZRFr^wsaO@f7(}#N{Q*6_=bk-o9o%?Vr|zhg1YWBmP1> zv#r(oR*EMZkBt5it*u_i=3DB*4wJ#o#?yCx6&;-q7Z+Y{ru?$&M&a^Hf4NGrqNYI0 z_vUV(7+se{BNWKSOLp*FzBQ0%`iV78qpk2~p7q=z*_ROGWcy?0Kob_OMiDwOK6zqw zn6)~Rtv{*D)r=cF{%7=?gjN;L{GTj-W%;-f^Cn<-^KUe(c&kxpqd4p%F8`3%`bZr3 zkqgJ{W8)h(APk$@J?lYsa6rcwsM-7^b|_=5gQpq4tj5A$v+!&`OROn8eibfiPllT= z$W!*bO)tx)`+l%To&}r`#`X&lXL|JKRla<~{pKaM~q(D=eX@j^ES$i#@UxT4-Nk(G0k1M@vs7K${f=`OZbQ zmVF$01UENb^XNOyMnd!8DaN0o)INk1rv5_w4hwcgQ9K#ni{+3%PI38&`L)pu!CQpO zQ`Pt74+$ml^~3s3&m-}VMiei30N1(E=0l%C!@*h8vRfnz$$H2Njfe<(RFz$qnf+Ic zzgand!SVoKzR7Tk8G;|tvHj)6a@fD{(A}x}pV8k7`Rd6Z>3IVmg~y1xd%qF)b5Fia z=8x>Ix+^Y8d%t#cRc<`;n-@OR@M~Voulzg-RJDV6#l(48I~oCGY5g1dD+V6&Kl5W2 zJUplNeeJ>dNc16}-2O>jy+)ol5h(imM!!n9Y}B*;%U9nQ2bU%Hm^bq^4^Jo$iZ z{&tDQo=o|D^?mW2Hf7G6BHu@^pMv?9IU&CUBh1gkEGT`Uj&f^IzLo(4|92G+>n+X( z^*Jlhsoa+z^`TjhTK>T1JA?R(9Z|G@a7js|)vNycH~onRw7;)hezR9M%H>L_9O{iB z3?Wdw(p;r)Qwb`Hmp*lUtk?wMqZjTp==h`@E5^Gw1^W9V^Z+zdr@{Qzjv|zaF1SK| z(q2aD!xIOhBO;LR{H`{0nuon6Von^n&ORr(Rgpi$clk|~&|dAS$9&`Ys(9(m1{jas z;Gf%``U`SL=F^SmSAK(65de+Y+Sm{EN60Y4iZs{{iiIb!@*fPR*rEQ)5z7xze|}|> zNfg2#!soV!XOL$EFTH87x0^lnG`75i6JG}8XQe3RiA2dDY^ZDSnO-_a%D zWRq7~7tL5kIH(*IEu9nZg|oWx@AwhVYf_A(DzeRTmZc5RC5`HapkE?W`1L0b0=-Z6~<3IKQUb~e#HlN{*=4@~O zfKzN#|DE>>G;@`C3jN@T19Jib{5N%hG09?e?dYwu7ccILp6JfTcWxuMyTujW~K$2MjyFW8L{vIBN{&BWg z7+&B0o4Yx!tu=BrT#l6X-_cbiv>84pP@JDI5FVrx|R-7TRCdZ?Iqcx!3xgFi7RT_I>fXwryJPZML`v zhxB^QZ}FEHlS-5Ft!py|Kg%{5N&Uvux(;1 zuYBS(THyTS8TIyDu*Y3I2?kSI%1XX$-YeQCo8DHw_=(eGCYnjs&ex2}Jpm2d(lPFY zq68J4M*H`#TKt_KQ@2i{{d@ct{&G7BE54`*t!Q1hVD9}ma7#ZZLDOJA^&{iCXxFa4 PagoOY+|jQBCer=|Kr0Q{ diff --git a/TO_MERGE/agm/Interaction/UI/backArrow_ca.paa b/TO_MERGE/agm/Interaction/UI/backArrow_ca.paa deleted file mode 100644 index 627cb64f17ac8ffe20a3f9987e29289cc19299b0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1522 zcmb_cUr1A76hGUXI%v6|MK*^k1YdfKiJ`DN|7;5VnRxG5(8HFBWG#iBd=NJYda8lo zLl0UH`PM@|cwd4ttR+79l(rbm2Mv2uak)W`uiv?MH>92>9{Bj~`R?KTe&=`2_gO_S z=$AW#VSg176^q4I&5!tRvM*rl2mLn!?3=LI?+*lSOZZM;J;jgbR-$#R%FRO_B2IlW zd$B>JD9-MVTWV})EhQ#)iOyA-=yJ=#M8;QY%n72wh?Fq0kFRmOtQdZ!yMfnsM;+J# z-fRJQRuhEMGYOF^nDKcgFAi$z8Zz2>LW)#V&vaAobW=O{g)6`}@Ot`zmwqW`%k_y8 zw}KnADH!kkPa$f24Vg{mk&qmh%6P6FqOJQ$6JnWIm`7Qv?*d?>$K_akAJG(J>qJH`hJk@?Dgvb21RPji_M&m-jT zIt?zIW5(cf{U~)rbsk+GYrV+xU)D!Eu{7ktN9_Apt&oIyEb|%X`ywl+rjNm=`EX@) zyT$02xxP0f4!))AS?*6F8X07EY^|6N;Qu!t4sh3A7d^~_jo+TZAvK=G&CWq&WyWih z-(7gqC=R~l3h@V>h%s|nxLF%KHeoqDG_1!nEaL6MAJZv;cpUPt Fus_BSWnTaQ diff --git a/TO_MERGE/agm/Interaction/UI/command_rose_ca.paa b/TO_MERGE/agm/Interaction/UI/command_rose_ca.paa deleted file mode 100644 index 3dd8b58768cda84b9312da35f5fd8abf92ab6775..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 40311 zcmdpf349yXwf>zMNtSHc8aZ|>dDE3GTQgc>XR+dt8A(n;V#RS12niwaqS)CXA%Qrn zBwyR1;FQHSBxJF(kyn~R+pI2>ku5tsh#^o)X-VR?K$@1V3-DSBtz`et$Yd$>y|%pe z(cgbyWL@34`@QF$^PTTbl*2P-l-)9Q#)2{hLP()dEQ*I0mQ~8(VYuY*jIvqNv;Ql+VW<<{#hf+}=8ZJYKM+kqG z=qEz_>tYHyccQVMP|DKf-D?KBA1E23G$cg*&|(cEG8?_R%i%`(d#oa=4k_CnafHyC zeGu3jV#+%p#@9AcLS32;X9!syb%C;zCU*WBFoh@(f9b6ze8pmY{jh`#KCUD!=QG z&vAj=YGxllEt6J}ul>Yg8_KQLN?$Q4P+=W>0V;lSU29m!;4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S~DIgCeupsA}t zv|U;F&NTe#1c%G7l6o$goB_>JuHcmVBK%eFe< z_fLy{y{+?kuwTeO(7~s+8-GiJ0j{j#VTLX~$(UvG{OZ;xMs6NZyPQX3M)^A>yQDcq zC2(-@O;lx6W%A0$*IuUzc$i+5C~p?FZ|{&Sf#lG_?nZrRo6C2clo;PA&)i?$DNua# zpSQGK9?GKN;voC!oPvvk)$-Naoij{xC)`-AgoYI>p~q^6 zAEPVx9+%bQ+pijX<;v{tpsL@~Xh%IJUVG!_wYyY4<-Z`y zJF82l*gj-$>0O@?C#ZRO<;SzvbHh{HTy0EpUHE+YOl^MVKFKr*@x@wY;$qXJ;NZ`< huGW6Kq}2kK6k1f^`K?$QeC?&dVag`+`8@m&;Xjkjy*K~> diff --git a/TO_MERGE/agm/Interaction/UI/mouse_left_ca.paa b/TO_MERGE/agm/Interaction/UI/mouse_left_ca.paa deleted file mode 100644 index 1cbc49397e724a114030dd64df63f55867745e44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5625 zcmd5=Z){Ul6hE)qWKZnY03|bn@JI@Tj6^Z8XhO0#35+EW3-q=N*<2aHkQiwF0GgQ5 zM+XuN+Bsb$0kbL+%?xn^sUJkF5XTgP0WC~x*rH(lVC)8NY_8q)-1qu=UuVi#vK4RM zd-wf%PtUo(bI$$u3TRbTrDJuKvoaq5y1)JLu!?IcH!w`GFkDr+el5cS-VASEyY@L5 z-xa(MS^(ah1JG&(_yzCD6&Yjz)G*1i5vp5k)h(<~YAK_kouBMzvFX^{?7qu7uN(m& zge;}+R-0Ix5>zqhIH+N7(*dEM$vaM{?V`V_TE#0g4D({M6BXEQ*{`<0Qg|p-*He+K zU^*X0kv<>VmADe1x^0?z>l+43Yk^?mI6NF|Z*MnZga!=Y#iF;fTExP!_QvtkT{0Tw z7{FEQmFwfD8+!uD3wnR1yQY3Y28<~3g-EN_s`saFI6VAu2EXudCg1URvi!&UBXoxO z<3^$)agio_Ut6x`hhy6L^LT?5i;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|GOS;69aH%+?!vko^kT*GPp&F9cR4of|s#7eN}SiQRm zUm`u4rt{5;A~o8)9h*W2t&{Kn{O@{yka}XC8%66v7$=3cDYO9I(Xr~=Z={0_p`vkJY!nde&Mgn#hK=X z`D)pmU!u{d=Sek9mLNoMc5SYlF+g!B?y85qSQFG2xlP8*V5ZNa4p#DW!J3Qwxxr2DnoOKgF`qMk WE$ghk{>JQ2`vEo<7cWC6D1QU<_h23X diff --git a/TO_MERGE/agm/Interaction/UI/mouse_scroll_ca.paa b/TO_MERGE/agm/Interaction/UI/mouse_scroll_ca.paa deleted file mode 100644 index 662d11b0d81313f3224e760d1e7c935631e78990..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5625 zcmd^DZ){Ul6hG}&?TeN*NWqA>P8eYyh^TBIgk-Jg=2T+UzI7ogFIzMc+?be5f*Cv@ zhJ*+sgo%ktXV@kzVw`4`sEjHqi6pCGmK17Mbkl|Kp$udluH|~}yL<1xS2k!RT}-@b zd*843+;h(Fo^$^_3#qJhdskFeyYm5{udjcnf@|C>DJEDbu5>?LL9q$H6hB{4@r(IEMZ>HkU z)&(lgb#3{ptTu5vo>c9S3Ffp87YlhDH^*tvIA%{A1Gup0u>}jq>GHh^mq8zZuf`=W zAMH+^El-|M{mFHGPy5(0lJc|ohFcxn-x#5R<~ZGdBkoOP%iq|akQfP4dp0n)fmQ1N z0Q0Nb>&-QP(qXa#erP^Auw=@Y$py7|AGrol;}fs&{$MW-i$0E>NX2a8m_1#Gd%^6) zPvR(m7fY`BcXW=mkTJh9A03Xc$o-*~$qjL%XSLRTZVbRCm^6MAdn8HX`fBZhP1NKk z*k6Zxe+(NMFYv^Vw#zsqKVJ zq7Utz_=#NhlPiVq_MrSU#J|1ss-IkKnTUTj`M<@A^t0lR^mY8%NbvDsPe(}A-p8u; z=F|OUI`V&i84J(yH>ISZefCtC-gM`9b$Un%lgcJ-y#f)&+nC;NH+XSe>{JM1#}PxCdX@rfZj(P7r`RD9Fx`PXk`{Oi|F5C2#Exc()z`LE62O!M_tNJe6tlP8O;cpk^cKVX}eC0|Y&IzI%;~-(Ij}x@l%?@BX&Fbq50VT0AU2V4~MFXn6iAn)xlI zbiKX<^R*C9{Dk;tgb<%YoOcvqNYdo*Yv24rM5ixfM=}(2f)hZy%~POE&HTfG`niF+ zxQZYC>b8FBC=G`g7R=-%yQV9c$nv+}vuivdwRSOOGCkB)k}Ox{eUfbH3D~0DsWYlR zG@}$J{xYpb{NbsxhD1}tFkRNehGRBM2z^?}vJ~OiZ8w>OVvb`(M%5q1wx`avq$025 zF~O%hCOffhGW)0c%NhnJ>^nsLH5V5?u?zcPN2Ra4+l%*3j-?HylgP)0wx`atq|PeG z6qIMZK^yOM9O`dsNT3Up|Ba7Xl8kg}^!6Q&QXPNR(l?04_ccd8eZ#m-Iu#CTZ=F9O z*Nh?j+}u7uqoRW`pqc~&X1aqX(Z0VqGOgTu9Q-DY|1EE`o!_ASkDDWFo-}Tg zPQ};j`L7_OwetgO=WfL}WDcB`s)SOT^8}9B)6^IZ$U&*%7bK6%^i=jxN-0kKoh%>W zlVrg)*$e~t+5}${h_eq-se&@*&lT~mgB1H`Dp>Z3C0*odXiI&R%HwMWZCjj5zn#7c zG{L6xblR_7w&OXR=9tD!f4q8$D&CK3Qf3Ig`CHWp#njB^t>!#Aj?=nlUUVg-{akA z9Oa#gPC~3;rLRSumnsHR1M$=V((JGu-s!wpk_-|2AYQe8<9Y%myUh>o##vuvwb?8^ q1YCJbjbaXjrKPqeN6`|a7$0f6JjkGs(bmVW@r43Iql diff --git a/TO_MERGE/agm/Interaction/UI/team/team_blue_ca.paa b/TO_MERGE/agm/Interaction/UI/team/team_blue_ca.paa deleted file mode 100644 index ef64818d12cd9eac0f75ad52b5fc7be84190ef97..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22016 zcmeHPPiP!f7=N>7Bn9p6!NrzRI^cqW3Oxmig?&LtQcxUlM?6&MpR4Ki)RS$ey|gDA z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76&3(vH!$o8Y6r{hIczvQfZb8x46^qX#B$n)qMwdy>}vu<0{didxTx9U6k&%JZsoo0Qg-!{}e z{X-}2KBy{r*lWiywu-)1{Plwi%d^4q9P69Ab_}Ci`gvPZatsCJr}k&9@K61nwhbl6 zP(Xfqe-PZrM>q0+5I_5Yei4)xo+&S=ZIl~9zmz*kcbI-0I}kpc$|J=OVo7RwweWAP z>Sui7CB_f0f?0BuVBP7wX1@R3x6lY={zQ&625-MV=xeyFC= z*iE{+n?Tp6OSB7%TW1&c#f$qG-@5IT>$QI*TnVG8>Q%~*=2N@*BVoKeT|UgiGBlsQ zTTU3Z9{$Paw%v4rLV+YWl^pz#Sf2X^vz?K95wXGZEQ{fMG_BxfF%}xs_T=Lq!|2!i zYY7|0$;W4->G+C8FiAn>UsKD2*K5b;ADmz_hn3qGXE4=4(qg_igQ->>eDM0U)3cMx z%wgs3uK2;Rt3a9RxAmg4UW5h(tY>xbuK2SLW|RCb7F`F$AgS}fU$ya9hpLRWhd-YI zy!V%{zWAQW#-F>KnVFhjxn1REpdH?snFG;G@FBw>%Nu}41wa3`u6^?Qvmf23V#Byp F`WLqUohtwU diff --git a/TO_MERGE/agm/Interaction/UI/team/team_green_ca.paa b/TO_MERGE/agm/Interaction/UI/team/team_green_ca.paa deleted file mode 100644 index 7f8c2218c14389acf48050a0c94c797b35e6da6b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22016 zcmeHPPiP!f7=N>7LJHd5g9DXPI^cqW3OxnH!oDEn4=4_}BOWTG?bUR9>Zxs}y|gDA zDjvjY4m}9s!Cuxw4^t76oa{kqVgo8fEM7WEgEgU(jKA-DGs(K!u$!H1GTXcdGdthR z`}4iu_r34E_r3SljE05=%5M*SFwi4}=$q*~!Ssg%?-Cs$5Ir>T&LGhSE~4Kb9DGmW z*~4`O51%+fd{!3XhAYGZuGWJ`dC1n|>zEn=jetf#BcKt`2xtT{fa= zz1PdXj!sv5om$I(f9rs1POAS05?#>$v%I+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ZQ8mtH5ROKecNAao6{AduZO_xsaunfhg@0Mf0w&K45&nEE; zF9<* zG)Y0l-&D)vx2vZY9-rZ6j#h47oyAlKLB^y1tFxGD)zHUp-?}h2shT-jxpOFbeCj4x zru@xh(K%U!Mh#fcYUo4J=O4|*@f|F>_K7}H=bpc-W3TmBm~9t-J_Gv5uU~)p17+*t w&s{FgPA#n8t8g*U4)@~ho8hegG1I7)+XIUVJpVCnefmc4`A3v&Kmm*Ue_g{#_W%F@ diff --git a/TO_MERGE/agm/Interaction/UI/team/team_management_ca.paa b/TO_MERGE/agm/Interaction/UI/team/team_management_ca.paa deleted file mode 100644 index aa5f1c79b5b61ddf4db79ac9ac80ed1eb2fba642..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22016 zcmeHPeQXrR6`uoNLYl%E$8HoEgOP38Qbmb~IIKAI7PXiUk>*n0hS0bHVR}Q5n04&z+ZDghRRW_R}q=B`__4X$izgz`?b$ zpmTd3=ZvYU&BpXyM?&Pi0Nc@)A1Bu(9h&$(&SngTnVzn1HQU3NF@f)ueF2G2QK;=? zE>lfD#LqL%&C7&->~=d}AERIBor<&o`b`jCA8jA#@4;Z@zVo6#x0_64LYFBoAHAh2 z^lh^k-x%$Q>o-ArU^>_D=G}hM|D^B+Q(Qhn{CR@~(52|W+Y5=~KtyKgdYXf(65k&PgQ^m8twSk2) zd_j8!?SU_=g?EehRm?uJKRiOcs?w9_GSTD{P2DI!dgvezR2fo^Hd{P-jBzi*>Y zcSt;#0S*ukGcFOVsu}hT2O9jOU4rjKzayn*!vR;wW%j2KDMXJ=7j~tp9yc3r`4CM> zEDl~#nxj1zBsn7dQ~7%8Y!v;0z!w?s4*ut?mO~}~p#I$M)C{&aK*0yf*yuZ+y|BGL z-EY#PKoUYewW=wf6wlbmr%d#R@Hn9@Aky4Oi-SM4`8~K`p%0s?V!U$xnd5h+-0VaA zVXQx=_P#>PkGLKDwc-{NpQ5NL{BJpL=zvcqdrQ8*iKp*)^-k?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*LQefER=!Y?d8Q&`s9D7Qm?DR-0Y zu>1}@ZUtWDq1FfPK5=_se$;BR>{b*qmnU}F{_8$VaB*up{2>)h$;DyHOImaP>cb@@ z>5m3=a`BTzSPz8N$-N`TR>`dKF@f!dM|hZ!bVF{KTPc9?ghu}77tfu(#raFy;08mv zdn;~Ggt=61NH$EPMJRHwh+n7K4cU&6A%uOH`#X`BX|}2buCMm*8%gVcj{V>ju>Zi1w|#`0Uy;>OwK{c2@D)sNkjGOn&xUqk&z!u2qk zDPN`hs6MruKN707*}`ESmZAFe-EsrJt>kI-JWruO0!}9vKLpEj-(t2ib|)e=;3F7| z>0C6c>1H+N8_f3Pqo2d*_uOl-8pX*+XQNql#Uh$e(D`d-dGLDm_|m--+|1F+?Tho6 z>L4YsU!2EOtByW+{o3h;Y2D1x%8Pr{y<=CwGL>&9i_Xa+G$i23L>;|Heg5G>oWF=g z*C8<^B>dq&)yY>!%FMQhKc4};@3*hN{E@}RpSzrypIKVJS>|eB9p0JwH==p}Bc>si YHwcdkeg11*`}Fl^KfX(^jfy1w2T0E)0ssI2 diff --git a/TO_MERGE/agm/Interaction/UI/team/team_white_ca.paa b/TO_MERGE/agm/Interaction/UI/team/team_white_ca.paa deleted file mode 100644 index cbb02bf7b4e62bbcc931e83844d46b184ec1370a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 22016 zcmeHPU1%Fu7QW+n(iFCl(^izlYphZ?r9XjEsM^I8joGb@O-lu~;$cvAj;Tb~B^f@0_cN zWGAexNVP`J9FXKQbLZZ3zjN-ncg{W6y6os^i~OSF*KPGeh+HnWkNMxUJx#m>5#Q1F zR6Fq+KE(g3z5N*jfA`^Y7=OGG7UItlA>J{Cn8Rn|)JJs~8!zvb^bqh6@DT72@DT72 z@DOkb0=_fJo^-P39w~(|O;Zmh!F*54C-AxuUE|xAh$EgBQS?isu3XD^jo)o?ag;Mq z4)rz7$nW@h6N@d?9xhS+CSCDpQxO=V*6QXJ{(gP$&{)FJ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(o%h{W5xgIC$jW zo7FYdU-Q3jxZ%qY+X?g`VKZ(xbw9x^wjtaIw0`!7XI5_o(XWagDfu_tTwGjFKd9q3 zu3v~()G`{UNi&}&5I0UQ?u(c9QU5qiDRp;G?Eg@>7DiLm%TylSXAbj+!gzJMbdaZI z=sx?f+$gV%c#)Q@q&NjGK1eMue2>+}@V$t{;CYtCcp;irc(WLb4Q6}%(Jx{2N8t@E zMsfVn>1aB>WD!nUQ03Rn^1#*F(S--c*v;YP_W2nsbpVMOou9!{YXg4Z>XnnTlgiEE z<>lS+gCmzgGPQ3fo6gB5G&qQfy$$&8_{)!Hb@?(jU3Z8bLLwgiT^oOWu*zh6`12Xy zdw>7->z|ly{JG1inW=@fn^o=x*5RF+c`KR;K4BbedHsl}kmoug4_TA diff --git a/TO_MERGE/agm/Interaction/clientInit.sqf b/TO_MERGE/agm/Interaction/clientInit.sqf deleted file mode 100644 index 02762d42b6..0000000000 --- a/TO_MERGE/agm/Interaction/clientInit.sqf +++ /dev/null @@ -1,12 +0,0 @@ -// by commy2 and CAA-Picard - -if (!hasInterface) exitWith {}; - -AGM_Interaction_isOpeningDoor = false; -AGM_Dancing = false; - -// restore global fire teams for JIP -{ - _team = _x getVariable ["AGM_assignedFireTeam", ""]; - if (_team != "") then {_x assignTeam _team}; -} forEach allUnits; diff --git a/TO_MERGE/agm/Interaction/config.cpp b/TO_MERGE/agm/Interaction/config.cpp deleted file mode 100644 index 961d644a0b..0000000000 --- a/TO_MERGE/agm/Interaction/config.cpp +++ /dev/null @@ -1,664 +0,0 @@ -class CfgPatches { - class AGM_Interaction { - units[] = {}; - weapons[] = {}; - requiredVersion = 0.60; - requiredAddons[] = {AGM_Core}; - version = "0.95"; - versionStr = "0.95"; - versionAr[] = {0,95,0}; - author[] = {"commy2", "KoffeinFlummi", "CAA-Picard", "bux578"}; - authorUrl = "https://github.com/commy2/"; - }; -}; - -class CfgFunctions { - class AGM_Interaction { - class AGM_Interaction { - file = "\AGM_interaction\functions"; - class addInteraction; - class addInteractionSelf; - class AddSelectableItem; - class addToTooltip; - class applyButtons; - class canInteractWith; - class canLockDoor; - class canTapShoulder; - class getActions2; - class GetActions; - class getDoor; - class getDoorAnimations; - class getDown; - class getSelectedButton; - class hideMenu; - class hideMouseHint; - class initialiseInteraction; - class isInRange; - class joinTeam; - class lockDoor; - class menuKeyInput; - class moduleInteraction; - class moveDown; - class onButtonDown; - class onButtonDownSelf; - class onButtonUp; - class onClick; - class onSelectMenuDblClick; - class openDoor; - class openMenu; - class openMenuSelectUI; - class openMenuSelf; - class openSelectMenu; - class openSubMenu; - class openSubMenuSelf; - class prepareSelectMenu; - class push; - class removeInteraction; - class removeInteractionSelf; - class removeTag; - class sendAway; - class showMenu; - class showMouseHint; - class sortOptionsByPriority; - class tapShoulder; - class updateTooltipPosition; - - // backwards compatibility, remove in some patches - class getCaptivityStatus; - class setCaptivityStatus; - }; - }; -}; - -class Extended_PostInit_EventHandlers { - class AGM_Interaction { - clientInit = "call compile preprocessFileLineNumbers '\AGM_Interaction\clientInit.sqf'"; - }; -}; - -class Extended_GetIn_EventHandlers { - class All { - class AGM_AutoCloseMenu { - clientGetIn = "if (_this select 2 == AGM_player && {!isNull (findDisplay 1713999)}) then {(findDisplay 1713999) closeDisplay 1}"; - }; - }; -}; - -class Extended_GetOut_EventHandlers { - class All { - class AGM_AutoCloseMenu { - clientGetOut = "if (_this select 2 == AGM_player && {!isNull (findDisplay 1713999)}) then {(findDisplay 1713999) closeDisplay 1}"; - }; - }; -}; - -class AGM_Core_Default_Keys { - class openInteractionMenuNew { - displayName = "$STR_AGM_Interaction_InteractionMenu"; - condition = "true"; - statement = "call AGM_Interaction_fnc_onButtonDown"; - conditionUp = "!isNull (findDisplay 1713999) && {profileNamespace getVariable ['AGM_Interaction_AutoCloseMenu', false]}"; - statementUp = "if (AGM_Interaction_MenuType mod 2 == 0) then {call AGM_Interaction_fnc_onButtonUp};"; - exceptions[] = {"AGM_Drag_isNotDragging", "AGM_Medical_canTreat", "AGM_Interaction_isNotEscorting", "AGM_Interaction_isNotSwimming"}; - key = 219; - shift = 0; - control = 0; - alt = 0; - }; - class openInteractionMenuSelfNew { - displayName = "$STR_AGM_Interaction_InteractionMenuSelf"; - condition = "true"; - statement = "call AGM_Interaction_fnc_onButtonDownSelf"; - conditionUp = "!isNull (findDisplay 1713999) && {profileNamespace getVariable ['AGM_Interaction_AutoCloseMenu', false]}"; - statementUp = "if (AGM_Interaction_MenuType mod 2 == 1) then {call AGM_Interaction_fnc_onButtonUp};"; - exceptions[] = {"AGM_Drag_isNotDragging", "AGM_Medical_canTreat", "AGM_Interaction_isNotEscorting", "AGM_Interaction_isNotSwimming", "AGM_Core_notOnMap"}; - key = 219; - shift = 0; - control = 1; - alt = 0; - }; - class openDoor { - displayName = "$STR_AGM_Interaction_OpenDoor"; - condition = "!AGM_Interaction_isOpeningDoor && {[2] call AGM_Interaction_fnc_getDoor select 1 != ''}"; - statement = "call AGM_Interaction_fnc_openDoor"; - conditionUp = "AGM_Interaction_isOpeningDoor"; - statementUp = "AGM_Interaction_isOpeningDoor = false"; - key = 57; - shift = 0; - control = 1; - alt = 0; - }; - // disabled for now - /*class lockDoor { - displayName = "$STR_AGM_Interaction_LockDoor"; - condition = "[true] call AGM_Interaction_fnc_canLockDoor && {!AGM_Interaction_isOpeningDoor}"; - statement = "[true] call AGM_Interaction_fnc_lockDoor"; - key = 57; - shift = 0; - control = 0; - alt = 1; - }; - class unlockDoor { - displayName = "$STR_AGM_Interaction_UnlockDoor"; - condition = "[false] call AGM_Interaction_fnc_canLockDoor"; - statement = "[false] call AGM_Interaction_fnc_lockDoor"; - key = 57; - shift = 0; - control = 1; - alt = 1; - };*/ - class tapShoulder { - displayName = "$STR_AGM_Interaction_TapShoulder"; - condition = "[_player, cursorTarget] call AGM_Interaction_fnc_canTapShoulder"; - statement = "[_player, cursorTarget] call AGM_Interaction_fnc_tapShoulder"; - key = 20; - shift = 1; - control = 0; - alt = 0; - }; - class modifierKey { - displayName = "$STR_AGM_Interaction_ModifierKey"; - condition = ""; - statement = "AGM_Modifier = 1;"; - conditionUp = ""; - statementUp = "AGM_Modifier = 0;"; - exceptions[] = {"AGM_Drag_isNotDragging"}; - key = 29; - shift = 0; - control = 0; - alt = 0; - }; -}; - -class AGM_Core_Options { - class Interaction_FlowMenu { - displayName = "$STR_AGM_Interaction_FlowMenu"; - default = 0; - }; - class Interaction_AutoCloseMenu { - displayName = "$STR_AGM_Interaction_AutoCloseMenu"; - default = 0; - }; - class Interaction_AutoCenterCursor { - displayName = "$STR_AGM_Interaction_AutoCenterCursor"; - default = 1; - }; -}; - -class AGM_Parameters { - AGM_Modifier = 0; -}; -class AGM_Parameters_Boolean { - AGM_Interaction_EnableTeamManagement = 1; -}; - -class AGM_Core_canInteractConditions { - class AGM_Interaction_isNotEscorting { - condition = "!(_player getVariable ['AGM_isEscorting', false])"; - }; - class AGM_Interaction_isNotCaptive { - condition = "!(_player getVariable ['AGM_isCaptive', false])"; - }; - class AGM_Interaction_isNotSurrendering { - condition = "!(_player getVariable ['AGM_isSurrender', false])"; - }; - class AGM_Interaction_isNotSwimming { - condition = "!underwater _player"; - }; -}; - -#define MACRO_ADDITEM(ITEM,COUNT) class _xx_##ITEM { \ - name = #ITEM; \ - count = COUNT; \ -}; - -class CfgVehicles { - - class Module_F; - class AGM_ModuleInteraction: Module_F { - author = "$STR_AGM_Core_AGMTeam"; - category = "AGM"; - displayName = "Interaction System"; - function = "AGM_Interaction_fnc_moduleInteraction"; - scope = 2; - isGlobal = 1; - icon = "\AGM_Interaction\UI\IconInteraction_ca.paa"; - class Arguments { - class EnableTeamManagement { - displayName = "Enable Team Management"; - description = "Should players be allowed to use the Team Management Menu? Default: Yes"; - typeName = "BOOL"; - class values { - class Yes { default = 1; name = "Yes"; value = 1;}; - class No { name = "No"; value = 0; }; - }; - }; - }; - }; - - class Man; - class CAManBase: Man { - class AGM_Actions { - class AGM_TeamManagement { - displayName = "$STR_AGM_Interaction_TeamManagement"; - distance = 4; - condition = "alive _target && {!isPlayer _target} && {_target in units group _player} && {AGM_Interaction_EnableTeamManagement}"; - statement = ""; - showDisabled = 0; - priority = 3.2; - icon = "\AGM_Interaction\UI\team\team_management_ca.paa"; - subMenu[] = {"AGM_TeamManagement", 0}; - hotkey = "M"; - enableInside = 1; - - class AGM_JoinTeamRed { - displayName = "$STR_AGM_Interaction_JoinTeamRed"; - distance = 4; - condition = "alive _target && {!isPlayer _target} && {_target in units group _player}"; - statement = "[_target, 'RED'] call AGM_Interaction_fnc_joinTeam"; - showDisabled = 1; - icon = "\AGM_Interaction\UI\team\team_red_ca.paa"; - priority = 2.4; - hotkey = "R"; - enableInside = 1; - }; - class AGM_JoinTeamGreen { - displayName = "$STR_AGM_Interaction_JoinTeamGreen"; - distance = 4; - condition = "alive _target && {!isPlayer _target} && {_target in units group _player}"; - statement = "[_target, 'GREEN'] call AGM_Interaction_fnc_joinTeam"; - showDisabled = 1; - icon = "\AGM_Interaction\UI\team\team_green_ca.paa"; - priority = 2.3; - hotkey = "G"; - enableInside = 1; - }; - class AGM_JoinTeamBlue { - displayName = "$STR_AGM_Interaction_JoinTeamBlue"; - distance = 4; - condition = "alive _target && {!isPlayer _target} && {_target in units group _player}"; - statement = "[_target, 'BLUE'] call AGM_Interaction_fnc_joinTeam"; - showDisabled = 1; - icon = "\AGM_Interaction\UI\team\team_blue_ca.paa"; - priority = 2.2; - hotkey = "B"; - enableInside = 1; - }; - class AGM_JoinTeamYellow { - displayName = "$STR_AGM_Interaction_JoinTeamYellow"; - distance = 4; - condition = "alive _target && {!isPlayer _target} && {_target in units group _player}"; - statement = "[_target, 'YELLOW'] call AGM_Interaction_fnc_joinTeam"; - showDisabled = 1; - icon = "\AGM_Interaction\UI\team\team_yellow_ca.paa"; - priority = 2.1; - hotkey = "Y"; - enableInside = 1; - }; - - class AGM_LeaveTeam { - displayName = "$STR_AGM_Interaction_LeaveTeam"; - distance = 4; - condition = "alive _target && {!isPlayer _target} && {_target in units group _player} && {assignedTeam _player != 'MAIN'}"; - statement = "[_target, 'MAIN'] call AGM_Interaction_fnc_joinTeam"; - showDisabled = 1; - icon = "\AGM_Interaction\UI\team\team_white_ca.paa"; - priority = 2.5; - hotkey = "N"; - enableInside = 1; - }; - }; - - class AGM_TapShoulder { - displayName = "$STR_AGM_Interaction_TapShoulder"; - distance = 4; - condition = "[_player, _target] call AGM_Interaction_fnc_canTapShoulder"; - statement = "[_player, _target] call AGM_Interaction_fnc_tapShoulder"; - showDisabled = 1; - priority = 2.8; - hotkey = "Q"; - enableInside = 1; - }; - class AGM_JoinGroup { - displayName = "$STR_AGM_Interaction_JoinGroup"; - distance = 4; - condition = "side group _player == side group _target && {group _player != group _target}"; - statement = "[_player] joinSilent group _target;"; - showDisabled = 0; - priority = 2.6; - icon = "\AGM_Interaction\UI\team\team_management_ca.paa"; - hotkey = "J"; - enableInside = 1; - }; - - class AGM_GetDown { - displayName = "$STR_AGM_Interaction_GetDown"; - distance = 4; - condition = "[_target] call AGM_Interaction_fnc_canInteractWith"; - statement = "[_target] call AGM_Interaction_fnc_getDown"; - showDisabled = 0; - priority = 2.2; - }; - class AGM_SendAway { - displayName = "$STR_AGM_Interaction_SendAway"; - distance = 4; - condition = "[_target] call AGM_Interaction_fnc_canInteractWith"; - statement = "[_target] call AGM_Interaction_fnc_sendAway"; - showDisabled = 0; - priority = 2.0; - }; - class AGM_Pardon { - displayName = "$STR_AGM_Interaction_Pardon"; - distance = 4; - condition = "rating _target < -2000 && {alive _target} && {side group _player == side group _target}"; - statement = "[_target, '{_this addRating -rating _this}', _target] call AGM_Core_fnc_execRemoteFnc"; - showDisabled = 0; - priority = 2.5; - enableInside = 1; - }; - }; - - class AGM_SelfActions { - class AGM_TeamManagement { - displayName = "$STR_AGM_Interaction_TeamManagement"; - condition = "AGM_Interaction_EnableTeamManagement"; - statement = ""; - showDisabled = 1; - priority = 3.2; - icon = "\AGM_Interaction\UI\team\team_management_ca.paa"; - subMenu[] = {"AGM_TeamManagement", 1}; - enableInside = 1; - hotkey = "M"; - - class AGM_JoinTeamRed { - displayName = "$STR_AGM_Interaction_JoinTeamRed"; - condition = "true"; - statement = "[_player, 'RED'] call AGM_Interaction_fnc_joinTeam"; - showDisabled = 1; - priority = 2.4; - icon = "\AGM_Interaction\UI\team\team_red_ca.paa"; - enableInside = 1; - hotkey = "R"; - }; - class AGM_JoinTeamGreen { - displayName = "$STR_AGM_Interaction_JoinTeamGreen"; - condition = "true"; - statement = "[_player, 'GREEN'] call AGM_Interaction_fnc_joinTeam"; - showDisabled = 1; - priority = 2.3; - icon = "\AGM_Interaction\UI\team\team_green_ca.paa"; - enableInside = 1; - hotkey = "G"; - }; - class AGM_JoinTeamBlue { - displayName = "$STR_AGM_Interaction_JoinTeamBlue"; - condition = "true"; - statement = "[_player, 'BLUE'] call AGM_Interaction_fnc_joinTeam"; - showDisabled = 1; - priority = 2.2; - icon = "\AGM_Interaction\UI\team\team_blue_ca.paa"; - enableInside = 1; - hotkey = "B"; - }; - class AGM_JoinTeamYellow { - displayName = "$STR_AGM_Interaction_JoinTeamYellow"; - condition = "true"; - statement = "[_player, 'YELLOW'] call AGM_Interaction_fnc_joinTeam"; - showDisabled = 1; - priority = 2.1; - icon = "\AGM_Interaction\UI\team\team_yellow_ca.paa"; - enableInside = 1; - hotkey = "Y"; - }; - - class AGM_LeaveTeam { - displayName = "$STR_AGM_Interaction_LeaveTeam"; - condition = "assignedTeam _player != 'MAIN'"; - statement = "[_player, 'MAIN'] call AGM_Interaction_fnc_joinTeam"; - showDisabled = 1; - priority = 2.5; - icon = "\AGM_Interaction\UI\team\team_white_ca.paa"; - enableInside = 1; - hotkey = "N"; - }; - - class AGM_BecomeLeader { - displayName = "$STR_AGM_Interaction_BecomeLeader"; - condition = "count (units group _player) > 1 && {leader group _player != _player}"; - statement = "_newGroup = createGroup side group _player; (units group _player) joinSilent _newGroup; _newGroup selectLeader _player;"; - showDisabled = 1; - priority = 1.0; - icon = "\AGM_Interaction\UI\team\team_white_ca.paa"; - enableInside = 1; - hotkey = "L"; - }; - class AGM_LeaveGroup { - displayName = "$STR_AGM_Interaction_LeaveGroup"; - condition = "count (units group _player) > 1"; - statement = "_oldGroup = units group _player; _newGroup = createGroup side _player; [_player] joinSilent _newGroup; {_player reveal _x} forEach _oldGroup;"; - showDisabled = 1; - priority = 1.2; - icon = "\AGM_Interaction\UI\team\team_management_ca.paa"; - enableInside = 1; - hotkey = "M"; - }; - }; - - /* DANCE ANIMATION DOESN'T WORK :( - class AGM_Dance { - displayName = "$STR_AGM_Interaction_Dance"; - condition = "isClass (configFile >> 'CfgPatches' >> 'AGM_Movement') and !AGM_Dancing"; - statement = "AGM_Dancing = true; [-2, {_this switchMove 'TestDance';}, player] call CBA_fnc_globalExecute;"; - showDisabled = 0; - priority = -1.2; - }; - class AGM_StopDancing { - displayName = "$STR_AGM_Interaction_StopDancing"; - condition = "AGM_Dancing"; - statement = "AGM_Dancing = false; [-2, {_this switchMove '';}, player] call CBA_fnc_globalExecute;"; - showDisabled = 0; - priority = -1.2; - }; - */ - - class AGM_Gestures { - displayName = "$STR_AGM_Interaction_Gestures"; - condition = "canStand _target"; - statement = ""; - showDisabled = 1; - priority = 3.5; - subMenu[] = {"AGM_Gestures", 1}; - icon = "AGM_Interaction\UI\gestures_ca.paa"; - hotkey = "G"; - - /*class AGM_Gesture_Advance { - displayName = "$STR_AGM_Interaction_Gestures_Attack"; - condition = "canStand _target"; - statement = "_target playActionNow 'gestureAttack';"; - showDisabled = 1; - priority = 2.0; - };*/ - class AGM_Gesture_Advance { - displayName = "$STR_AGM_Interaction_Gestures_Advance"; - condition = "canStand _target"; - statement = "_target playActionNow 'gestureAdvance';"; - showDisabled = 1; - priority = 1.9; - hotkey = "1"; - }; - class AGM_Gesture_Go { - displayName = "$STR_AGM_Interaction_Gestures_Go"; - condition = "canStand _target"; - statement = "_target playActionNow (['gestureGo', 'gestureGoB'] select (floor random 2));"; - showDisabled = 1; - priority = 1.8; - hotkey = "2"; - }; - class AGM_Gesture_Follow { - displayName = "$STR_AGM_Interaction_Gestures_Follow"; - condition = "canStand _target"; - statement = "_target playActionNow 'gestureFollow';"; - showDisabled = 1; - priority = 1.7; - hotkey = "3"; - }; - /*class AGM_Gesture_Point { - displayName = "$STR_AGM_Interaction_Gestures_Point"; - condition = "canStand _target"; - statement = "_target playActionNow 'gesturePoint';"; - showDisabled = 1; - priority = 1.6; - };*/ - class AGM_Gesture_Up { - displayName = "$STR_AGM_Interaction_Gestures_Up"; - condition = "canStand _target"; - statement = "_target playActionNow 'gestureUp';"; - showDisabled = 1; - priority = 1.5; - hotkey = "4"; - }; - class AGM_Gesture_Cover { - displayName = "$STR_AGM_Interaction_Gestures_Cover"; - condition = "canStand _target"; - statement = "_target playActionNow 'gestureCover';"; - showDisabled = 1; - priority = 1.4; - hotkey = "5"; - }; - class AGM_Gesture_CeaseFire { - displayName = "$STR_AGM_Interaction_Gestures_Cease_Fire"; - condition = "canStand _target"; - statement = "_target playActionNow 'gestureCeaseFire';"; - showDisabled = 1; - priority = 1.3; - hotkey = "6"; - }; - class AGM_Gesture_Freeze { - displayName = "$STR_AGM_Interaction_Gestures_Freeze"; - condition = "canStand _target"; - statement = "_target playActionNow 'gestureFreeze';"; - showDisabled = 1; - priority = 1.2; - hotkey = "7"; - }; - class AGM_Gesture_Yes { - displayName = "$STR_AGM_Interaction_Gestures_Yes"; - condition = "canStand _target"; - statement = "_target playActionNow (['gestureYes', 'gestureNod'] select (floor random 2));"; - showDisabled = 1; - priority = 1.1; - hotkey = "8"; - }; - class AGM_Gesture_No { - displayName = "$STR_AGM_Interaction_Gestures_No"; - condition = "canStand _target"; - statement = "_target playActionNow 'gestureNo';"; - showDisabled = 1; - priority = 1.0; - hotkey = "9"; - }; - class AGM_Gesture_Hi { - displayName = "$STR_AGM_Interaction_Gestures_Hi"; - condition = "canStand _target"; - statement = "_target playActionNow (['gestureHi', 'gestureHiB', 'gestureHiC'] select (floor random 3));"; - showDisabled = 1; - priority = 0.9; - hotkey = "0"; - }; - }; - - class AGM_Equipment { - displayName = "$STR_AGM_Interaction_Equipment"; - condition = "true"; - statement = ""; - showDisabled = 1; - priority = 4.5; - icon = ""; // @todo - subMenu[] = {"AGM_Equipment", 1}; - enableInside = 1; - hotkey = "E"; - - class AGM_Dummy { - displayName = ""; - condition = "false"; - statement = ""; - showDisabled = 1; - priority = -99; - icon = "AGM_Core\UI\blank_CO.paa"; - enableInside = 1; - }; - }; - }; - }; - - class LandVehicle; - class Car: LandVehicle { - class AGM_Actions {}; - class AGM_SelfActions {}; - }; - class Tank: LandVehicle { - class AGM_Actions {}; - class AGM_SelfActions {}; - }; - - class Air; - class Helicopter: Air { - class AGM_Actions {}; - class AGM_SelfActions {}; - }; - class Plane: Air { - class AGM_Actions {}; - class AGM_SelfActions {}; - }; - - class Ship; - class Ship_F: Ship { - class AGM_Actions { - class AGM_Push { - displayName = "$STR_AGM_Interaction_Push"; - distance = 4; - condition = "getMass _target < 1000 and alive _target"; - statement = "[_target, [2 * (vectorDir _player select 0), 2 * (vectorDir _player select 1), 0.5]] call AGM_Interaction_fnc_push;"; - showDisabled = 0; - priority = -1; - }; - }; - class AGM_SelfActions {}; - }; - - class StaticWeapon: LandVehicle { - class AGM_Actions {}; - class AGM_SelfActions {}; - }; - - class StaticMortar; - class Mortar_01_base_F: StaticMortar { - class AGM_Actions {}; - class AGM_SelfActions {}; - }; - - class Box_NATO_Support_F; - class AGM_Box_Misc: Box_NATO_Support_F { - class TransportItems { - MACRO_ADDITEM(AGM_CableTie,24) - }; - }; -}; - -class CfgWeapons { - class AGM_ItemCore; - class InventoryItem_Base_F; - - class AGM_CableTie: AGM_ItemCore { - displayName = "$STR_AGM_Interaction_CableTie_Name"; - descriptionShort = "$STR_AGM_Interaction_CableTie_Description"; - model = "\AGM_Interaction\agm_cabletie.p3d"; - picture = "\AGM_Interaction\UI\agm_cabletie_x_ca.paa"; - scope = 2; - class ItemInfo: InventoryItem_Base_F { - mass = 1; - }; - }; -}; - -#include diff --git a/TO_MERGE/agm/Interaction/functions/fn_AddSelectableItem.sqf b/TO_MERGE/agm/Interaction/functions/fn_AddSelectableItem.sqf deleted file mode 100644 index f6fccae709..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_AddSelectableItem.sqf +++ /dev/null @@ -1,40 +0,0 @@ -/* - Name: AGM_Interaction_fnc_AddSelectableItem - - Author: Garth de Wet (LH) - - Description: - Adds an item to the select menu - - Parameters: - 0: ARRAY/NUMBER - List container - 1: String - Display Name - 2: String - Picture - 3: String/code - data - - Returns: - ARRAY/Number - - Example: -*/ -private ["_container", "_displayName", "_picture", "_data", "_index"]; - -_container = _this select 0; -_displayName = _this select 1; -_picture = _this select 2; -_data = _this select 3; - -if (_picture == "" || _picture == "PictureThing") then { - _picture = "AGM_Interaction\UI\dot_ca.paa"; -}; - -if ((profileNamespace getVariable ["AGM_Interaction_FlowMenu", false])) then { - //[_displayName, _statement, _condition, _priority, _subMenu, _icon, _tooltip, _conditionShow, _exceptions, _distance, _hotkey] - _container pushBack [_displayName, nil, {true},0,[], _picture, "", {true}, [], 4, "", _data]; -}else{ - _index = lbAdd [_container, _displayName]; - lbSetData [_container, _index, str _data]; - lbSetPicture [_container, _index, _picture]; -}; - -_container diff --git a/TO_MERGE/agm/Interaction/functions/fn_GetActions.sqf b/TO_MERGE/agm/Interaction/functions/fn_GetActions.sqf deleted file mode 100644 index 6e7b067150..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_GetActions.sqf +++ /dev/null @@ -1,154 +0,0 @@ -/* - Name: AGM_Interaction_fnc_GetActions - - Author: - commy2 - Garth de Wet (LH) - - Description: - - Parameters: - 0: OBJECT - target - 1: ARRAY - Parents of the target object - 2: ARRAY - Actions - 3: ARRAY - Patches - 4: CONFIG - Parent config (ConfigFile >> "CfgVehicles"/MissionConfigFile >> "CfgVehicles") - 5: BOOL - Is mission config file? - 6: STRING - Classname ("AGM_Actions"/"AGM_SelfActions") - 7: STRING - Sub-class - - Returns: - Nothing - - Example: - [player, [configfile >> "CfgVehicles" >> typeOf player, true] call BIS_fnc_returnParents, [], [],configfile >> "CfgVehicles", false, "AGM_Actions"] call AGM_Interaction_fnc_GetActions; - - [player, [configfile >> "CfgVehicles" >> typeOf player, true] call BIS_fnc_returnParents, [], [],configfile >> "CfgVehicles", false, "AGM_SelfActions"] call AGM_Interaction_fnc_GetActions; -*/ -#define DEFAULT_ICON "\AGM_Interaction\UI\dot_ca.paa" -private ["_target", "_parents", "_actions", "_patches", "_baseConfig", "_actionType", "_i","_index", "_missionConfig", "_stdConfig"]; -_target = _this select 0; -_parents = _this select 1; -_actions = _this select 2; -_patches = _this select 3; -_baseConfig = _this select 4; -_missionConfig = _this select 5; -_actionType = _this select 6; -_subClass = _this select 7; - -_stdConfig = (configFile >> "CfgVehicles" >> typeOf _target >> _actionType); -if (_subClass != "") then { - _stdConfig = _stdConfig >> _subClass; -}; - -_count = count _parents; -for "_i" from 0 to (_count - 1) do { - _config = _baseConfig >> _parents select _i >> _actionType; - if (_subClass != "") then { - _config = _config >> _subClass; - }; - - _count = count _config; - if (_count > 0) then { - for "_index" from 0 to (_count - 1) do { - private ["_action", "_displayName", "_distance","_condition","_statement","_showDisabled", "_priority", "_tooltip", "_hotkey", - "_subMenu", "_conditionShow", "_exceptions", "_icon", "_actionToCache", "_cacheActions", "_cache", "_indexCache", "_configName"]; - _action = if (_missionConfig) then {_config select _index} else {_stdConfig >> configName (_config select _index)}; - _cache = missionNamespace getVariable ["AGM_Interaction_MenuCache", [[], [], []]]; - - if (count _action > 0) then { - _configName = configName _action; - - _cacheConfigs = _cache select 0; - _cacheActions = _cache select 1; - _cacheIndices = _cache select 2; - - _indexCache = _cacheConfigs find _action; - if (_indexCache == -1) then { - _displayName = getText (_action >> "displayName"); - _distance = getNumber (_action >> "distance"); - _priority = getNumber (_action >> "priority"); - _subMenu = getArray (_action >> "subMenu"); - _tooltip = getText (_action >> "tooltip"); - _hotkey = getText (_action >> "hotkey"); - _enableInside = getNumber (_action >> "enableInside"); - - // Condition - _condition = getText (_action >> "condition"); - if (_condition == "") then {_condition = "true"}; - - _condition = _condition + format [" && {%1 call AGM_Core_canInteract} && {[AGM_player, AGM_Interaction_Target] call AGM_Core_fnc_canInteractWith}", getArray (_action >> "exceptions")]; - if (_enableInside != 1) then {_condition = _condition + " && {_player == _vehicle}"}; - - _condition = compile _condition; - - // Condition to show the action - _conditionShow = getText (_action >> "conditionShow"); - _conditionShow = if (_conditionShow == "") then {{true}} else {compile _conditionShow}; - - _showDisabled = getNumber (_action >> "showDisabled") == 1; - if (isText (_action >> "conditionShow")) then { - _showDisabled = [_object, _player] call _conditionShow; - }; - - // Exceptions to the general conditions that have to be true - _exceptions = getArray (_action >> "exceptions"); - - // statement - _statement = getText (_action >> "statement"); - _statement = compile _statement; - - if (profileNamespace getVariable ["AGM_Interaction_FlowMenu", false]) then { - _statement = if (getText (_action >> "statement") == "" && {count _subMenu > 1}) then { - compile format ["call AGM_Interaction_fnc_hideMenu;if(%2 == 1)then{['%1'] call AGM_Interaction_fnc_openSubMenuSelf;}else{['%1'] call AGM_Interaction_fnc_openSubMenu;};", _subMenu select 0, _subMenu select 1]; - } else { - compile ("call AGM_Interaction_fnc_hideMenu;" + getText (_action >> "statement")); - }; - }; - - // icon - _icon = getText (_action >> "Icon"); - if (_icon == "") then { - _icon = DEFAULT_ICON; - }; - - _actionToCache = [_displayName, _statement, _condition, _priority, _subMenu, _icon, _tooltip, _conditionShow, _exceptions, _distance, _hotkey]; - - if (!(_configName in _patches) && {_showDisabled || {[_object, _player] call _condition}} && {_distance == 0 || {[_object, _distance] call AGM_Interaction_fnc_isInRange}}) then { - _actions pushBack _actionToCache; - _patches pushBack _configName; - }; - - _indexCache = _cacheActions find _actionToCache; - if (_indexCache == -1) then { - _indexCache = count _cacheActions; - _cacheActions pushBack _actionToCache; - }; - - _cacheConfigs pushBack _action; - _cacheIndices pushBack _indexCache; - - _cache = [_cacheConfigs, _cacheActions, _cacheIndices]; - ["InteractionMenu", _action, {format ["%1 loaded into cache", _this]}] call AGM_Debug_fnc_log; - } else { - ["InteractionMenu", _action, {format ["%1 loaded from cache", _this]}] call AGM_Debug_fnc_log; - - _cachedAction = _cacheActions select (_cacheIndices select _indexCache); - - _showDisabled = getNumber (_action >> "showDisabled") == 1; - if (isText (_action >> "conditionShow")) then { - _showDisabled = [_object, _player] call (_cachedAction select 7); - }; - - if (!(_configName in _patches) && {_showDisabled || {[_object, _player] call (_cachedAction select 2)}} && {[_object, (_cachedAction select 9)] call AGM_Interaction_fnc_isInRange || {(_cachedAction select 9) == 0}}) then { - _actions pushBack _cachedAction; - _patches pushBack _configName; - }; - }; - }; - - AGM_Interaction_MenuCache = _cache; - }; - }; -}; -[_actions, _patches] diff --git a/TO_MERGE/agm/Interaction/functions/fn_MoveDown.sqf b/TO_MERGE/agm/Interaction/functions/fn_MoveDown.sqf deleted file mode 100644 index 7a5662ed9b..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_MoveDown.sqf +++ /dev/null @@ -1,66 +0,0 @@ -/* - Name: AGM_Interaction_fnc_MoveDown - - Author: Garth de Wet (LH) - - Description: - Depending on the passed value, either scrolls down through the list or up. - - Parameters: - NUMBER - Amount to increase current interaction target - - Returns: - Nothing - - Example: - 1 call AGM_Interaction_fnc_MoveDown; - -1 call AGM_Interaction_fnc_MoveDown; -*/ -#define CLAMP(x,low,high) (if(x > high)then{high}else{if(x < low)then{low}else{x}}) -if (isNil "AGM_Interaction_MainButton") exitWith{}; -if (isNil "AGM_Interaction_Buttons") exitWith{}; -_count = (count AGM_Interaction_Buttons)- 1; -AGM_Interaction_SelectedButton = CLAMP(AGM_Interaction_SelectedButton + _this, 0, _count); - -_target = AGM_Interaction_Target; -_player = AGM_player; -_vehicle = vehicle _player; - -disableSerialization; -_dlgInteractionDialog = uiNamespace getVariable "AGM_Flow_Display"; -_top = AGM_Interaction_SelectedButton - 2; -_i = 0; -while {_i <= 4} do { - _index =_i + _top; - _ctrl = _dlgInteractionDialog displayCtrl (1200 + _i); - if (_index >= 0 && {_index <= _count}) then { - _action = AGM_Interaction_Buttons select _index; - _ctrl ctrlShow true; - _ctrl ctrlSetText (_action select 5); - _color = [1,1,1,1]; - if !([_target, _player] call (_action select 2)) then { - _color = [0.3,0.3,0.3,0.8]; - }; - if (_i == 0 || _i == 4) then { - _color set [3, 0.5]; - }; - if (_i == 1 || _i == 3) then { - _color set [3, 0.75]; - }; - _ctrl ctrlSetTextColor _color; - }else{ - _ctrl ctrlShow false; - }; - _i = _i + 1; -}; - -_ctrl = _dlgInteractionDialog displayCtrl 1000; -_ctrl ctrlSetText ((AGM_Interaction_Buttons select AGM_Interaction_SelectedButton) select 0); -_ctrl = _dlgInteractionDialog displayCtrl 1100; -_current = (AGM_Interaction_Buttons select AGM_Interaction_SelectedButton); -_infoText = ""; -if !([_target, _player] call (_current select 2)) then { - _infoText = "Unavailable"; -}; -_ctrl ctrlSetText _infoText; -_ctrl ctrlShow (_infoText != ""); diff --git a/TO_MERGE/agm/Interaction/functions/fn_addInteraction.sqf b/TO_MERGE/agm/Interaction/functions/fn_addInteraction.sqf deleted file mode 100644 index 72c3ccb182..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_addInteraction.sqf +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Author: commy2 - * - * Add an AGM action to an object. Note: This function is global. - * - * Argument: - * 0: Object the action should be assigned to (Object) - * 1: Name of the action shown in the menu (String) - * 2: Distance the player can be away from the object (Number) - * 3: Condition (Code or String) - * 4: Statement (Code or String) - * 5: Show the action even if the conditon is not met (Bool or Number) - * 6: Priority (Number, optional default: 0) - * - * Return value: - * ID of the action (used to remove it later). - */ - -private ["_object", "_displayName", "_distance", "_condition", "_statement", "_showDisabled", "_priority", "_actionsVar", "_id", "_actionIDs", "_actions"]; - -_object = _this select 0; -_displayName = _this select 1; -_distance = _this select 2; -_condition = _this select 3; -_statement = _this select 4; -_showDisabled = _this select 5; -_priority = _this select 6; - -if (typeName _condition == "STRING") then { - _condition = compile _condition; -}; - -if (typeName _statement == "STRING") then { - _statement = compile _statement; -}; - -if (typeName _showDisabled == "SCALAR") then { - _showDisabled = _showDisabled > 0; -}; - -if (isNil "_priority") then { - _priority = 0; -}; - -_actionsVar = _object getVariable ["AGM_Interactions", [-1, [], []]]; - -_id = (_actionsVar select 0) + 1; -_actionIDs = _actionsVar select 1; -_actions = _actionsVar select 2; - -_actionIDs pushBack _id; -_actions pushBack [_displayName, _distance, _condition, _statement, _showDisabled, _priority]; - -_object setVariable ["AGM_Interactions", [_id, _actionIDs, _actions], true]; -_id diff --git a/TO_MERGE/agm/Interaction/functions/fn_addInteractionSelf.sqf b/TO_MERGE/agm/Interaction/functions/fn_addInteractionSelf.sqf deleted file mode 100644 index bccaf40528..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_addInteractionSelf.sqf +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Author: commy2 - * - * Add an AGM self action to the player. Execute this on the local machine of the player. - * - * Argument: - * 0: Name of the action shown in the menu (String) - * 1: Condition (Code or String) - * 2: Statement (Code or String) - * 3: Show the action even if the conditon is not met (Bool or Number) - * 4: Priority (Number, optional default: 0) - * - * Return value: - * ID of the action (used to remove it later). - */ - - - -private ["_displayName", "_condition", "_statement", "_showDisabled", "_priority", "_actionsVar", "_id", "_actionIDs", "_actions"]; - - -_displayName = _this select 0; - -_condition = _this select 1; -_statement = _this select 2; -_showDisabled = _this select 3; -_priority = _this select 4; - -if (typeName _condition == "STRING") then { - _condition = compile _condition; -}; - -if (typeName _statement == "STRING") then { - _statement = compile _statement; -}; - -if (typeName _showDisabled == "SCALAR") then { - _showDisabled = _showDisabled > 0; -}; - -if (isNil "_priority") then { - _priority = 0; -}; - -_actionsVar = AGM_player getVariable ["AGM_InteractionsSelf", [-1, [], []]]; - -_id = (_actionsVar select 0) + 1; -_actionIDs = _actionsVar select 1; -_actions = _actionsVar select 2; - -_actionIDs pushBack _id; -_actions pushBack [_displayName, _condition, _statement, _showDisabled, _priority]; - -AGM_player setVariable ["AGM_InteractionsSelf", [_id, _actionIDs, _actions], false]; -_id diff --git a/TO_MERGE/agm/Interaction/functions/fn_addToTooltip.sqf b/TO_MERGE/agm/Interaction/functions/fn_addToTooltip.sqf deleted file mode 100644 index b54b7c5716..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_addToTooltip.sqf +++ /dev/null @@ -1,3 +0,0 @@ -// by commy2 - -AGM_Interaction_CurrentTooltip pushBack (_this select 0); diff --git a/TO_MERGE/agm/Interaction/functions/fn_applyButtons.sqf b/TO_MERGE/agm/Interaction/functions/fn_applyButtons.sqf deleted file mode 100644 index 8bc732f946..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_applyButtons.sqf +++ /dev/null @@ -1,51 +0,0 @@ -// by commy2 - -private ["_object", "_actions", "_dlgInteractionDialog", "_ctrlInteractionDialog", "_index", "_ctrlInteractionDialogIcon"]; - -_object = AGM_Interaction_Target; -_actions = AGM_Interaction_Buttons; - - -disableSerialization; -_dlgInteractionDialog = uiNamespace getVariable "AGM_Interaction_Dialog"; - -/* -for "_a" from 0 to (_count - 1) do { - _action = AGM_Interaction_Buttons select _a; - - _ctrlInteractionDialog = _dlgInteractionDialog displayCtrl (10 + _a); - _ctrlInteractionDialog ctrlShow true; - _ctrlInteractionDialog ctrlSetText (_action select 0); - _ctrlInteractionDialog ctrlEnable (call (_action select 2)); -}; -*/ - -_ctrlInteractionDialog = _dlgInteractionDialog displayCtrl 3; - -AGM_Interaction_MainButton = "(findDisplay 1713999) closeDisplay 1;"; - -if (_object isKindOf "Man") then { - _ctrlInteractionDialog ctrlSetText (if (alive _object) then {name _object} else {_object getVariable ["AGM_Name", "Unknown"]}); -} else { - _ctrlInteractionDialog ctrlSetText (getText (configFile >> "CfgVehicles" >> typeOf _object >> "displayName")); -}; - -for "_index" from 0 to 9 do { - _ctrlInteractionDialog = _dlgInteractionDialog displayCtrl (10 + _index); - _ctrlInteractionDialog ctrlShow true; - - _ctrlInteractionDialogIcon = _dlgInteractionDialog displayCtrl (20 + _index); - - if (_index < _count) then { - _action = AGM_Interaction_Buttons select _index; - _ctrlInteractionDialog ctrlSetText (_action select 0); - _ctrlInteractionDialog ctrlEnable (call (_action select 2)); - - _ctrlInteractionDialogIcon ctrlSetText (_action select 5); - } else { - _ctrlInteractionDialog ctrlSetText ""; - _ctrlInteractionDialog ctrlEnable false; - - _ctrlInteractionDialogIcon ctrlSetText ""; - }; -}; diff --git a/TO_MERGE/agm/Interaction/functions/fn_canInteractWith.sqf b/TO_MERGE/agm/Interaction/functions/fn_canInteractWith.sqf deleted file mode 100644 index 8766ff096e..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_canInteractWith.sqf +++ /dev/null @@ -1,12 +0,0 @@ -// by commy2 - -private ["_unit", "_isCivilian"]; - -_unit = _this select 0; -_isCivilian = _this select 1; - -if (isNil "_isCivilian") then {_isCivilian = true}; - -alive _unit -&& [side _unit != side AGM_player, side group _unit == civilian] select _isCivilian -//&& {count (weapons _unit) == 0} diff --git a/TO_MERGE/agm/Interaction/functions/fn_canLockDoor.sqf b/TO_MERGE/agm/Interaction/functions/fn_canLockDoor.sqf deleted file mode 100644 index 8591bc3c78..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_canLockDoor.sqf +++ /dev/null @@ -1,16 +0,0 @@ -// by commy2 - -private ["_mode", "_info", "_house", "_door", "_id"]; - -_mode = _this select 0; //lock: true, unlock: false - -_info = [2] call AGM_Interaction_fnc_getDoor; - -_house = _info select 0; -_door = _info select 1; -_id = _info select 2; - -!isNull _house -&& {_door == "door"} -&& {!_mode || {_house animationPhase format ["door_%1_rot", _id] <= 0}} -&& {(_house getVariable [format ["BIS_Disabled_Door_%1", _id], 0] != 1) isEqualTo _mode} diff --git a/TO_MERGE/agm/Interaction/functions/fn_canTapShoulder.sqf b/TO_MERGE/agm/Interaction/functions/fn_canTapShoulder.sqf deleted file mode 100644 index 0966b53c37..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_canTapShoulder.sqf +++ /dev/null @@ -1,11 +0,0 @@ -// by commy2 - -private ["_unit", "_target"]; - -_unit = _this select 0; -_target = _this select 1; - -_target isKindOf "CAManBase" && -{alive _target} && -{_unit distance _target < 4} && -{!(_target getVariable ["AGM_isUnconscious", false])} diff --git a/TO_MERGE/agm/Interaction/functions/fn_getActions2.sqf b/TO_MERGE/agm/Interaction/functions/fn_getActions2.sqf deleted file mode 100644 index 2ede8ea968..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_getActions2.sqf +++ /dev/null @@ -1,120 +0,0 @@ -// commy2 - -private ["_object", "_config", "_type", "_actions", "_configs"]; - -_object = _this select 0; -_config = _this select 1; // configFile, missionConfigFile -_type = _this select 2; // "AGM_CfgInteractions", "AGM_CfgInteractionsSelf" -_actions = _this select 3; // []; - -_configs = "_object isKindOf configName _x" configClasses (_config >> _type); - -// cache -private ["_cache", "_cacheConfigs", "_cacheActions", "_cacheIndices"]; - -_cache = uiNamespace getVariable ["AGM_Interaction_MenuCache", [[], [], []]]; -_cacheConfigs = _cache select 0; -_cacheActions = _cache select 1; -_cacheIndices = _cache select 2; - -// get interactions -{ - private "_configActions"; - - _configActions = "true" configClasses (_config >> _type >> configName _x); - { - private ["_action", "_configName", "_indexCache"]; - - _action = _x; - _configName = configName _action; - - _indexCache = _cacheConfigs find _action; - if (_indexCache == -1) then { - private ["_displayName", "_distance", "_priority", "_subMenu", "_tooltip", "_hotkey", "_enableInside", "_condition", "_conditionShow", "_showDisabled", "_exceptions", "_statement", "_icon"]; - - _displayName = getText (_action >> "displayName"); - _distance = getNumber (_action >> "distance"); - _priority = getNumber (_action >> "priority"); - _subMenu = getArray (_action >> "subMenu"); - _tooltip = getText (_action >> "tooltip"); - _hotkey = getText (_action >> "hotkey"); - _enableInside = getNumber (_action >> "enableInside"); - - // Condition - _condition = getText (_action >> "condition"); - if (_condition == "") then {_condition = "true"}; - - _condition = _condition + format [" && {%1 call AGM_Core_canInteract} && {[AGM_player, AGM_Interaction_Target] call AGM_Core_fnc_canInteractWith}", getArray (_action >> "exceptions")]; - if (_enableInside != 1) then {_condition = _condition + " && {_player == _vehicle}"}; - - _condition = compile _condition; - - // Condition to show the action - _conditionShow = getText (_action >> "conditionShow"); - _conditionShow = if (_conditionShow == "") then {{true}} else {compile _conditionShow}; - - _showDisabled = getNumber (_action >> "showDisabled") == 1; - if (isText (_action >> "conditionShow")) then { - _showDisabled = [_object, _player] call _conditionShow; - }; - - // Exceptions to the general conditions that have to be true - _exceptions = getArray (_action >> "exceptions"); - - // statement - _statement = getText (_action >> "statement"); - _statement = compile _statement; - - if (profileNamespace getVariable ["AGM_Interaction_FlowMenu", false]) then { - _statement = if (getText (_action >> "statement") == "" && {count _subMenu > 1}) then { - compile format ["call AGM_Interaction_fnc_hideMenu;if(%2 == 1)then{['%1'] call AGM_Interaction_fnc_openSubMenuSelf;}else{['%1'] call AGM_Interaction_fnc_openSubMenu;};", _subMenu select 0, _subMenu select 1]; - } else { - compile ("call AGM_Interaction_fnc_hideMenu;" + getText (_action >> "statement")); - }; - }; - - // icon - _icon = getText (_action >> "Icon"); - if (_icon == "") then { - _icon = DEFAULT_ICON; - }; - - private "_actionToCache"; - _actionToCache = [_displayName, _statement, _condition, _priority, _subMenu, _icon, _tooltip, _conditionShow, _exceptions, _distance, _hotkey]; - - if ((_showDisabled || {[_object, _player] call _condition}) && {_distance == 0 || {[_object, _distance] call AGM_Interaction_fnc_isInRange}}) then { - _actions pushBack _actionToCache; - }; - - _indexCache = _cacheActions find _actionToCache; - if (_indexCache == -1) then { - _indexCache = count _cacheActions; - _cacheActions pushBack _actionToCache; - }; - - _cacheConfigs pushBack _action; - _cacheIndices pushBack _indexCache; - - _cache = [_cacheConfigs, _cacheActions, _cacheIndices]; - ["InteractionMenu", _action, {format ["%1 loaded into cache", _this]}] call AGM_Debug_fnc_log; - } else { - ["InteractionMenu", _action, {format ["%1 loaded from cache", _this]}] call AGM_Debug_fnc_log; - - private ["_cachedAction", "_showDisabled"]; - _cachedAction = _cacheActions select (_cacheIndices select _indexCache); - - _showDisabled = getNumber (_action >> "showDisabled") == 1; - if (isText (_action >> "conditionShow")) then { - _showDisabled = [_object, _player] call (_cachedAction select 7); - }; - - if ((_showDisabled || {[_object, _player] call (_cachedAction select 2)}) && {[_object, (_cachedAction select 9)] call AGM_Interaction_fnc_isInRange || {(_cachedAction select 9) == 0}}) then { - _actions pushBack _cachedAction; - }; - }; - } forEach _configActions; //Actions of this CfgVehicles class -} forEach _configs; //CfgVehicles class - -uiNamespace setVariable ["AGM_Interaction_MenuCache", _cache]; - -_actions diff --git a/TO_MERGE/agm/Interaction/functions/fn_getCaptivityStatus.sqf b/TO_MERGE/agm/Interaction/functions/fn_getCaptivityStatus.sqf deleted file mode 100644 index 43538e882b..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_getCaptivityStatus.sqf +++ /dev/null @@ -1,3 +0,0 @@ -// by commy2 - -_this call AGM_Core_fnc_getCaptivityStatus; diff --git a/TO_MERGE/agm/Interaction/functions/fn_getDoor.sqf b/TO_MERGE/agm/Interaction/functions/fn_getDoor.sqf deleted file mode 100644 index 19e5277873..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_getDoor.sqf +++ /dev/null @@ -1,31 +0,0 @@ -// by commy2 - -private ["_distance", "_position0", "_position1", "_intersections", "_count", "_house", "_door", "_index", "_id"]; - -_distance = _this select 0; - -_position0 = positionCameraToWorld [0, 0, 0]; -_position1 = positionCameraToWorld [0, 0, _distance]; - -_intersections = lineIntersectsWith [ATLToASL _position0, ATLToASL _position1, objNull, objNull, true]; - -_count = count _intersections; -if (_count == 0) exitWith {[objNull, ""]}; - -_house = _intersections select (_count - 1); - -// shithouse is bugged -if (typeOf _house == "") exitWith {[objNull, ""]}; - -_intersections = [_house, "GEOM"] intersect [_position0, _position1]; - -_door = _intersections select 0 select 0; -if (isNil "_door") exitWith {[_house, ""]}; -[_house, _door] - -/* -_house = cursorTarget; -_actions = "true" configClasses (configFile >> "CfgVehicles" >> typeOf _house >> "UserActions"); -_actions = [_actions, {getText (_x >> "statement")}] call AGM_Core_fnc_map; -_actions -*/ diff --git a/TO_MERGE/agm/Interaction/functions/fn_getDoorAnimations.sqf b/TO_MERGE/agm/Interaction/functions/fn_getDoorAnimations.sqf deleted file mode 100644 index 67e6788754..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_getDoorAnimations.sqf +++ /dev/null @@ -1,106 +0,0 @@ -// by commy2 - -private ["_house", "_door", "_animations", "_lockedVariable"]; - -_house = _this select 0; -_door = _this select 1; - -_index = [ - "door_1", - "door_2", - "door_3", - "door_4", - "door_5", - "door_6", - "door_7", - "door_8", - "door_9", - "door_10", - "door_11", - "door_12", - "door_13", - "Door_14", - "door_15", - "door_16", - "door_17", - "door_18", - "door_19", - "door_20", - "door_21", - "door_22", - - "hatch_1", - "hatch_2", - "hatch_3", - "hatch_4", - "hatch_5", - "hatch_6" -] find toLower _door; - -if (_index == -1) exitWith {[[],""]}; - -_animations = [ - ["Door_1_rot", "Door_Handle_1_rot_1", "Door_Handle_1_rot_2"], - ["Door_2_rot", "Door_Handle_2_rot_1", "Door_Handle_2_rot_2"], - ["Door_3_rot", "Door_Handle_3_rot_1", "Door_Handle_3_rot_2"], - ["Door_4_rot", "Door_Handle_4_rot_1", "Door_Handle_4_rot_2"], - ["Door_5_rot", "Door_Handle_5_rot_1", "Door_Handle_5_rot_2"], - ["Door_6_rot", "Door_Handle_6_rot_1", "Door_Handle_6_rot_2"], - ["Door_7_rot", "Door_Handle_7_rot_1", "Door_Handle_7_rot_2"], - ["Door_8_rot", "Door_Handle_8_rot_1", "Door_Handle_8_rot_2"], - ["Door_9_rot", "Door_Handle_9_rot_1", "Door_Handle_9_rot_2"], - ["Door_10_rot", "Door_Handle_10_rot_1", "Door_Handle_10_rot_2"], - ["Door_11_rot", "Door_Handle_11_rot_1", "Door_Handle_11_rot_2"], - ["Door_12_rot", "Door_Handle_12_rot_1", "Door_Handle_12_rot_2"], - ["Door_13_rot", "Door_Handle_13_rot_1", "Door_Handle_13_rot_2"], - ["Door_14_rot", "Door_Handle_14_rot_1", "Door_Handle_14_rot_2"], - ["Door_15_rot", "Door_Handle_15_rot_1", "Door_Handle_15_rot_2"], - ["Door_16_rot", "Door_Handle_16_rot_1", "Door_Handle_16_rot_2"], - ["Door_17_rot", "Door_Handle_17_rot_1", "Door_Handle_17_rot_2"], - ["Door_18_rot", "Door_Handle_18_rot_1", "Door_Handle_18_rot_2"], - ["Door_19_rot", "Door_Handle_19_rot_1", "Door_Handle_19_rot_2"], - ["Door_20_rot", "Door_Handle_20_rot_1", "Door_Handle_20_rot_2"], - ["Door_21_rot", "Door_Handle_21_rot_1", "Door_Handle_21_rot_2"], - ["Door_22_rot", "Door_Handle_22_rot_1", "Door_Handle_22_rot_2"], - - ["Hatch_1_rot"], - ["Hatch_2_rot"], - ["Hatch_3_rot"], - ["Hatch_4_rot"], - ["Hatch_5_rot"], - ["Hatch_6_rot"] -] select _index; - -_lockedVariable = [ - ["BIS_Disabled_Door_1", "Door_Handle_1_rot_1", "Door_Locked_1_rot"], - ["BIS_Disabled_Door_2", "Door_Handle_2_rot_1", "Door_Locked_2_rot"], - ["BIS_Disabled_Door_3", "Door_Handle_3_rot_1", "Door_Locked_3_rot"], - ["BIS_Disabled_Door_4", "Door_Handle_4_rot_1", "Door_Locked_4_rot"], - ["BIS_Disabled_Door_5", "Door_Handle_5_rot_1", "Door_Locked_5_rot"], - ["BIS_Disabled_Door_6", "Door_Handle_6_rot_1", "Door_Locked_6_rot"], - ["BIS_Disabled_Door_7", "Door_Handle_7_rot_1", "Door_Locked_7_rot"], - ["BIS_Disabled_Door_8", "Door_Handle_8_rot_1", "Door_Locked_8_rot"], - ["BIS_Disabled_Door_9", "Door_Handle_9_rot_1", "Door_Locked_9_rot"], - ["BIS_Disabled_Door_10", "Door_Handle_10_rot_1", "Door_Locked_10_rot"], - ["BIS_Disabled_Door_11", "Door_Handle_11_rot_1", "Door_Locked_11_rot"], - ["BIS_Disabled_Door_12", "Door_Handle_12_rot_1", "Door_Locked_12_rot"], - ["BIS_Disabled_Door_13", "Door_Handle_13_rot_1", "Door_Locked_13_rot"], - ["BIS_Disabled_Door_14", "Door_Handle_14_rot_1", "Door_Locked_14_rot"], - ["BIS_Disabled_Door_15", "Door_Handle_15_rot_1", "Door_Locked_15_rot"], - ["BIS_Disabled_Door_16", "Door_Handle_16_rot_1", "Door_Locked_16_rot"], - ["BIS_Disabled_Door_17", "Door_Handle_17_rot_1", "Door_Locked_17_rot"], - ["BIS_Disabled_Door_18", "Door_Handle_18_rot_1", "Door_Locked_18_rot"], - ["BIS_Disabled_Door_19", "Door_Handle_19_rot_1", "Door_Locked_19_rot"], - ["BIS_Disabled_Door_20", "Door_Handle_20_rot_1", "Door_Locked_20_rot"], - ["BIS_Disabled_Door_21", "Door_Handle_21_rot_1", "Door_Locked_21_rot"], - ["BIS_Disabled_Door_22", "Door_Handle_22_rot_1", "Door_Locked_22_rot"], - - ["", ""], - ["", ""], - ["", ""], - ["", ""], - ["", ""], - ["", ""] -] select _index; - -[_animations, _lockedVariable] diff --git a/TO_MERGE/agm/Interaction/functions/fn_getDown.sqf b/TO_MERGE/agm/Interaction/functions/fn_getDown.sqf deleted file mode 100644 index 73bae1c883..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_getDown.sqf +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Author: KoffeinFlummi - * - * Forces a civilian to the ground. (chance of failure). - * - * Arguments: - * 0: Unit to be sent away (Object) - * - * Return value: - * none - */ - -#define RADIUS 10 - -private ["_unit", "_chance", "_x"]; - -_unit = _this select 0; - -AGM_player playActionNow "GestureGo"; // put something else here. - -if (count (weapons AGM_player) > 0) then { - _chance = 0.8; -} else { - _chance = 0.5; -}; - -{ - if (count (weapons _unit) == 0 and random 1 < _chance) then { - [-2, { - _this setUnitPos "DOWN"; - }, _x] call CBA_fnc_globalExecute; - }; -} foreach (_unit nearEntities ["Civilian", RADIUS]); diff --git a/TO_MERGE/agm/Interaction/functions/fn_getSelectedButton.sqf b/TO_MERGE/agm/Interaction/functions/fn_getSelectedButton.sqf deleted file mode 100644 index 3813811703..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_getSelectedButton.sqf +++ /dev/null @@ -1,23 +0,0 @@ -// by commy2 - -#define MIN_DISTANCE 0.0065 - -private ["_position", "_distance", "_angle"]; - -_position = uiNamespace getVariable ['AGM_Interaction_CursorPosition', [0.5, 0.5, 0]]; - -_position = [((_position select 1) - 0.5) / safezoneH, ((_position select 2) - 0.5) / safezoneW, 0]; - -_distance = [0, 0, 0] vectorDistanceSqr _position; - -// is in center -if (_distance < MIN_DISTANCE) exitWith {-1}; - -_angle = (_position select 0) atan2 (_position select 1); - -// rotate circle -_angle = 180 - _angle + 360 / 10 / 2; -if (_angle < 0) then {_angle = _angle + 360}; - -_angle = floor (_angle / 360 * 10); -if (_angle == 10) then {0} else {_angle} diff --git a/TO_MERGE/agm/Interaction/functions/fn_hideMenu.sqf b/TO_MERGE/agm/Interaction/functions/fn_hideMenu.sqf deleted file mode 100644 index 24e867b5b5..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_hideMenu.sqf +++ /dev/null @@ -1,22 +0,0 @@ -/* - Name: AGM_Interaction_fnc_hideMenu - - Author: Garth de Wet (LH) - - Description: - Closes the Interaction menu - - Parameters: - Nothing - - Returns: - Nothing - - Example: - call AGM_Interaction_fnc_hideMenu; -*/ -closeDialog 0; -(findDisplay 1713999) closeDisplay 1; -(uiNameSpace getVariable "AGM_Flow_Display") closeDisplay 0; -AGM_Interaction_MainButton = nil; -call AGM_Interaction_fnc_hideMouseHint; \ No newline at end of file diff --git a/TO_MERGE/agm/Interaction/functions/fn_hideMouseHint.sqf b/TO_MERGE/agm/Interaction/functions/fn_hideMouseHint.sqf deleted file mode 100644 index f8f9b75b35..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_hideMouseHint.sqf +++ /dev/null @@ -1,22 +0,0 @@ -/* - Name: AGM_Interaction_fnc_hideMouseHint - - Author(s): - Garth de Wet (LH) - - Description: - Hides the interaction helper text with the mouse buttons at the bottom middle of the screen - - Parameters: - Nothing - - Returns: - Nothing - - Example: - call AGM_Interaction_fnc_hideMouseHint; -*/ -if (isNull (uiNamespace getVariable ["AGM_Helper_Display", objNull])) exitWith{}; - -("AGM_InteractionHelper" call BIS_fnc_rscLayer) cutText ["", "PLAIN"]; -showHUD true; \ No newline at end of file diff --git a/TO_MERGE/agm/Interaction/functions/fn_initialiseInteraction.sqf b/TO_MERGE/agm/Interaction/functions/fn_initialiseInteraction.sqf deleted file mode 100644 index 556e3d0bd6..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_initialiseInteraction.sqf +++ /dev/null @@ -1,167 +0,0 @@ -/* - Name: AGM_Interaction_fnc_initialiseInteraction - - Author: - commy2 - Garth de Wet (LH) - - Description: - Initialises the interaction click handlers. - - Parameters: - 0 : CODE - code to call when right clicking/center button - 1 : BOOLEAN - Submenu - 2 : BOOLEAN - Flow Menu - 3 : BOOLEAN - Self interaction - 4 : OBJECT - Target - - Returns: - Nothing - - Example: - [{"Default" call AGM_Interaction_fnc_openMenu;}, true, (profileNamespace getVariable ["AGM_Interaction_FlowMenu", false]), AGM_Interaction_Target] call AGM_Interaction_fnc_initialiseInteraction; -*/ -private ["_subMenu", "_selfMenu", "_target"]; -AGM_Interaction_MainButton = _this select 0; -_subMenu = _this select 1; -_selfMenu = _this select 3; -_target = _this select 4; - -_player = AGM_player; -_vehicle = vehicle _player; -//_object = [AGM_Interaction_Target, _player] select (AGM_Interaction_MenuType % 2 == 1); - -if !([_target, 5] call AGM_Interaction_fnc_isInRange) exitWith {}; - -AGM_Interaction_Shortcuts = [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1]; - -// Flow menu -if (_this select 2) then { - ("AGM_FlowMenu" call BIS_fnc_rscLayer) cutRsc ["AGM_FlowMenu", "PLAIN",0.5, false]; - AGM_Interaction_SelectedButton = 0; - (findDisplay 1713999) closeDisplay 1; - if (_player getVariable ["AGM_AcceptAction", -1] == -1) then { - [{if(isNil {AGM_Interaction_MainButton} || {!(profileNamespace getVariable ['AGM_Interaction_FlowMenu', false])})exitWith{false};(-(_this select 0) / 1.2) call AGM_Interaction_fnc_MoveDown;true}] call AGM_Core_fnc_addScrollWheelEventHandler; - - _player setVariable ["AGM_AcceptAction", [_player, "DefaultAction", {(!isNil {AGM_Interaction_MainButton}) && {(profileNamespace getVariable ['AGM_Interaction_FlowMenu', false])}}, {_action = AGM_Interaction_Buttons select AGM_Interaction_SelectedButton;_target = AGM_Interaction_Target;_player = AGM_player;_vehicle = vehicle _player;if ([_target, _player] call (_action select 2)) then {call AGM_Interaction_fnc_hideMenu;if(count _action == 12) then{(_action select 11) call (_action select 1);}else{[_target, _player] call (_action select 1);};};}] call AGM_core_fnc_addActionEventHandler]; - _player setVariable ["AGM_AcceptAction", [_player, "menuBack", {(!isNil {AGM_Interaction_MainButton}) && {(profileNamespace getVariable ['AGM_Interaction_FlowMenu', false])}}, {call AGM_Interaction_MainButton;}] call AGM_core_fnc_addActionEventHandler]; - }; - 0 call AGM_Interaction_fnc_moveDown; - [localize "STR_AGM_Interaction_MakeSelection", if (_subMenu)then{localize "STR_AGM_Interaction_Back"}else{""}, localize "STR_AGM_Interaction_ScrollHint"] call AGM_Interaction_fnc_showMouseHint; - ((uiNamespace getVariable "AGM_Flow_Display") displayCtrl (1210)) ctrlShow _subMenu; -}else{ // Rose - if (!isNull(uiNamespace getVariable "AGM_Flow_Display")) then { - (uiNameSpace getVariable "AGM_Flow_Display") closeDisplay 0; - call AGM_Interaction_fnc_hideMouseHint; - }; - if (!_subMenu || {isNull (findDisplay 1713999)}) then { - (findDisplay 1713999) closeDisplay 1; - - (findDisplay 46) createDisplay "AGM_Interaction_Dialog"; - // Add eventhandlers - (findDisplay 1713999) displayAddEventHandler ["KeyDown", "_this call AGM_Core_onKeyDown"]; - (findDisplay 1713999) displayAddEventHandler ["KeyUp", "_this call AGM_Core_onKeyUp"]; - - (findDisplay 1713999) displayAddEventHandler ["KeyDown", "_this call AGM_Interaction_fnc_menuKeyInput"]; - }; - disableSerialization; - _dlgInteractionDialog = uiNamespace getVariable "AGM_Interaction_Dialog"; - _ctrlInteractionDialog = _dlgInteractionDialog displayCtrl 3; - if (profileNamespace getVariable ["AGM_Interaction_AutoCenterCursor", true]) then {setMousePosition [0.5, 0.5]}; - if !(_subMenu) then { - _ctrlInteractionDialog ctrlSetText ([_target] call AGM_Core_fnc_getName); - } else { - _ctrlInteractionDialog ctrlSetText localize "STR_AGM_Interaction_Back"; - }; - - _buttons = AGM_Interaction_Buttons; - _count = count _buttons; - - for "_i" from 0 to 9 do { - _ctrlInteractionDialog = _dlgInteractionDialog displayCtrl (10 + _i); - _ctrlInteractionDialog ctrlShow true; - - _ctrlInteractionDialogIcon = _dlgInteractionDialog displayCtrl (20 + _i); - _ctrlInteractionDialogShortcut = _dlgInteractionDialog displayCtrl (30 + _i); - //_ctrlInteractionDialogBackground = _dlgInteractionDialog displayCtrl (40 + _i); - if (_i < _count) then { - _action = _buttons select _i; - _ctrlInteractionDialog ctrlSetText (_action select 0); - _ctrlInteractionDialog ctrlEnable ([_target, _player] call (_action select 2)); - _ctrlInteractionDialog ctrlSetTooltip (_action select 6); - - _ctrlInteractionDialogIcon ctrlSetText (_action select 5); - _ctrlInteractionDialogShortcut ctrlSetText (_action select 10); - //_ctrlInteractionDialogBackground ctrlShow true; - - AGM_Interaction_Shortcuts set [_i, [_action select 10] call AGM_Core_fnc_letterToCode]; - } else { - _ctrlInteractionDialog ctrlSetText ""; - _ctrlInteractionDialog ctrlEnable false; - _ctrlInteractionDialog ctrlSetTooltip ""; - - _ctrlInteractionDialogIcon ctrlSetText ""; - _ctrlInteractionDialogShortcut ctrlSetText ""; - //_ctrlInteractionDialogBackground ctrlShow false; - }; - }; - - // Update Buttons - terminate (missionNamespace getVariable ["AGM_Interaction_updateMenuHandle", scriptNull]); - - AGM_Interaction_updateMenuHandle = 0 spawn { - disableSerialization; - _dlgMenu = uiNamespace getVariable ["AGM_Interaction_Dialog", displayNull]; - _ctrlTooltip = _dlgMenu displayCtrl 40; - - _player = AGM_player; - _vehicle = vehicle _player; - _target = [AGM_Interaction_Target, _player] select (AGM_Interaction_MenuType % 2 == 1); - - waitUntil { - if !([_target, 5] call AGM_Interaction_fnc_isInRange) exitWith { - (findDisplay 1713999) closeDisplay 1 - }; - - AGM_Interaction_Tooltips = [[], [], [], [], [], [], [], [], [], []]; - { - _ctrlText = _dlgMenu displayCtrl (10 + _forEachIndex); - _ctrlIcon = _dlgMenu displayCtrl (20 + _forEachIndex); - - _condition = _x select 2; - _conditionShow = _x select 7; - _distance = _x select 9; - - AGM_Interaction_CurrentTooltip = []; - - _enable = (_distance == 0 || {[_target, _distance] call AGM_Interaction_fnc_isInRange}) && {[_target, _player] call _condition} && {[_target, _player] call _conditionShow}; - if (isNil "_enable") then {_enable = false}; - - AGM_Interaction_Tooltips set [_forEachIndex, AGM_Interaction_CurrentTooltip]; - - // apply conditional tooltips - /*if (_forEachIndex == call AGM_Interaction_fnc_getSelectedButton) then { - _tooltip = _x select 6; - - _showTooltip = _tooltip != ""; - - _tooltip = text _tooltip; - - { - _showTooltip = true; - _tooltip = composeText [_tooltip, lineBreak, _x]; - } forEach (AGM_Interaction_Tooltips select _forEachIndex); - - _ctrlTooltip ctrlSetStructuredText _tooltip; - _ctrlTooltip ctrlShow _showTooltip; - };*/ - - _ctrlText ctrlEnable _enable; - _ctrlIcon ctrlEnable _enable; - } forEach AGM_Interaction_Buttons; - - sleep 0.5; - isNull (findDisplay 1713999) - }; - }; -}; diff --git a/TO_MERGE/agm/Interaction/functions/fn_isInRange.sqf b/TO_MERGE/agm/Interaction/functions/fn_isInRange.sqf deleted file mode 100644 index bb82f7af95..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_isInRange.sqf +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Author: commy2 - * - * Check if the vehicle is in range of the player. - * - * Argument: - * 0: Vehicke (Object) - * 1: Distance in meters (Number) - * - * Return value: - * (Bool) - */ - -private ["_vehicle", "_distance", "_player"]; - -_vehicle = _this select 0; -_distance = _this select 1; - -_player = AGM_player; - -if (_vehicle isKindOf "Man") exitWith {_player distance _vehicle < _distance}; - -private ["_position0", "_position1"];//, "_direction"]; - -_position0 = getPosASL _player; -_position1 = getPosASL _vehicle; - -/* -_direction = _position1 vectorDiff _position0; -_direction = _direction vectorMultiply (_distance / (vectorMagnitude _direction)); - -_position0 = eyePos _player; -_position1 = _position0 vectorAdd _direction; - -_vehicle in lineIntersectsWith [_position0, _position1] || {_player distance _vehicle < _distance} -*/ - -_position0 = ATLToASL positionCameraToWorld [0, 0, 0]; -_position0 set [2, (_position0 select 2) - (getTerrainHeightASL _position0 min 0)]; - -_position1 = ATLToASL positionCameraToWorld [0, 0, _distance]; -_position1 set [2, (_position1 select 2) - (getTerrainHeightASL _position1 min 0)]; - -if (_vehicle in lineIntersectsWith [_position0, _position1] || {_player distance _vehicle < _distance}) then { - true -} else { - ["Not in Range"] call AGM_Interaction_fnc_addToTooltip; - false -} diff --git a/TO_MERGE/agm/Interaction/functions/fn_joinTeam.sqf b/TO_MERGE/agm/Interaction/functions/fn_joinTeam.sqf deleted file mode 100644 index c6db297c49..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_joinTeam.sqf +++ /dev/null @@ -1,20 +0,0 @@ -// by commy2 - -private ["_unit", "_team", "_message"]; - -_unit = _this select 0; -_team = _this select 1; - -_unit setVariable ["AGM_assignedFireTeam", _team, true]; -[_unit, format ["{_this assignTeam '%1'}", _team]] call AGM_Core_fnc_execRemoteFnc; - -if (_unit == AGM_player) then { - _message = if (_team == "MAIN") then { - localize "STR_AGM_Interaction_LeftTeam"; - } else { - _team = localize format ["STR_AGM_Interaction_Team%1", _team]; - format [localize "STR_AGM_Interaction_JoinedTeam", _team]; - }; - - [_message] call AGM_Core_fnc_displayTextStructured; -}; diff --git a/TO_MERGE/agm/Interaction/functions/fn_lockDoor.sqf b/TO_MERGE/agm/Interaction/functions/fn_lockDoor.sqf deleted file mode 100644 index edc317bfac..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_lockDoor.sqf +++ /dev/null @@ -1,27 +0,0 @@ -// by commy2 - -private ["_mode", "_info", "_house", "_door", "_id", "_phase"]; - -_mode = _this select 0; //lock: true, unlock: false - -_info = [2] call AGM_Interaction_fnc_getDoor; - -_house = _info select 0; -_door = _info select 1; -_id = _info select 2; - -if (isNull _house) exitWith {}; - -/* -_phase = [1, 0] select _mode; - -_house animate [format ["%1_%2_rot", _door, _id], _phase]; -_house animate [format ["%1_Handle_%2_rot_1", _door, _id], _phase]; -_house animate [format ["%1_Handle_%2_rot_2", _door, _id], _phase]; -*/ - -_house setVariable [format ["BIS_Disabled_%1_%2", _door, _id], [0, 1] select _mode]; - -playSound "AGM_Sound_Click"; - -[localize (["STR_AGM_Interaction_UnlockedDoor", "STR_AGM_Interaction_LockedDoor"] select _mode)] call AGM_Core_fnc_displayTextStructured; diff --git a/TO_MERGE/agm/Interaction/functions/fn_menuKeyInput.sqf b/TO_MERGE/agm/Interaction/functions/fn_menuKeyInput.sqf deleted file mode 100644 index 786add7670..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_menuKeyInput.sqf +++ /dev/null @@ -1,16 +0,0 @@ -// by commy2 - -private "_key"; - -_key = _this select 1; - -if (_key in [28, 57, 156, 200, 208, 203, 205, 201, 209]) exitWith {true}; - -_index = AGM_Interaction_Shortcuts find _key; - -if (_index != -1 && {ctrlEnabled (findDisplay 1713999 displayCtrl (_index + 10))}) exitWith { - _index call AGM_Interaction_fnc_onClick; - true -}; - -false diff --git a/TO_MERGE/agm/Interaction/functions/fn_moduleInteraction.sqf b/TO_MERGE/agm/Interaction/functions/fn_moduleInteraction.sqf deleted file mode 100644 index 60f15e1215..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_moduleInteraction.sqf +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Author: bux578 - * - * Initializes the Interaction module. - * - * Arguments: - * Whatever the module provides. (I dunno.) - * - * Return Value: - * None - */ - -_logic = _this select 0; -_activated = _this select 2; - -if !(_activated) exitWith {}; - -[_logic, "AGM_Interaction_EnableTeamManagement", "EnableTeamManagement"] call AGM_Core_fnc_readBooleanParameterFromModule; - -diag_log text "[AGM]: Interaction Module Initialized."; diff --git a/TO_MERGE/agm/Interaction/functions/fn_onButtonDown.sqf b/TO_MERGE/agm/Interaction/functions/fn_onButtonDown.sqf deleted file mode 100644 index 91a20d9fc7..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_onButtonDown.sqf +++ /dev/null @@ -1,14 +0,0 @@ -// by commy2 - -if (dialog) exitWith { - closeDialog 0; -}; - -if (isNull (findDisplay 1713999)) then { - if (AGM_player == vehicle AGM_player) then {"" call AGM_Interaction_fnc_openMenu} else {[AGM_player, vehicle AGM_player] call AGM_Interaction_fnc_openMenuSelectUI}; - setMousePosition [0.5, 0.5]; -} else { - (findDisplay 1713999) closeDisplay 1; -}; - -[_player, "interactionMenuOpened", [_player, AGM_Interaction_Target, 0]] call AGM_Core_fnc_callCustomEventHandlers; diff --git a/TO_MERGE/agm/Interaction/functions/fn_onButtonDownSelf.sqf b/TO_MERGE/agm/Interaction/functions/fn_onButtonDownSelf.sqf deleted file mode 100644 index 90aa4b4aca..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_onButtonDownSelf.sqf +++ /dev/null @@ -1,14 +0,0 @@ -// by commy2 - -if (dialog) exitWith { - closeDialog 0; -}; - -if (isNull (findDisplay 1713999)) then { - "" call AGM_Interaction_fnc_openMenuSelf; - setMousePosition [0.5, 0.5]; -} else { - (findDisplay 1713999) closeDisplay 1; -}; - -[_player, "interactionMenuOpened", [_player, AGM_Interaction_Target, 1]] call AGM_Core_fnc_callCustomEventHandlers; diff --git a/TO_MERGE/agm/Interaction/functions/fn_onButtonUp.sqf b/TO_MERGE/agm/Interaction/functions/fn_onButtonUp.sqf deleted file mode 100644 index 0466eee0dc..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_onButtonUp.sqf +++ /dev/null @@ -1,44 +0,0 @@ -// by commy2 - -private ["_player", "_vehicle", "_target", "_count", "_index", "_action", "_statement", "_condition", "_conditionShow", "_exceptions", "_distance"]; - -_player = AGM_player; -_vehicle = vehicle _player; -_target = [AGM_Interaction_Target, _player] select (AGM_Interaction_MenuType % 2 == 1); - -_count = count AGM_Interaction_Buttons; -_index = call AGM_Interaction_fnc_getSelectedButton; - -_action = if (_index != -1 && {_index < _count}) then { - AGM_Interaction_Buttons select _index -} else { - ["", {}, {false}, 0, [], "", "", {false}, [], 0] -}; - -(findDisplay 1713999) closeDisplay 1; -closeDialog 0; - - - - - - - - - - - - - - - - -_statement = _action select 1; -_condition = _action select 2; -_conditionShow = _action select 7; -_exceptions = _action select 8;// -_distance = _action select 9; - -if ((_distance == 0 || {[AGM_Interaction_Target, _distance] call AGM_Interaction_fnc_isInRange}) && {[_target, _player] call _condition} && {[_target, _player] call _conditionShow}) then { - [_target, _player] call _statement; -}; diff --git a/TO_MERGE/agm/Interaction/functions/fn_onClick.sqf b/TO_MERGE/agm/Interaction/functions/fn_onClick.sqf deleted file mode 100644 index 6fb9a353fc..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_onClick.sqf +++ /dev/null @@ -1,44 +0,0 @@ -// by commy2 - -private ["_player", "_vehicle", "_target", "_count", "_index", "_action", "_subMenu", "_statement", "_condition", "_conditionShow", "_exceptions", "_distance"]; - -_player = AGM_player; -_vehicle = vehicle _player; -_target = [AGM_Interaction_Target, _player] select (AGM_Interaction_MenuType % 2 == 1); - -_count = count AGM_Interaction_Buttons; -_index = _this; //call AGM_Interaction_fnc_getSelectedButton; - -_action = if (_index != -1 && {_index < _count}) then { - AGM_Interaction_Buttons select _index -} else { - ["", {}, {false}, 0, [], "", "", {false}, [], 0] -}; - -_subMenu = _action select 4; - -// back -if (_index == -1) exitWith { - call AGM_Interaction_MainButton; -}; - -if (count _subMenu < 2) then { - (findDisplay 1713999) closeDisplay 1; - closeDialog 0; - - _statement = _action select 1; - _condition = _action select 2; - _conditionShow = _action select 7; - _exceptions = _action select 8;// - _distance = _action select 9; - - if ((_distance == 0 || {[AGM_Interaction_Target, _distance] call AGM_Interaction_fnc_isInRange}) && {[_target, _player] call _condition} && {[_target, _player] call _conditionShow}) then { - [_target, _player] call _statement; - }; -} else { - if (_subMenu select 1 < 1) then { - [_subMenu select 0] call AGM_Interaction_fnc_openSubMenu; - } else { - [_subMenu select 0] call AGM_Interaction_fnc_openSubMenuSelf; - }; -}; diff --git a/TO_MERGE/agm/Interaction/functions/fn_onSelectMenuDblClick.sqf b/TO_MERGE/agm/Interaction/functions/fn_onSelectMenuDblClick.sqf deleted file mode 100644 index db7f326bd2..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_onSelectMenuDblClick.sqf +++ /dev/null @@ -1,3 +0,0 @@ -// by CorruptedHeart, commy2 - -call compile (lbData [8866, lbCurSel 8866]) call AGM_Interaction_SelectAccept; diff --git a/TO_MERGE/agm/Interaction/functions/fn_openDoor.sqf b/TO_MERGE/agm/Interaction/functions/fn_openDoor.sqf deleted file mode 100644 index 98f21fe690..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_openDoor.sqf +++ /dev/null @@ -1,56 +0,0 @@ -// by commy2 - -private ["_info", "_house", "_door", "_animations", "_lockedVariable"]; - -_info = [2] call AGM_Interaction_fnc_getDoor; - -_house = _info select 0; -_door = _info select 1; - -if (isNull _house) exitWith {}; - -_animations = [_house, _door] call AGM_Interaction_fnc_getDoorAnimations; - -_lockedVariable = _animations select 1; -_animations = _animations select 0; - -if (count _animations == 0) exitWith {}; - -if (_house animationPhase (_animations select 0) <= 0 && {_house getVariable [_lockedVariable select 0, 0] == 1}) exitWith { - _lockedVariable set [0, _house]; - _lockedVariable spawn compile preprocessFileLineNumbers "\A3\Structures_F\scripts\LockedDoor_open.sqf"; -}; - -AGM_Interaction_isOpeningDoor = true; -playSound "AGM_Sound_Click"; - -[_house, _animations] spawn { - _house = _this select 0; - _animations = _this select 1; - - _phase = _house animationPhase (_animations select 0); - _position = getPosASL AGM_player; - - _time = time + 0.2; - _usedMouseWheel = false; - waitUntil { - if (inputAction "PrevAction" > 0 || {inputAction "NextAction" > 0}) then { - _usedMouseWheel = true; - }; - - _phase = _phase + (inputAction "PrevAction" / 12) min 1; - _phase = _phase - (inputAction "NextAction" / 12) max 0; - - {_house animate [_x, _phase]} forEach _animations; - - !AGM_Interaction_isOpeningDoor || {getPosASL AGM_player distance _position > 1} - }; - - if (!_usedMouseWheel && {time < _time}) then { - _phase = [0, 1] select (_house animationPhase (_animations select 0) < 0.5); - - {_house animate [_x, _phase]} forEach _animations; - }; - - AGM_Interaction_isOpeningDoor = false; -}; diff --git a/TO_MERGE/agm/Interaction/functions/fn_openMenu.sqf b/TO_MERGE/agm/Interaction/functions/fn_openMenu.sqf deleted file mode 100644 index 02fe1ba1ab..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_openMenu.sqf +++ /dev/null @@ -1,6 +0,0 @@ -// by commy2 - -private "_target"; -_target = [cursorTarget, AGM_Interaction_Target] select (_this == "Default"); - -[0, _target, ""] call AGM_Interaction_fnc_showMenu; diff --git a/TO_MERGE/agm/Interaction/functions/fn_openMenuSelectUI.sqf b/TO_MERGE/agm/Interaction/functions/fn_openMenuSelectUI.sqf deleted file mode 100644 index dbac9e2f75..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_openMenuSelectUI.sqf +++ /dev/null @@ -1,43 +0,0 @@ -// by commy2 - -private ["_unit", "_vehicle", "_cargo"]; - -_unit = _this select 0; -_vehicle = _this select 1; - -// allow interaction with all cargo slots and all ffv slots -_cargo = [_vehicle, ["cargo", "ffv"], true] call AGM_Core_fnc_getVehicleCrew; - -// you can only interact if you are in cargo or ffv yourself. exit otherwise -if !(_unit in _cargo) exitWith {}; - -AGM_InteractionMenu_Crew = _cargo; - -// prepare: add header and "OK" button to select menu -private "_actions"; -_actions = [localize "STR_AGM_Interaction_InteractionMenu", localize "STR_AGM_Interaction_Interact"] call AGM_Interaction_fnc_prepareSelectMenu; - -// prepare: add all cargo units as options to select menu -{ - if (_x != _unit) then { - _actions = [ - _actions, - [_x] call AGM_Core_fnc_getName, - "\AGM_Interaction\UI\dot_ca.paa", - _forEachIndex - ] call AGM_Interaction_fnc_AddSelectableItem; - }; -} forEach _cargo; - -// open select menu -[ - _actions, - { - call AGM_Interaction_fnc_hideMenu; - [0, AGM_InteractionMenu_Crew select _this, ""] spawn AGM_Interaction_fnc_showMenu; - AGM_InteractionMenu_Crew = nil; - }, - { - call AGM_Interaction_fnc_hideMenu; - } -] call AGM_Interaction_fnc_openSelectMenu; diff --git a/TO_MERGE/agm/Interaction/functions/fn_openMenuSelf.sqf b/TO_MERGE/agm/Interaction/functions/fn_openMenuSelf.sqf deleted file mode 100644 index e6056eb1ef..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_openMenuSelf.sqf +++ /dev/null @@ -1,3 +0,0 @@ -// by commy2 - -[1, AGM_player, ""] call AGM_Interaction_fnc_showMenu; diff --git a/TO_MERGE/agm/Interaction/functions/fn_openSelectMenu.sqf b/TO_MERGE/agm/Interaction/functions/fn_openSelectMenu.sqf deleted file mode 100644 index 069d1dbc8a..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_openSelectMenu.sqf +++ /dev/null @@ -1,43 +0,0 @@ -/* - Name: AGM_Interaction_fnc_openSelectMenu - - Author: Garth de Wet (LH) - - Description: - Opens the select menu UI and sets up the UI - - Parameters: - 0: ARRAY - items - ARRAY - 0 = Text - 1 = statement to execute - 2 = condition before execute - 3 = showDisabled - 4 = priority - 5 = icon - 6 = extra variables. Passed to the code. - 1: Code - select action - 2: Code - Cancel Action - Returns: - Nothing - - Example: -*/ -if (!(profileNamespace getVariable ["AGM_Interaction_FlowMenu", false])) then { - AGM_Interaction_SelectAccept = _this select 1; - AGM_Interaction_SelectCancel = _this select 2; - buttonSetAction [8855, "call AGM_Interaction_SelectCancel;"]; // cancel - buttonSetAction [8860, "(call compile (lbData [8866, lbCurSel 8866])) call AGM_Interaction_SelectAccept;"]; // accept - lbSetCurSel [8866, 0]; -}else{ - _customActions = _this select 0; - _count = count _customActions; - if (_count == 0) exitWith {}; - _customActions call AGM_Interaction_fnc_sortOptionsByPriority; - for "_i" from 0 to _count -1 do { - _action = _customActions select _i; - _action set [1, (_this select 1)]; - }; - AGM_Interaction_Buttons = _customActions; - [(_this select 2), true, true, false, AGM_player] call AGM_Interaction_fnc_initialiseInteraction; -}; diff --git a/TO_MERGE/agm/Interaction/functions/fn_openSubMenu.sqf b/TO_MERGE/agm/Interaction/functions/fn_openSubMenu.sqf deleted file mode 100644 index 7898d9e181..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_openSubMenu.sqf +++ /dev/null @@ -1,3 +0,0 @@ -// by commy2 - -[2, AGM_Interaction_Target, _this select 0] call AGM_Interaction_fnc_showMenu; diff --git a/TO_MERGE/agm/Interaction/functions/fn_openSubMenuSelf.sqf b/TO_MERGE/agm/Interaction/functions/fn_openSubMenuSelf.sqf deleted file mode 100644 index 966684c84f..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_openSubMenuSelf.sqf +++ /dev/null @@ -1,3 +0,0 @@ -// by commy2 - -[3, AGM_player, _this select 0] call AGM_Interaction_fnc_showMenu; diff --git a/TO_MERGE/agm/Interaction/functions/fn_prepareSelectMenu.sqf b/TO_MERGE/agm/Interaction/functions/fn_prepareSelectMenu.sqf deleted file mode 100644 index bb84eaca12..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_prepareSelectMenu.sqf +++ /dev/null @@ -1,35 +0,0 @@ -/* - Name: AGM_Interaction_fnc_prepareSelectMenu - - Author: Garth de Wet (LH) - - Description: - Prepares the select menu for use. - - Parameters: - 0: TEXT - Header text - 1: TEXT - Approve button text - - Returns: - ARRAY/NUMBER - container object for use with AddSelectableItem. - - Example: - ["Select Explosive", "Place"] call AGM_Interaction_fnc_prepareSelectMenu; -*/ -private ["_buttonAction", "_header", "_buttonText", "_cancelButton"]; -closeDialog 0; -if (!(profileNamespace getVariable ["AGM_Interaction_FlowMenu", false])) exitWith { - _header = _this select 0; - _buttonText = _this select 1; - if (isNil "_buttonText" or {_buttonText == ""}) then { - _buttonText = localize "STR_AGM_Interaction_MakeSelection"; - }; - createDialog "RscAGM_SelectAnItem"; - ctrlSetText [8860, _buttonText]; - ctrlSetText [8870, _header]; - - lbClear 8866; - - 8866 -}; -[] diff --git a/TO_MERGE/agm/Interaction/functions/fn_push.sqf b/TO_MERGE/agm/Interaction/functions/fn_push.sqf deleted file mode 100644 index d4ce290d1e..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_push.sqf +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Author: KoffeinFlummi - * - * Pushes a boat away from the player. - * - * Arguments: - * 0: Boat (object) - * 1: Velocity (vectorlike array) - * - * Return Value: - * None - */ - -_boat = _this select 0; -_velocity = _this select 1; - -if !(local _boat) exitWith { - [_this, "AGM_Interaction_fnc_push", _boat] call AGM_Core_fnc_execRemoteFnc; -}; - -_boat setVelocity _velocity; diff --git a/TO_MERGE/agm/Interaction/functions/fn_removeInteraction.sqf b/TO_MERGE/agm/Interaction/functions/fn_removeInteraction.sqf deleted file mode 100644 index b633ce0bc8..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_removeInteraction.sqf +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Author: commy2 - * - * Remove an AGM action from an object. Note: This function is global. - * - * Argument: - * 0: Object (Object) - * 1: ID of the action (Number) - * - * Return value: - * None. - */ - -private ["_object", "_id", "_actionsVar", "_currentID", "_actionIDs", "_actions"]; - -_object = _this select 0; -_id = _this select 1; - -_actionsVar = _object getVariable ["AGM_Interactions", [-1, [], []]]; - -_currentID = _actionsVar select 0; -_actionIDs = _actionsVar select 1; -_actions = _actionsVar select 2; - -_id = _actionIDs find _id; - -if (_id == -1) exitWith {}; - -_actionIDs set [_id, -1]; -_actionIDs = _actionIDs - [-1]; - -_actions set [_id, []]; -_actions = _actions - [[]]; - -_object setVariable ["AGM_Interactions", [_currentID, _actionIDs, _actions], true]; diff --git a/TO_MERGE/agm/Interaction/functions/fn_removeInteractionSelf.sqf b/TO_MERGE/agm/Interaction/functions/fn_removeInteractionSelf.sqf deleted file mode 100644 index 140c6f0502..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_removeInteractionSelf.sqf +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Author: commy2 - * - * Remove an AGM self action from the player. - * - * Argument: - * 0: ID of the action (Number) - * - * Return value: - * None. - */ - - -private ["_id", "_actionsVar", "_currentID", "_actionIDs", "_actions"]; - - -_id = _this select 0; - -_actionsVar = AGM_player getVariable ["AGM_InteractionsSelf", [-1, [], []]]; - -_currentID = _actionsVar select 0; -_actionIDs = _actionsVar select 1; -_actions = _actionsVar select 2; - -_id = _actionIDs find _id; - -if (_id == -1) exitWith {}; - -_actionIDs set [_id, -1]; -_actionIDs = _actionIDs - [-1]; - -_actions set [_id, []]; -_actions = _actions - [[]]; - -AGM_player setVariable ["AGM_InteractionsSelf", [_currentID, _actionIDs, _actions], false]; diff --git a/TO_MERGE/agm/Interaction/functions/fn_removeTag.sqf b/TO_MERGE/agm/Interaction/functions/fn_removeTag.sqf deleted file mode 100644 index 9d37367f1c..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_removeTag.sqf +++ /dev/null @@ -1,19 +0,0 @@ -// by commy2 - -0 spawn { - waitUntil {player getVariable ["AGM_Name", ""] != ""}; - - _name = player getVariable ["AGM_Name", ""]; - _name = toArray _name; - - _index = _name find (toArray "]" select 0); - - if (_index != -1) then { - for "_index" from 0 to _index do { - _name set [_index, -1]; - }; - _name = _name - [-1]; - _name = toString _name; - player setVariable ["AGM_Name", _name, true]; - }; -}; diff --git a/TO_MERGE/agm/Interaction/functions/fn_sendAway.sqf b/TO_MERGE/agm/Interaction/functions/fn_sendAway.sqf deleted file mode 100644 index a4434bbd12..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_sendAway.sqf +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Author: KoffeinFlummi - * - * Sends a civilian crowd away (chance of failure). - * - * Arguments: - * 0: Unit to be sent away (Object) - * - * Return value: - * none -*/ - -#define DISTANCE 50 -#define RADIUS 10 - -private ["_unit", "_chance", "_x"]; - -_unit = _this select 0; - -AGM_player playActionNow "GestureGo"; - -if (count weapons AGM_player > 0) then { - _chance = 0.8; -} else { - _chance = 0.5; -}; - -{ - if (count (weapons _unit) == 0 and random 1 < _chance) then { - [-2, { - (_this select 0) setUnitPos "AUTO"; - (_this select 0) doMove [(getPos (_this select 0) select 0) + DISTANCE * (eyeDirection (_this select 1) select 0), (getPos (_this select 0) select 1) + DISTANCE * (eyeDirection (_this select 1) select 1), 0]; - }, [_x, AGM_player]] call CBA_fnc_globalExecute; - }; -} foreach (_unit nearEntities ["Civilian", RADIUS]); diff --git a/TO_MERGE/agm/Interaction/functions/fn_setCaptivityStatus.sqf b/TO_MERGE/agm/Interaction/functions/fn_setCaptivityStatus.sqf deleted file mode 100644 index 1055780cac..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_setCaptivityStatus.sqf +++ /dev/null @@ -1,3 +0,0 @@ -// by commy2 - -_this call AGM_Core_fnc_setCaptivityStatus; diff --git a/TO_MERGE/agm/Interaction/functions/fn_showMenu.sqf b/TO_MERGE/agm/Interaction/functions/fn_showMenu.sqf deleted file mode 100644 index 291ab27331..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_showMenu.sqf +++ /dev/null @@ -1,118 +0,0 @@ -/* - Name: AGM_Interaction_fnc_showMenu - - Author: - commy2 - Garth de Wet (LH) - aeroson - - Description: - - Parameters: - 0: NUMBER - Menu type (0 - interaction, 1 - self-interaction, 2 - sub-interaction, 3 - sub-self-interaction) - 1: OBJECT - Target object - 2: STRING - Sub-Menu ClassName - - Returns: - Nothing - - Example: - [0, AGM_Interaction_Target] call AGM_Interaction_fnc_showMenu; - [1, player] call AGM_Interaction_fnc_showMenu; - [2, AGM_Interaction_Target, "AGM_Explosives"] call AGM_Interaction_fnc_showMenu; - [3, player, "AGM_Explosives"] call AGM_Interaction_fnc_showMenu; -*/ -private ["_player", "_vehicle", "_mainButtonAction", "_object", "_index", "_actions", "_result", "_menuType"]; -#define DEFAULT_ICON "\AGM_Interaction\UI\dot_ca.paa" -#define DEFAULT_DISTANCE 4 // seems to be 4 -_player = AGM_player; -_vehicle = vehicle _player; - -AGM_Interaction_MenuType = _this select 0; // 0 Interaction, 1 Self Interaction - -_mainButtonAction = [ - {call AGM_Interaction_fnc_hideMenu}, - {call AGM_Interaction_fnc_hideMenu}, - {"Default" call AGM_Interaction_fnc_openMenu}, - {"Default" call AGM_Interaction_fnc_openMenuSelf} -] select AGM_Interaction_MenuType; - -_menuType = AGM_Interaction_MenuType % 2; -uiNamespace setVariable ["AGM_Interaction_CursorPosition", [controlNull, 0.5, 0.5, -1]]; - -AGM_Interaction_Target = _this select 1; -_object = AGM_Interaction_Target; - -if (_menuType == 0 && {(isNull (_object) || {!([_object, 4] call AGM_Interaction_fnc_isInRange)})}) exitWith {};//call ([AGM_Interaction_fnc_onButtonDown, AGM_Interaction_fnc_onButtonDownSelf] select _menuType)}; -if !([_player, _object] call AGM_Core_fnc_canInteractWith) exitWith {}; - -// add actions or self actions of AGM_Interaction_Target -_parents = [configFile >> "CfgVehicles" >> typeOf _object, true] call BIS_fnc_returnParents; -_result = [_object, _parents, [], [], missionConfigFile >> "CfgVehicles", true, ["AGM_Actions", "AGM_SelfActions"] select _menuType, _this select 2] call AGM_Interaction_fnc_GetActions; -_actions = ([_object, _parents, _result select 0, _result select 1,configFile >> "CfgVehicles", false, ["AGM_Actions", "AGM_SelfActions"] select _menuType, _this select 2] call AGM_Interaction_fnc_GetActions) select 0; - -// add self actions of vehicle _player -if (_menuType == 1 && {_player != _vehicle}) then { - _parents = [configFile >> "CfgVehicles" >> typeOf _vehicle, true] call BIS_fnc_returnParents; - _result = [_vehicle, _parents, [], [], missionConfigFile >> "CfgVehicles", true, ["AGM_Actions", "AGM_SelfActions"] select _menuType, _this select 2] call AGM_Interaction_fnc_GetActions; - _actions = _actions + (([_vehicle, _parents, _result select 0, _result select 1,configFile >> "CfgVehicles", false, ["AGM_Actions", "AGM_SelfActions"] select _menuType, _this select 2] call AGM_Interaction_fnc_GetActions) select 0); -}; - -// custom defined actions, stored in variable instead of cfg like above -if (AGM_Interaction_MenuType < 2) then { - - private ["_customActions", "_customAction", "_displayName", "_distance","_condition","_statement","_showDisabled", "_priority"]; - - // add interactions or self interactions of AGM_Interaction_Target - _customActions = (_object getVariable [["AGM_Interactions", "AGM_InteractionsSelf"] select _menuType, [-1, [], []]]) select 2; - - // add self interactions of vehicle _player - if (_menuType == 1 && {_player != _vehicle}) then { - _customActions = _customActions + ((_vehicle getVariable [["AGM_Interactions", "AGM_InteractionsSelf"] select _menuType, [-1, [], []]]) select 2); - }; - - if(_menuType==0) then { - - private ["_distance"]; - - for "_index" from 0 to (count _customActions - 1) do { - - _customAction = _customActions select _index; - _displayName = _customAction select 0; - _distance = _customAction select 1; - _condition = _customAction select 2; - _statement = _customAction select 3; - _showDisabled = _customAction select 4; - _priority = _customAction select 5; - - if ((_showDisabled || {[_object, _player] call _condition}) && {[_object, _distance] call AGM_Interaction_fnc_isInRange || {_distance == 0}}) then { - _actions pushBack [_displayName, _statement, _condition, _priority, [], DEFAULT_ICON, "", {true}, [], _distance, ""]; - }; - }; - - } else { // self interactions do not have distance - - for "_index" from 0 to (count _customActions - 1) do { - - _customAction = _customActions select _index; - _displayName = _customAction select 0; - _condition = _customAction select 1; - _statement = _customAction select 2; - _showDisabled = _customAction select 3; - _priority = _customAction select 4; - - if (_showDisabled || {[_object, _player] call _condition}) then { - _actions pushBack [_displayName, _statement, _condition, _priority, [], DEFAULT_ICON, "", {true}, [], DEFAULT_DISTANCE, ""]; - }; - }; - - }; - - -}; - -if (count _actions == 0) exitWith {};//call ([AGM_Interaction_fnc_onButtonDown, AGM_Interaction_fnc_onButtonDownSelf] select _menuType)}; - -_actions call AGM_Interaction_fnc_sortOptionsByPriority; -AGM_Interaction_Buttons = _actions; -[_mainButtonAction, (_this select 2) != "", (profileNamespace getVariable ["AGM_Interaction_FlowMenu", false]), _menuType == 1, _object] call AGM_Interaction_fnc_initialiseInteraction; diff --git a/TO_MERGE/agm/Interaction/functions/fn_showMouseHint.sqf b/TO_MERGE/agm/Interaction/functions/fn_showMouseHint.sqf deleted file mode 100644 index a856e9d9c6..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_showMouseHint.sqf +++ /dev/null @@ -1,54 +0,0 @@ -/* - Name: AGM_Interaction_fnc_showMouseHint - - Author(s): - Garth de Wet (LH) - - Description: - Shows the interaction helper text with the mouse buttons at the bottom middle of the screen - - Parameters: - 0: STRING - Left click text - 1: STRING - Right click text - 3: STRING - (Optional) Scroll text - - Returns: - Nothing - - Example: - ["Place Explosive", "Cancel"] call AGM_Interaction_fnc_showMouseHint; -*/ -#define GUI_GRID_W (0.025) -#define GUI_GRID_H (0.04) -private ["_leftClick", "_rightClick", "_scroll"]; -_leftClick = _this select 0; -_rightClick = _this select 1; -_scroll = ""; -if (count _this > 2) then { - _scroll = _this select 2; -}; - -("AGM_InteractionHelper" call BIS_fnc_rscLayer) cutRsc ["AGM_InteractionHelper", "PLAIN",0.5, false]; -disableSerialization; -_display = uiNamespace getVariable ["AGM_Helper_Display", objNull]; -if (isNull _display) exitWith{}; - -(_display displayCtrl 1000) ctrlSetText _leftClick; -(_display displayCtrl 1001) ctrlSetText _rightClick; - -(_display displayCtrl 1000) ctrlShow (_leftClick != ""); -(_display displayCtrl 1200) ctrlShow (_leftClick != ""); -(_display displayCtrl 1001) ctrlShow (_rightClick != ""); -(_display displayCtrl 1201) ctrlShow (_rightClick != ""); - -if (_scroll == "") exitWith { - (_display displayCtrl 1002) ctrlShow false; - (_display displayCtrl 1202) ctrlShow false; - - (_display displayCtrl 1001) ctrlSetPosition [21 * GUI_GRID_W, 18 * GUI_GRID_H, 8 * GUI_GRID_W, 1.5 * GUI_GRID_H]; - (_display displayCtrl 1201) ctrlSetPosition [20 * GUI_GRID_W, 18.5 * GUI_GRID_H, 1 * GUI_GRID_W, 1 * GUI_GRID_H]; - (_display displayCtrl 1001) ctrlCommit 0; - (_display displayCtrl 1201) ctrlCommit 0; -}; -(_display displayCtrl 1002) ctrlSetText _scroll; -showHUD false; \ No newline at end of file diff --git a/TO_MERGE/agm/Interaction/functions/fn_sortOptionsByPriority.sqf b/TO_MERGE/agm/Interaction/functions/fn_sortOptionsByPriority.sqf deleted file mode 100644 index dd94cadfe4..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_sortOptionsByPriority.sqf +++ /dev/null @@ -1,20 +0,0 @@ -// by commy2 - -private ["_actions", "_count", "_index", "_actionN", "_actionM"]; - -_actions = _this; -_count = count _actions; -_index = 0; - -while {_index < _count - 1} do { - _actionN = + _actions select _index; - _actionM = + _actions select (_index + 1); - - if (_actionN select 3 < _actionM select 3) then { - _actions set [_index, _actionM]; - _actions set [_index + 1, _actionN]; - _index = 0; - } else { - _index = _index + 1; - }; -}; diff --git a/TO_MERGE/agm/Interaction/functions/fn_tapShoulder.sqf b/TO_MERGE/agm/Interaction/functions/fn_tapShoulder.sqf deleted file mode 100644 index 8d6340143f..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_tapShoulder.sqf +++ /dev/null @@ -1,20 +0,0 @@ -// by commy2 - -private ["_unit", "_message"]; - -_tapper = _this select 0; -_target = _this select 1; - -if (_target != AGM_player) exitWith { - addCamShake [4, 0.5, 5]; - if !(local _target) then { - [[_tapper, _target], "AGM_Interaction_fnc_tapShoulder", _target] call AGM_Core_fnc_execRemoteFnc; - }; -}; - -addCamShake [4, 0.5, 5]; - -//_message = format ["%1 tapped you on your shoulder.", [_unit] call AGM_Core_fnc_getName]; -_message = localize "STR_AGM_Interaction_YouWereTapped"; - -[_message] call AGM_Core_fnc_displayTextStructured; diff --git a/TO_MERGE/agm/Interaction/functions/fn_updateTooltipPosition.sqf b/TO_MERGE/agm/Interaction/functions/fn_updateTooltipPosition.sqf deleted file mode 100644 index 3df14635e0..0000000000 --- a/TO_MERGE/agm/Interaction/functions/fn_updateTooltipPosition.sqf +++ /dev/null @@ -1,12 +0,0 @@ -// by commy2 - -disableSerialization; -_ctrl = ctrlParent (_this select 0) displayCtrl 40; - -_ctrl ctrlSetPosition [ - (_this select 1) + 0.01 * safezoneW, - (_this select 2) + 0.01 * safezoneH, - 2.0 / 16 * safezoneW, - 0.3 / 9 * safezoneH -]; -_ctrl ctrlCommit 0; diff --git a/TO_MERGE/agm/Interaction/rsc/button1.paa b/TO_MERGE/agm/Interaction/rsc/button1.paa deleted file mode 100644 index 51d3a373a18780b4eabfffe2000dc71982936aa0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 24483 zcmeHPe{37qeSdc(#os!`o1OgI;~?BZ9NMA zbyXKTr#sv1^r2@RPA?j=HF?o4mk&MHU9Aa+?OrtO^`Xuni0m#eGJr(i2Ff>EJzjJb z-gy(=x!i06r8k>BUiPY2X7z0zAF>BMK3!+fBk7v5Rl97yjG@VEdiFw?y?lGNTyvo> zs|#6PW33CE6u;1KD83ihpsp7iy8gD|BIEaaZS!UBLjz)tBKBiphj!_7@4L!#%#Ydg zqtzOtW?YMIFegW*0!U(*y`$$xx(qo5-q^?Km-7XQVfT$V2a^F*W?Y9ECKiv!6vjDd z;WV+>fW+u5gSR4uLZKuxzdCNwFp3h7L!VobRHU>r;@?N!3LWAaK{FYe2$f2)F`1bN zaTllZ$wn`GVu1NvMliE(xVx)+AR3LzOjoz%7dXZ^x-B^@u{wLu5R6Bo2W7?(w7i33 zDBn@7krn$t>Tb4j3x&e(8hy;w*681$$prSIDTjmro^8fH=9O0K?G!(bE?e~AS48qP z%cP8t&)B`}n|ubvwx>jR&x=gZDRw{4+XWP>7e%|Ei!mnF4jPRZYb`jV!vYg;&dy{T zeQYYC)gCf7dY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QYK~YXBcLsM44D{C;N$vG%Ek& - - - - - Interaction Menu - Interaktionsmenü - Menú de interacción - Menu interakcji - Menu interakce - Menu d'interaction - Меню взаимодействия - Interakció - Menu de Interação - Menù Interattivo - - - Interaction Menu (Self) - Interaktionsmenü (Selbst) - Menú de interacción (Propia) - Menu interakcji (na siebie) - Menu interakce (vlastní) - Menu d'interaction (Perso) - Меню взаимодействия (с собой) - Interakció (saját) - Menu de Interação (Individual) - Menù Interattivo (Individuale) - - - Open / Close Door - Tür öffnen / schließen - Abrir / Cerrar puerta - Otwórz / Zamknij drzwi - Otevřít / Zavřít dveře - Ouvrir / Fermer Portes - Открыть / Закрыть двери - Ajtó nyitás / zárás - Abrir / Fechar Porta - Apri / Chiudi la porta - - - Lock Door - Tür sperren - Bloquear puerta - Verrouiller Porte - Blocca la porta - Заблокировать дверь - Trancar Porta - Ajtó bezárása - Zablokuj drzwi - Zamknout dveře - - - Unlock Door - Tür entsperren - Desbloquear puerta - Déverrouiller Porte - Sblocca la porta - Разблокировать дверь - Destrancar Porta - Zár kinyitása - Odblokuj drzwi - Odemknout dveře - - - Locked Door - Tür gesperrt - Puerta bloqueada - Porte Verrouillée - Porta bloccata - Дверь заблокирована - Porta Trancada - Zárt ajtó - Zablokowano drzwi - Zamčené dveře - - - Unlocked Door - Tür entsperrt - Puerta desbloqueada - Porte Déverrouillée - Porta sbloccata - Дверь разблокирована - Porta Destrancada - Nyitott ajtó - Odblokowano drzwi - Odemčené dveře - - - Join group - Gruppe beitreten - Unirse al grupo - Dołącz do grupy - Přidat se do skupiny - Rejoindre Groupe - Вступить в группу - Csatlakozás - Unir-se ao grupo - Unisciti alla squadra - - - Leave Group - Gruppe verlassen - Dejar grupo - Opuść grupę - Odejít ze skupiny - Quitter Groupe - Выйти из группы - Csoport elhagyása - Deixar grupo - Lascia la squadra - - - Become Leader - Grp.-führung übern. - Asumir el liderazgo - Przejmij dowodzenie - Stát se velitelem - Devenir Leader - Стать лидером - Vezetés átvétele - Tornar-se Líder - Prendi il comando - - - DANCE! - TANZEN! - BAILAR! - TAŃCZ! - TANČIT! - Danse! - ТАНЦЕВАТЬ! - TÁNC! - DANCE! - Balla! - - - Stop Dancing - Tanzen abbrechen - Dejar de bailar - Przestań tańczyć - Přestat tancovat - Arrêter de danser - Прекратить танцевать - Tánc abbahagyása - Parar de dançar - Smetti di ballare - - - << Back - << Zurück - << Atrás - << Wstecz - << Zpět - << Retour - << Назад - << Vissza - << Voltar - << Indietro - - - Gestures >> - Gesten >> - Gestos >> - Gesty >> - Gesta >> - Signaux >> - Жесты >> - Kézjelek >> - Gestos >> - Segnali gestuali >> - - - Attack - Angreifen - Atacar - Do ataku - Zaútočit - Attaquer - Атаковать - Támadás - Atacar - Attaccare - - - Advance - Vordringen - Avanzar - Naprzód - Postoupit - Avancer - Продвигаться - Előre - Avançar - Avanzare - - - Go - Los - Adelante - Szybko - Jít - Aller - Идти - Mozgás - Mover-se - Muoversi - - - Follow - Folgen - Seguirme - Za mną - Následovat - Suivre - Следовать - Utánam - Seguir - Seguire - - - Point - Zeigen - Señalar - Wskazać - Ukázat - Pointer - Точка - Mutat - Apontar - Puntare a - - - Up - Aufstehen - Arriba - Do góry - Vztyk - Debout - Вверх - Fel - Acima - Alzarsi - - - Cover - Deckung - Cubrirse - Do osłony - Krýt se - A couvert - Укрыться - Fedezékbe - Proteger-se - Copertura - - - Cease Fire - Feuer einstellen - Alto el fuego - Wstrzymać ogień - Zastavit palbu - Halte au feu - Прекратить огонь - Tüzet szüntess - Cessar Fogo - Cessare il Fuoco - - - Freeze - Keine Bewegung - Alto - Stać - Stát - Halte - Замереть - Állj - Alto - Fermi - - - Hi - Hallo - Hola - Witaj - Ahoj - Salut - Привет - Szeva - Olá - Ciao - - - Yes - Ja - Si - Tak - Ano - Oui - Да - Igen - Sim - Si - - - No - Nein - No - Nie - Ne - Non - Нет - Nem - Não - No - - - Put weapon on back - Waffe wegstecken - Arma a la espalda - Umieść broń na plecach - Dát zbraň na záda - Arme à la bretelle - Повесить оружие на спину - Fegyvert hátra - Colocar arma nas costas - Metti l'arma in spalla - - - Tap Shoulder - Auf Schulter klopfen - Tocar el hombro - Klepnij w ramię - Poklepat na rameno - Taper sur l'épaule - Похлопать по плечу - Vállveregetés - Tocar ombro - Dai un colpetto - - - You were tapped on the shoulder. - Dir wurde auf die Schulter geklopft - Te tocaron el hombro. - On te tape sur l'épaule. - Zostałeś klepnięty po ramieniu - Vállonveregettek - Někdo tě poklepal na rameno. - Вас похлопали по плечу - Você foi tocado no ombro. - Ti è stato dato un colpetto sulla spalla - - - Cancel - Abbrechen - Cancelar - Anuluj - Annuler - Zrušit - Annulla - Отменить - Cancelar - Mégse - - - Select - Wählen - Seleccionar - Wybierz - Sélectionner - Zvolit - Seleziona - Выбрать - Selecionar - Kiválaszt - - - Go Away! - Geh Weg! - Aléjate! - Odejdź! - Jděte pryč! - Allez-vous-en! - Уходите отсюда! - Tűnés! - Vá Embora! - Via di qui! - - - Get Down! - Auf Den Boden! - Al suelo! - Padnij! - K zemi! - A terre! - A földre! - Ложись! - Abaixe-se! - A Terra! - - - Team Management >> - Team Management >> - Gestión de equipo >> - Gestion d'équipe >> - Zarządzanie oddziałem >> - Správa týmu >> - Управление группой >> - Gerenciamento de Equipe >> - Organizzazione Squadra >> - Csapat kezelés >> - - - Red - Rot - Rojo - Rouge - Czerwony - Červený - Красный - Vermelha - Rosso - Piros - - - Green - Grün - Verde - Vert - Zielony - Zelený - Зеленый - Verde - Verde - Zöld - - - Blue - Blau - Azul - Bleu - Niebieski - Modrý - Синий - Azul - Blu - Kék - - - Yellow - Gelb - Amarillo - Jaune - Żółty - Žlutý - Желтый - Amarela - Giallo - Sárga - - - Join Team Red - Team Rot beitreten - Unirse al equipo rojo - Rejoindre Rouge - Dołącz do drużyny czerwonej - Připojit do Červeného Týmu - Присоединиться к красной группе - Unir-se à Equipe Vermelha - Entra nella Squadra Rossa - Csatlakozás a piros csapathoz - - - Join Team Green - Team Grün beitreten - Unirse al equipo verde - Rejoindre Verte - Dołącz do drużyny zielonej - Připojit do Zeleného Týmu - Присоединиться к зеленой группе - Unir-se à Equipe Verde - Entra nella Squadra Verde - Csatlakozás a zöld csapathoz - - - Join Team Blue - Team Blau beitreten - Unirse al equipo azul - Rejoindre Bleue - Dołącz do drużyny niebieskiej - Připojit do Modrého Týmu - Присоединиться к синей группе - Unir-se à Equipe Azul - Entra nella Squadra Blu - Csatlakozás a kék csapathoz - - - Join Team Yellow - Team Gelb beitreten - Unirse al equipo amarillo - Rejoindre Jaune - Dołącz do drużyny żółtej - Připojit do Žlutého Týmu - Присоединиться к желтой группе - Unir-se à Equipe Amarela - Entra nella Squadra Gialla - Csatlakozás a sárga csapathoz - - - You joined Team %1 - Du bist Team %1 beigetreten - Te has unido al equipo %1 - Tu as rejoint l'équipe %1 - Dołączyłeś do drużyny %1 - Připojil ses do Týmu %1 - Вы присоединились к группе %1 - Você uniu-se à Equipe %1 - Sei entrato nella Squadra %1 - Csatlakoztál a %1 csapathoz - - - Leave Team - Team verlassen - Dejar equipo - Quitter l'équipe - Opuść drużynę - Opustit tým - Покинуть группу - Deixar Equipe - Lascia la Squadra - Csapat elhagyása - - - You left the Team - Du hast das Team verlassen - Has dejado el equipo - Tu as quitté l'équipe - Opuściłeś drużynę - Opustil si tým - Вы покинули группу - Você deixou a Equipe - Hai lasciato la squadra - Elhagytad a csapatot - - - Pardon - Begnadigen - Perdonar - Przebacz - Pardon - Pardon - Извините - Perdão - Perdona - Megbocsátás - - - Flow Menu - Mausradmenü - Flow Menu - Menú desplegable - Menu Déroulant - Flow Menu - Выпадающее меню - Flow Menu - Menù a Scorrimento - Legördülő menü - - - Scroll - Scrollen - Przewiń - Défilement - Desplazar - Пролистать - Rolar - Scorri - Görgetés - Otáčení - - - Modifier Key - Modifikator - Modyfikator - Modifier la touche - Tecla modificadora - клавиша-модификатор - Tecla Modificadora - Modifica Tasto - Módosító billentyű - Modifikátor - - - Not in Range - Außer Reichweite - Hors de portée. - Fuera de rango - Слишком далеко - Fora do Alcançe - Hatótávolságon kívül - Poza zasięgiem - Mimo dosah - - - Close Menu on Key Release - Menü nach Loslassen schließen - Zamknij menu automatycznie - Fermer le menu en relâchant la touche - Cerrar menú al soltar la tecla - Menü bezárása a billentyű elengedésekor - Закрывать меню при отжатии клавиши - Menu interakce (Na držení) - - - Auto Center Cursor - Mauszeiger automatisch zentrieren - Auto-centrar cursor - Automatycznie centruj kursor - Vycentrování kurzoru - Egér auto-centrírozása - Автоцентрирование курсора - - - Equipment >> - Ausrüstung >> - Equipamiento >> - Équipment >> - Ekwipunek >> - Vybavení >> - Felszerelés >> - Снаряжение >> - - - Push - Schieben - Empujar - Pousser - Pchnij - Odstrčit - Tolás - Толкать - - - Interact - Interagiere - Interakce - Взаимодействовать - Interakcja - Interactuar - - -