diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000000..bdb0cabc87
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,17 @@
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# Custom for Visual Studio
+*.cs diff=csharp
+
+# Standard to msysgit
+*.doc diff=astextplain
+*.DOC diff=astextplain
+*.docx diff=astextplain
+*.DOCX diff=astextplain
+*.dot diff=astextplain
+*.DOT diff=astextplain
+*.pdf diff=astextplain
+*.PDF diff=astextplain
+*.rtf diff=astextplain
+*.RTF diff=astextplain
diff --git a/.gitignore b/.gitignore
index 76f95dcd10..a363b6b9c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,6 @@
-release/*
-*.cache
-*.pbo
-texHeaders.bin
-*.swp
-*.swo
+release/*
+*.cache
+*.pbo
+texHeaders.bin
+*.swp
+*.swo
diff --git a/addons/aircraft/Heli_Attack_01_base_F.hpp b/addons/aircraft/Heli_Attack_01_base_F.hpp
index 7276b3e402..c7e953d378 100644
--- a/addons/aircraft/Heli_Attack_01_base_F.hpp
+++ b/addons/aircraft/Heli_Attack_01_base_F.hpp
@@ -1,979 +1,979 @@
-class Heli_Attack_01_base_F: Helicopter_Base_F {
- lockDetectionSystem = 12;
- incomingMissileDetectionSystem = 16;
- driverCanEject = 1;
-
- class MFD
- {
- class AirplaneHUD
- {
- class Bones{};
- class Draw{};
- 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;
- helmetMountedDisplay = 1;
- helmetPosition[] = {0,0,0};
- helmetRight[] = {0,0,0};
- helmetDown[] = {0,0,0};
- };
- class ACE_HUD_1
- {
- 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 GunnerAim
- {
- type = "vector";
- source = "weapon";
- pos0[] = {0.5,"0.9 - 0.04 + 0.012"};
- pos10[] = {"0.5 + 0.0111","0.9 - 0.04 + 0.012 + 0.0133"};
- };
- class Target
- {
- source = "target";
- type = "vector";
- 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 Velocity_slip
- {
- type = "vector";
- source = "velocity";
- pos0[] = {0.5,0.845};
- pos10[] = {0.53,0.845};
- };
- 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 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_HAD_BOX
- {
- 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-0.04+0.012" },1 },{ { "0.5-0.092","0.9-0.04+0.012" },1 },{ },{ { "0.5+0.1","0.9-0.04+0.012" },1 },{ { "0.5+0.092","0.9-0.04+0.012" },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 Gunner_HAD
- {
- type = "line";
- width = 6;
- points[] = {{ "GunnerAim",{ -0.015,-0.008 },1 },{ "GunnerAim",{ -0.015,0.008 },1 },{ "GunnerAim",{ 0.015,0.008 },1 },{ "GunnerAim",{ 0.015,-0.008 },1 },{ "GunnerAim",{ -0.015,-0.008 },1 }};
- };
- class Slip_ball_group
- {
- class Slip_bars
- {
- type = "line";
- width = 4;
- points[] = {{ { "0.5-0.018","0.9-0.04" },1 },{ { "0.5-0.018","0.9-0.075" },1 },{ },{ { "0.5+0.018","0.9-0.04" },1 },{ { "0.5+0.018","0.9-0.075" },1 }};
- };
- class Slip_ball
- {
- type = "line";
- width = 6;
- points[] = {{ "Velocity_slip",1,{ "0 * 0.75","-0.02 * 0.75" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.75","-0.01732 * 0.75" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.75","-0.0099999998 * 0.75" },1 },{ "Velocity_slip",1,{ "0.02 * 0.75","0 * 0.75" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.75","0.0099999998 * 0.75" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.75","0.01732 * 0.75" },1 },{ "Velocity_slip",1,{ "0 * 0.75","0.02 * 0.75" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.75","0.01732 * 0.75" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.75","0.0099999998 * 0.75" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.75","0 * 0.75" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.75","-0.0099999998 * 0.75" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.75","-0.01732 * 0.75" },1 },{ "Velocity_slip",1,{ "0 * 0.75","-0.02 * 0.75" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.6","-0.02 * 0.6" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.6","-0.01732 * 0.6" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.6","-0.0099999998 * 0.6" },1 },{ "Velocity_slip",1,{ "0.02 * 0.6","0 * 0.6" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.6","0.0099999998 * 0.6" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.6","0.01732 * 0.6" },1 },{ "Velocity_slip",1,{ "0 * 0.6","0.02 * 0.6" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.6","0.01732 * 0.6" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.6","0.0099999998 * 0.6" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.6","0 * 0.6" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.6","-0.0099999998 * 0.6" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.6","-0.01732 * 0.6" },1 },{ "Velocity_slip",1,{ "0 * 0.6","-0.02 * 0.6" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.5","-0.02 * 0.5" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.5","-0.01732 * 0.5" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.5","-0.0099999998 * 0.5" },1 },{ "Velocity_slip",1,{ "0.02 * 0.5","0 * 0.5" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.5","0.0099999998 * 0.5" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.5","0.01732 * 0.5" },1 },{ "Velocity_slip",1,{ "0 * 0.5","0.02 * 0.5" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.5","0.01732 * 0.5" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.5","0.0099999998 * 0.5" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.5","0 * 0.5" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.5","-0.0099999998 * 0.5" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.5","-0.01732 * 0.5" },1 },{ "Velocity_slip",1,{ "0 * 0.5","-0.02 * 0.5" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.4","-0.02 * 0.4" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.4","-0.01732 * 0.4" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.4","-0.0099999998 * 0.4" },1 },{ "Velocity_slip",1,{ "0.02 * 0.4","0 * 0.4" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.4","0.0099999998 * 0.4" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.4","0.01732 * 0.4" },1 },{ "Velocity_slip",1,{ "0 * 0.4","0.02 * 0.4" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.4","0.01732 * 0.4" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.4","0.0099999998 * 0.4" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.4","0 * 0.4" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.4","-0.0099999998 * 0.4" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.4","-0.01732 * 0.4" },1 },{ "Velocity_slip",1,{ "0 * 0.4","-0.02 * 0.4" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.30","-0.02 * 0.30" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.30","-0.01732 * 0.30" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.30","-0.0099999998 * 0.30" },1 },{ "Velocity_slip",1,{ "0.02 * 0.30","0 * 0.30" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.30","0.0099999998 * 0.30" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.30","0.01732 * 0.30" },1 },{ "Velocity_slip",1,{ "0 * 0.30","0.02 * 0.30" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.30","0.01732 * 0.30" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.30","0.0099999998 * 0.30" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.30","0 * 0.30" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.30","-0.0099999998 * 0.30" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.30","-0.01732 * 0.30" },1 },{ "Velocity_slip",1,{ "0 * 0.30","-0.02 * 0.30" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.20","-0.02 * 0.20" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.20","-0.01732 * 0.20" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.20","-0.0099999998 * 0.20" },1 },{ "Velocity_slip",1,{ "0.02 * 0.20","0 * 0.20" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.20","0.0099999998 * 0.20" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.20","0.01732 * 0.20" },1 },{ "Velocity_slip",1,{ "0 * 0.20","0.02 * 0.20" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.20","0.01732 * 0.20" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.20","0.0099999998 * 0.20" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.20","0 * 0.20" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.20","-0.0099999998 * 0.20" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.20","-0.01732 * 0.20" },1 },{ "Velocity_slip",1,{ "0 * 0.20","-0.02 * 0.20" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.1","-0.02 * 0.1" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.1","-0.01732 * 0.1" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.1","-0.0099999998 * 0.1" },1 },{ "Velocity_slip",1,{ "0.02 * 0.1","0 * 0.1" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.1","0.0099999998 * 0.1" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.1","0.01732 * 0.1" },1 },{ "Velocity_slip",1,{ "0 * 0.1","0.02 * 0.1" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.1","0.01732 * 0.1" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.1","0.0099999998 * 0.1" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.1","0 * 0.1" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.1","-0.0099999998 * 0.1" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.1","-0.01732 * 0.1" },1 },{ "Velocity_slip",1,{ "0 * 0.1","-0.02 * 0.1" },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 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 Ammo_GUN
- {
- type = "group";
- condition = "mgun";
- class Ammo_count_GUN
- {
- 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 Ammo_RKT
- {
- type = "group";
- condition = "rocket";
- class Ammo_count_RKT
- {
- 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 Ammo_AGM
- {
- type = "group";
- condition = "AAmissile";
- class Ammo_count_AGM
- {
- 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 Ammo_AAM
- {
- type = "group";
- condition = "ATmissile";
- class Ammo_count_AAM
- {
- 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 Ammo_Bomb
- {
- type = "group";
- condition = "Bomb";
- class Ammo_count_Bomb
- {
- 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
- {
- condition = "simulRTD";
- class Torque_number
- {
- 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: SpeedNumber
- {
- align = "right";
- 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.045 },1};
- right[] = {{ 0.56,0.045 },1};
- down[] = {{ 0.5,"0.045 + 0.06" },1};
- };
- class Center_box
- {
- type = "line";
- width = 1.5;
- points[] = {{ { 0.45,"0.02 + 0.085 - 0.06" },1 },{ { "0.45 + 0.10","0.02 + 0.085 - 0.06" },1 },{ { "0.45 + 0.10","0.02 + 0.085" },1 },{ { 0.45,"0.02 + 0.085" },1 },{ { 0.45,"0.02 + 0.085 - 0.06" },1 }};
- };
- class HeadingArrow
- {
- type = "line";
- width = 7;
- points[] = {{ { "0.5","0.128 + 0.03" },1 },{ { 0.5,0.128 },1 }};
- };
- class HeadingScale_LEFT
- {
- clipTL[] = {0,0};
- clipBR[] = {0.45,1};
- class Heading_group
- {
- 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 HeadingScale_RIGHT
- {
- clipTL[] = {0.55,0};
- clipBR[] = {1,1};
- class Heading_group
- {
- 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 HeadingScale_BOTTOM
- {
- clipTL[] = {0.45,"0.02 + 0.085"};
- clipBR[] = {"0.45 + 0.10",1};
- class Heading_group
- {
- 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.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 ACE_HUD_2
- {
- 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 Gunner_AIM
- {
- type = "group";
- class Circle
- {
- type = "line";
- width = 6;
- points[] = {{ "ForwardVec",1,"WeaponAim",1,{ 0,-0.015 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0,-0.03 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ 0,-0.0325 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0,-0.0475 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ 0,0.015 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0,0.03 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ 0,0.0325 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0,0.0475 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ -0.015,0 },1 },{ "ForwardVec",1,"WeaponAim",1,{ -0.03,0 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ -0.0325,0 },1 },{ "ForwardVec",1,"WeaponAim",1,{ -0.0475,0 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ 0.015,0 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0.03,0 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ 0.0325,0 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0.0475,0 },1 }};
- };
- };
- class GunCross
- {
- condition = "mgun";
- class Circle
- {
- type = "line";
- width = 9;
- 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.1,-0.1 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0.1,-0.1 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0.1,0.1 },1 },{ "ForwardVec",1,"WeaponAim",1,{ -0.1,0.1 },1 },{ "ForwardVec",1,"WeaponAim",1,{ -0.1,-0.1 },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.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 },{ },{ "ForwardVec",1,"target",{ 0,0 },1 },{ "ForwardVec",1,"target",{ 0,0 },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 },{ },{ "ForwardVec",1,"target",{ -0.06,0 },1 },{ "ForwardVec",1,"target",{ -0.055,0 },1 },{ },{ "ForwardVec",1,"target",{ -0.05,0 },1 },{ "ForwardVec",1,"target",{ -0.045,0 },1 },{ },{ "ForwardVec",1,"target",{ -0.04,0 },1 },{ "ForwardVec",1,"target",{ -0.035,0 },1 },{ },{ "ForwardVec",1,"target",{ -0.03,0 },1 },{ "ForwardVec",1,"target",{ -0.025,0 },1 },{ },{ "ForwardVec",1,"target",{ -0.02,0 },1 },{ "ForwardVec",1,"target",{ -0.015,0 },1 },{ },{ "ForwardVec",1,"target",{ -0.01,0 },1 },{ "ForwardVec",1,"target",{ -0.005,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.06,0 },1 },{ "ForwardVec",1,"target",{ 0.055,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.05,0 },1 },{ "ForwardVec",1,"target",{ 0.045,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.04,0 },1 },{ "ForwardVec",1,"target",{ 0.035,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.03,0 },1 },{ "ForwardVec",1,"target",{ 0.025,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.02,0 },1 },{ "ForwardVec",1,"target",{ 0.015,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.01,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};
- };
- };
-
- class Turrets: Turrets {
- class MainTurret: MainTurret {
- weapons[] = {"ACE_gatling_20mm_Comanche","missiles_DAGR","missiles_ASRAAM", "ACE_AIR_SAFETY"};
- magazines[] = {"ACE_500Rnd_20mm_shells_Comanche","4Rnd_AAA_missiles","24Rnd_PG_missiles"};
-
- outGunnerMayFire = 1;
- commanding = -1;
- primaryGunner = 1;
- gunnerOpticsModel = "";
- gunnerOpticsEffect[] = {"TankCommanderOptics1"};
- gunnerForceOptics = 0;
- turretInfoType = "Rsc_ACE_Helo_UI_Turret";
- showAllTargets = 2;
- discretedistance[] = {100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000,2100,2200,2300,2400,2500,2600,2700,2800,2900,3000};
- discretedistanceinitindex = 3;
- copilotHasFlares = 1;
- directionStabilized = 1;
- isCopilot = 1;
- showHMD = 1;
- CanEject = 1;
- startEngine = 0;
- minElev = -51;
- maxElev = 9;
- initElev = 6;
- minTurn = -120;
- maxTurn = 120;
- initTurn = 0;
-
- class OpticsIn
- {
- class Wide
- {
- opticsDisplayName = "W";
- initAngleX = 0;
- minAngleX = -35;
- maxAngleX = 10;
- initAngleY = 0;
- minAngleY = -100;
- maxAngleY = 100;
- initFov = 0.466;
- minFov = 0.466;
- maxFov = 0.466;
- visionMode[] = {"Normal","Ti"};
- thermalMode[] = {0,1};
- gunnerOpticsColor[] = {0,0,0,1};
- directionStabilized = 1;
- horizontallyStabilized = 1;
- gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_wide_F";
- };
- class Medium: Wide
- {
- opticsDisplayName = "M";
- initFov = 0.093;
- minFov = 0.093;
- maxFov = 0.093;
- gunnerOpticsColor[] = {0,0,0,1};
- directionStabilized = 1;
- horizontallyStabilized = 1;
- gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_medium_F";
- };
- class Narrow: Wide
- {
- opticsDisplayName = "N";
- initFov = 0.029;
- minFov = 0.029;
- maxFov = 0.029;
- gunnerOpticsColor[] = {0,0,0,1};
- directionStabilized = 1;
- horizontallyStabilized = 1;
- gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_narrow_F";
-
- };
- class Narrower: Wide
- {
- opticsDisplayName = "Z";
- initFov = 0.01;
- minFov = 0.01;
- maxFov = 0.01;
- gunnerOpticsColor[] = {0,0,0,1};
- directionStabilized = 1;
- horizontallyStabilized = 1;
- gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_narrow_F";
-
- };
- };
- class OpticsOut
- {
- class Monocular
- {
- initAngleX = 0;
- minAngleX = -30;
- maxAngleX = 30;
- initAngleY = 0;
- minAngleY = -100;
- maxAngleY = 100;
- initFov = 1.1;
- minFov = 0.133;
- maxFov = 1.1;
- visionMode[] = {"Normal","NVG"};
- gunnerOpticsModel = "";
- gunnerOpticsEffect[] = {};
- hideUnitInfo = 1;
- };
- };
- };
- };
-
- class AnimationSources: AnimationSources {
- class Gatling {
- weapon = "ACE_gatling_20mm_Comanche";
- };
- class Muzzle_flash {
- weapon = "ACE_gatling_20mm_Comanche";
- };
- };
+class Heli_Attack_01_base_F: Helicopter_Base_F {
+ lockDetectionSystem = 12;
+ incomingMissileDetectionSystem = 16;
+ driverCanEject = 1;
+
+ class MFD
+ {
+ class AirplaneHUD
+ {
+ class Bones{};
+ class Draw{};
+ 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;
+ helmetMountedDisplay = 1;
+ helmetPosition[] = {0,0,0};
+ helmetRight[] = {0,0,0};
+ helmetDown[] = {0,0,0};
+ };
+ class ACE_HUD_1
+ {
+ 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 GunnerAim
+ {
+ type = "vector";
+ source = "weapon";
+ pos0[] = {0.5,"0.9 - 0.04 + 0.012"};
+ pos10[] = {"0.5 + 0.0111","0.9 - 0.04 + 0.012 + 0.0133"};
+ };
+ class Target
+ {
+ source = "target";
+ type = "vector";
+ 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 Velocity_slip
+ {
+ type = "vector";
+ source = "velocity";
+ pos0[] = {0.5,0.845};
+ pos10[] = {0.53,0.845};
+ };
+ 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 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_HAD_BOX
+ {
+ 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-0.04+0.012" },1 },{ { "0.5-0.092","0.9-0.04+0.012" },1 },{ },{ { "0.5+0.1","0.9-0.04+0.012" },1 },{ { "0.5+0.092","0.9-0.04+0.012" },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 Gunner_HAD
+ {
+ type = "line";
+ width = 6;
+ points[] = {{ "GunnerAim",{ -0.015,-0.008 },1 },{ "GunnerAim",{ -0.015,0.008 },1 },{ "GunnerAim",{ 0.015,0.008 },1 },{ "GunnerAim",{ 0.015,-0.008 },1 },{ "GunnerAim",{ -0.015,-0.008 },1 }};
+ };
+ class Slip_ball_group
+ {
+ class Slip_bars
+ {
+ type = "line";
+ width = 4;
+ points[] = {{ { "0.5-0.018","0.9-0.04" },1 },{ { "0.5-0.018","0.9-0.075" },1 },{ },{ { "0.5+0.018","0.9-0.04" },1 },{ { "0.5+0.018","0.9-0.075" },1 }};
+ };
+ class Slip_ball
+ {
+ type = "line";
+ width = 6;
+ points[] = {{ "Velocity_slip",1,{ "0 * 0.75","-0.02 * 0.75" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.75","-0.01732 * 0.75" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.75","-0.0099999998 * 0.75" },1 },{ "Velocity_slip",1,{ "0.02 * 0.75","0 * 0.75" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.75","0.0099999998 * 0.75" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.75","0.01732 * 0.75" },1 },{ "Velocity_slip",1,{ "0 * 0.75","0.02 * 0.75" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.75","0.01732 * 0.75" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.75","0.0099999998 * 0.75" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.75","0 * 0.75" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.75","-0.0099999998 * 0.75" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.75","-0.01732 * 0.75" },1 },{ "Velocity_slip",1,{ "0 * 0.75","-0.02 * 0.75" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.6","-0.02 * 0.6" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.6","-0.01732 * 0.6" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.6","-0.0099999998 * 0.6" },1 },{ "Velocity_slip",1,{ "0.02 * 0.6","0 * 0.6" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.6","0.0099999998 * 0.6" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.6","0.01732 * 0.6" },1 },{ "Velocity_slip",1,{ "0 * 0.6","0.02 * 0.6" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.6","0.01732 * 0.6" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.6","0.0099999998 * 0.6" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.6","0 * 0.6" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.6","-0.0099999998 * 0.6" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.6","-0.01732 * 0.6" },1 },{ "Velocity_slip",1,{ "0 * 0.6","-0.02 * 0.6" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.5","-0.02 * 0.5" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.5","-0.01732 * 0.5" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.5","-0.0099999998 * 0.5" },1 },{ "Velocity_slip",1,{ "0.02 * 0.5","0 * 0.5" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.5","0.0099999998 * 0.5" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.5","0.01732 * 0.5" },1 },{ "Velocity_slip",1,{ "0 * 0.5","0.02 * 0.5" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.5","0.01732 * 0.5" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.5","0.0099999998 * 0.5" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.5","0 * 0.5" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.5","-0.0099999998 * 0.5" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.5","-0.01732 * 0.5" },1 },{ "Velocity_slip",1,{ "0 * 0.5","-0.02 * 0.5" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.4","-0.02 * 0.4" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.4","-0.01732 * 0.4" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.4","-0.0099999998 * 0.4" },1 },{ "Velocity_slip",1,{ "0.02 * 0.4","0 * 0.4" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.4","0.0099999998 * 0.4" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.4","0.01732 * 0.4" },1 },{ "Velocity_slip",1,{ "0 * 0.4","0.02 * 0.4" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.4","0.01732 * 0.4" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.4","0.0099999998 * 0.4" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.4","0 * 0.4" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.4","-0.0099999998 * 0.4" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.4","-0.01732 * 0.4" },1 },{ "Velocity_slip",1,{ "0 * 0.4","-0.02 * 0.4" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.30","-0.02 * 0.30" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.30","-0.01732 * 0.30" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.30","-0.0099999998 * 0.30" },1 },{ "Velocity_slip",1,{ "0.02 * 0.30","0 * 0.30" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.30","0.0099999998 * 0.30" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.30","0.01732 * 0.30" },1 },{ "Velocity_slip",1,{ "0 * 0.30","0.02 * 0.30" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.30","0.01732 * 0.30" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.30","0.0099999998 * 0.30" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.30","0 * 0.30" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.30","-0.0099999998 * 0.30" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.30","-0.01732 * 0.30" },1 },{ "Velocity_slip",1,{ "0 * 0.30","-0.02 * 0.30" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.20","-0.02 * 0.20" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.20","-0.01732 * 0.20" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.20","-0.0099999998 * 0.20" },1 },{ "Velocity_slip",1,{ "0.02 * 0.20","0 * 0.20" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.20","0.0099999998 * 0.20" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.20","0.01732 * 0.20" },1 },{ "Velocity_slip",1,{ "0 * 0.20","0.02 * 0.20" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.20","0.01732 * 0.20" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.20","0.0099999998 * 0.20" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.20","0 * 0.20" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.20","-0.0099999998 * 0.20" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.20","-0.01732 * 0.20" },1 },{ "Velocity_slip",1,{ "0 * 0.20","-0.02 * 0.20" },1 },{ },{ "Velocity_slip",1,{ "0 * 0.1","-0.02 * 0.1" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.1","-0.01732 * 0.1" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.1","-0.0099999998 * 0.1" },1 },{ "Velocity_slip",1,{ "0.02 * 0.1","0 * 0.1" },1 },{ "Velocity_slip",1,{ "0.01732 * 0.1","0.0099999998 * 0.1" },1 },{ "Velocity_slip",1,{ "0.0099999998 * 0.1","0.01732 * 0.1" },1 },{ "Velocity_slip",1,{ "0 * 0.1","0.02 * 0.1" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.1","0.01732 * 0.1" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.1","0.0099999998 * 0.1" },1 },{ "Velocity_slip",1,{ "-0.02 * 0.1","0 * 0.1" },1 },{ "Velocity_slip",1,{ "-0.01732 * 0.1","-0.0099999998 * 0.1" },1 },{ "Velocity_slip",1,{ "-0.0099999998 * 0.1","-0.01732 * 0.1" },1 },{ "Velocity_slip",1,{ "0 * 0.1","-0.02 * 0.1" },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 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 Ammo_GUN
+ {
+ type = "group";
+ condition = "mgun";
+ class Ammo_count_GUN
+ {
+ 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 Ammo_RKT
+ {
+ type = "group";
+ condition = "rocket";
+ class Ammo_count_RKT
+ {
+ 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 Ammo_AGM
+ {
+ type = "group";
+ condition = "AAmissile";
+ class Ammo_count_AGM
+ {
+ 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 Ammo_AAM
+ {
+ type = "group";
+ condition = "ATmissile";
+ class Ammo_count_AAM
+ {
+ 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 Ammo_Bomb
+ {
+ type = "group";
+ condition = "Bomb";
+ class Ammo_count_Bomb
+ {
+ 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
+ {
+ condition = "simulRTD";
+ class Torque_number
+ {
+ 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: SpeedNumber
+ {
+ align = "right";
+ 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.045 },1};
+ right[] = {{ 0.56,0.045 },1};
+ down[] = {{ 0.5,"0.045 + 0.06" },1};
+ };
+ class Center_box
+ {
+ type = "line";
+ width = 1.5;
+ points[] = {{ { 0.45,"0.02 + 0.085 - 0.06" },1 },{ { "0.45 + 0.10","0.02 + 0.085 - 0.06" },1 },{ { "0.45 + 0.10","0.02 + 0.085" },1 },{ { 0.45,"0.02 + 0.085" },1 },{ { 0.45,"0.02 + 0.085 - 0.06" },1 }};
+ };
+ class HeadingArrow
+ {
+ type = "line";
+ width = 7;
+ points[] = {{ { "0.5","0.128 + 0.03" },1 },{ { 0.5,0.128 },1 }};
+ };
+ class HeadingScale_LEFT
+ {
+ clipTL[] = {0,0};
+ clipBR[] = {0.45,1};
+ class Heading_group
+ {
+ 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 HeadingScale_RIGHT
+ {
+ clipTL[] = {0.55,0};
+ clipBR[] = {1,1};
+ class Heading_group
+ {
+ 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 HeadingScale_BOTTOM
+ {
+ clipTL[] = {0.45,"0.02 + 0.085"};
+ clipBR[] = {"0.45 + 0.10",1};
+ class Heading_group
+ {
+ 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.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 ACE_HUD_2
+ {
+ 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 Gunner_AIM
+ {
+ type = "group";
+ class Circle
+ {
+ type = "line";
+ width = 6;
+ points[] = {{ "ForwardVec",1,"WeaponAim",1,{ 0,-0.015 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0,-0.03 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ 0,-0.0325 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0,-0.0475 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ 0,0.015 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0,0.03 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ 0,0.0325 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0,0.0475 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ -0.015,0 },1 },{ "ForwardVec",1,"WeaponAim",1,{ -0.03,0 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ -0.0325,0 },1 },{ "ForwardVec",1,"WeaponAim",1,{ -0.0475,0 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ 0.015,0 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0.03,0 },1 },{ },{ "ForwardVec",1,"WeaponAim",1,{ 0.0325,0 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0.0475,0 },1 }};
+ };
+ };
+ class GunCross
+ {
+ condition = "mgun";
+ class Circle
+ {
+ type = "line";
+ width = 9;
+ 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.1,-0.1 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0.1,-0.1 },1 },{ "ForwardVec",1,"WeaponAim",1,{ 0.1,0.1 },1 },{ "ForwardVec",1,"WeaponAim",1,{ -0.1,0.1 },1 },{ "ForwardVec",1,"WeaponAim",1,{ -0.1,-0.1 },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.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 },{ },{ "ForwardVec",1,"target",{ 0,0 },1 },{ "ForwardVec",1,"target",{ 0,0 },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 },{ },{ "ForwardVec",1,"target",{ -0.06,0 },1 },{ "ForwardVec",1,"target",{ -0.055,0 },1 },{ },{ "ForwardVec",1,"target",{ -0.05,0 },1 },{ "ForwardVec",1,"target",{ -0.045,0 },1 },{ },{ "ForwardVec",1,"target",{ -0.04,0 },1 },{ "ForwardVec",1,"target",{ -0.035,0 },1 },{ },{ "ForwardVec",1,"target",{ -0.03,0 },1 },{ "ForwardVec",1,"target",{ -0.025,0 },1 },{ },{ "ForwardVec",1,"target",{ -0.02,0 },1 },{ "ForwardVec",1,"target",{ -0.015,0 },1 },{ },{ "ForwardVec",1,"target",{ -0.01,0 },1 },{ "ForwardVec",1,"target",{ -0.005,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.06,0 },1 },{ "ForwardVec",1,"target",{ 0.055,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.05,0 },1 },{ "ForwardVec",1,"target",{ 0.045,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.04,0 },1 },{ "ForwardVec",1,"target",{ 0.035,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.03,0 },1 },{ "ForwardVec",1,"target",{ 0.025,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.02,0 },1 },{ "ForwardVec",1,"target",{ 0.015,0 },1 },{ },{ "ForwardVec",1,"target",{ 0.01,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};
+ };
+ };
+
+ class Turrets: Turrets {
+ class MainTurret: MainTurret {
+ weapons[] = {"ACE_gatling_20mm_Comanche","missiles_DAGR","missiles_ASRAAM", "ACE_AIR_SAFETY"};
+ magazines[] = {"ACE_500Rnd_20mm_shells_Comanche","4Rnd_AAA_missiles","24Rnd_PG_missiles"};
+
+ outGunnerMayFire = 1;
+ commanding = -1;
+ primaryGunner = 1;
+ gunnerOpticsModel = "";
+ gunnerOpticsEffect[] = {"TankCommanderOptics1"};
+ gunnerForceOptics = 0;
+ turretInfoType = "Rsc_ACE_Helo_UI_Turret";
+ showAllTargets = 2;
+ discretedistance[] = {100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000,2100,2200,2300,2400,2500,2600,2700,2800,2900,3000};
+ discretedistanceinitindex = 3;
+ copilotHasFlares = 1;
+ directionStabilized = 1;
+ isCopilot = 1;
+ showHMD = 1;
+ CanEject = 1;
+ startEngine = 0;
+ minElev = -51;
+ maxElev = 9;
+ initElev = 6;
+ minTurn = -120;
+ maxTurn = 120;
+ initTurn = 0;
+
+ class OpticsIn
+ {
+ class Wide
+ {
+ opticsDisplayName = "W";
+ initAngleX = 0;
+ minAngleX = -35;
+ maxAngleX = 10;
+ initAngleY = 0;
+ minAngleY = -100;
+ maxAngleY = 100;
+ initFov = 0.466;
+ minFov = 0.466;
+ maxFov = 0.466;
+ visionMode[] = {"Normal","Ti"};
+ thermalMode[] = {0,1};
+ gunnerOpticsColor[] = {0,0,0,1};
+ directionStabilized = 1;
+ horizontallyStabilized = 1;
+ gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_wide_F";
+ };
+ class Medium: Wide
+ {
+ opticsDisplayName = "M";
+ initFov = 0.093;
+ minFov = 0.093;
+ maxFov = 0.093;
+ gunnerOpticsColor[] = {0,0,0,1};
+ directionStabilized = 1;
+ horizontallyStabilized = 1;
+ gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_medium_F";
+ };
+ class Narrow: Wide
+ {
+ opticsDisplayName = "N";
+ initFov = 0.029;
+ minFov = 0.029;
+ maxFov = 0.029;
+ gunnerOpticsColor[] = {0,0,0,1};
+ directionStabilized = 1;
+ horizontallyStabilized = 1;
+ gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_narrow_F";
+
+ };
+ class Narrower: Wide
+ {
+ opticsDisplayName = "Z";
+ initFov = 0.01;
+ minFov = 0.01;
+ maxFov = 0.01;
+ gunnerOpticsColor[] = {0,0,0,1};
+ directionStabilized = 1;
+ horizontallyStabilized = 1;
+ gunnerOpticsModel = "\A3\Weapons_F_Beta\Reticle\Heli_Attack_01_Optics_Gunner_narrow_F";
+
+ };
+ };
+ class OpticsOut
+ {
+ class Monocular
+ {
+ initAngleX = 0;
+ minAngleX = -30;
+ maxAngleX = 30;
+ initAngleY = 0;
+ minAngleY = -100;
+ maxAngleY = 100;
+ initFov = 1.1;
+ minFov = 0.133;
+ maxFov = 1.1;
+ visionMode[] = {"Normal","NVG"};
+ gunnerOpticsModel = "";
+ gunnerOpticsEffect[] = {};
+ hideUnitInfo = 1;
+ };
+ };
+ };
+ };
+
+ class AnimationSources: AnimationSources {
+ class Gatling {
+ weapon = "ACE_gatling_20mm_Comanche";
+ };
+ class Muzzle_flash {
+ weapon = "ACE_gatling_20mm_Comanche";
+ };
+ };
};
\ No newline at end of file
diff --git a/addons/aircraft/RscInGameUI.hpp b/addons/aircraft/RscInGameUI.hpp
index 620d895d9e..83d46b5a03 100644
--- a/addons/aircraft/RscInGameUI.hpp
+++ b/addons/aircraft/RscInGameUI.hpp
@@ -1,581 +1,581 @@
-class RscControlsGroup;
-class RscText;
-class RangeText: RscText{};
-class RscPicture;
-class RscOpticsText;
-class RscIGProgress;
-class RscOpticsValue;
-class VScrollbar;
-class HScrollbar;
-class RscLadderPicture;
-class RscControlsGroupNoScrollbars;
-
-
-class RscInGameUI
-{
- class RscUnitInfo;
- class Rsc_ACE_Helo_UI_Turret: RscUnitInfo
- {
- idd = 300;
- controls[] = {"CA_IGUI_elements_group","CA_VehicleToggles"};
- class VScrollbar;
- class HScrollbar;
- class CA_IGUI_elements_group: RscControlsGroup
- {
- idc = 170;
- class VScrollbar: VScrollbar
- {
- width = 0;
- };
- class HScrollbar: HScrollbar
- {
- height = 0;
- };
- x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
- y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
- w = "53.5 * (0.01875 * SafezoneH)";
- h = "40 * (0.025 * SafezoneH)";
- class controls
- {
- class CA_Distance: RscText
- {
- idc = 151;
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- x = "24.78 * (0.01875 * SafezoneH)";
- y = "30.88 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class CA_Speed: RangeText
- {
- idc = 188;
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- text = "120";
- x = "14.78 * (0.01875 * SafezoneH)";
- y = "30.88 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class CA_Alt: RangeText
- {
- idc = 189;
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- text = "3825";
- x = "34.78 * (0.01875 * SafezoneH)";
- y = "30.88 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class CA_VisionMode: RscText
- {
- idc = 152;
- style = 0;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- text = "VIS";
- x = "12.58 * (0.01875 * SafezoneH)";
- y = "8 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class CA_FlirMode: RscText
- {
- idc = 153;
- style = 0;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- text = "BHOT";
- x = "15.78 * (0.01875 * SafezoneH)";
- y = "8 * (0.025 * SafezoneH)";
- w = "4.5 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class ValueGrid: RangeText
- {
- idc = 172;
- font = "EtelkaMonospacePro";
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- x = "12.20 * (0.01875 * SafezoneH)";
- y = "3.5 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class TextTADS: RangeText
- {
- idc = 1010;
- text = "TADS";
- font = "EtelkaMonospacePro";
- style = 2;
- shadow = 0;
- x = "12.30 * (0.01875 * SafezoneH)";
- y = "5 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class ValueTime: RangeText
- {
- idc = 190;
- text = "20:28:35";
- font = "EtelkaMonospacePro";
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- x = "12.1 * (0.01875 * SafezoneH)";
- y = "6.5 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class CA_Laser: RscText
- {
- idc = 158;
- style = "0x30 + 0x800";
- sizeEx = "0.038*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- text = PATHTOF(data\Helo_LaserON.paa);
- x = "20.45 * (0.01875 * SafezoneH)";
- y = "14.1 * (0.025 * SafezoneH)";
- w = "12.5 * (0.01875 * SafezoneH)";
- h = "12 * (0.025 * SafezoneH)";
- };
- class CA_Heading: RscText
- {
- idc = 156;
- style = 0;
- sizeEx = "0.038*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- text = "023";
- x = "24.83 * (0.01875 * SafezoneH)";
- y = "6 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- };
- };
- };
- class Rsc_ACE_Helo_UI_01: RscUnitInfo
- {
- controls[] = {"WeaponInfoControlsGroupRight","CA_TextFlaresMode","CA_TextFlares","CA_VehicleToggles","CA_Radar"};
- };
- class Rsc_ACE_Helo_UI_02: RscUnitInfo
- {
- controls[] = {"CA_TextFlaresMode","CA_TextFlares","CA_VehicleToggles","CA_Radar"};
- };
- class Rsc_ACE_Drones_UI_Turret: RscUnitInfo
- {
- idd = 300;
- controls[] = {"CA_Zeroing","CA_IGUI_elements_group","CA_VehicleToggles"};
- class CA_IGUI_elements_group: RscControlsGroup
- {
- idc = 170;
- class VScrollbar: VScrollbar
- {
- width = 0;
- };
- class HScrollbar: HScrollbar
- {
- height = 0;
- };
- x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
- y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
- w = "53.5 * (0.01875 * SafezoneH)";
- h = "40 * (0.025 * SafezoneH)";
- class controls
- {
- class CA_Distance: RscText
- {
- idc = 151;
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- x = "24.78 * (0.01875 * SafezoneH)";
- y = "30.88 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class CA_Speed: RangeText
- {
- idc = 188;
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- text = "120";
- x = "14.78 * (0.01875 * SafezoneH)";
- y = "30.88 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class CA_Alt: RangeText
- {
- idc = 189;
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- text = "3825";
- x = "34.78 * (0.01875 * SafezoneH)";
- y = "30.88 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class ValueTime: RangeText
- {
- idc = 190;
- text = "20:28:35";
- font = "EtelkaMonospacePro";
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- x = "1.75 * (0.01875 * SafezoneH)";
- y = "10.5 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class CA_VisionMode: RscText
- {
- idc = 152;
- style = 0;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- text = "VIS";
- align = "right";
- x = "2.6 * (0.01875 * SafezoneH)";
- y = "12.0 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "1.0 * (0.025 * SafezoneH)";
- };
- class CA_FlirMode: RscText
- {
- idc = 153;
- style = 0;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- text = "BHOT";
- align = "right";
- x = "6.18 * (0.01875 * SafezoneH)";
- y = "12.0 * (0.025 * SafezoneH)";
- w = "4.5 * (0.01875 * SafezoneH)";
- h = "1.0 * (0.025 * SafezoneH)";
- };
- class TgT_Grid_text: RangeText
- {
- idc = 1005;
- text = "TGT:";
- font = "EtelkaMonospacePro";
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- x = "1.20 * (0.01875 * SafezoneH)";
- y = "13.5 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class TGT_ValueGrid: RangeText
- {
- idc = 172;
- font = "EtelkaMonospacePro";
- colorText[] = {0.706,0.0745,0.0196,0.8};
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- x = "5.20 * (0.01875 * SafezoneH)";
- y = "13.5 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class OWN_Grid_text: RangeText
- {
- idc = 1005;
- text = "OWN:";
- font = "EtelkaMonospacePro";
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- x = "1.20 * (0.01875 * SafezoneH)";
- y = "15 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class OWN_ValueGrid: RangeText
- {
- idc = 171;
- font = "EtelkaMonospacePro";
- colorText[] = {0.15,1,0.15,0.8};
- style = 2;
- sizeEx = "0.0295*SafezoneH";
- shadow = 0;
- x = "5.20 * (0.01875 * SafezoneH)";
- y = "15 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class CA_Laser: RscText
- {
- idc = 158;
- style = "0x30 + 0x800";
- sizeEx = "0.038*SafezoneH";
- shadow = 0;
- align = "right";
- font = "EtelkaMonospacePro";
- text = PATHTOF(data\Helo_LaserON.paa);
- x = "20.45 * (0.01875 * SafezoneH)";
- y = "14.1 * (0.025 * SafezoneH)";
- w = "12.5 * (0.01875 * SafezoneH)";
- h = "12 * (0.025 * SafezoneH)";
- };
- class CA_Heading: RscText
- {
- idc = 156;
- style = 0;
- sizeEx = "0.038*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- text = "023";
- align = "right";
- x = "25 * (0.01875 * SafezoneH)";
- y = "5 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- };
- };
- };
- class Rsc_ACE_Drones_UI_Pilots: RscUnitInfo
- {
- idd = 300;
- controls[] = {"WeaponInfoControlsGroupRight","CA_BackgroundVehicle","CA_BackgroundVehicleTitle","CA_BackgroundVehicleTitleDark","CA_BackgroundFuel","CA_Vehicle","CA_VehicleRole","CA_HitZones","CA_SpeedBackground","CA_SpeedUnits","CA_Speed","CA_ValueFuel","CA_AltBackground","CA_AltUnits","CA_Alt","CA_VehicleToggles","CA_Radar","DriverOpticsGroup"};
- class DriverOpticsGroup: RscControlsGroup
- {
- idc = 392;
- class VScrollbar: VScrollbar
- {
- width = 0;
- };
- class HScrollbar: HScrollbar
- {
- height = 0;
- };
- x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
- y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
- w = "53.5 * (0.01875 * SafezoneH)";
- h = "40 * (0.025 * SafezoneH)";
- class controls
- {
- class TextGrid: RscText
- {
- style = 0;
- sizeEx = "0.02*SafezoneH";
- shadow = 0;
- font = "EtelkaMonospacePro";
- idc = 1005;
- text = "GRID:";
- x = "5.8 * (0.01875 * SafezoneH)";
- y = "31.8 * (0.025 * SafezoneH)";
- w = "5 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class ValueGrid: TextGrid
- {
- idc = 189;
- text = "382546";
- x = "10.3 * (0.01875 * SafezoneH)";
- y = "31.8 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class TextTime: TextGrid
- {
- idc = 1010;
- text = "TIME [UTC]:";
- x = "5.8 * (0.01875 * SafezoneH)";
- y = "32.6 * (0.025 * SafezoneH)";
- w = "5 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class ValueTime: TextGrid
- {
- idc = 101;
- text = "20:28:35";
- x = "10 * (0.01875 * SafezoneH)";
- y = "32.6 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class TextMag: TextGrid
- {
- idc = 1011;
- text = "CAM MAG:";
- x = "5.8 * (0.01875 * SafezoneH)";
- y = "7 * (0.025 * SafezoneH)";
- w = "5 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class OpticsZoom: TextGrid
- {
- idc = 192;
- text = "28x";
- x = "10.3 * (0.01875 * SafezoneH)";
- y = "7 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class BorderLineSpdTop: RscPicture
- {
- idc = 1203;
- text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\border_line_ca.paa";
- x = "3.343 * (0.01875 * SafezoneH)";
- y = "12.4 * (0.025 * SafezoneH)";
- w = "3 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class BorderLineSpdBottom: RscPicture
- {
- idc = 1207;
- text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\border_line_ca.paa";
- x = "3.343 * (0.01875 * SafezoneH)";
- y = "26.5 * (0.025 * SafezoneH)";
- w = "3 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class BorderLineAltTop: RscPicture
- {
- idc = 1205;
- text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\border_line_ca.paa";
- x = "47.16 * (0.01875 * SafezoneH)";
- y = "12.4 * (0.025 * SafezoneH)";
- w = "3 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class BorderLineAltBottom: RscPicture
- {
- idc = 1206;
- text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\border_line_ca.paa";
- x = "47.16 * (0.01875 * SafezoneH)";
- y = "26.5 * (0.025 * SafezoneH)";
- w = "3 * (0.01875 * SafezoneH)";
- h = "1 * (0.025 * SafezoneH)";
- };
- class TextSpd: TextGrid
- {
- idc = 1004;
- text = "SPD";
- x = "4.8 * (0.01875 * SafezoneH)";
- y = "11.8 * (0.025 * SafezoneH)";
- w = "5 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class SpeedValueBorder: RscPicture
- {
- idc = 1200;
- text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\altimeter_value_ca.paa";
- x = "6.3 * (0.01875 * SafezoneH)";
- y = "19 * (0.025 * SafezoneH)";
- w = "5 * (0.01875 * SafezoneH)";
- h = "2 * (0.025 * SafezoneH)";
- };
- class CA_Speed: TextGrid
- {
- idc = 190;
- sizeEx = "0.03*SafezoneH";
- text = "120";
- x = "7.5 * (0.01875 * SafezoneH)";
- y = "19.5 * (0.025 * SafezoneH)";
- w = "6 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class AnalogueSpeed: RscLadderPicture
- {
- idc = 384;
- topValue = 1312;
- bottomValue = -345;
- visibleRange = -1;
- text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\UAVspeedLadder_ca.paa";
- x = "1.5 * (0.01875 * SafezoneH)";
- y = "13 * (0.025 * SafezoneH)";
- w = "5 * (0.01875 * SafezoneH)";
- h = "14 * (0.025 * SafezoneH)";
- };
- class TextAlt: TextGrid
- {
- idc = 1006;
- text = "ALT";
- x = "46.9 * (0.01875 * SafezoneH)";
- y = "11.8 * (0.025 * SafezoneH)";
- w = "5 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class AltValueBorder: RscPicture
- {
- idc = 1201;
- text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\airspeed_value_ca.paa";
- x = "42.25 * (0.01875 * SafezoneH)";
- y = "19 * (0.025 * SafezoneH)";
- w = "5 * (0.01875 * SafezoneH)";
- h = "2 * (0.025 * SafezoneH)";
- };
- class CA_Alt: TextGrid
- {
- idc = 191;
- sizeEx = "0.03*SafezoneH";
- style = 1;
- text = "3825";
- x = "43 * (0.01875 * SafezoneH)";
- y = "19.5 * (0.025 * SafezoneH)";
- w = "3.2 * (0.01875 * SafezoneH)";
- h = "1.2 * (0.025 * SafezoneH)";
- };
- class AnalogueAlt: RscLadderPicture
- {
- idc = 385;
- topValue = 14430;
- bottomValue = -2110;
- visibleRange = -1;
- text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\UAValtLadder_ca.paa";
- x = "47 * (0.01875 * SafezoneH)";
- y = "13 * (0.025 * SafezoneH)";
- w = "2.5 * (0.01875 * SafezoneH)";
- h = "14 * (0.025 * SafezoneH)";
- };
- class AnalogueHorizon: RscLadderPicture
- {
- idc = 383;
- topValue = 90;
- bottomValue = -90;
- visibleRange = -1;
- text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\horizon_ladder_ca.paa";
- x = "16.75 * (0.01875 * SafezoneH)";
- y = "5 * (0.025 * SafezoneH)";
- w = "20 * (0.01875 * SafezoneH)";
- h = "30 * (0.025 * SafezoneH)";
- };
- class HorizonCenter: RscPicture
- {
- idc = 1202;
- text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\horizon_aircraft_ca.paa";
- x = "24.75 * (0.01875 * SafezoneH)";
- y = "19 * (0.025 * SafezoneH)";
- w = "4 * (0.01875 * SafezoneH)";
- h = "2 * (0.025 * SafezoneH)";
- };
- };
- };
- };
+class RscControlsGroup;
+class RscText;
+class RangeText: RscText{};
+class RscPicture;
+class RscOpticsText;
+class RscIGProgress;
+class RscOpticsValue;
+class VScrollbar;
+class HScrollbar;
+class RscLadderPicture;
+class RscControlsGroupNoScrollbars;
+
+
+class RscInGameUI
+{
+ class RscUnitInfo;
+ class Rsc_ACE_Helo_UI_Turret: RscUnitInfo
+ {
+ idd = 300;
+ controls[] = {"CA_IGUI_elements_group","CA_VehicleToggles"};
+ class VScrollbar;
+ class HScrollbar;
+ class CA_IGUI_elements_group: RscControlsGroup
+ {
+ idc = 170;
+ class VScrollbar: VScrollbar
+ {
+ width = 0;
+ };
+ class HScrollbar: HScrollbar
+ {
+ height = 0;
+ };
+ x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
+ y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
+ w = "53.5 * (0.01875 * SafezoneH)";
+ h = "40 * (0.025 * SafezoneH)";
+ class controls
+ {
+ class CA_Distance: RscText
+ {
+ idc = 151;
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ x = "24.78 * (0.01875 * SafezoneH)";
+ y = "30.88 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class CA_Speed: RangeText
+ {
+ idc = 188;
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ text = "120";
+ x = "14.78 * (0.01875 * SafezoneH)";
+ y = "30.88 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class CA_Alt: RangeText
+ {
+ idc = 189;
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ text = "3825";
+ x = "34.78 * (0.01875 * SafezoneH)";
+ y = "30.88 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class CA_VisionMode: RscText
+ {
+ idc = 152;
+ style = 0;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ text = "VIS";
+ x = "12.58 * (0.01875 * SafezoneH)";
+ y = "8 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class CA_FlirMode: RscText
+ {
+ idc = 153;
+ style = 0;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ text = "BHOT";
+ x = "15.78 * (0.01875 * SafezoneH)";
+ y = "8 * (0.025 * SafezoneH)";
+ w = "4.5 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class ValueGrid: RangeText
+ {
+ idc = 172;
+ font = "EtelkaMonospacePro";
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ x = "12.20 * (0.01875 * SafezoneH)";
+ y = "3.5 * (0.025 * SafezoneH)";
+ w = "6 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class TextTADS: RangeText
+ {
+ idc = 1010;
+ text = "TADS";
+ font = "EtelkaMonospacePro";
+ style = 2;
+ shadow = 0;
+ x = "12.30 * (0.01875 * SafezoneH)";
+ y = "5 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class ValueTime: RangeText
+ {
+ idc = 190;
+ text = "20:28:35";
+ font = "EtelkaMonospacePro";
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ x = "12.1 * (0.01875 * SafezoneH)";
+ y = "6.5 * (0.025 * SafezoneH)";
+ w = "6 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class CA_Laser: RscText
+ {
+ idc = 158;
+ style = "0x30 + 0x800";
+ sizeEx = "0.038*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ text = PATHTOF(data\Helo_LaserON.paa);
+ x = "20.45 * (0.01875 * SafezoneH)";
+ y = "14.1 * (0.025 * SafezoneH)";
+ w = "12.5 * (0.01875 * SafezoneH)";
+ h = "12 * (0.025 * SafezoneH)";
+ };
+ class CA_Heading: RscText
+ {
+ idc = 156;
+ style = 0;
+ sizeEx = "0.038*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ text = "023";
+ x = "24.83 * (0.01875 * SafezoneH)";
+ y = "6 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ };
+ };
+ };
+ class Rsc_ACE_Helo_UI_01: RscUnitInfo
+ {
+ controls[] = {"WeaponInfoControlsGroupRight","CA_TextFlaresMode","CA_TextFlares","CA_VehicleToggles","CA_Radar"};
+ };
+ class Rsc_ACE_Helo_UI_02: RscUnitInfo
+ {
+ controls[] = {"CA_TextFlaresMode","CA_TextFlares","CA_VehicleToggles","CA_Radar"};
+ };
+ class Rsc_ACE_Drones_UI_Turret: RscUnitInfo
+ {
+ idd = 300;
+ controls[] = {"CA_Zeroing","CA_IGUI_elements_group","CA_VehicleToggles"};
+ class CA_IGUI_elements_group: RscControlsGroup
+ {
+ idc = 170;
+ class VScrollbar: VScrollbar
+ {
+ width = 0;
+ };
+ class HScrollbar: HScrollbar
+ {
+ height = 0;
+ };
+ x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
+ y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
+ w = "53.5 * (0.01875 * SafezoneH)";
+ h = "40 * (0.025 * SafezoneH)";
+ class controls
+ {
+ class CA_Distance: RscText
+ {
+ idc = 151;
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ x = "24.78 * (0.01875 * SafezoneH)";
+ y = "30.88 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class CA_Speed: RangeText
+ {
+ idc = 188;
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ text = "120";
+ x = "14.78 * (0.01875 * SafezoneH)";
+ y = "30.88 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class CA_Alt: RangeText
+ {
+ idc = 189;
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ text = "3825";
+ x = "34.78 * (0.01875 * SafezoneH)";
+ y = "30.88 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class ValueTime: RangeText
+ {
+ idc = 190;
+ text = "20:28:35";
+ font = "EtelkaMonospacePro";
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ x = "1.75 * (0.01875 * SafezoneH)";
+ y = "10.5 * (0.025 * SafezoneH)";
+ w = "6 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class CA_VisionMode: RscText
+ {
+ idc = 152;
+ style = 0;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ text = "VIS";
+ align = "right";
+ x = "2.6 * (0.01875 * SafezoneH)";
+ y = "12.0 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "1.0 * (0.025 * SafezoneH)";
+ };
+ class CA_FlirMode: RscText
+ {
+ idc = 153;
+ style = 0;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ text = "BHOT";
+ align = "right";
+ x = "6.18 * (0.01875 * SafezoneH)";
+ y = "12.0 * (0.025 * SafezoneH)";
+ w = "4.5 * (0.01875 * SafezoneH)";
+ h = "1.0 * (0.025 * SafezoneH)";
+ };
+ class TgT_Grid_text: RangeText
+ {
+ idc = 1005;
+ text = "TGT:";
+ font = "EtelkaMonospacePro";
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ x = "1.20 * (0.01875 * SafezoneH)";
+ y = "13.5 * (0.025 * SafezoneH)";
+ w = "6 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class TGT_ValueGrid: RangeText
+ {
+ idc = 172;
+ font = "EtelkaMonospacePro";
+ colorText[] = {0.706,0.0745,0.0196,0.8};
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ x = "5.20 * (0.01875 * SafezoneH)";
+ y = "13.5 * (0.025 * SafezoneH)";
+ w = "6 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class OWN_Grid_text: RangeText
+ {
+ idc = 1005;
+ text = "OWN:";
+ font = "EtelkaMonospacePro";
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ x = "1.20 * (0.01875 * SafezoneH)";
+ y = "15 * (0.025 * SafezoneH)";
+ w = "6 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class OWN_ValueGrid: RangeText
+ {
+ idc = 171;
+ font = "EtelkaMonospacePro";
+ colorText[] = {0.15,1,0.15,0.8};
+ style = 2;
+ sizeEx = "0.0295*SafezoneH";
+ shadow = 0;
+ x = "5.20 * (0.01875 * SafezoneH)";
+ y = "15 * (0.025 * SafezoneH)";
+ w = "6 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class CA_Laser: RscText
+ {
+ idc = 158;
+ style = "0x30 + 0x800";
+ sizeEx = "0.038*SafezoneH";
+ shadow = 0;
+ align = "right";
+ font = "EtelkaMonospacePro";
+ text = PATHTOF(data\Helo_LaserON.paa);
+ x = "20.45 * (0.01875 * SafezoneH)";
+ y = "14.1 * (0.025 * SafezoneH)";
+ w = "12.5 * (0.01875 * SafezoneH)";
+ h = "12 * (0.025 * SafezoneH)";
+ };
+ class CA_Heading: RscText
+ {
+ idc = 156;
+ style = 0;
+ sizeEx = "0.038*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ text = "023";
+ align = "right";
+ x = "25 * (0.01875 * SafezoneH)";
+ y = "5 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ };
+ };
+ };
+ class Rsc_ACE_Drones_UI_Pilots: RscUnitInfo
+ {
+ idd = 300;
+ controls[] = {"WeaponInfoControlsGroupRight","CA_BackgroundVehicle","CA_BackgroundVehicleTitle","CA_BackgroundVehicleTitleDark","CA_BackgroundFuel","CA_Vehicle","CA_VehicleRole","CA_HitZones","CA_SpeedBackground","CA_SpeedUnits","CA_Speed","CA_ValueFuel","CA_AltBackground","CA_AltUnits","CA_Alt","CA_VehicleToggles","CA_Radar","DriverOpticsGroup"};
+ class DriverOpticsGroup: RscControlsGroup
+ {
+ idc = 392;
+ class VScrollbar: VScrollbar
+ {
+ width = 0;
+ };
+ class HScrollbar: HScrollbar
+ {
+ height = 0;
+ };
+ x = "0 * (0.01875 * SafezoneH) + (SafezoneX + ((SafezoneW - SafezoneH) / 2))";
+ y = "0 * (0.025 * SafezoneH) + (SafezoneY)";
+ w = "53.5 * (0.01875 * SafezoneH)";
+ h = "40 * (0.025 * SafezoneH)";
+ class controls
+ {
+ class TextGrid: RscText
+ {
+ style = 0;
+ sizeEx = "0.02*SafezoneH";
+ shadow = 0;
+ font = "EtelkaMonospacePro";
+ idc = 1005;
+ text = "GRID:";
+ x = "5.8 * (0.01875 * SafezoneH)";
+ y = "31.8 * (0.025 * SafezoneH)";
+ w = "5 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class ValueGrid: TextGrid
+ {
+ idc = 189;
+ text = "382546";
+ x = "10.3 * (0.01875 * SafezoneH)";
+ y = "31.8 * (0.025 * SafezoneH)";
+ w = "6 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class TextTime: TextGrid
+ {
+ idc = 1010;
+ text = "TIME [UTC]:";
+ x = "5.8 * (0.01875 * SafezoneH)";
+ y = "32.6 * (0.025 * SafezoneH)";
+ w = "5 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class ValueTime: TextGrid
+ {
+ idc = 101;
+ text = "20:28:35";
+ x = "10 * (0.01875 * SafezoneH)";
+ y = "32.6 * (0.025 * SafezoneH)";
+ w = "6 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class TextMag: TextGrid
+ {
+ idc = 1011;
+ text = "CAM MAG:";
+ x = "5.8 * (0.01875 * SafezoneH)";
+ y = "7 * (0.025 * SafezoneH)";
+ w = "5 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class OpticsZoom: TextGrid
+ {
+ idc = 192;
+ text = "28x";
+ x = "10.3 * (0.01875 * SafezoneH)";
+ y = "7 * (0.025 * SafezoneH)";
+ w = "6 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class BorderLineSpdTop: RscPicture
+ {
+ idc = 1203;
+ text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\border_line_ca.paa";
+ x = "3.343 * (0.01875 * SafezoneH)";
+ y = "12.4 * (0.025 * SafezoneH)";
+ w = "3 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class BorderLineSpdBottom: RscPicture
+ {
+ idc = 1207;
+ text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\border_line_ca.paa";
+ x = "3.343 * (0.01875 * SafezoneH)";
+ y = "26.5 * (0.025 * SafezoneH)";
+ w = "3 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class BorderLineAltTop: RscPicture
+ {
+ idc = 1205;
+ text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\border_line_ca.paa";
+ x = "47.16 * (0.01875 * SafezoneH)";
+ y = "12.4 * (0.025 * SafezoneH)";
+ w = "3 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class BorderLineAltBottom: RscPicture
+ {
+ idc = 1206;
+ text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\border_line_ca.paa";
+ x = "47.16 * (0.01875 * SafezoneH)";
+ y = "26.5 * (0.025 * SafezoneH)";
+ w = "3 * (0.01875 * SafezoneH)";
+ h = "1 * (0.025 * SafezoneH)";
+ };
+ class TextSpd: TextGrid
+ {
+ idc = 1004;
+ text = "SPD";
+ x = "4.8 * (0.01875 * SafezoneH)";
+ y = "11.8 * (0.025 * SafezoneH)";
+ w = "5 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class SpeedValueBorder: RscPicture
+ {
+ idc = 1200;
+ text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\altimeter_value_ca.paa";
+ x = "6.3 * (0.01875 * SafezoneH)";
+ y = "19 * (0.025 * SafezoneH)";
+ w = "5 * (0.01875 * SafezoneH)";
+ h = "2 * (0.025 * SafezoneH)";
+ };
+ class CA_Speed: TextGrid
+ {
+ idc = 190;
+ sizeEx = "0.03*SafezoneH";
+ text = "120";
+ x = "7.5 * (0.01875 * SafezoneH)";
+ y = "19.5 * (0.025 * SafezoneH)";
+ w = "6 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class AnalogueSpeed: RscLadderPicture
+ {
+ idc = 384;
+ topValue = 1312;
+ bottomValue = -345;
+ visibleRange = -1;
+ text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\UAVspeedLadder_ca.paa";
+ x = "1.5 * (0.01875 * SafezoneH)";
+ y = "13 * (0.025 * SafezoneH)";
+ w = "5 * (0.01875 * SafezoneH)";
+ h = "14 * (0.025 * SafezoneH)";
+ };
+ class TextAlt: TextGrid
+ {
+ idc = 1006;
+ text = "ALT";
+ x = "46.9 * (0.01875 * SafezoneH)";
+ y = "11.8 * (0.025 * SafezoneH)";
+ w = "5 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class AltValueBorder: RscPicture
+ {
+ idc = 1201;
+ text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\airspeed_value_ca.paa";
+ x = "42.25 * (0.01875 * SafezoneH)";
+ y = "19 * (0.025 * SafezoneH)";
+ w = "5 * (0.01875 * SafezoneH)";
+ h = "2 * (0.025 * SafezoneH)";
+ };
+ class CA_Alt: TextGrid
+ {
+ idc = 191;
+ sizeEx = "0.03*SafezoneH";
+ style = 1;
+ text = "3825";
+ x = "43 * (0.01875 * SafezoneH)";
+ y = "19.5 * (0.025 * SafezoneH)";
+ w = "3.2 * (0.01875 * SafezoneH)";
+ h = "1.2 * (0.025 * SafezoneH)";
+ };
+ class AnalogueAlt: RscLadderPicture
+ {
+ idc = 385;
+ topValue = 14430;
+ bottomValue = -2110;
+ visibleRange = -1;
+ text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\UAValtLadder_ca.paa";
+ x = "47 * (0.01875 * SafezoneH)";
+ y = "13 * (0.025 * SafezoneH)";
+ w = "2.5 * (0.01875 * SafezoneH)";
+ h = "14 * (0.025 * SafezoneH)";
+ };
+ class AnalogueHorizon: RscLadderPicture
+ {
+ idc = 383;
+ topValue = 90;
+ bottomValue = -90;
+ visibleRange = -1;
+ text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\horizon_ladder_ca.paa";
+ x = "16.75 * (0.01875 * SafezoneH)";
+ y = "5 * (0.025 * SafezoneH)";
+ w = "20 * (0.01875 * SafezoneH)";
+ h = "30 * (0.025 * SafezoneH)";
+ };
+ class HorizonCenter: RscPicture
+ {
+ idc = 1202;
+ text = "\A3\Ui_f\data\IGUI\Cfg\HelicopterHUD\horizon_aircraft_ca.paa";
+ x = "24.75 * (0.01875 * SafezoneH)";
+ y = "19 * (0.025 * SafezoneH)";
+ w = "4 * (0.01875 * SafezoneH)";
+ h = "2 * (0.025 * SafezoneH)";
+ };
+ };
+ };
+ };
};
\ No newline at end of file
diff --git a/addons/attach/stringtable.xml b/addons/attach/stringtable.xml
index 27a0517f9a..839ac2e168 100644
--- a/addons/attach/stringtable.xml
+++ b/addons/attach/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -48,7 +48,7 @@
Marcador IV Acoplado
Strobo IR attaccata
Infravörös jeladó hozzácsatolva
- ИК строб присоединён
+ ИК-маяк присоединён
IR Strobe Detached
@@ -60,7 +60,7 @@
Marcador IV Separado
Strobo IR staccata
Infravörös jeladó lecsatolva
- ИК строб отсоединён
+ ИК-маяк отсоединён
IR Grenade Attached
@@ -72,7 +72,7 @@
Granada IV Acoplada
Granata IR attaccata
Infravörös gránát hozzácsatolva
- ИК граната присоединена
+ ИК-граната присоединена
IR Grenade Detached
@@ -84,7 +84,7 @@
Granada IV Separada
Granata IR staccata
Infravörös gránát lecsatolva
- ИК граната отсоединена
+ ИК-граната отсоединена
Chemlight Attached
@@ -132,7 +132,7 @@
Marcador IV
Strobo IR
Infravörös jeladó
- ИК строб
+ ИК-маяк
IR Strobe allows you to signal your position through a pulsating beacon only visible with NVGs.
@@ -144,7 +144,7 @@
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ó.
- ИК строб позволяет сигнализировать свое местоположение через пульсирующий маяк, видимый только через ПНВ.
+ ИК-маяк позволяет сигнализировать о своём местоположении через пульсирующий свет, видимый только через ПНВ.
Place
@@ -156,6 +156,7 @@
Colocar
Posiziona
Elhelyez
+ Установить
Cancel
@@ -167,13 +168,14 @@
Cancelar
Annulla
Mégse
+ Отмена
Attach Failed
Échec du Attacher
Befestigen fehlgeschlagen
- Присоединить Ошибка
+ Соединение прервано
Error al acoplar
-
+
\ No newline at end of file
diff --git a/addons/ballistics/CfgAmmo.hpp b/addons/ballistics/CfgAmmo.hpp
index 79f99c33a4..b064c05fc3 100644
--- a/addons/ballistics/CfgAmmo.hpp
+++ b/addons/ballistics/CfgAmmo.hpp
@@ -1,20 +1,20 @@
-class CfgAmmo {
- class BulletCore;
-
- class BulletBase: BulletCore {
- timeToLive = 15; // Default: 6, doubleplusgood all munition range.
- };
-
- class B_20mm : BulletBase {
- timeToLive = 30;
- };
- class B_25mm : BulletBase {
- timeToLive = 30;
- };
- class B_35mm_AA : BulletBase {
- timeToLive = 30;
- };
- class B_30mm_AP : BulletBase {
- timeToLive = 30;
- };
+class CfgAmmo {
+ class BulletCore;
+
+ class BulletBase: BulletCore {
+ timeToLive = 15; // Default: 6, doubleplusgood all munition range.
+ };
+
+ class B_20mm : BulletBase {
+ timeToLive = 30;
+ };
+ class B_25mm : BulletBase {
+ timeToLive = 30;
+ };
+ class B_35mm_AA : BulletBase {
+ timeToLive = 30;
+ };
+ class B_30mm_AP : BulletBase {
+ timeToLive = 30;
+ };
};
\ No newline at end of file
diff --git a/addons/captives/stringtable.xml b/addons/captives/stringtable.xml
index 897782747f..bc9cff1572 100644
--- a/addons/captives/stringtable.xml
+++ b/addons/captives/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -134,26 +134,31 @@
Surrender
Kapitulieren
Rendirse
+ Сдаться
Stop Surrendering
Den Kampf erneut aufnehmen
Dejar de rendirse
+ Остановить сдачу
Only use on alive units
Nur bei lebenden Einheiten verwendbar
Utilizar solo en unidades vivas
+ Только для живых юнитов
Only use on dismounted inf
Nur bei abgesessener Infanterie verwendbar
Utilizar solo en infanteria desmontada
+ Только для спеш. солдат
Nothing under mouse
Es wurde nichts ausgewählt
Nada bajo el ratón
+ Объекты под мышью отсутствуют
-
+
\ No newline at end of file
diff --git a/addons/common/functions/fnc__handleNetEvent.sqf b/addons/common/functions/fnc__handleNetEvent.sqf
index 804a0ade78..c4e1f18f8e 100644
--- a/addons/common/functions/fnc__handleNetEvent.sqf
+++ b/addons/common/functions/fnc__handleNetEvent.sqf
@@ -1,74 +1,74 @@
-//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(events) select 0;
- _eventIndex = _eventNames find _eventName;
- if(_eventIndex != -1) then {
- _events = (GVAR(events) select 1) select _eventIndex;
-
- #ifdef DEBUG_EVENTS
- diag_log text format[ARR_2("* Net Event %1",_eventName)];
- diag_log text format[ARR_2(" args=%1",_eventArgs)];
- #endif
-
- {
- if(!isNil "_x") then {
- _eventArgs call CALLSTACK_NAMED(_x, format[ARR_3("Net Event %1 ID: %2",_eventName,_forEachIndex)]);
- #ifdef DEBUG_EVENTS_CALLSTACK
- diag_log text format[ARR_2(" ID: %1",_forEachIndex)];
- #endif
- };
- } 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];
- };
-
- //If not multiplayer, and there are targets, then just run localy
- if ((!isMultiplayer) && {(count _eventTargets) > 0}) exitWith {
- ACEg = [_eventName, _eventArgs];
- ["ACEg", ACEg] call FUNC(_handleNetEvent);
- };
-
- _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;
- };
+//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(events) select 0;
+ _eventIndex = _eventNames find _eventName;
+ if(_eventIndex != -1) then {
+ _events = (GVAR(events) select 1) select _eventIndex;
+
+ #ifdef DEBUG_EVENTS
+ diag_log text format[ARR_2("* Net Event %1",_eventName)];
+ diag_log text format[ARR_2(" args=%1",_eventArgs)];
+ #endif
+
+ {
+ if(!isNil "_x") then {
+ _eventArgs call CALLSTACK_NAMED(_x, format[ARR_3("Net Event %1 ID: %2",_eventName,_forEachIndex)]);
+ #ifdef DEBUG_EVENTS_CALLSTACK
+ diag_log text format[ARR_2(" ID: %1",_forEachIndex)];
+ #endif
+ };
+ } 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];
+ };
+
+ //If not multiplayer, and there are targets, then just run localy
+ if ((!isMultiplayer) && {(count _eventTargets) > 0}) exitWith {
+ ACEg = [_eventName, _eventArgs];
+ ["ACEg", ACEg] call FUNC(_handleNetEvent);
+ };
+
+ _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_addEventHandler.sqf b/addons/common/functions/fnc_addEventHandler.sqf
index 8524a4abef..21e2a5b6f9 100644
--- a/addons/common/functions/fnc_addEventHandler.sqf
+++ b/addons/common/functions/fnc_addEventHandler.sqf
@@ -1,32 +1,32 @@
-/*
- * Author: Nou
- *
- * Add a event handler.
- *
- * Argument:
- * 0: Event name (string)
- * 1: Event code (code)
- *
- * Return value:
- * Event handler ID number (for use with fnc_removeEventHandler)
- */
-#include "script_component.hpp"
-private ["_eventName", "_eventCode", "_eventNames", "_eventFunctions", "_eventNameCount", "_eventIndex", "_eventFunctionCount"];
-_eventName = _this select 0;
-_eventCode = _this select 1;
-
-_eventNames = GVAR(events) select 0;
-_eventFunctions = [];
-_eventIndex = _eventNames find _eventName;
-if(_eventIndex != -1) then {
- _eventFunctions = (GVAR(events) select 1) select _eventIndex;
-} else {
- _eventNameCount = count _eventNames;
- _eventNames set[_eventNameCount, _eventName];
- (GVAR(events) select 1) set[_eventNameCount, _eventFunctions];
-};
-
-_eventFunctionCount = count _eventFunctions;
-_eventFunctions set[_eventFunctionCount, _eventCode];
-
+/*
+ * Author: Nou
+ *
+ * Add a event handler.
+ *
+ * Argument:
+ * 0: Event name (string)
+ * 1: Event code (code)
+ *
+ * Return value:
+ * Event handler ID number (for use with fnc_removeEventHandler)
+ */
+#include "script_component.hpp"
+private ["_eventName", "_eventCode", "_eventNames", "_eventFunctions", "_eventNameCount", "_eventIndex", "_eventFunctionCount"];
+_eventName = _this select 0;
+_eventCode = _this select 1;
+
+_eventNames = GVAR(events) select 0;
+_eventFunctions = [];
+_eventIndex = _eventNames find _eventName;
+if(_eventIndex != -1) then {
+ _eventFunctions = (GVAR(events) select 1) select _eventIndex;
+} else {
+ _eventNameCount = count _eventNames;
+ _eventNames set[_eventNameCount, _eventName];
+ (GVAR(events) 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_dumpArray.sqf b/addons/common/functions/fnc_dumpArray.sqf
index 8a95172ea7..9b889d8d22 100644
--- a/addons/common/functions/fnc_dumpArray.sqf
+++ b/addons/common/functions/fnc_dumpArray.sqf
@@ -1,25 +1,25 @@
-//fnc_dumpArray.sqf
-#include "script_component.hpp"
-
-private ["_var", "_depth", "_pad", "_i", "_x"];
-
-_var = _this select 0;
-_depth = _this select 1;
-_pad = "";
-for "_i" from 0 to _depth do {
- _pad = _pad + toString [9];
-};
-_depth = _depth + 1;
-if(IS_ARRAY(_var)) then {
- if((count _var) > 0) then {
- diag_log text format["%1[", _pad];
- {
- [_x, _depth] call FUNC(dumpArray);
- } forEach _var;
- diag_log text format["%1],", _pad];
- } else {
- diag_log text format["%1[],", _pad];
- };
-} else {
- diag_log text format["%1%2", _pad, [_var] call FUNC(formatVar)];
-};
+//fnc_dumpArray.sqf
+#include "script_component.hpp"
+
+private ["_var", "_depth", "_pad", "_i", "_x"];
+
+_var = _this select 0;
+_depth = _this select 1;
+_pad = "";
+for "_i" from 0 to _depth do {
+ _pad = _pad + toString [9];
+};
+_depth = _depth + 1;
+if(IS_ARRAY(_var)) then {
+ if((count _var) > 0) then {
+ diag_log text format["%1[", _pad];
+ {
+ [_x, _depth] call FUNC(dumpArray);
+ } forEach _var;
+ diag_log text format["%1],", _pad];
+ } else {
+ diag_log text format["%1[],", _pad];
+ };
+} else {
+ diag_log text format["%1%2", _pad, [_var] call FUNC(formatVar)];
+};
diff --git a/addons/common/functions/fnc_dumpPerformanceCounters.sqf b/addons/common/functions/fnc_dumpPerformanceCounters.sqf
index acf81ff20a..b82ae3e5ea 100644
--- a/addons/common/functions/fnc_dumpPerformanceCounters.sqf
+++ b/addons/common/functions/fnc_dumpPerformanceCounters.sqf
@@ -1,73 +1,73 @@
-//fnc_dumpPerformanceCounters.sqf
-#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-
-
-diag_log text format["REGISTERED ACE PFH HANDLERS"];
-diag_log text format["-------------------------------------------"];
-if(!isNil "ACE_PFH_COUNTER") then {
- {
- private["_pfh"];
- _pfh = _x select 0;
- diag_log text format["Registered PFH: id=%1, %1:%2", (_pfh select 0), (_pfh select 1), (_pfh select 2) ];
- } forEach ACE_PFH_COUNTER;
-};
-
-diag_log text format["ACE COUNTER RESULTS"];
-diag_log text format["-------------------------------------------"];
-{
- private["_counterEntry", "_iter", "_total", "_count", "_delta", "_averageResult"];
- _counterEntry = _x;
- _iter = 0;
- _total = 0;
- _count = 0;
- _averageResult = 0;
- if( (count _counterEntry) > 3) then {
- // calc
- {
- if(_iter > 2) then {
- _count = _count + 1;
- _delta = (_x select 1) - (_x select 0);
-
- _total = _total + _delta;
- };
- _iter = _iter + 1;
- } forEach _counterEntry;
-
- // results
- _averageResult = (_total / _count) * 1000;
-
- // dump results
- diag_log text format["%1: Average: %2s / %3 = %4ms", (_counterEntry select 0), _total, _count, _averageResult];
- } else {
- diag_log text format["%1: No results", (_counterEntry select 0) ];
- };
-} forEach ACE_COUNTERS;
-
-/*
-// Dump PFH Trackers
-diag_log text format["ACE_PERFORMANCE_EXCESSIVE_STEP_TRACKER"];
-diag_log text format["-------------------------------------------"];
-{
- private["_delay"];
- _delay = _x select 2;
- //if(_delay > 0) then { _delay = _delay / 1000; };
-
- diag_log text format["%1: %2s, delay=%3, handle=%4",(_x select 0), _delay, (_x select 3), (_x select 4)];
-} forEach ACE_PERFORMANCE_EXCESSIVE_STEP_TRACKER;
-
-// Dump PFH Trackers
-diag_log text format["ACE_PERFORMANCE_EXCESSIVE_FRAME_TRACKER"];
-diag_log text format["-------------------------------------------"];
-{
- private["_delta"];
- _delta = _x select 1;
- //if(_delta > 0) then { _delta = _delta / 1000; };
- diag_log text format[" DELTA: %1s", _delta];
-} forEach ACE_PERFORMANCE_EXCESSIVE_FRAME_TRACKER;
-
-//{
-//
-//} forEach ACRE_EXCESSIVE_FRAME_TRACKER;
-
+//fnc_dumpPerformanceCounters.sqf
+#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+
+
+diag_log text format["REGISTERED ACE PFH HANDLERS"];
+diag_log text format["-------------------------------------------"];
+if(!isNil "ACE_PFH_COUNTER") then {
+ {
+ private["_pfh"];
+ _pfh = _x select 0;
+ diag_log text format["Registered PFH: id=%1, %1:%2", (_pfh select 0), (_pfh select 1), (_pfh select 2) ];
+ } forEach ACE_PFH_COUNTER;
+};
+
+diag_log text format["ACE COUNTER RESULTS"];
+diag_log text format["-------------------------------------------"];
+{
+ private["_counterEntry", "_iter", "_total", "_count", "_delta", "_averageResult"];
+ _counterEntry = _x;
+ _iter = 0;
+ _total = 0;
+ _count = 0;
+ _averageResult = 0;
+ if( (count _counterEntry) > 3) then {
+ // calc
+ {
+ if(_iter > 2) then {
+ _count = _count + 1;
+ _delta = (_x select 1) - (_x select 0);
+
+ _total = _total + _delta;
+ };
+ _iter = _iter + 1;
+ } forEach _counterEntry;
+
+ // results
+ _averageResult = (_total / _count) * 1000;
+
+ // dump results
+ diag_log text format["%1: Average: %2s / %3 = %4ms", (_counterEntry select 0), _total, _count, _averageResult];
+ } else {
+ diag_log text format["%1: No results", (_counterEntry select 0) ];
+ };
+} forEach ACE_COUNTERS;
+
+/*
+// Dump PFH Trackers
+diag_log text format["ACE_PERFORMANCE_EXCESSIVE_STEP_TRACKER"];
+diag_log text format["-------------------------------------------"];
+{
+ private["_delay"];
+ _delay = _x select 2;
+ //if(_delay > 0) then { _delay = _delay / 1000; };
+
+ diag_log text format["%1: %2s, delay=%3, handle=%4",(_x select 0), _delay, (_x select 3), (_x select 4)];
+} forEach ACE_PERFORMANCE_EXCESSIVE_STEP_TRACKER;
+
+// Dump PFH Trackers
+diag_log text format["ACE_PERFORMANCE_EXCESSIVE_FRAME_TRACKER"];
+diag_log text format["-------------------------------------------"];
+{
+ private["_delta"];
+ _delta = _x select 1;
+ //if(_delta > 0) then { _delta = _delta / 1000; };
+ diag_log text format[" DELTA: %1s", _delta];
+} forEach ACE_PERFORMANCE_EXCESSIVE_FRAME_TRACKER;
+
+//{
+//
+//} forEach ACRE_EXCESSIVE_FRAME_TRACKER;
+
*/
\ No newline at end of file
diff --git a/addons/common/functions/fnc_getTurretDirection.sqf b/addons/common/functions/fnc_getTurretDirection.sqf
index fb265bf545..072644f058 100644
--- a/addons/common/functions/fnc_getTurretDirection.sqf
+++ b/addons/common/functions/fnc_getTurretDirection.sqf
@@ -1,37 +1,37 @@
-/*
- * Author: jaynus
- *
- * Get the absolute turret direction for FOV/PIP turret.
- *
- * Argument:
- * 0: Vehicle (Object)
- * 1: Turret Position
- *
- * Return value:
- * [position, direction]
- */
-#include "script_component.hpp"
-
-EXPLODE_2_PVT(_this,_vehicle,_position);
-private ["_turrets", "_turret", "_config", "_turret", "_povPos", "_povDir", "_gunBeginPos", "_gunEndPos", "_pov"];
-
-_turret = [_vehicle, _position] call CBA_fnc_getTurret;
-_pov = getText (_turret >> "memoryPointGunnerOptics");
-_gunBeg = getText (_turret >> "gunBeg");
-_gunEnd = getText (_turret >> "gunEnd");
-TRACE_3("", _pov, _gunBeg, _gunEnd);
-
-// Pull the PIP pov or barrel direction, depending on how the model is set up
-_povPos = ATLtoASL ( _vehicle modelToWorldVisual (_vehicle selectionPosition _pov ) );
-_povDir = [0,0,0];
-
-if(_pov == "pip0_pos") then {
- _pipDir = ATLtoASL ( _vehicle modelToWorldVisual (_vehicle selectionPosition "pip0_dir" ) );
- _povDir = _pipDir vectorDiff _povPos;
-} else {
- _gunBeginPos = ATLtoASL ( _vehicle modelToWorldVisual (_vehicle selectionPosition _gunBeg ) );
- _gunEndPos = ATLtoASL ( _vehicle modelToWorldVisual (_vehicle selectionPosition _gunEnd ) );
- _povDir = _gunBeginPos vectorDiff _gunEndPos;
-};
-
+/*
+ * Author: jaynus
+ *
+ * Get the absolute turret direction for FOV/PIP turret.
+ *
+ * Argument:
+ * 0: Vehicle (Object)
+ * 1: Turret Position
+ *
+ * Return value:
+ * [position, direction]
+ */
+#include "script_component.hpp"
+
+EXPLODE_2_PVT(_this,_vehicle,_position);
+private ["_turrets", "_turret", "_config", "_turret", "_povPos", "_povDir", "_gunBeginPos", "_gunEndPos", "_pov"];
+
+_turret = [_vehicle, _position] call CBA_fnc_getTurret;
+_pov = getText (_turret >> "memoryPointGunnerOptics");
+_gunBeg = getText (_turret >> "gunBeg");
+_gunEnd = getText (_turret >> "gunEnd");
+TRACE_3("", _pov, _gunBeg, _gunEnd);
+
+// Pull the PIP pov or barrel direction, depending on how the model is set up
+_povPos = ATLtoASL ( _vehicle modelToWorldVisual (_vehicle selectionPosition _pov ) );
+_povDir = [0,0,0];
+
+if(_pov == "pip0_pos") then {
+ _pipDir = ATLtoASL ( _vehicle modelToWorldVisual (_vehicle selectionPosition "pip0_dir" ) );
+ _povDir = _pipDir vectorDiff _povPos;
+} else {
+ _gunBeginPos = ATLtoASL ( _vehicle modelToWorldVisual (_vehicle selectionPosition _gunBeg ) );
+ _gunEndPos = ATLtoASL ( _vehicle modelToWorldVisual (_vehicle selectionPosition _gunEnd ) );
+ _povDir = _gunBeginPos vectorDiff _gunEndPos;
+};
+
[_povPos, _povDir]
\ No newline at end of file
diff --git a/addons/common/functions/fnc_globalEvent.sqf b/addons/common/functions/fnc_globalEvent.sqf
index dcf40261cf..7816f1f1c5 100644
--- a/addons/common/functions/fnc_globalEvent.sqf
+++ b/addons/common/functions/fnc_globalEvent.sqf
@@ -1,22 +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";
+/*
+ * 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_localEvent.sqf b/addons/common/functions/fnc_localEvent.sqf
index 0b8c218eca..3ee9cb0a04 100644
--- a/addons/common/functions/fnc_localEvent.sqf
+++ b/addons/common/functions/fnc_localEvent.sqf
@@ -1,34 +1,34 @@
-/*
- * Author: Nou
- *
- * Execute a local event on this client only.
- *
- * Argument:
- * 0: Event name (string)
- * 1: Event args (any)
- *
- * Return value:
- * Nothing
- */
-#include "script_component.hpp"
-
-PARAMS_2(_eventName,_eventArgs);
-
-_eventNames = GVAR(events) select 0;
-_eventIndex = _eventNames find _eventName;
-if(_eventIndex != -1) then {
- _events = (GVAR(events) select 1) select _eventIndex;
- #ifdef DEBUG_EVENTS
- diag_log text format[ARR_2("* Local Event: %1",_eventName)];
- diag_log text format[ARR_2(" args=%1",_eventArgs)];
- #endif
-
- {
- if(!isNil "_x") then {
- _eventArgs call CALLSTACK_NAMED(_x, format[ARR_3("Local Event %1 ID: %2",_eventName,_forEachIndex)]);
- #ifdef DEBUG_EVENTS_CALLSTACK
- diag_log text format[ARR_2(" ID: %1",_forEachIndex)];
- #endif
- };
- } forEach _events;
+/*
+ * Author: Nou
+ *
+ * Execute a local event on this client only.
+ *
+ * Argument:
+ * 0: Event name (string)
+ * 1: Event args (any)
+ *
+ * Return value:
+ * Nothing
+ */
+#include "script_component.hpp"
+
+PARAMS_2(_eventName,_eventArgs);
+
+_eventNames = GVAR(events) select 0;
+_eventIndex = _eventNames find _eventName;
+if(_eventIndex != -1) then {
+ _events = (GVAR(events) select 1) select _eventIndex;
+ #ifdef DEBUG_EVENTS
+ diag_log text format[ARR_2("* Local Event: %1",_eventName)];
+ diag_log text format[ARR_2(" args=%1",_eventArgs)];
+ #endif
+
+ {
+ if(!isNil "_x") then {
+ _eventArgs call CALLSTACK_NAMED(_x, format[ARR_3("Local Event %1 ID: %2",_eventName,_forEachIndex)]);
+ #ifdef DEBUG_EVENTS_CALLSTACK
+ diag_log text format[ARR_2(" ID: %1",_forEachIndex)];
+ #endif
+ };
+ } forEach _events;
};
\ No newline at end of file
diff --git a/addons/common/functions/fnc_removeAllEventHandlers.sqf b/addons/common/functions/fnc_removeAllEventHandlers.sqf
index 170d4f8cbb..fead934a57 100644
--- a/addons/common/functions/fnc_removeAllEventHandlers.sqf
+++ b/addons/common/functions/fnc_removeAllEventHandlers.sqf
@@ -1,21 +1,21 @@
-/*
- * Author: Nou
- *
- * Remove all events of a certain event type.
- *
- * Argument:
- * 0: Event name (string)
- *
- * Return value:
- * Nothing
- */
-#include "script_component.hpp"
-private ["_eventName", "_eventNames", "_eventFunctions", "_eventIndex"];
-_eventName = _this select 0;
-
-_eventNames = GVAR(events) select 0;
-_eventFunctions = [];
-_eventIndex = _eventNames find _eventName;
-if(_eventIndex != -1) then {
- (GVAR(events) select 1) set[_eventIndex, []];
+/*
+ * Author: Nou
+ *
+ * Remove all events of a certain event type.
+ *
+ * Argument:
+ * 0: Event name (string)
+ *
+ * Return value:
+ * Nothing
+ */
+#include "script_component.hpp"
+private ["_eventName", "_eventNames", "_eventFunctions", "_eventIndex"];
+_eventName = _this select 0;
+
+_eventNames = GVAR(events) select 0;
+_eventFunctions = [];
+_eventIndex = _eventNames find _eventName;
+if(_eventIndex != -1) then {
+ (GVAR(events) select 1) set[_eventIndex, []];
};
\ No newline at end of file
diff --git a/addons/common/functions/fnc_removeEventHandler.sqf b/addons/common/functions/fnc_removeEventHandler.sqf
index d87c72933d..20bc6923c8 100644
--- a/addons/common/functions/fnc_removeEventHandler.sqf
+++ b/addons/common/functions/fnc_removeEventHandler.sqf
@@ -1,24 +1,24 @@
-/*
- * Author: Nou
- *
- * Remove an event handler.
- *
- * Argument:
- * 0: Event name (string)
- * 1: Event code (number)
- *
- * Return value:
- * Nothing
- */
-#include "script_component.hpp"
-private ["_eventName", "_eventNames", "_eventFunctions", "_eventIndex", "_eventCodeIndex"];
-_eventName = _this select 0;
-_eventCodeIndex = _this select 1;
-
-_eventNames = GVAR(events) select 0;
-_eventFunctions = [];
-_eventIndex = _eventNames find _eventName;
-if(_eventIndex != -1) then {
- _eventFunctions = (GVAR(events) select 1) select _eventIndex;
- _eventFunctions set[_eventCodeIndex, nil];
+/*
+ * Author: Nou
+ *
+ * Remove an event handler.
+ *
+ * Argument:
+ * 0: Event name (string)
+ * 1: Event code (number)
+ *
+ * Return value:
+ * Nothing
+ */
+#include "script_component.hpp"
+private ["_eventName", "_eventNames", "_eventFunctions", "_eventIndex", "_eventCodeIndex"];
+_eventName = _this select 0;
+_eventCodeIndex = _this select 1;
+
+_eventNames = GVAR(events) select 0;
+_eventFunctions = [];
+_eventIndex = _eventNames find _eventName;
+if(_eventIndex != -1) then {
+ _eventFunctions = (GVAR(events) select 1) select _eventIndex;
+ _eventFunctions set[_eventCodeIndex, nil];
};
\ No newline at end of file
diff --git a/addons/common/functions/fnc_serverEvent.sqf b/addons/common/functions/fnc_serverEvent.sqf
index b792323867..7ee1f6d0b8 100644
--- a/addons/common/functions/fnc_serverEvent.sqf
+++ b/addons/common/functions/fnc_serverEvent.sqf
@@ -1,29 +1,29 @@
-/*
- * 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;
-
- #ifdef DEBUG_EVENTS
- diag_log text format[ARR_2("* Server Event: %1",_eventName)];
- diag_log text format[ARR_2(" args=%1",_eventArgs)];
- #endif
-
-ACEg = [_eventName, _eventArgs];
-if(!isServer) then {
- publicVariableServer "ACEg";
-} else {
- ["ACEg", ACEg] call FUNC(_handleNetEvent);
-};
+/*
+ * 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;
+
+ #ifdef DEBUG_EVENTS
+ diag_log text format[ARR_2("* Server Event: %1",_eventName)];
+ diag_log text format[ARR_2(" args=%1",_eventArgs)];
+ #endif
+
+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
index 7299eeb057..0c6da183b2 100644
--- a/addons/common/functions/fnc_targetEvent.sqf
+++ b/addons/common/functions/fnc_targetEvent.sqf
@@ -1,34 +1,34 @@
-/*
- * 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;
-
-#ifdef DEBUG_EVENTS
- diag_log text format[ARR_3("* Target Event: %1 - %2",_eventName,_eventTargets)];
- diag_log text format[ARR_2(" args=%1",_eventArgs)];
-#endif
-
-ACEc = [_eventName, _eventTargets, _eventArgs];
-if(!isServer) then {
- publicVariableServer "ACEc";
-} else {
- ["ACEc", ACEc] call FUNC(_handleNetEvent);
+/*
+ * 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;
+
+#ifdef DEBUG_EVENTS
+ diag_log text format[ARR_3("* Target Event: %1 - %2",_eventName,_eventTargets)];
+ diag_log text format[ARR_2(" args=%1",_eventArgs)];
+#endif
+
+ACEc = [_eventName, _eventTargets, _eventArgs];
+if(!isServer) then {
+ publicVariableServer "ACEc";
+} else {
+ ["ACEc", ACEc] call FUNC(_handleNetEvent);
};
\ No newline at end of file
diff --git a/addons/common/functions/script_component.hpp b/addons/common/functions/script_component.hpp
index 95b7e86461..10f5e1565f 100644
--- a/addons/common/functions/script_component.hpp
+++ b/addons/common/functions/script_component.hpp
@@ -1,13 +1,13 @@
-#include "\z\ace\addons\common\script_component.hpp"
-
-#define VALIDHASH(hash) (IS_ARRAY(hash) && {(count hash) >= 2} && {IS_ARRAY(hash select 0)} && {IS_ARRAY(hash select 1)})
-#define ERROR(msg) throw msg + format[" @ %1:%2", _callFrom, _lineNo]
-#define HANDLECATCH diag_log text _exception; assert(exception=="")
-
-#define ERRORDATA(c) private ["_callFrom", "_lineNo"];\
- _callFrom = "";\
- _lineNo = -1;\
- if((count _this) > c) then {\
- _callFrom = _this select c;\
- _lineNo = _this select c+1;\
+#include "\z\ace\addons\common\script_component.hpp"
+
+#define VALIDHASH(hash) (IS_ARRAY(hash) && {(count hash) >= 2} && {IS_ARRAY(hash select 0)} && {IS_ARRAY(hash select 1)})
+#define ERROR(msg) throw msg + format[" @ %1:%2", _callFrom, _lineNo]
+#define HANDLECATCH diag_log text _exception; assert(exception=="")
+
+#define ERRORDATA(c) private ["_callFrom", "_lineNo"];\
+ _callFrom = "";\
+ _lineNo = -1;\
+ if((count _this) > c) then {\
+ _callFrom = _this select c;\
+ _lineNo = _this select c+1;\
};
\ No newline at end of file
diff --git a/addons/common/stringtable.xml b/addons/common/stringtable.xml
index a5f5368cd0..d1e81e01a6 100644
--- a/addons/common/stringtable.xml
+++ b/addons/common/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -300,64 +300,78 @@
Aceptar Peticiones
Accept Requests
Anfrage annehmen
+ Подтвердить запросы
Ignoruj prośby
Rechazar Peticiones
Decline Requests
Anfrage ablehnen
+ Отклонить запросы
Akceptuj prośby wysłane przez innych graczy. Akceptacji wymagają między innymi akcje używania / współdzielenia wyposażenia, wykonywania określonych czynności.
Acepta Peticiones de otros jugadores. Pueden ser solicitudes para usar / compartir equipamiento, realizar ciertas acciones.
Accept Requests send by other players. These can be requests to use / share equipment, perform certain actions.
Anfragen anderer Spieler annehmen. Diese Anfragen können sich auf das Benutzen / Teilen von Equipment beziehen oder das Ausführen bestimmter Aktionen.
+ Подтвердить запросы, посланные другими игроками. Это могут быть просьбы о передаче снаряжения или выполнении определённых действий.
Ignoruj prośby wysłane przez innych graczy. Akceptacji wymagają między innymi akcje używania / współdzielenia wyposażenia, wykonywania określonych czynności.
Rechazar Peticiones de otros jugadores. Pueden ser solicitudes para usar / compartir equipamiento, realizar ciertas acciones.
Decline Requests send by other players. These can be requests to use / share equipment, perform certain actions.
Anfragen anderer Spieler ablehnen. Diese Anfragen können sich auf das Benutzen / Teilen von Equipment beziehen oder das Ausführen bestimmter Aktionen.
+ Отклонить запросы, посланные другими игроками. Это могут быть просьбы о передаче снаряжения или выполнении определённых действий.
Feedback icons
Feedback-Icons
+ Иконки состояний
Select the position of or disable the feedback icons on your screen. These icons will show to provide extra feedback on your character status and actions performed.
Wähle die Position der Feedback-Icons aus oder deaktiviere Sie. Die Feedback-Icons zeigen den Status deiner Einheit an, oder die ausgeführte Aktion.
+ Выберите положение или или отключите отображение иконок состояний на Вашем экране. Эти иконки предоставят дополнительную информацию о состоянии персонажа и выполняемых действиях.
Progress bar location
Position des Fortschrittsanzeige
+ Положение прогресс-бара
Set the desired location of the progress bar on your screen.
Wähle die Position der Fortschrittsanzeige.
+ Установите желаемое положение строки состояния на экране.
Hint Background color
Hinweis Hintergrundfarbe
+ Цвет фона всплывающих подсказок
The color of the background from the ACE hints.
Wähle die Hintergrundfarbe für ACE-Hinweise.
+ Цвет фона всплывающий подсказок АСЕ.
Hint text font color
Hinweis Textfarbe
+ Цвет шрифта всплывающих подсказок
The color of the text font from the ACE hints. This color is the default color for all text displayed through the ACE Hint system, if the hint text has no other color specified.
Wähle die Textfarbe für ACE-Hinweise.
+ Цвет шрифта текста всплывающих подсказок АСЕ. Этот цвет является стандартным для всего текста, транслирующегося через систему подсказок АСЕ, если не установлено другого цвета для текста подсказок.
Banana
Banane
+ Банан
A banana is an edible fruit, botanically a berry, produced by several kinds of large herbaceous flowering plants in the genus Musa.
Die Bananen (Musa) sind eine Pflanzengattung in der Familie der Bananengewächse (Musaceae) innerhalb der Einkeimblättrigen Pflanzen (Monokotyledonen).
+ Банан - это съедобный фрукт, ягода с ботанической точки зрения, произрастающий на нескольких видах травянистых растениях рода Банан (Musa).
\ No newline at end of file
diff --git a/addons/dragging/stringtable.xml b/addons/dragging/stringtable.xml
index 9193d2712e..3199dd7c20 100644
--- a/addons/dragging/stringtable.xml
+++ b/addons/dragging/stringtable.xml
@@ -1,5 +1,5 @@
-
-
+
+
@@ -40,6 +40,7 @@
Não é possível carregar o item devido a seu peso
Non è possibile trascinare l'oggetto a causa del suo peso
Túl nehéz ahhoz, hogy elhúzd -->
+ Слишком тяжело
Carry
@@ -54,4 +55,4 @@
Нести
-
+
\ No newline at end of file
diff --git a/addons/explosives/stringtable.xml b/addons/explosives/stringtable.xml
index 1d010a0a7e..834101f9c7 100644
--- a/addons/explosives/stringtable.xml
+++ b/addons/explosives/stringtable.xml
@@ -1,5 +1,5 @@
-
+
Place
@@ -60,7 +60,7 @@
Piazza
Elhelyezés
Colocar
- Положить
+ Установить
Cancel
@@ -132,7 +132,7 @@
Usato per l'attivazione a distanza degli esplosivi
Robbanóanyagok távoli robbantásához
Usado para acionar explosivos remotamente
- Используется для удаленного запуска взрывчатку
+ Используется для удаленной детонации СВУ
M57 Firing Device
@@ -156,7 +156,7 @@
Usato per l'attivazione a distanza degli esplosivi
Robbanóanyagok távoli robbantásához
Usado para acionar explosivos remotamente
- Используется для удаленного запуска взрывчатку
+ Используется для удаленной детонации зарядов
M26 Firing Device
@@ -192,7 +192,7 @@
Kit E.O.D.
Hatástalanító felszerelés
Kit de desarme
- Разминирование комплект
+ Комплект разминирования
Allows defusing of explosives
@@ -204,7 +204,7 @@
Consente la disattivazione degli ordigni esplosivi
Robbanóanyagok hatástalanításához
Permite o desarme de explosivos
- Allows defusing of explosives
+ Позволяет обезвреживать ВУ
Add to Speed Dial
@@ -228,7 +228,7 @@
Libera
Törlés
Limpar
- Pассеиваться
+ Очистить
Dial
@@ -252,7 +252,7 @@
Sopra
Fel
Cima
- Поднять
+ Вызов
Down
@@ -264,7 +264,7 @@
Sotto
Le
Baixo
- Опустить
+ Сброс
Cancel
@@ -288,7 +288,7 @@
Menù di detonazione
Robbantás menü
Menu de detonação
- Меню Подрыв
+ Меню подрыва
Defuse
@@ -336,7 +336,7 @@
Cronometro
Időzített
Timer
- Временной
+ Таймер
Set Time
@@ -360,7 +360,7 @@
Modifica il conto alla rovescia
Idő állítása
Configurar Tempo
- Xронометр
+ Установить время
Select
@@ -384,7 +384,7 @@
Seleziona
Kiválasztás
Selecionar
- Выбрать защелка
+ Выбрать
Pressure Plate
@@ -408,7 +408,7 @@
Filo a Inciampo
Botlódrót
Linha de tração
- Натяжной
+ Растяжка
IR Sensor
@@ -420,7 +420,7 @@
Sensore IR
IR szenzor
Sensor IV
- ИК
+ ИК сенсор
No triggers available for %1
@@ -432,7 +432,7 @@
Nessun attivatore disponibile per %1
Nincs detonátor a %1
Nenhum gatilho disponível para %1
- Нет защелка доступны для %1
+ Нет доступных взрывателей для %1
IR Sensor (Side Attack)
@@ -444,7 +444,7 @@
Sensore IR (Attacco laterale)
IR Sensor (Side Attack)
Sensor infravermelho (ataque lateral)
- ИК (боковая атака)
+ ИК (детонация вбок)
Magnetic Influence Sensor (Bottom Attack)
@@ -456,7 +456,7 @@
Sensore Magnetico di Prossimità (Attacco inferiore)
Mágneses (Bottom Attack)
Influência magnética (ataque inferior)
- Магнитный (дно атака)
+ Магнитный (детонация вверх)
No explosives on trigger.
@@ -468,7 +468,7 @@
Nincs robbanóanyag a detonátorhoz.
Brak ładunków na zapalnik.
Nenhum explosivo no gatilho.
- Нет взрывчатки на курок.
+ Нет доступных ВУ для взрывателя.
Dead Man's Switch
@@ -478,7 +478,7 @@
Czuwak
Detonador de hombre muerto
Dead Man's Switch
- Кнопка мертвеца
+ Ловушка мертвеца
Used to remotely trigger explosives when released.
diff --git a/addons/fcs/functions/fnc_onForceUpdate.sqf b/addons/fcs/functions/fnc_onForceUpdate.sqf
index 6f477fd3f6..d11652fc8a 100644
--- a/addons/fcs/functions/fnc_onForceUpdate.sqf
+++ b/addons/fcs/functions/fnc_onForceUpdate.sqf
@@ -1,7 +1,7 @@
-#include "script_component.hpp"
-
-if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};
-if !((!GVAR(enabled) && FUNC(canUseFCS)) || FUNC(canUseRangefinder)) exitWith {false};
-
-[vehicle ACE_player, [ACE_player] call EFUNC(common,getTurretIndex), -1, false] call FUNC(keyDown);
+#include "script_component.hpp"
+
+if !([ACE_player, vehicle ACE_player, []] call EFUNC(common,canInteractWith)) exitWith {false};
+if !((!GVAR(enabled) && FUNC(canUseFCS)) || FUNC(canUseRangefinder)) exitWith {false};
+
+[vehicle ACE_player, [ACE_player] call EFUNC(common,getTurretIndex), -1, false] call FUNC(keyDown);
[vehicle ACE_player, [ACE_player] call EFUNC(common,getTurretIndex), -1, false, false] call FUNC(keyUp);
\ No newline at end of file
diff --git a/addons/fcs/stringtable.xml b/addons/fcs/stringtable.xml
index 154d874f73..0911bbdb57 100644
--- a/addons/fcs/stringtable.xml
+++ b/addons/fcs/stringtable.xml
@@ -1,81 +1,81 @@
-
+
-
-
- Lase Target / Measure Distance
- Ziel anlasern / Entfernung Messen
- Télémétrer la cible
- Naświetl cel / Zmierz odległość
- Označit cíl / Změřit vzdálenost
- Iluminar objetivo / Medir distancia
-
- Подсветить цель / Измерить расстояние
-
-
- Zeroed To
- Haltepunkt
- Fijado a
- Wyzerowany na
- Nastaveno na
- Zéroté à
- Зероинг
- Nullázás
- Fixado em
- Azzeramento a
-
-
- Adjust FCS Range (Up)
- Entfernung des FLS erhöhen
- Zwiększ zasięg FCS
- Ajustar distancia del FCS (arriba)
- Nastavit FCS Náměr (nahoru)
- Augmenter la distance du SCT
- FCS tartomány állítása (Fel)
- Ajustar distância do FCS (Acima)
- Aumentare la distanza dell'FCS
- Диапазон СУО (Выше)
-
-
- Adjust FCS Range (Down)
- Entfernung des FLS verringern
- Zmniejsz zasięg FCS
- Ajustar distancia del FCS (abajo)
- Nastavit FCS Náměr (dolů)
- Réduire la distance du SCT
- FCS tartomány állítása (Le)
- Ajustar distância do FCS (Abaixo)
- Ridurre la distanza dell'FCS
- Диапазон СУО (Ниже)
-
-
- Reset FCS
- FLS zurücksetzen
- Reiniciar FCS
- Réinitialiser le SCT
- Resetuj FCS
- Resetovat FCS
- FCS visszaállítása
- Reiniciar FCS
- Azzeramento dell'FCS
- Обнулить СУО
-
-
- FCS has been reset.
- FLS wurde zurückgesetzt.
- FCS reiniciado
- SCT réinitialisé.
- FCS został zresetowany.
- FCS byl resetován.
- Az FCS visszaállítva
- FCS reiniciado.
- L'FCS è stato azzerato
- СУО обнулен
-
-
-
+ Подсветить цель / Замерить расстояние
+
+
+ Zeroed To
+ Haltepunkt
+ Fijado a
+ Wyzerowany na
+ Nastaveno na
+ Zéroté à
+ Выставлено на
+ Nullázás
+ Fixado em
+ Azzeramento a
+
+
+ Adjust FCS Range (Up)
+ Entfernung des FLS erhöhen
+ Zwiększ zasięg FCS
+ Ajustar distancia del FCS (arriba)
+ Nastavit FCS Náměr (nahoru)
+ Augmenter la distance du SCT
+ FCS tartomány állítása (Fel)
+ Ajustar distância do FCS (Acima)
+ Aumentare la distanza dell'FCS
+ Диапазон СУО (Выше)
+
+
+ Adjust FCS Range (Down)
+ Entfernung des FLS verringern
+ Zmniejsz zasięg FCS
+ Ajustar distancia del FCS (abajo)
+ Nastavit FCS Náměr (dolů)
+ Réduire la distance du SCT
+ FCS tartomány állítása (Le)
+ Ajustar distância do FCS (Abaixo)
+ Ridurre la distanza dell'FCS
+ Диапазон СУО (Ниже)
+
+
+ Reset FCS
+ FLS zurücksetzen
+ Reiniciar FCS
+ Réinitialiser le SCT
+ Resetuj FCS
+ Resetovat FCS
+ FCS visszaállítása
+ Reiniciar FCS
+ Azzeramento dell'FCS
+ Обнулить СУО
+
+
+ FCS has been reset.
+ FLS wurde zurückgesetzt.
+ FCS reiniciado
+ SCT réinitialisé.
+ FCS został zresetowany.
+ FCS byl resetován.
+ Az FCS visszaállítva
+ FCS reiniciado.
+ L'FCS è stato azzerato
+ СУО обнулен.
+
+
+
\ No newline at end of file
diff --git a/addons/frag/CfgAmmo.hpp b/addons/frag/CfgAmmo.hpp
index 8ad76e6ae8..bec683d603 100644
--- a/addons/frag/CfgAmmo.hpp
+++ b/addons/frag/CfgAmmo.hpp
@@ -1,352 +1,352 @@
-#define BASE_DRAG -0.01
-#define HD_MULT 5
-#define BASE_DRAG_HD (BASE_DRAG*HD_MULT)
-
-class CfgAmmo {
- //class ace_arty_105mm_m1_m782_time;
- //class ace_arty_105mm_m1_m782_prox: ace_arty_105mm_m1_m782_time {};
- //class ace_arty_105mm_m1_m782_delay: ace_arty_105mm_m1_m782_prox {
- // ACE_FRAG_SKIP = 1;
- //};
- class Bo_GBU12_LGB;
- class Nou_GBU12 : Bo_GBU12_LGB {
- ACE_FRAG_CLASSES[] = {"ACE_frag_large", "ACE_frag_large", "ACE_frag_large_HD", "ACE_frag_large", "ACE_frag_huge", "ACE_frag_huge_HD", "ACE_frag_huge"};
- ACE_FRAG_METAL = 140000;
- ACE_FRAG_CHARGE = 87000;
- ACE_FRAG_GURNEY_C = 2320;
- ACE_FRAG_GURNEY_K = 1/2;
- sideAirFriction = 0.04;
- airFriction = 0.04;
- laserLock = 0;
- };
-
- class GrenadeBase;
- class Grenade;
- class GrenadeHand: Grenade {
- ACE_FRAG_SKIP = 0;
- ACE_FRAG_FORCE = 1;
- // This is a good high-drag frag type for grenades.
- ACE_FRAG_CLASSES[] = {"ACE_frag_tiny_HD"};
- /*
- These values are based on the M67 Grenade, should be tweaked for
- individual grenades.
- */
- ACE_FRAG_METAL = 210; // metal in grams
- ACE_FRAG_CHARGE = 185; // explosive in grams
- ACE_FRAG_GURNEY_C = 2843; // Gurney velocity constant for explosive type. See: http://en.wikipedia.org/wiki/Gurney_equations
- ACE_FRAG_GURNEY_K = 3/5; // Gurney shape factor, in this case a sphere. See: http://en.wikipedia.org/wiki/Gurney_equations
- };
- class GrenadeHand_stone: GrenadeHand {
- ACE_FRAG_SKIP = 1;
- };
- class SmokeShell: GrenadeHand {
- ACE_FRAG_SKIP = 1;
- };
-
- class RocketBase;
- //class R_Hydra_HE: RocketBase {
- // ACE_FRAG_SKIP = 1;
- //};
-
- //class R_57mm_HE: RocketBase {
- // ACE_FRAG_SKIP = 1;
- //};
-
- class R_80mm_HE: RocketBase {
- ACE_FRAG_SKIP = 1;
- };
-
- //class R_S8T_AT: RocketBase {
- // ACE_FRAG_SKIP = 1;
- //};
-
- class BombCore;
- class Bo_Mk82: BombCore {
- ACE_FRAG_CLASSES[] = {"ACE_frag_large", "ACE_frag_large", "ACE_frag_large_HD", "ACE_frag_large", "ACE_frag_huge", "ACE_frag_huge_HD", "ACE_frag_huge"};
- ACE_FRAG_METAL = 140000;
- ACE_FRAG_CHARGE = 87000;
- ACE_FRAG_GURNEY_C = 2320;
- ACE_FRAG_GURNEY_K = 1/2;
- };
-
-
- class G_40mm_HE: GrenadeBase {
- ACE_FRAG_SKIP = 0;
- ACE_FRAG_FORCE = 1;
- };
-
- class ACE_G_40mm_HEDP: G_40mm_HE {
- };
- class ACE_G_40mm_HE: ACE_G_40mm_HEDP {
- };
- class ACE_G_40mm_Practice: ACE_G_40mm_HE {
- ACE_FRAG_SKIP = 1;
- };
- class ACE_G40mm_HE_VOG25P: G_40mm_HE {
- ACE_FRAG_SKIP = 0;
- ACE_FRAG_FORCE = 1;
- };
-
- //class R_SMAW_HEDP;
- //class R_MEEWS_HEDP : R_SMAW_HEDP {
- // ACE_FRAG_FORCE = 1;
- // ACE_FRAG_MULTIPLIER = 1.2;
- //};
-
- //class MissileBase;
- //class M_Hellfire_AT: MissileBase {
- // ACE_FRAG_FORCE = 1;
- // ACE_FRAG_MULTIPLIER = 1.75;
- //};
-
- /*
- class B_762x51_Ball;
- class ACE_frag_base: B_762x51_Ball { ////TODO: B_762x45_Ball no longer exists, is this a valid replacement?
- model = "\A3\Weapons_f\ammo\shell";
- timeToLive = 12;
- typicalSpeed = 800;
- // Fix sounds
- effectFly = "AmmoClassic";
- soundDefault1[] = {"A3\sounds_f\weapons\hits\concrete_1.wav",0.158114,1,30};
- soundDefault2[] = {"A3\sounds_f\weapons\hits\concrete_2.wav",0.158114,1,30};
- soundDefault3[] = {"A3\sounds_f\weapons\hits\concrete_3.wav",0.158114,1,30};
- soundDefault4[] = {"A3\sounds_f\weapons\hits\concrete_4.wav",0.158114,1,30};
- soundDefault5[] = {"A3\sounds_f\weapons\hits\concrete_5.wav",0.158114,1,30};
- soundDefault6[] = {"A3\sounds_f\weapons\hits\concrete_6.wav",0.158114,1,30};
- soundDefault7[] = {"A3\sounds_f\weapons\hits\concrete_7.wav",0.158114,1,30};
- soundDefault8[] = {"A3\sounds_f\weapons\hits\concrete_8.wav",0.158114,1,30};
- soundGroundSoft1[] = {"A3\sounds_f\weapons\hits\soft_ground_1.wav",0.02811705,1,30};
- soundGroundSoft2[] = {"A3\sounds_f\weapons\hits\soft_ground_2.wav",0.02811705,1,30};
- soundGroundSoft3[] = {"A3\sounds_f\weapons\hits\soft_ground_3.wav",0.02811705,1,30};
- soundGroundSoft4[] = {"A3\sounds_f\weapons\hits\soft_ground_4.wav",0.02811705,1,30};
- soundGroundSoft5[] = {"A3\sounds_f\weapons\hits\soft_ground_5.wav",0.02811705,1,30};
- soundGroundSoft6[] = {"A3\sounds_f\weapons\hits\soft_ground_6.wav",0.02811705,1,30};
- soundGroundSoft7[] = {"A3\sounds_f\weapons\hits\soft_ground_7.wav",0.02811705,1,30};
- soundGroundSoft8[] = {"A3\sounds_f\weapons\hits\soft_ground_8.wav",0.02811705,1,30};
- soundGroundHard1[] = {"A3\sounds_f\weapons\hits\hard_ground_1.wav",0.62946,1,40};
- soundGroundHard2[] = {"A3\sounds_f\weapons\hits\hard_ground_2.wav",0.62946,1,40};
- soundGroundHard3[] = {"A3\sounds_f\weapons\hits\hard_ground_3.wav",0.62946,1,40};
- soundGroundHard4[] = {"A3\sounds_f\weapons\hits\hard_ground_4.wav",0.62946,1,40};
- soundGroundHard5[] = {"A3\sounds_f\weapons\hits\hard_ground_5.wav",0.62946,1,40};
- soundGroundHard6[] = {"A3\sounds_f\weapons\hits\hard_ground_6.wav",0.62946,1,40};
- soundGroundHard7[] = {"A3\sounds_f\weapons\hits\hard_ground_7.wav",0.62946,1,40};
- soundGroundHard8[] = {"A3\sounds_f\weapons\hits\hard_ground_8.wav",0.62946,1,40};
- soundMetal1[] = {"A3\sounds_f\weapons\hits\metal_1.wav",0.158114,1,45};
- soundMetal2[] = {"A3\sounds_f\weapons\hits\metal_2.wav",0.158114,1,45};
- soundMetal3[] = {"A3\sounds_f\weapons\hits\metal_3.wav",0.158114,1,45};
- soundMetal4[] = {"A3\sounds_f\weapons\hits\metal_4.wav",0.158114,1,45};
- soundMetal5[] = {"A3\sounds_f\weapons\hits\metal_5.wav",0.158114,1,45};
- soundMetal6[] = {"A3\sounds_f\weapons\hits\metal_6.wav",0.158114,1,45};
- soundMetal7[] = {"A3\sounds_f\weapons\hits\metal_7.wav",0.158114,1,45};
- soundMetal8[] = {"A3\sounds_f\weapons\hits\metal_8.wav",0.158114,1,45};
- soundGlass1[] = {"A3\sounds_f\weapons\hits\glass_1.wav",0.177828,1,25};
- soundGlass2[] = {"A3\sounds_f\weapons\hits\glass_2.wav",0.177828,1,25};
- soundGlass3[] = {"A3\sounds_f\weapons\hits\glass_3.wav",0.177828,1,25};
- soundGlass4[] = {"A3\sounds_f\weapons\hits\glass_4.wav",0.177828,1,25};
- soundGlass5[] = {"A3\sounds_f\weapons\hits\glass_5.wav",0.177828,1,25};
- soundGlass6[] = {"A3\sounds_f\weapons\hits\glass_6.wav",0.177828,1,25};
- soundGlass7[] = {"A3\sounds_f\weapons\hits\glass_7.wav",0.177828,1,25};
- soundGlass8[] = {"A3\sounds_f\weapons\hits\glass_8.wav",0.177828,1,25};
- soundGlassArmored1[] = {"A3\sounds_f\weapons\hits\glass_arm_1.wav",0.177828,1,30};
- soundGlassArmored2[] = {"A3\sounds_f\weapons\hits\glass_arm_2.wav",0.177828,1,30};
- soundGlassArmored3[] = {"A3\sounds_f\weapons\hits\glass_arm_3.wav",0.177828,1,30};
- soundGlassArmored4[] = {"A3\sounds_f\weapons\hits\glass_arm_4.wav",0.177828,1,30};
- soundGlassArmored5[] = {"A3\sounds_f\weapons\hits\glass_arm_5.wav",0.177828,1,30};
- soundGlassArmored6[] = {"A3\sounds_f\weapons\hits\glass_arm_6.wav",0.177828,1,30};
- soundGlassArmored7[] = {"A3\sounds_f\weapons\hits\glass_arm_7.wav",0.177828,1,30};
- soundGlassArmored8[] = {"A3\sounds_f\weapons\hits\glass_arm_8.wav",0.177828,1,30};
- soundVehiclePlate1[] = {"A3\sounds_f\weapons\hits\metal_plate_1.wav",0.281170,1,40};
- soundVehiclePlate2[] = {"A3\sounds_f\weapons\hits\metal_plate_2.wav",0.281170,1,40};
- soundVehiclePlate3[] = {"A3\sounds_f\weapons\hits\metal_plate_3.wav",0.281170,1,40};
- soundVehiclePlate4[] = {"A3\sounds_f\weapons\hits\metal_plate_4.wav",0.281170,1,40};
- soundVehiclePlate5[] = {"A3\sounds_f\weapons\hits\metal_plate_5.wav",0.281170,1,40};
- soundVehiclePlate6[] = {"A3\sounds_f\weapons\hits\metal_plate_6.wav",0.281170,1,40};
- soundVehiclePlate7[] = {"A3\sounds_f\weapons\hits\metal_plate_7.wav",0.281170,1,40};
- soundVehiclePlate8[] = {"A3\sounds_f\weapons\hits\metal_plate_8.wav",0.281170,1,40};
- soundWood1[] = {"A3\sounds_f\weapons\hits\wood_1.wav",0.158114,1,30};
- soundWood2[] = {"A3\sounds_f\weapons\hits\wood_2.wav",0.158114,1,30};
- soundWood3[] = {"A3\sounds_f\weapons\hits\wood_3.wav",0.158114,1,30};
- soundWood4[] = {"A3\sounds_f\weapons\hits\wood_4.wav",0.158114,1,30};
- soundWood5[] = {"A3\sounds_f\weapons\hits\wood_5.wav",0.158114,1,30};
- soundWood6[] = {"A3\sounds_f\weapons\hits\wood_6.wav",0.158114,1,30};
- soundWood7[] = {"A3\sounds_f\weapons\hits\wood_7.wav",0.158114,1,30};
- soundWood8[] = {"A3\sounds_f\weapons\hits\wood_8.wav",0.158114,1,30};
- soundHitBody1[] = {"A3\sounds_f\weapons\hits\body_1.wav",0.0177828,1,25};
- soundHitBody2[] = {"A3\sounds_f\weapons\hits\body_2.wav",0.0177828,1,25};
- soundHitBody3[] = {"A3\sounds_f\weapons\hits\body_3.wav",0.0177828,1,25};
- soundHitBody4[] = {"A3\sounds_f\weapons\hits\body_4.wav",0.0177828,1,25};
- soundHitBody5[] = {"A3\sounds_f\weapons\hits\body_5.wav",0.0177828,1,25};
- soundHitBody6[] = {"A3\sounds_f\weapons\hits\body_6.wav",0.0177828,1,25};
- soundHitBody7[] = {"A3\sounds_f\weapons\hits\body_7.wav",0.0177828,1,25};
- soundHitBody8[] = {"A3\sounds_f\weapons\hits\body_8.wav",0.0177828,1,25};
- soundHitBuilding1[] = {"A3\sounds_f\weapons\hits\building_1.wav",0.251189,1,30};
- soundHitBuilding2[] = {"A3\sounds_f\weapons\hits\building_2.wav",0.251189,1,30};
- soundHitBuilding3[] = {"A3\sounds_f\weapons\hits\building_3.wav",0.251189,1,30};
- soundHitBuilding4[] = {"A3\sounds_f\weapons\hits\building_4.wav",0.251189,1,30};
- soundHitBuilding5[] = {"A3\sounds_f\weapons\hits\building_5.wav",0.251189,1,30};
- soundHitBuilding6[] = {"A3\sounds_f\weapons\hits\building_6.wav",0.251189,1,30};
- soundHitBuilding7[] = {"A3\sounds_f\weapons\hits\building_7.wav",0.251189,1,30};
- soundHitBuilding8[] = {"A3\sounds_f\weapons\hits\building_8.wav",0.251189,1,30};
- soundHitFoliage1[] = {"A3\sounds_f\weapons\hits\foliage_1.wav",0.177828,1,25};
- soundHitFoliage2[] = {"A3\sounds_f\weapons\hits\foliage_2.wav",0.177828,1,25};
- soundHitFoliage3[] = {"A3\sounds_f\weapons\hits\foliage_3.wav",0.177828,1,25};
- soundHitFoliage4[] = {"A3\sounds_f\weapons\hits\foliage_4.wav",0.177828,1,25};
- soundHitFoliage5[] = {"A3\sounds_f\weapons\hits\foliage_5.wav",0.177828,1,25};
- soundHitFoliage6[] = {"A3\sounds_f\weapons\hits\foliage_6.wav",0.177828,1,25};
- soundHitFoliage7[] = {"A3\sounds_f\weapons\hits\foliage_7.wav",0.177828,1,25};
- soundHitFoliage8[] = {"A3\sounds_f\weapons\hits\foliage_8.wav",0.177828,1,25};
- soundPlastic1[] = {"A3\sounds_f\weapons\hits\plastic_1.wav",0.177828,1,25};
- soundPlastic2[] = {"A3\sounds_f\weapons\hits\plastic_2.wav",0.177828,1,25};
- soundPlastic3[] = {"A3\sounds_f\weapons\hits\plastic_3.wav",0.177828,1,25};
- soundPlastic4[] = {"A3\sounds_f\weapons\hits\plastic_4.wav",0.177828,1,25};
- soundPlastic5[] = {"A3\sounds_f\weapons\hits\plastic_5.wav",0.177828,1,25};
- soundPlastic6[] = {"A3\sounds_f\weapons\hits\plastic_6.wav",0.177828,1,25};
- soundPlastic7[] = {"A3\sounds_f\weapons\hits\plastic_7.wav",0.177828,1,25};
- soundPlastic8[] = {"A3\sounds_f\weapons\hits\plastic_8.wav",0.177828,1,25};
- soundConcrete1[] = {"A3\sounds_f\weapons\hits\concrete_1.wav",0.177828,1,35};
- soundConcrete2[] = {"A3\sounds_f\weapons\hits\concrete_2.wav",0.177828,1,35};
- soundConcrete3[] = {"A3\sounds_f\weapons\hits\concrete_3.wav",0.177828,1,35};
- soundConcrete4[] = {"A3\sounds_f\weapons\hits\concrete_4.wav",0.177828,1,35};
- soundConcrete5[] = {"A3\sounds_f\weapons\hits\concrete_5.wav",0.177828,1,35};
- soundConcrete6[] = {"A3\sounds_f\weapons\hits\concrete_6.wav",0.177828,1,35};
- soundConcrete7[] = {"A3\sounds_f\weapons\hits\concrete_7.wav",0.177828,1,35};
- soundConcrete8[] = {"A3\sounds_f\weapons\hits\concrete_8.wav",0.177828,1,35};
- soundRubber1[] = {"A3\sounds_f\weapons\hits\tyre_1.wav",0.158114,1,25};
- soundRubber2[] = {"A3\sounds_f\weapons\hits\tyre_2.wav",0.158114,1,25};
- soundRubber3[] = {"A3\sounds_f\weapons\hits\tyre_3.wav",0.158114,1,25};
- soundRubber4[] = {"A3\sounds_f\weapons\hits\tyre_4.wav",0.158114,1,25};
- soundRubber5[] = {"A3\sounds_f\weapons\hits\tyre_5.wav",0.158114,1,25};
- soundRubber6[] = {"A3\sounds_f\weapons\hits\tyre_6.wav",0.158114,1,25};
- soundRubber7[] = {"A3\sounds_f\weapons\hits\tyre_7.wav",0.158114,1,25};
- soundRubber8[] = {"A3\sounds_f\weapons\hits\tyre_8.wav",0.158114,1,25};
- soundWater1[] = {"A3\sounds_f\weapons\hits\water_01.wav",0.158114,1,25};
- soundWater2[] = {"A3\sounds_f\weapons\hits\water_02.wav",0.158114,1,25};
- soundWater3[] = {"A3\sounds_f\weapons\hits\water_03.wav",0.158114,1,25};
- soundWater4[] = {"A3\sounds_f\weapons\hits\water_04.wav",0.158114,1,25};
- soundWater5[] = {"A3\sounds_f\weapons\hits\water_05.wav",0.158114,1,25};
- soundWater6[] = {"A3\sounds_f\weapons\hits\water_06.wav",0.158114,1,25};
- soundWater7[] = {"A3\sounds_f\weapons\hits\water_07.wav",0.158114,1,25};
- soundWater8[] = {"A3\sounds_f\weapons\hits\water_08.wav",0.158114,1,25};
- hitGroundSoft[] = {"soundGroundSoft1",0.2,"soundGroundSoft2",0.2,"soundGroundSoft3",0.1,"soundGroundSoft4",0.1,"soundGroundSoft5",0.1,"soundGroundSoft6",0.1,"soundGroundSoft7",0.1,"soundGroundSoft8",0.1};
- hitGroundHard[] = {"soundGroundHard1",0.2,"soundGroundHard2",0.2,"soundGroundHard3",0.1,"soundGroundHard4",0.1,"soundGroundHard5",0.1,"soundGroundHard6",0.1,"soundGroundHard7",0.1,"soundGroundHard8",0.1};
- hitMan[] = {"soundHitBody1",0.125,"soundHitBody2",0.125,"soundHitBody3",0.125,"soundHitBody4",0.125,"soundHitBody5",0.125,"soundHitBody6",0.125,"soundHitBody7",0.125,"soundHitBody8",0.125};
- hitArmor[] = {"soundVehiclePlate1",0.125,"soundVehiclePlate2",0.125,"soundVehiclePlate3",0.125,"soundVehiclePlate4",0.125,"soundVehiclePlate5",0.125,"soundVehiclePlate6",0.125,"soundVehiclePlate7",0.125,"soundVehiclePlate8",0.125};
- hitBuilding[] = {"soundHitBuilding1",0.2,"soundHitBuilding2",0.2,"soundHitBuilding3",0.1,"soundHitBuilding4",0.1,"soundHitBuilding5",0.1,"soundHitBuilding6",0.1,"soundHitBuilding7",0.1,"soundHitBuilding8",0.1};
- hitFoliage[] = {"soundHitFoliage1",0.125,"soundHitFoliage2",0.125,"soundHitFoliage3",0.125,"soundHitFoliage4",0.125,"soundHitFoliage5",0.125,"soundHitFoliage6",0.125,"soundHitFoliage7",0.125,"soundHitFoliage8",0.125};
- hitWood[] = {"soundWood1",0.125,"soundWood2",0.125,"soundWood3",0.125,"soundWood4",0.125,"soundWood5",0.125,"soundWood6",0.125,"soundWood7",0.125,"soundWood8",0.125};
- hitGlass[] = {"soundGlass1",0.125,"soundGlass2",0.125,"soundGlass3",0.125,"soundGlass4",0.125,"soundGlass5",0.125,"soundGlass6",0.125,"soundGlass7",0.125,"soundGlass8",0.125};
- hitGlassArmored[] = {"soundGlassArmored1",0.125,"soundGlassArmored2",0.125,"soundGlassArmored3",0.125,"soundGlassArmored4",0.125,"soundGlassArmored5",0.125,"soundGlassArmored6",0.125,"soundGlassArmored7",0.125,"soundGlassArmored8",0.125};
- hitConcrete[] = {"soundConcrete1",0.125,"soundConcrete2",0.125,"soundConcrete3",0.125,"soundConcrete4",0.125,"soundConcrete5",0.125,"soundConcrete6",0.125,"soundConcrete7",0.125,"soundConcrete8",0.125};
- hitRubber[] = {"soundRubber1",0.125,"soundRubber2",0.125,"soundRubber3",0.125,"soundRubber4",0.125,"soundRubber5",0.125,"soundRubber6",0.125,"soundRubber7",0.125,"soundRubber8",0.125};
- hitPlastic[] = {"soundPlastic1",0.125,"soundPlastic2",0.125,"soundPlastic3",0.125,"soundPlastic4",0.125,"soundPlastic5",0.125,"soundPlastic6",0.125,"soundPlastic7",0.125,"soundPlastic8",0.125};
- hitDefault[] = {"soundDefault1",0.2,"soundDefault2",0.2,"soundDefault3",0.1,"soundDefault4",0.1,"soundDefault5",0.1,"soundDefault6",0.1,"soundDefault7",0.1,"soundDefault8",0.1};
- hitMetal[] = {"soundMetal1",0.125,"soundMetal2",0.125,"soundMetal3",0.125,"soundMetal4",0.125,"soundMetal5",0.125,"soundMetal6",0.125,"soundMetal7",0.125,"soundMetal8",0.125};
- hitMetalplate[] = {"soundVehiclePlate1",0.125,"soundVehiclePlate2",0.125,"soundVehiclePlate3",0.125,"soundVehiclePlate4",0.125,"soundVehiclePlate5",0.125,"soundVehiclePlate6",0.125,"soundVehiclePlate7",0.125,"soundVehiclePlate8",0.125};
- hitWater[] = {"soundWater1",0.125,"soundWater2",0.125,"soundWater3",0.125,"soundWater4",0.125,"soundWater5",0.125,"soundWater6",0.125,"soundWater7",0.125,"soundWater8",0.125};
- bulletFly1[] = {"A3\sounds_f\weapons\hits\bullet_by_1.wav",1,1,35};
- bulletFly2[] = {"A3\sounds_f\weapons\hits\bullet_by_2.wav",1,1,35};
- bulletFly3[] = {"A3\sounds_f\weapons\hits\bullet_by_3.wav",1,1,35};
- bulletFly4[] = {"A3\sounds_f\weapons\hits\bullet_by_4.wav",1,1,35};
- bulletFly5[] = {"A3\sounds_f\weapons\hits\bullet_by_5.wav",1,1,35};
- bulletFly6[] = {"A3\sounds_f\weapons\hits\bullet_by_6.wav",1,1,35};
- bulletFly7[] = {"A3\sounds_f\weapons\hits\bullet_by_7.wav",1,1,35};
- bulletFly8[] = {"A3\sounds_f\weapons\hits\bullet_by_8.wav",1,1,35};
- bulletFly[] = {"bulletFly1",0.166,"bulletFly2",0.166,"bulletFly3",0.166,"bulletFly4",0.166,"bulletFly5",0.166,"bulletFly6",0.167,"bulletFly7",0.166,"bulletFly8",0.167};
- supersonicCrackNear[] = {"A3\sounds_f\weapons\hits\sscrack1.wav",1,1,35};
- supersonicCrackFar[] = {"A3\sounds_f\weapons\hits\sscrack2.wav",1,1,135};
- };
- */
-
- class B_65x39_Caseless;
- class ACE_frag_base: B_65x39_Caseless {
- timeToLive = 12;
- typicalSpeed = 1500;
- deflecting = 65;
- };
-
- class ACE_frag_tiny: ACE_frag_base {
- hit = 6;
- airFriction = BASE_DRAG;
- caliber = 0.75;
- };
-
- class ACE_frag_tiny_HD: ACE_frag_base {
- hit = 6;
- airFriction = BASE_DRAG_HD;
- caliber = 0.75;
- };
-
- class ACE_frag_small: ACE_frag_base {
- hit = 12;
- airFriction = BASE_DRAG*0.9;
- };
-
- class ACE_frag_small_HD: ACE_frag_base {
- hit = 12;
- airFriction = BASE_DRAG_HD*0.9;
- };
-
- class ACE_frag_medium: ACE_frag_base {
- hit = 14;
- airFriction = BASE_DRAG*0.75;
- caliber = 1.2;
- };
-
- class ACE_frag_medium_HD: ACE_frag_base {
- hit = 14;
- airFriction = BASE_DRAG_HD*0.75;
- caliber = 1.2;
- };
-
- class ACE_frag_large: ACE_frag_base {
- hit = 28;
- indirectHit = 2;
- indirectHitRange = 0.25;
- airFriction = BASE_DRAG*0.65;
- caliber = 2;
- explosive = 0;
-
- };
-
- class ACE_frag_large_HD: ACE_frag_large {
- hit = 28;
- indirectHit = 2;
- indirectHitRange = 0.25;
- airFriction = BASE_DRAG_HD*0.65;
- caliber = 2;
-
-
- };
-
- class ACE_frag_huge: ACE_frag_large {
- hit = 40;
- indirectHit = 4;
- indirectHitRange = 0.5;
- airFriction = BASE_DRAG*0.5;
- caliber = 2.8;
- };
-
- class ACE_frag_huge_HD: ACE_frag_large {
- hit = 40;
- indirectHit = 4;
- indirectHitRange = 0.5;
- airFriction = BASE_DRAG_HD*0.5;
- caliber = 2.8;
- };
-
- class ACE_frag_spall_small: ACE_frag_small {
- timeToLive = 0.1;
- };
-
- class ACE_frag_spall_medium: ACE_frag_medium {
- timeToLive = 0.15;
- };
-
- class ACE_frag_spall_large: ACE_frag_large {
- timeToLive = 0.25;
- };
-
- class ACE_frag_spall_huge: ACE_frag_huge {
- timeToLive = 0.3;
- };
-};
+#define BASE_DRAG -0.01
+#define HD_MULT 5
+#define BASE_DRAG_HD (BASE_DRAG*HD_MULT)
+
+class CfgAmmo {
+ //class ace_arty_105mm_m1_m782_time;
+ //class ace_arty_105mm_m1_m782_prox: ace_arty_105mm_m1_m782_time {};
+ //class ace_arty_105mm_m1_m782_delay: ace_arty_105mm_m1_m782_prox {
+ // ACE_FRAG_SKIP = 1;
+ //};
+ class Bo_GBU12_LGB;
+ class Nou_GBU12 : Bo_GBU12_LGB {
+ ACE_FRAG_CLASSES[] = {"ACE_frag_large", "ACE_frag_large", "ACE_frag_large_HD", "ACE_frag_large", "ACE_frag_huge", "ACE_frag_huge_HD", "ACE_frag_huge"};
+ ACE_FRAG_METAL = 140000;
+ ACE_FRAG_CHARGE = 87000;
+ ACE_FRAG_GURNEY_C = 2320;
+ ACE_FRAG_GURNEY_K = 1/2;
+ sideAirFriction = 0.04;
+ airFriction = 0.04;
+ laserLock = 0;
+ };
+
+ class GrenadeBase;
+ class Grenade;
+ class GrenadeHand: Grenade {
+ ACE_FRAG_SKIP = 0;
+ ACE_FRAG_FORCE = 1;
+ // This is a good high-drag frag type for grenades.
+ ACE_FRAG_CLASSES[] = {"ACE_frag_tiny_HD"};
+ /*
+ These values are based on the M67 Grenade, should be tweaked for
+ individual grenades.
+ */
+ ACE_FRAG_METAL = 210; // metal in grams
+ ACE_FRAG_CHARGE = 185; // explosive in grams
+ ACE_FRAG_GURNEY_C = 2843; // Gurney velocity constant for explosive type. See: http://en.wikipedia.org/wiki/Gurney_equations
+ ACE_FRAG_GURNEY_K = 3/5; // Gurney shape factor, in this case a sphere. See: http://en.wikipedia.org/wiki/Gurney_equations
+ };
+ class GrenadeHand_stone: GrenadeHand {
+ ACE_FRAG_SKIP = 1;
+ };
+ class SmokeShell: GrenadeHand {
+ ACE_FRAG_SKIP = 1;
+ };
+
+ class RocketBase;
+ //class R_Hydra_HE: RocketBase {
+ // ACE_FRAG_SKIP = 1;
+ //};
+
+ //class R_57mm_HE: RocketBase {
+ // ACE_FRAG_SKIP = 1;
+ //};
+
+ class R_80mm_HE: RocketBase {
+ ACE_FRAG_SKIP = 1;
+ };
+
+ //class R_S8T_AT: RocketBase {
+ // ACE_FRAG_SKIP = 1;
+ //};
+
+ class BombCore;
+ class Bo_Mk82: BombCore {
+ ACE_FRAG_CLASSES[] = {"ACE_frag_large", "ACE_frag_large", "ACE_frag_large_HD", "ACE_frag_large", "ACE_frag_huge", "ACE_frag_huge_HD", "ACE_frag_huge"};
+ ACE_FRAG_METAL = 140000;
+ ACE_FRAG_CHARGE = 87000;
+ ACE_FRAG_GURNEY_C = 2320;
+ ACE_FRAG_GURNEY_K = 1/2;
+ };
+
+
+ class G_40mm_HE: GrenadeBase {
+ ACE_FRAG_SKIP = 0;
+ ACE_FRAG_FORCE = 1;
+ };
+
+ class ACE_G_40mm_HEDP: G_40mm_HE {
+ };
+ class ACE_G_40mm_HE: ACE_G_40mm_HEDP {
+ };
+ class ACE_G_40mm_Practice: ACE_G_40mm_HE {
+ ACE_FRAG_SKIP = 1;
+ };
+ class ACE_G40mm_HE_VOG25P: G_40mm_HE {
+ ACE_FRAG_SKIP = 0;
+ ACE_FRAG_FORCE = 1;
+ };
+
+ //class R_SMAW_HEDP;
+ //class R_MEEWS_HEDP : R_SMAW_HEDP {
+ // ACE_FRAG_FORCE = 1;
+ // ACE_FRAG_MULTIPLIER = 1.2;
+ //};
+
+ //class MissileBase;
+ //class M_Hellfire_AT: MissileBase {
+ // ACE_FRAG_FORCE = 1;
+ // ACE_FRAG_MULTIPLIER = 1.75;
+ //};
+
+ /*
+ class B_762x51_Ball;
+ class ACE_frag_base: B_762x51_Ball { ////TODO: B_762x45_Ball no longer exists, is this a valid replacement?
+ model = "\A3\Weapons_f\ammo\shell";
+ timeToLive = 12;
+ typicalSpeed = 800;
+ // Fix sounds
+ effectFly = "AmmoClassic";
+ soundDefault1[] = {"A3\sounds_f\weapons\hits\concrete_1.wav",0.158114,1,30};
+ soundDefault2[] = {"A3\sounds_f\weapons\hits\concrete_2.wav",0.158114,1,30};
+ soundDefault3[] = {"A3\sounds_f\weapons\hits\concrete_3.wav",0.158114,1,30};
+ soundDefault4[] = {"A3\sounds_f\weapons\hits\concrete_4.wav",0.158114,1,30};
+ soundDefault5[] = {"A3\sounds_f\weapons\hits\concrete_5.wav",0.158114,1,30};
+ soundDefault6[] = {"A3\sounds_f\weapons\hits\concrete_6.wav",0.158114,1,30};
+ soundDefault7[] = {"A3\sounds_f\weapons\hits\concrete_7.wav",0.158114,1,30};
+ soundDefault8[] = {"A3\sounds_f\weapons\hits\concrete_8.wav",0.158114,1,30};
+ soundGroundSoft1[] = {"A3\sounds_f\weapons\hits\soft_ground_1.wav",0.02811705,1,30};
+ soundGroundSoft2[] = {"A3\sounds_f\weapons\hits\soft_ground_2.wav",0.02811705,1,30};
+ soundGroundSoft3[] = {"A3\sounds_f\weapons\hits\soft_ground_3.wav",0.02811705,1,30};
+ soundGroundSoft4[] = {"A3\sounds_f\weapons\hits\soft_ground_4.wav",0.02811705,1,30};
+ soundGroundSoft5[] = {"A3\sounds_f\weapons\hits\soft_ground_5.wav",0.02811705,1,30};
+ soundGroundSoft6[] = {"A3\sounds_f\weapons\hits\soft_ground_6.wav",0.02811705,1,30};
+ soundGroundSoft7[] = {"A3\sounds_f\weapons\hits\soft_ground_7.wav",0.02811705,1,30};
+ soundGroundSoft8[] = {"A3\sounds_f\weapons\hits\soft_ground_8.wav",0.02811705,1,30};
+ soundGroundHard1[] = {"A3\sounds_f\weapons\hits\hard_ground_1.wav",0.62946,1,40};
+ soundGroundHard2[] = {"A3\sounds_f\weapons\hits\hard_ground_2.wav",0.62946,1,40};
+ soundGroundHard3[] = {"A3\sounds_f\weapons\hits\hard_ground_3.wav",0.62946,1,40};
+ soundGroundHard4[] = {"A3\sounds_f\weapons\hits\hard_ground_4.wav",0.62946,1,40};
+ soundGroundHard5[] = {"A3\sounds_f\weapons\hits\hard_ground_5.wav",0.62946,1,40};
+ soundGroundHard6[] = {"A3\sounds_f\weapons\hits\hard_ground_6.wav",0.62946,1,40};
+ soundGroundHard7[] = {"A3\sounds_f\weapons\hits\hard_ground_7.wav",0.62946,1,40};
+ soundGroundHard8[] = {"A3\sounds_f\weapons\hits\hard_ground_8.wav",0.62946,1,40};
+ soundMetal1[] = {"A3\sounds_f\weapons\hits\metal_1.wav",0.158114,1,45};
+ soundMetal2[] = {"A3\sounds_f\weapons\hits\metal_2.wav",0.158114,1,45};
+ soundMetal3[] = {"A3\sounds_f\weapons\hits\metal_3.wav",0.158114,1,45};
+ soundMetal4[] = {"A3\sounds_f\weapons\hits\metal_4.wav",0.158114,1,45};
+ soundMetal5[] = {"A3\sounds_f\weapons\hits\metal_5.wav",0.158114,1,45};
+ soundMetal6[] = {"A3\sounds_f\weapons\hits\metal_6.wav",0.158114,1,45};
+ soundMetal7[] = {"A3\sounds_f\weapons\hits\metal_7.wav",0.158114,1,45};
+ soundMetal8[] = {"A3\sounds_f\weapons\hits\metal_8.wav",0.158114,1,45};
+ soundGlass1[] = {"A3\sounds_f\weapons\hits\glass_1.wav",0.177828,1,25};
+ soundGlass2[] = {"A3\sounds_f\weapons\hits\glass_2.wav",0.177828,1,25};
+ soundGlass3[] = {"A3\sounds_f\weapons\hits\glass_3.wav",0.177828,1,25};
+ soundGlass4[] = {"A3\sounds_f\weapons\hits\glass_4.wav",0.177828,1,25};
+ soundGlass5[] = {"A3\sounds_f\weapons\hits\glass_5.wav",0.177828,1,25};
+ soundGlass6[] = {"A3\sounds_f\weapons\hits\glass_6.wav",0.177828,1,25};
+ soundGlass7[] = {"A3\sounds_f\weapons\hits\glass_7.wav",0.177828,1,25};
+ soundGlass8[] = {"A3\sounds_f\weapons\hits\glass_8.wav",0.177828,1,25};
+ soundGlassArmored1[] = {"A3\sounds_f\weapons\hits\glass_arm_1.wav",0.177828,1,30};
+ soundGlassArmored2[] = {"A3\sounds_f\weapons\hits\glass_arm_2.wav",0.177828,1,30};
+ soundGlassArmored3[] = {"A3\sounds_f\weapons\hits\glass_arm_3.wav",0.177828,1,30};
+ soundGlassArmored4[] = {"A3\sounds_f\weapons\hits\glass_arm_4.wav",0.177828,1,30};
+ soundGlassArmored5[] = {"A3\sounds_f\weapons\hits\glass_arm_5.wav",0.177828,1,30};
+ soundGlassArmored6[] = {"A3\sounds_f\weapons\hits\glass_arm_6.wav",0.177828,1,30};
+ soundGlassArmored7[] = {"A3\sounds_f\weapons\hits\glass_arm_7.wav",0.177828,1,30};
+ soundGlassArmored8[] = {"A3\sounds_f\weapons\hits\glass_arm_8.wav",0.177828,1,30};
+ soundVehiclePlate1[] = {"A3\sounds_f\weapons\hits\metal_plate_1.wav",0.281170,1,40};
+ soundVehiclePlate2[] = {"A3\sounds_f\weapons\hits\metal_plate_2.wav",0.281170,1,40};
+ soundVehiclePlate3[] = {"A3\sounds_f\weapons\hits\metal_plate_3.wav",0.281170,1,40};
+ soundVehiclePlate4[] = {"A3\sounds_f\weapons\hits\metal_plate_4.wav",0.281170,1,40};
+ soundVehiclePlate5[] = {"A3\sounds_f\weapons\hits\metal_plate_5.wav",0.281170,1,40};
+ soundVehiclePlate6[] = {"A3\sounds_f\weapons\hits\metal_plate_6.wav",0.281170,1,40};
+ soundVehiclePlate7[] = {"A3\sounds_f\weapons\hits\metal_plate_7.wav",0.281170,1,40};
+ soundVehiclePlate8[] = {"A3\sounds_f\weapons\hits\metal_plate_8.wav",0.281170,1,40};
+ soundWood1[] = {"A3\sounds_f\weapons\hits\wood_1.wav",0.158114,1,30};
+ soundWood2[] = {"A3\sounds_f\weapons\hits\wood_2.wav",0.158114,1,30};
+ soundWood3[] = {"A3\sounds_f\weapons\hits\wood_3.wav",0.158114,1,30};
+ soundWood4[] = {"A3\sounds_f\weapons\hits\wood_4.wav",0.158114,1,30};
+ soundWood5[] = {"A3\sounds_f\weapons\hits\wood_5.wav",0.158114,1,30};
+ soundWood6[] = {"A3\sounds_f\weapons\hits\wood_6.wav",0.158114,1,30};
+ soundWood7[] = {"A3\sounds_f\weapons\hits\wood_7.wav",0.158114,1,30};
+ soundWood8[] = {"A3\sounds_f\weapons\hits\wood_8.wav",0.158114,1,30};
+ soundHitBody1[] = {"A3\sounds_f\weapons\hits\body_1.wav",0.0177828,1,25};
+ soundHitBody2[] = {"A3\sounds_f\weapons\hits\body_2.wav",0.0177828,1,25};
+ soundHitBody3[] = {"A3\sounds_f\weapons\hits\body_3.wav",0.0177828,1,25};
+ soundHitBody4[] = {"A3\sounds_f\weapons\hits\body_4.wav",0.0177828,1,25};
+ soundHitBody5[] = {"A3\sounds_f\weapons\hits\body_5.wav",0.0177828,1,25};
+ soundHitBody6[] = {"A3\sounds_f\weapons\hits\body_6.wav",0.0177828,1,25};
+ soundHitBody7[] = {"A3\sounds_f\weapons\hits\body_7.wav",0.0177828,1,25};
+ soundHitBody8[] = {"A3\sounds_f\weapons\hits\body_8.wav",0.0177828,1,25};
+ soundHitBuilding1[] = {"A3\sounds_f\weapons\hits\building_1.wav",0.251189,1,30};
+ soundHitBuilding2[] = {"A3\sounds_f\weapons\hits\building_2.wav",0.251189,1,30};
+ soundHitBuilding3[] = {"A3\sounds_f\weapons\hits\building_3.wav",0.251189,1,30};
+ soundHitBuilding4[] = {"A3\sounds_f\weapons\hits\building_4.wav",0.251189,1,30};
+ soundHitBuilding5[] = {"A3\sounds_f\weapons\hits\building_5.wav",0.251189,1,30};
+ soundHitBuilding6[] = {"A3\sounds_f\weapons\hits\building_6.wav",0.251189,1,30};
+ soundHitBuilding7[] = {"A3\sounds_f\weapons\hits\building_7.wav",0.251189,1,30};
+ soundHitBuilding8[] = {"A3\sounds_f\weapons\hits\building_8.wav",0.251189,1,30};
+ soundHitFoliage1[] = {"A3\sounds_f\weapons\hits\foliage_1.wav",0.177828,1,25};
+ soundHitFoliage2[] = {"A3\sounds_f\weapons\hits\foliage_2.wav",0.177828,1,25};
+ soundHitFoliage3[] = {"A3\sounds_f\weapons\hits\foliage_3.wav",0.177828,1,25};
+ soundHitFoliage4[] = {"A3\sounds_f\weapons\hits\foliage_4.wav",0.177828,1,25};
+ soundHitFoliage5[] = {"A3\sounds_f\weapons\hits\foliage_5.wav",0.177828,1,25};
+ soundHitFoliage6[] = {"A3\sounds_f\weapons\hits\foliage_6.wav",0.177828,1,25};
+ soundHitFoliage7[] = {"A3\sounds_f\weapons\hits\foliage_7.wav",0.177828,1,25};
+ soundHitFoliage8[] = {"A3\sounds_f\weapons\hits\foliage_8.wav",0.177828,1,25};
+ soundPlastic1[] = {"A3\sounds_f\weapons\hits\plastic_1.wav",0.177828,1,25};
+ soundPlastic2[] = {"A3\sounds_f\weapons\hits\plastic_2.wav",0.177828,1,25};
+ soundPlastic3[] = {"A3\sounds_f\weapons\hits\plastic_3.wav",0.177828,1,25};
+ soundPlastic4[] = {"A3\sounds_f\weapons\hits\plastic_4.wav",0.177828,1,25};
+ soundPlastic5[] = {"A3\sounds_f\weapons\hits\plastic_5.wav",0.177828,1,25};
+ soundPlastic6[] = {"A3\sounds_f\weapons\hits\plastic_6.wav",0.177828,1,25};
+ soundPlastic7[] = {"A3\sounds_f\weapons\hits\plastic_7.wav",0.177828,1,25};
+ soundPlastic8[] = {"A3\sounds_f\weapons\hits\plastic_8.wav",0.177828,1,25};
+ soundConcrete1[] = {"A3\sounds_f\weapons\hits\concrete_1.wav",0.177828,1,35};
+ soundConcrete2[] = {"A3\sounds_f\weapons\hits\concrete_2.wav",0.177828,1,35};
+ soundConcrete3[] = {"A3\sounds_f\weapons\hits\concrete_3.wav",0.177828,1,35};
+ soundConcrete4[] = {"A3\sounds_f\weapons\hits\concrete_4.wav",0.177828,1,35};
+ soundConcrete5[] = {"A3\sounds_f\weapons\hits\concrete_5.wav",0.177828,1,35};
+ soundConcrete6[] = {"A3\sounds_f\weapons\hits\concrete_6.wav",0.177828,1,35};
+ soundConcrete7[] = {"A3\sounds_f\weapons\hits\concrete_7.wav",0.177828,1,35};
+ soundConcrete8[] = {"A3\sounds_f\weapons\hits\concrete_8.wav",0.177828,1,35};
+ soundRubber1[] = {"A3\sounds_f\weapons\hits\tyre_1.wav",0.158114,1,25};
+ soundRubber2[] = {"A3\sounds_f\weapons\hits\tyre_2.wav",0.158114,1,25};
+ soundRubber3[] = {"A3\sounds_f\weapons\hits\tyre_3.wav",0.158114,1,25};
+ soundRubber4[] = {"A3\sounds_f\weapons\hits\tyre_4.wav",0.158114,1,25};
+ soundRubber5[] = {"A3\sounds_f\weapons\hits\tyre_5.wav",0.158114,1,25};
+ soundRubber6[] = {"A3\sounds_f\weapons\hits\tyre_6.wav",0.158114,1,25};
+ soundRubber7[] = {"A3\sounds_f\weapons\hits\tyre_7.wav",0.158114,1,25};
+ soundRubber8[] = {"A3\sounds_f\weapons\hits\tyre_8.wav",0.158114,1,25};
+ soundWater1[] = {"A3\sounds_f\weapons\hits\water_01.wav",0.158114,1,25};
+ soundWater2[] = {"A3\sounds_f\weapons\hits\water_02.wav",0.158114,1,25};
+ soundWater3[] = {"A3\sounds_f\weapons\hits\water_03.wav",0.158114,1,25};
+ soundWater4[] = {"A3\sounds_f\weapons\hits\water_04.wav",0.158114,1,25};
+ soundWater5[] = {"A3\sounds_f\weapons\hits\water_05.wav",0.158114,1,25};
+ soundWater6[] = {"A3\sounds_f\weapons\hits\water_06.wav",0.158114,1,25};
+ soundWater7[] = {"A3\sounds_f\weapons\hits\water_07.wav",0.158114,1,25};
+ soundWater8[] = {"A3\sounds_f\weapons\hits\water_08.wav",0.158114,1,25};
+ hitGroundSoft[] = {"soundGroundSoft1",0.2,"soundGroundSoft2",0.2,"soundGroundSoft3",0.1,"soundGroundSoft4",0.1,"soundGroundSoft5",0.1,"soundGroundSoft6",0.1,"soundGroundSoft7",0.1,"soundGroundSoft8",0.1};
+ hitGroundHard[] = {"soundGroundHard1",0.2,"soundGroundHard2",0.2,"soundGroundHard3",0.1,"soundGroundHard4",0.1,"soundGroundHard5",0.1,"soundGroundHard6",0.1,"soundGroundHard7",0.1,"soundGroundHard8",0.1};
+ hitMan[] = {"soundHitBody1",0.125,"soundHitBody2",0.125,"soundHitBody3",0.125,"soundHitBody4",0.125,"soundHitBody5",0.125,"soundHitBody6",0.125,"soundHitBody7",0.125,"soundHitBody8",0.125};
+ hitArmor[] = {"soundVehiclePlate1",0.125,"soundVehiclePlate2",0.125,"soundVehiclePlate3",0.125,"soundVehiclePlate4",0.125,"soundVehiclePlate5",0.125,"soundVehiclePlate6",0.125,"soundVehiclePlate7",0.125,"soundVehiclePlate8",0.125};
+ hitBuilding[] = {"soundHitBuilding1",0.2,"soundHitBuilding2",0.2,"soundHitBuilding3",0.1,"soundHitBuilding4",0.1,"soundHitBuilding5",0.1,"soundHitBuilding6",0.1,"soundHitBuilding7",0.1,"soundHitBuilding8",0.1};
+ hitFoliage[] = {"soundHitFoliage1",0.125,"soundHitFoliage2",0.125,"soundHitFoliage3",0.125,"soundHitFoliage4",0.125,"soundHitFoliage5",0.125,"soundHitFoliage6",0.125,"soundHitFoliage7",0.125,"soundHitFoliage8",0.125};
+ hitWood[] = {"soundWood1",0.125,"soundWood2",0.125,"soundWood3",0.125,"soundWood4",0.125,"soundWood5",0.125,"soundWood6",0.125,"soundWood7",0.125,"soundWood8",0.125};
+ hitGlass[] = {"soundGlass1",0.125,"soundGlass2",0.125,"soundGlass3",0.125,"soundGlass4",0.125,"soundGlass5",0.125,"soundGlass6",0.125,"soundGlass7",0.125,"soundGlass8",0.125};
+ hitGlassArmored[] = {"soundGlassArmored1",0.125,"soundGlassArmored2",0.125,"soundGlassArmored3",0.125,"soundGlassArmored4",0.125,"soundGlassArmored5",0.125,"soundGlassArmored6",0.125,"soundGlassArmored7",0.125,"soundGlassArmored8",0.125};
+ hitConcrete[] = {"soundConcrete1",0.125,"soundConcrete2",0.125,"soundConcrete3",0.125,"soundConcrete4",0.125,"soundConcrete5",0.125,"soundConcrete6",0.125,"soundConcrete7",0.125,"soundConcrete8",0.125};
+ hitRubber[] = {"soundRubber1",0.125,"soundRubber2",0.125,"soundRubber3",0.125,"soundRubber4",0.125,"soundRubber5",0.125,"soundRubber6",0.125,"soundRubber7",0.125,"soundRubber8",0.125};
+ hitPlastic[] = {"soundPlastic1",0.125,"soundPlastic2",0.125,"soundPlastic3",0.125,"soundPlastic4",0.125,"soundPlastic5",0.125,"soundPlastic6",0.125,"soundPlastic7",0.125,"soundPlastic8",0.125};
+ hitDefault[] = {"soundDefault1",0.2,"soundDefault2",0.2,"soundDefault3",0.1,"soundDefault4",0.1,"soundDefault5",0.1,"soundDefault6",0.1,"soundDefault7",0.1,"soundDefault8",0.1};
+ hitMetal[] = {"soundMetal1",0.125,"soundMetal2",0.125,"soundMetal3",0.125,"soundMetal4",0.125,"soundMetal5",0.125,"soundMetal6",0.125,"soundMetal7",0.125,"soundMetal8",0.125};
+ hitMetalplate[] = {"soundVehiclePlate1",0.125,"soundVehiclePlate2",0.125,"soundVehiclePlate3",0.125,"soundVehiclePlate4",0.125,"soundVehiclePlate5",0.125,"soundVehiclePlate6",0.125,"soundVehiclePlate7",0.125,"soundVehiclePlate8",0.125};
+ hitWater[] = {"soundWater1",0.125,"soundWater2",0.125,"soundWater3",0.125,"soundWater4",0.125,"soundWater5",0.125,"soundWater6",0.125,"soundWater7",0.125,"soundWater8",0.125};
+ bulletFly1[] = {"A3\sounds_f\weapons\hits\bullet_by_1.wav",1,1,35};
+ bulletFly2[] = {"A3\sounds_f\weapons\hits\bullet_by_2.wav",1,1,35};
+ bulletFly3[] = {"A3\sounds_f\weapons\hits\bullet_by_3.wav",1,1,35};
+ bulletFly4[] = {"A3\sounds_f\weapons\hits\bullet_by_4.wav",1,1,35};
+ bulletFly5[] = {"A3\sounds_f\weapons\hits\bullet_by_5.wav",1,1,35};
+ bulletFly6[] = {"A3\sounds_f\weapons\hits\bullet_by_6.wav",1,1,35};
+ bulletFly7[] = {"A3\sounds_f\weapons\hits\bullet_by_7.wav",1,1,35};
+ bulletFly8[] = {"A3\sounds_f\weapons\hits\bullet_by_8.wav",1,1,35};
+ bulletFly[] = {"bulletFly1",0.166,"bulletFly2",0.166,"bulletFly3",0.166,"bulletFly4",0.166,"bulletFly5",0.166,"bulletFly6",0.167,"bulletFly7",0.166,"bulletFly8",0.167};
+ supersonicCrackNear[] = {"A3\sounds_f\weapons\hits\sscrack1.wav",1,1,35};
+ supersonicCrackFar[] = {"A3\sounds_f\weapons\hits\sscrack2.wav",1,1,135};
+ };
+ */
+
+ class B_65x39_Caseless;
+ class ACE_frag_base: B_65x39_Caseless {
+ timeToLive = 12;
+ typicalSpeed = 1500;
+ deflecting = 65;
+ };
+
+ class ACE_frag_tiny: ACE_frag_base {
+ hit = 6;
+ airFriction = BASE_DRAG;
+ caliber = 0.75;
+ };
+
+ class ACE_frag_tiny_HD: ACE_frag_base {
+ hit = 6;
+ airFriction = BASE_DRAG_HD;
+ caliber = 0.75;
+ };
+
+ class ACE_frag_small: ACE_frag_base {
+ hit = 12;
+ airFriction = BASE_DRAG*0.9;
+ };
+
+ class ACE_frag_small_HD: ACE_frag_base {
+ hit = 12;
+ airFriction = BASE_DRAG_HD*0.9;
+ };
+
+ class ACE_frag_medium: ACE_frag_base {
+ hit = 14;
+ airFriction = BASE_DRAG*0.75;
+ caliber = 1.2;
+ };
+
+ class ACE_frag_medium_HD: ACE_frag_base {
+ hit = 14;
+ airFriction = BASE_DRAG_HD*0.75;
+ caliber = 1.2;
+ };
+
+ class ACE_frag_large: ACE_frag_base {
+ hit = 28;
+ indirectHit = 2;
+ indirectHitRange = 0.25;
+ airFriction = BASE_DRAG*0.65;
+ caliber = 2;
+ explosive = 0;
+
+ };
+
+ class ACE_frag_large_HD: ACE_frag_large {
+ hit = 28;
+ indirectHit = 2;
+ indirectHitRange = 0.25;
+ airFriction = BASE_DRAG_HD*0.65;
+ caliber = 2;
+
+
+ };
+
+ class ACE_frag_huge: ACE_frag_large {
+ hit = 40;
+ indirectHit = 4;
+ indirectHitRange = 0.5;
+ airFriction = BASE_DRAG*0.5;
+ caliber = 2.8;
+ };
+
+ class ACE_frag_huge_HD: ACE_frag_large {
+ hit = 40;
+ indirectHit = 4;
+ indirectHitRange = 0.5;
+ airFriction = BASE_DRAG_HD*0.5;
+ caliber = 2.8;
+ };
+
+ class ACE_frag_spall_small: ACE_frag_small {
+ timeToLive = 0.1;
+ };
+
+ class ACE_frag_spall_medium: ACE_frag_medium {
+ timeToLive = 0.15;
+ };
+
+ class ACE_frag_spall_large: ACE_frag_large {
+ timeToLive = 0.25;
+ };
+
+ class ACE_frag_spall_huge: ACE_frag_huge {
+ timeToLive = 0.3;
+ };
+};
diff --git a/addons/frag/CfgEventhandlers.hpp b/addons/frag/CfgEventhandlers.hpp
index 1e631e07eb..da3de47063 100644
--- a/addons/frag/CfgEventhandlers.hpp
+++ b/addons/frag/CfgEventhandlers.hpp
@@ -1,17 +1,17 @@
-class Extended_PreInit_EventHandlers {
- class ADDON {
- init = QUOTE(call COMPILE_FILE(XEH_pre_init));
- };
-};
-
-class Extended_PostInit_EventHandlers {
- class ADDON {
- init = QUOTE(call COMPILE_FILE(XEH_post_init));
- };
-};
-
-class Extended_FiredBIS_EventHandlers {
- class AllVehicles {
- ADDON = QUOTE(_this call FUNC(fired));
- };
-};
+class Extended_PreInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_pre_init));
+ };
+};
+
+class Extended_PostInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_post_init));
+ };
+};
+
+class Extended_FiredBIS_EventHandlers {
+ class AllVehicles {
+ ADDON = QUOTE(_this call FUNC(fired));
+ };
+};
diff --git a/addons/frag/XEH_post_init.sqf b/addons/frag/XEH_post_init.sqf
index 9769148871..21d76e6913 100644
--- a/addons/frag/XEH_post_init.sqf
+++ b/addons/frag/XEH_post_init.sqf
@@ -1,18 +1,18 @@
-#include "script_component.hpp"
-if(isServer) then {
- [QGVAR(frag_eh), { _this call FUNC(frago); }] call ace_common_fnc_addEventHandler;
-};
-/*
-GVAR(replacedBisArtyWrapper) = false;
-[] spawn {
- waitUntil {
- if(!(isNil "BIS_ARTY_F_ShellFlight")) then {
- ACE_WRAPPER_BIS_ARTY_F_ShellFlight = BIS_ARTY_F_ShellFlight;
- BIS_ARTY_F_ShellFlight = FUNC(BIS_ARTY_WRAPPER);
- GVAR(replacedBisArtyWrapper) = true;
- };
- sleep 4;
- GVAR(replacedBisArtyWrapper)
- };
-};
+#include "script_component.hpp"
+if(isServer) then {
+ [QGVAR(frag_eh), { _this call FUNC(frago); }] call ace_common_fnc_addEventHandler;
+};
+/*
+GVAR(replacedBisArtyWrapper) = false;
+[] spawn {
+ waitUntil {
+ if(!(isNil "BIS_ARTY_F_ShellFlight")) then {
+ ACE_WRAPPER_BIS_ARTY_F_ShellFlight = BIS_ARTY_F_ShellFlight;
+ BIS_ARTY_F_ShellFlight = FUNC(BIS_ARTY_WRAPPER);
+ GVAR(replacedBisArtyWrapper) = true;
+ };
+ sleep 4;
+ GVAR(replacedBisArtyWrapper)
+ };
+};
*/
\ No newline at end of file
diff --git a/addons/frag/XEH_pre_Init.sqf b/addons/frag/XEH_pre_Init.sqf
index 5b3aa36b18..8591af46d3 100644
--- a/addons/frag/XEH_pre_Init.sqf
+++ b/addons/frag/XEH_pre_Init.sqf
@@ -1,45 +1,45 @@
-#include "script_component.hpp"
-
-
-ADDON = false;
-
-PREP(fired);
-PREP(frago);
-PREP(trackFragRound);
-PREP(spallTrack);
-PREP(doSpall);
-PREP(vectorDiffFast);
-
-GVAR(trackedObjects) = [];
-GVAR(blackList) = [];
-GVAR(traceFrags) = false;
-
-GVAR(replacedBisArtyWrapper) = true;
-
-GVAR(TOTALFRAGS) = 0;
-
-GVAR(spallIsTrackingCount) = 0;
-GVAR(spallHPData) = [];
-
-GVAR(traces) = [];
-GVAR(tracesStarted) = false;
-GVAR(traceID) = -1;
-GVAR(autoTrace) = true;
-
-
-// * Other Shit */
-PREP(frag_trace);
-PREP(denyFrag);
-PREP(BIS_ARTY_WRAPPER);
-PREP(startTracing);
-PREP(stopTracing);
-PREP(clearTraces);
-PREP(trackTrace);
-PREP(addTrack);
-PREP(drawTraces);
-PREP(removeTrack);
-PREP(spallHP);
-PREP(addBlackList);
-PREP(addManualTrack);
-
-ADDON = true;
+#include "script_component.hpp"
+
+
+ADDON = false;
+
+PREP(fired);
+PREP(frago);
+PREP(trackFragRound);
+PREP(spallTrack);
+PREP(doSpall);
+PREP(vectorDiffFast);
+
+GVAR(trackedObjects) = [];
+GVAR(blackList) = [];
+GVAR(traceFrags) = false;
+
+GVAR(replacedBisArtyWrapper) = true;
+
+GVAR(TOTALFRAGS) = 0;
+
+GVAR(spallIsTrackingCount) = 0;
+GVAR(spallHPData) = [];
+
+GVAR(traces) = [];
+GVAR(tracesStarted) = false;
+GVAR(traceID) = -1;
+GVAR(autoTrace) = true;
+
+
+// * Other Shit */
+PREP(frag_trace);
+PREP(denyFrag);
+PREP(BIS_ARTY_WRAPPER);
+PREP(startTracing);
+PREP(stopTracing);
+PREP(clearTraces);
+PREP(trackTrace);
+PREP(addTrack);
+PREP(drawTraces);
+PREP(removeTrack);
+PREP(spallHP);
+PREP(addBlackList);
+PREP(addManualTrack);
+
+ADDON = true;
diff --git a/addons/frag/config.cpp b/addons/frag/config.cpp
index 4c1fb71e15..32ebc18827 100644
--- a/addons/frag/config.cpp
+++ b/addons/frag/config.cpp
@@ -1,16 +1,16 @@
-#include "script_component.hpp"
-class CfgPatches {
- class ADDON {
- units[] = {};
- weapons[] = {};
- requiredVersion = REQUIRED_VERSION;
- requiredAddons[] = {"ace_common"};
- author[] = {"Nou"};
- VERSION_CONFIG;
- };
-};
-
-//PRELOAD_ADDONS;
-
-#include "CfgEventhandlers.hpp"
-#include "CfgAmmo.hpp"
+#include "script_component.hpp"
+class CfgPatches {
+ class ADDON {
+ units[] = {};
+ weapons[] = {};
+ requiredVersion = REQUIRED_VERSION;
+ requiredAddons[] = {"ace_common"};
+ author[] = {"Nou"};
+ VERSION_CONFIG;
+ };
+};
+
+//PRELOAD_ADDONS;
+
+#include "CfgEventhandlers.hpp"
+#include "CfgAmmo.hpp"
diff --git a/addons/frag/functions/fnc_BIS_ARTY_WRAPPER.sqf b/addons/frag/functions/fnc_BIS_ARTY_WRAPPER.sqf
index 0d71cf58ac..e3e533e75a 100644
--- a/addons/frag/functions/fnc_BIS_ARTY_WRAPPER.sqf
+++ b/addons/frag/functions/fnc_BIS_ARTY_WRAPPER.sqf
@@ -1,13 +1,13 @@
-#include "script_component.hpp"
-_ret = [(_this select 6)] call FUNC(removeTrack);
-if(!_ret) then {
- [(_this select 6)] call FUNC(addBlackList);
-};
-_this call ACE_WRAPPER_BIS_ARTY_F_ShellFlight;
-_catEntry = BIS_ARTY_SHELLCAT select ((count BIS_ARTY_SHELLCAT) - 1);
-_shell = _catEntry select 0;
-_ARTY_DeployOnImpact = getText (configFile >> "CfgAmmo" >> "ARTY_DeployOnImpact");
-if(_ARTY_DeployOnImpact == "") then {
- _this set[6, _shell];
- _this call FUNC(fired);
+#include "script_component.hpp"
+_ret = [(_this select 6)] call FUNC(removeTrack);
+if(!_ret) then {
+ [(_this select 6)] call FUNC(addBlackList);
+};
+_this call ACE_WRAPPER_BIS_ARTY_F_ShellFlight;
+_catEntry = BIS_ARTY_SHELLCAT select ((count BIS_ARTY_SHELLCAT) - 1);
+_shell = _catEntry select 0;
+_ARTY_DeployOnImpact = getText (configFile >> "CfgAmmo" >> "ARTY_DeployOnImpact");
+if(_ARTY_DeployOnImpact == "") then {
+ _this set[6, _shell];
+ _this call FUNC(fired);
};
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_addBlackList.sqf b/addons/frag/functions/fnc_addBlackList.sqf
index f7b3faf902..95edcd1590 100644
--- a/addons/frag/functions/fnc_addBlackList.sqf
+++ b/addons/frag/functions/fnc_addBlackList.sqf
@@ -1,4 +1,4 @@
-#include "script_component.hpp"
-private ["_round"];
-_round = _this select 0;
+#include "script_component.hpp"
+private ["_round"];
+_round = _this select 0;
GVAR(blackList) set[(count GVAR(blackList)), _round];
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_addManualTrack.sqf b/addons/frag/functions/fnc_addManualTrack.sqf
index 3dc14cc748..89c1576277 100644
--- a/addons/frag/functions/fnc_addManualTrack.sqf
+++ b/addons/frag/functions/fnc_addManualTrack.sqf
@@ -1,7 +1,7 @@
-#include "script_component.hpp"
-private ["_round"];
-_round = _this select 0;
-if(alive _round) then {
- GVAR(trackedObjects) set[(count GVAR(trackedObjects)), _round];
- [DFUNC(trackFragRound), 0, [_round, (getPosASL _round), (velocity _round), (typeOf _round), time, objNull, false, 0, 0]] call cba_fnc_addPerFrameHandler;
+#include "script_component.hpp"
+private ["_round"];
+_round = _this select 0;
+if(alive _round) then {
+ GVAR(trackedObjects) set[(count GVAR(trackedObjects)), _round];
+ [DFUNC(trackFragRound), 0, [_round, (getPosASL _round), (velocity _round), (typeOf _round), time, objNull, false, 0, 0]] call cba_fnc_addPerFrameHandler;
};
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_addTrack.sqf b/addons/frag/functions/fnc_addTrack.sqf
index 2beea1dd56..760b48b287 100644
--- a/addons/frag/functions/fnc_addTrack.sqf
+++ b/addons/frag/functions/fnc_addTrack.sqf
@@ -1,20 +1,20 @@
-#include "script_component.hpp"
-if(GVAR(autoTrace)) then {
- [] call FUNC(startTracing);
-};
-
-// setAccTime 0.05;
-_index = (count GVAR(traces));
-_obj = _this select 1;
-_origin = _this select 0;
-_color = [1,0,0,1];
-if((count _this) > 2) then {
- _color = _this select 2;
-};
-_positions = [];
-_objVel = velocity _obj;
-_objTVel = sqrt((_objVel select 0)^2 + (_objVel select 1)^2 + (_objVel select 2)^2);
-_positions set[(count _positions), [(getPos _obj), _objTVel]];
-_data = [_origin, typeOf _origin, typeOf _obj, _objTVel, _positions, _color];
-GVAR(traces) set[_index, _data];
+#include "script_component.hpp"
+if(GVAR(autoTrace)) then {
+ [] call FUNC(startTracing);
+};
+
+// setAccTime 0.05;
+_index = (count GVAR(traces));
+_obj = _this select 1;
+_origin = _this select 0;
+_color = [1,0,0,1];
+if((count _this) > 2) then {
+ _color = _this select 2;
+};
+_positions = [];
+_objVel = velocity _obj;
+_objTVel = sqrt((_objVel select 0)^2 + (_objVel select 1)^2 + (_objVel select 2)^2);
+_positions set[(count _positions), [(getPos _obj), _objTVel]];
+_data = [_origin, typeOf _origin, typeOf _obj, _objTVel, _positions, _color];
+GVAR(traces) set[_index, _data];
[DFUNC(trackTrace), 0, [_obj, _index, time]] call cba_fnc_addPerFrameHandler;
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_clearTraces.sqf b/addons/frag/functions/fnc_clearTraces.sqf
index b301094044..eaf34f77c4 100644
--- a/addons/frag/functions/fnc_clearTraces.sqf
+++ b/addons/frag/functions/fnc_clearTraces.sqf
@@ -1,2 +1,2 @@
-#include "script_component.hpp"
+#include "script_component.hpp"
GVAR(traces) = [];
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_denyFrag.sqf b/addons/frag/functions/fnc_denyFrag.sqf
index 6c4aa9bf8d..b4875cbd3a 100644
--- a/addons/frag/functions/fnc_denyFrag.sqf
+++ b/addons/frag/functions/fnc_denyFrag.sqf
@@ -1,7 +1,7 @@
-#include "script_component.hpp"
-
-private ["_ret"];
-_ret = [(_this select 0)] call FUNC(removeTrack);
-if(!_ret) then {
- [(_this select 0)] call FUNC(addBlackList);
+#include "script_component.hpp"
+
+private ["_ret"];
+_ret = [(_this select 0)] call FUNC(removeTrack);
+if(!_ret) then {
+ [(_this select 0)] call FUNC(addBlackList);
};
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_doSpall.sqf b/addons/frag/functions/fnc_doSpall.sqf
index 761490fa90..17f17ea7e5 100644
--- a/addons/frag/functions/fnc_doSpall.sqf
+++ b/addons/frag/functions/fnc_doSpall.sqf
@@ -1,166 +1,166 @@
-//fnc_doSpall.sqf
-#include "script_component.hpp"
-#ifdef DEBUG_MODE_FULL
- GVAR(traceFrags) = true;
-#endif
-// player sideChat "WAAAAAAAAAAAAAAAAAAAAA";
-private ["_params", "_initialData", "_hpData", "_roundType", "_round", "_object", "_caliber", "_explosive",
- "_idh", "_alive", "_exit", "_vm", "_velocity", "_unitDir", "_oldVelocity", "_curVelocity", "_diff", "_polar",
- "_pos", "_spallPos", "_i", "_pos1", "_pos2", "_blah", "_data", "_spallPolar", "_c", "_warn", "_m", "_k",
- "_gC", "_shellType", "_fragPower", "_spread", "_spallCount", "_elev", "_dir", "_vel", "_spallFragVect",
- "_fragment"];
-
-
-_params = _this select 0;
-[(_this select 1)] call cba_fnc_removePerFrameHandler;
-_hitData = _params select 0;
-_initialData = GVAR(spallHPData) select (_hitData select 0);
-_hpData = (_hitData select 1) select (_params select 1);
-
-
-_object = _hpData select 0;
-_object removeEventHandler ["hitPart", _initialData select 0];
-_foundObjects = _initialData select 7;
-_index = _foundObjects find _object;
-if(_index != -1) then {
- _foundObjecsts set[_index, nil];
-};
-
-_roundType = (_initialData select 2);
-_round = (_initialData select 3);
-_object = (_initialData select 1);
-
-_caliber = getNumber(configFile >> "CfgAmmo" >> _roundType >> "caliber");
-_explosive = getNumber(configFile >> "CfgAmmo" >> _roundType >> "explosive");
-_idh = getNumber(configFile >> "CfgAmmo" >> _roundType >> "indirectHitRange");
-
-_alive = true;
-if(!alive _round && (_initialData select 6) == 1) then {
- _alive = false;
-};
-
-if(_alive || {_caliber >= 2.5} || {(_explosive > 0 && {_idh >= 1})}) then {
- // player sideChat format["BBBB"];
- _exit = false;
- _vm = 1;
- _velocity = _initialData select 5;
-
- _oldVelocity = _velocity call BIS_fnc_magnitude;
- _curVelocity = (velocity _round) call BIS_fnc_magnitude;
-
- if(alive _round) then {
- _diff = _velocity vectorDiff (velocity _round);
- _polar = _diff call CBA_fnc_vect2polar;
- // player sideChat format["polar: %1", _polar];
- if((abs(_polar select 1) > 45 || abs(_polar select 2) > 45)) then {
- if(_caliber < 2.5) then {
- // player sideChat format["exit!"];
- _exit = true;
- } else {
- _vm = 1-(_curVelocity/_oldVelocity);
- };
- };
- };
- if(!_exit) then {
- _unitDir = vectorNormalized _velocity;
- _pos = _hpData select 3;
- _spallPos = nil;
- for "_i" from 0 to 100 do {
- _pos1 = [
- (_pos select 0) + (((_unitDir select 0)*0.01)*_i),
- (_pos select 1) + (((_unitDir select 1)*0.01)*_i),
- (_pos select 2) + (((_unitDir select 2)*0.01)*_i)
- ];
- _pos2 = [
- (_pos select 0) + (((_unitDir select 0)*0.01)*(_i+1)),
- (_pos select 1) + (((_unitDir select 1)*0.01)*(_i+1)),
- (_pos select 2) + (((_unitDir select 2)*0.01)*(_i+1))
- ];
- // _blah = [_object, "FIRE"] intersect [_object worldToModel (ASLtoATL _pos1), _object worldToModel (ASLtoATL _pos2)];
- // diag_log text format["b: %1", _blah];
-
- // _data = [nil, nil, nil, 1, [[ASLtoATL _pos1, 1], [ASLtoATL _pos2, 1]]];
- // NOU_TRACES set[(count NOU_TRACES), _data];
-
- if(!lineIntersects [_pos1, _pos2]) exitWith {
- // player sideChat format["FOUND!"];
- _spallPos = _pos2;
- };
- };
- if(!isNil "_spallPos") then {
- _spallPolar = _velocity call CBA_fnc_vect2polar;
-
- if(_explosive > 0) then {
- // player sideChat format["EXPLOSIVE!"];
- _warn = false;
- _c = getNumber(configFile >> "CfgAmmo" >> _roundType >> "ACE_frag_CHARGE");
- if(_c == 0) then { _c = 1; _warn = true;};
- _m = getNumber(configFile >> "CfgAmmo" >> _roundType >> "ACE_frag_METAL");
- if(_m == 0) then { _m = 2; _warn = true;};
- _k = getNumber(configFile >> "CfgAmmo" >> _roundType >> "ACE_frag_GURNEY_K");
- if(_k == 0) then { _k = 1/2; _warn = true;};
- _gC = getNumber(configFile >> "CfgAmmo" >> _roundType >> "ACE_frag_GURNEY_C");
- if(_gC == 0) then { _gC = 2440; _warn = true;};
-
- if(_warn) then {
- diag_log text format["Ammo class %1 lacks proper explosive properties definitions for frag!", _roundType]; //TODO: turn this off when we get closer to release
- };
-
- _fragPower = (((_m/_c)+_k)^-(1/2))*_gC;
- _spallPolar set[0, _fragPower*0.66];
- };
-
- _fragTypes = [
- "ACE_frag_spall_small", "ACE_frag_spall_small", "ACE_frag_spall_small",
- "ACE_frag_spall_small","ACE_frag_spall_medium","ACE_frag_spall_medium","ACE_frag_spall_medium",
- "ACE_frag_spall_medium", "ACE_frag_spall_large", "ACE_frag_spall_large", "ACE_frag_spall_huge",
- "ACE_frag_spall_huge"
-
- ];
-
- // diag_log text format["SPALL POWER: %1", _spallPolar select 0];
- _spread = 15+(random 25);
- _spallCount = 5+(random 10);
- for "_i" from 1 to _spallCount do {
- _elev = ((_spallPolar select 2)-_spread)+(random (_spread*2));
- _dir = ((_spallPolar select 1)-_spread)+(random (_spread*2));
- if(abs _elev > 90) then {
- _dir = _dir + 180;
- };
- _dir = _dir % 360;
- _vel = (_spallPolar select 0)*0.33*_vm;
- _vel = (_vel-(_vel*0.25))+(random (_vel*0.5));
-
- _spallFragVect = [_vel, _dir, _elev] call CBA_fnc_polar2vect;
- _fragType = round (random ((count _fragTypes)-1));
- _fragment = (_fragTypes select _fragType) createVehicleLocal [0,0,10000];
- _fragment setPosASL _spallPos;
- _fragment setVelocity _spallFragVect;
- if(GVAR(traceFrags)) then {
- [player, _fragment, [1,0.5,0,1]] call FUNC(addTrack);
- };
- };
- _spread = 5+(random 5);
- _spallCount = 3+(random 5);
- for "_i" from 1 to _spallCount do {
- _elev = ((_spallPolar select 2)-_spread)+(random (_spread*2));
- _dir = ((_spallPolar select 1)-_spread)+(random (_spread*2));
- if(abs _elev > 90) then {
- _dir = _dir + 180;
- };
- _dir = _dir % 360;
- _vel = (_spallPolar select 0)*0.55*_vm;
- _vel = (_vel-(_vel*0.25))+(random (_vel*0.5));
-
- _spallFragVect = [_vel, _dir, _elev] call CBA_fnc_polar2vect;
- _fragType = round (random ((count _fragTypes)-1));
- _fragment = (_fragTypes select _fragType) createVehicleLocal [0,0,10000];
- _fragment setPosASL _spallPos;
- _fragment setVelocity _spallFragVect;
- if(GVAR(traceFrags)) then {
- [player, _fragment, [1,0,0,1]] call FUNC(addTrack);
- };
- };
- };
- };
+//fnc_doSpall.sqf
+#include "script_component.hpp"
+#ifdef DEBUG_MODE_FULL
+ GVAR(traceFrags) = true;
+#endif
+// player sideChat "WAAAAAAAAAAAAAAAAAAAAA";
+private ["_params", "_initialData", "_hpData", "_roundType", "_round", "_object", "_caliber", "_explosive",
+ "_idh", "_alive", "_exit", "_vm", "_velocity", "_unitDir", "_oldVelocity", "_curVelocity", "_diff", "_polar",
+ "_pos", "_spallPos", "_i", "_pos1", "_pos2", "_blah", "_data", "_spallPolar", "_c", "_warn", "_m", "_k",
+ "_gC", "_shellType", "_fragPower", "_spread", "_spallCount", "_elev", "_dir", "_vel", "_spallFragVect",
+ "_fragment"];
+
+
+_params = _this select 0;
+[(_this select 1)] call cba_fnc_removePerFrameHandler;
+_hitData = _params select 0;
+_initialData = GVAR(spallHPData) select (_hitData select 0);
+_hpData = (_hitData select 1) select (_params select 1);
+
+
+_object = _hpData select 0;
+_object removeEventHandler ["hitPart", _initialData select 0];
+_foundObjects = _initialData select 7;
+_index = _foundObjects find _object;
+if(_index != -1) then {
+ _foundObjecsts set[_index, nil];
+};
+
+_roundType = (_initialData select 2);
+_round = (_initialData select 3);
+_object = (_initialData select 1);
+
+_caliber = getNumber(configFile >> "CfgAmmo" >> _roundType >> "caliber");
+_explosive = getNumber(configFile >> "CfgAmmo" >> _roundType >> "explosive");
+_idh = getNumber(configFile >> "CfgAmmo" >> _roundType >> "indirectHitRange");
+
+_alive = true;
+if(!alive _round && (_initialData select 6) == 1) then {
+ _alive = false;
+};
+
+if(_alive || {_caliber >= 2.5} || {(_explosive > 0 && {_idh >= 1})}) then {
+ // player sideChat format["BBBB"];
+ _exit = false;
+ _vm = 1;
+ _velocity = _initialData select 5;
+
+ _oldVelocity = _velocity call BIS_fnc_magnitude;
+ _curVelocity = (velocity _round) call BIS_fnc_magnitude;
+
+ if(alive _round) then {
+ _diff = _velocity vectorDiff (velocity _round);
+ _polar = _diff call CBA_fnc_vect2polar;
+ // player sideChat format["polar: %1", _polar];
+ if((abs(_polar select 1) > 45 || abs(_polar select 2) > 45)) then {
+ if(_caliber < 2.5) then {
+ // player sideChat format["exit!"];
+ _exit = true;
+ } else {
+ _vm = 1-(_curVelocity/_oldVelocity);
+ };
+ };
+ };
+ if(!_exit) then {
+ _unitDir = vectorNormalized _velocity;
+ _pos = _hpData select 3;
+ _spallPos = nil;
+ for "_i" from 0 to 100 do {
+ _pos1 = [
+ (_pos select 0) + (((_unitDir select 0)*0.01)*_i),
+ (_pos select 1) + (((_unitDir select 1)*0.01)*_i),
+ (_pos select 2) + (((_unitDir select 2)*0.01)*_i)
+ ];
+ _pos2 = [
+ (_pos select 0) + (((_unitDir select 0)*0.01)*(_i+1)),
+ (_pos select 1) + (((_unitDir select 1)*0.01)*(_i+1)),
+ (_pos select 2) + (((_unitDir select 2)*0.01)*(_i+1))
+ ];
+ // _blah = [_object, "FIRE"] intersect [_object worldToModel (ASLtoATL _pos1), _object worldToModel (ASLtoATL _pos2)];
+ // diag_log text format["b: %1", _blah];
+
+ // _data = [nil, nil, nil, 1, [[ASLtoATL _pos1, 1], [ASLtoATL _pos2, 1]]];
+ // NOU_TRACES set[(count NOU_TRACES), _data];
+
+ if(!lineIntersects [_pos1, _pos2]) exitWith {
+ // player sideChat format["FOUND!"];
+ _spallPos = _pos2;
+ };
+ };
+ if(!isNil "_spallPos") then {
+ _spallPolar = _velocity call CBA_fnc_vect2polar;
+
+ if(_explosive > 0) then {
+ // player sideChat format["EXPLOSIVE!"];
+ _warn = false;
+ _c = getNumber(configFile >> "CfgAmmo" >> _roundType >> "ACE_frag_CHARGE");
+ if(_c == 0) then { _c = 1; _warn = true;};
+ _m = getNumber(configFile >> "CfgAmmo" >> _roundType >> "ACE_frag_METAL");
+ if(_m == 0) then { _m = 2; _warn = true;};
+ _k = getNumber(configFile >> "CfgAmmo" >> _roundType >> "ACE_frag_GURNEY_K");
+ if(_k == 0) then { _k = 1/2; _warn = true;};
+ _gC = getNumber(configFile >> "CfgAmmo" >> _roundType >> "ACE_frag_GURNEY_C");
+ if(_gC == 0) then { _gC = 2440; _warn = true;};
+
+ if(_warn) then {
+ diag_log text format["Ammo class %1 lacks proper explosive properties definitions for frag!", _roundType]; //TODO: turn this off when we get closer to release
+ };
+
+ _fragPower = (((_m/_c)+_k)^-(1/2))*_gC;
+ _spallPolar set[0, _fragPower*0.66];
+ };
+
+ _fragTypes = [
+ "ACE_frag_spall_small", "ACE_frag_spall_small", "ACE_frag_spall_small",
+ "ACE_frag_spall_small","ACE_frag_spall_medium","ACE_frag_spall_medium","ACE_frag_spall_medium",
+ "ACE_frag_spall_medium", "ACE_frag_spall_large", "ACE_frag_spall_large", "ACE_frag_spall_huge",
+ "ACE_frag_spall_huge"
+
+ ];
+
+ // diag_log text format["SPALL POWER: %1", _spallPolar select 0];
+ _spread = 15+(random 25);
+ _spallCount = 5+(random 10);
+ for "_i" from 1 to _spallCount do {
+ _elev = ((_spallPolar select 2)-_spread)+(random (_spread*2));
+ _dir = ((_spallPolar select 1)-_spread)+(random (_spread*2));
+ if(abs _elev > 90) then {
+ _dir = _dir + 180;
+ };
+ _dir = _dir % 360;
+ _vel = (_spallPolar select 0)*0.33*_vm;
+ _vel = (_vel-(_vel*0.25))+(random (_vel*0.5));
+
+ _spallFragVect = [_vel, _dir, _elev] call CBA_fnc_polar2vect;
+ _fragType = round (random ((count _fragTypes)-1));
+ _fragment = (_fragTypes select _fragType) createVehicleLocal [0,0,10000];
+ _fragment setPosASL _spallPos;
+ _fragment setVelocity _spallFragVect;
+ if(GVAR(traceFrags)) then {
+ [player, _fragment, [1,0.5,0,1]] call FUNC(addTrack);
+ };
+ };
+ _spread = 5+(random 5);
+ _spallCount = 3+(random 5);
+ for "_i" from 1 to _spallCount do {
+ _elev = ((_spallPolar select 2)-_spread)+(random (_spread*2));
+ _dir = ((_spallPolar select 1)-_spread)+(random (_spread*2));
+ if(abs _elev > 90) then {
+ _dir = _dir + 180;
+ };
+ _dir = _dir % 360;
+ _vel = (_spallPolar select 0)*0.55*_vm;
+ _vel = (_vel-(_vel*0.25))+(random (_vel*0.5));
+
+ _spallFragVect = [_vel, _dir, _elev] call CBA_fnc_polar2vect;
+ _fragType = round (random ((count _fragTypes)-1));
+ _fragment = (_fragTypes select _fragType) createVehicleLocal [0,0,10000];
+ _fragment setPosASL _spallPos;
+ _fragment setVelocity _spallFragVect;
+ if(GVAR(traceFrags)) then {
+ [player, _fragment, [1,0,0,1]] call FUNC(addTrack);
+ };
+ };
+ };
+ };
};
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_drawTraces.sqf b/addons/frag/functions/fnc_drawTraces.sqf
index b9645bab97..c4b5989177 100644
--- a/addons/frag/functions/fnc_drawTraces.sqf
+++ b/addons/frag/functions/fnc_drawTraces.sqf
@@ -1,32 +1,32 @@
-#include "script_component.hpp"
-{
- _positions = _x select 4;
- _color = _x select 5;
- _index = 0;
- _max = count _positions;
- _startSpeed = (_positions select 0) select 1;
- if(_startSpeed <= 0) then {
- _startSpeed = 0.01;
- };
- _lastSpd = [];
- _lastPos = [];
- while {_index < _max} do {
- _data1 = _positions select _index;
- _data2 = nil;
- if(_index + ACE_TRACE_DRAW_INC >= _max) then {
- _data2 = _positions select (_max - 1);
- } else {
- _data2 = _positions select (_index + ACE_TRACE_DRAW_INC);
- };
-
- _pos1 = _data1 select 0;
- _pos2 = _data2 select 0;
- _index = _index + ACE_TRACE_DRAW_INC;
-
-
- drawLine3D [_pos1, _pos2, _color];
- _lastPos = _pos2;
- _lastSpd = _data1 select 1;
- };
- // drawIcon3D ["", [1,0,0,1], _lastPos, 0, 0, 0, format["%1m/s", _lastSpd], 1, 0.05, "PuristaMedium"];
+#include "script_component.hpp"
+{
+ _positions = _x select 4;
+ _color = _x select 5;
+ _index = 0;
+ _max = count _positions;
+ _startSpeed = (_positions select 0) select 1;
+ if(_startSpeed <= 0) then {
+ _startSpeed = 0.01;
+ };
+ _lastSpd = [];
+ _lastPos = [];
+ while {_index < _max} do {
+ _data1 = _positions select _index;
+ _data2 = nil;
+ if(_index + ACE_TRACE_DRAW_INC >= _max) then {
+ _data2 = _positions select (_max - 1);
+ } else {
+ _data2 = _positions select (_index + ACE_TRACE_DRAW_INC);
+ };
+
+ _pos1 = _data1 select 0;
+ _pos2 = _data2 select 0;
+ _index = _index + ACE_TRACE_DRAW_INC;
+
+
+ drawLine3D [_pos1, _pos2, _color];
+ _lastPos = _pos2;
+ _lastSpd = _data1 select 1;
+ };
+ // drawIcon3D ["", [1,0,0,1], _lastPos, 0, 0, 0, format["%1m/s", _lastSpd], 1, 0.05, "PuristaMedium"];
} forEach GVAR(traces);
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_frag_trace.sqf b/addons/frag/functions/fnc_frag_trace.sqf
index 664e117793..3ca768e05b 100644
--- a/addons/frag/functions/fnc_frag_trace.sqf
+++ b/addons/frag/functions/fnc_frag_trace.sqf
@@ -1,10 +1,10 @@
-#include "script_component.hpp"
-
-private ["_params", "_shell"];
-_params = _this select 0;
-_shell = _params select 0;
-if(alive _shell) then {
- drop ["\Ca\Data\Cl_basic","","Billboard",1,30,(getPos _shell),[0,0,0],1,1.275,1.0,0.0,[0.5],[[0,1,0,1]],[0],0.0,2.0,"","",""];
-} else {
- [_this select 1] call cba_fnc_removePerFrameHandler;
+#include "script_component.hpp"
+
+private ["_params", "_shell"];
+_params = _this select 0;
+_shell = _params select 0;
+if(alive _shell) then {
+ drop ["\Ca\Data\Cl_basic","","Billboard",1,30,(getPos _shell),[0,0,0],1,1.275,1.0,0.0,[0.5],[[0,1,0,1]],[0],0.0,2.0,"","",""];
+} else {
+ [_this select 1] call cba_fnc_removePerFrameHandler;
};
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_frago.sqf b/addons/frag/functions/fnc_frago.sqf
index 1b737dc70d..2396311d8b 100644
--- a/addons/frag/functions/fnc_frago.sqf
+++ b/addons/frag/functions/fnc_frago.sqf
@@ -1,230 +1,230 @@
-//fnc_frago.sqf
-// #define DEBUG_MODE_FULL
-#include "script_component.hpp"
-
-#define FRAG_VEC_VAR 0.004
-
-#define MAX_FRAG_COUNT 50
-
-if(!isServer) exitWith { };
-
-// _startTime = diag_tickTime;
-private ["_round", "_lastPos", "_lastVel", "_shellType", "_gun", "_fragTypes", "_warn", "_atlPos", "_isArmed",
- "_fuseDist", "_indirectHitRange", "_fragRange", "_c", "_m", "_k", "_gC", "_fragPower", "_fragPowerRandom",
- "_manObjects", "_objects", "_crew", "_fragCount", "_fragArcs", "_doRandom", "_target", "_boundingBox",
- "_targetPos", "_distance", "_add", "_bbX", "_bbY", "_bbZ", "_cubic", "_targetVel", "_baseVec", "_dir",
- "_currentCount", "_count", "_vecVar", "_i", "_vec", "_fp", "_vel", "_fragType", "_fragObj", "_randomCount",
- "_sectorSize", "_sectorOffset", "_randomDir"];
-
-
-_round = _this select 0;
-_lastPos = _this select 1;
-_lastVel = _this select 2;
-_shellType = _this select 3;
-_gun = nil;
-if((count _this) > 5) then {
- _gun = _this select 5;
-};
-
-_fragTypes = [
- "ACE_frag_tiny", "ACE_frag_tiny", "ACE_frag_tiny",
- "ACE_frag_tiny_HD", "ACE_frag_tiny_HD", "ACE_frag_tiny_HD",
- "ACE_frag_small","ACE_frag_small","ACE_frag_small","ACE_frag_small",
- "ACE_frag_small_HD","ACE_frag_small_HD","ACE_frag_small_HD","ACE_frag_small_HD",
- "ACE_frag_medium_HD", "ACE_frag_medium_HD", "ACE_frag_medium_HD", "ACE_frag_medium_HD", "ACE_frag_medium_HD"
- ];
-
-_warn = false;
-if(isArray (configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_CLASSES")) then {
- _fragTypes = getArray (configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_CLASSES");
-} else {
- _warn = true;
-};
-
-_atlPos = ASLtoATL _lastPos;
-
-_isArmed = true;
-if(!isNil "_gun") then {
- _fuseDist = getNumber(configFile >> "CfgAmmo" >> _shellType >> "fuseDistance");
- _isArmed = ((getPosASL _gun) distance _lastPos > _fuseDist);
-};
-
-_indirectHitRange = getNumber(configFile >> "CfgAmmo" >> _shellType >> "indirecthitrange");
-_fragRange = 20*_indirectHitRange*4;
-// _c = 185; // grams of comp-b
-// _m = 210; // grams of fragmentating metal
-// _k = 3/5; // spherical K factor
-// _gC = 2843; // Gurney constant of comp-b in /ms
-
-// _c = 429; // grams of tritonal
-// _m = 496; // grams of fragmentating metal
-// _k = 1/2; // spherical K factor
-// _gC = 2320; // Gurney constant of tritonal in /ms
-
-
-_c = getNumber(configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_CHARGE");
-if(_c == 0) then { _c = 1; _warn = true;};
-_m = getNumber(configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_METAL");
-if(_m == 0) then { _m = 2; _warn = true;};
-_k = getNumber(configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_GURNEY_K");
-if(_k == 0) then { _k = 1/2; _warn = true;};
-_gC = getNumber(configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_GURNEY_C");
-if(_gC == 0) then { _gC = 2440; _warn = true;};
-
-if(_warn) then {
- diag_log text format["Ammo class %1 lacks proper explosive properties definitions for frag!", _shellType]; //TODO: turn this off when we get closer to release
-};
-
-_fragPower = (((_m/_c)+_k)^-(1/2))*_gC;
-_fragPower = _fragPower*0.8; // Gunery equation is for a non-fragmenting metal, imperical value of 80% represents fragmentation
-
-_fragPowerRandom = _fragPower*0.5;
-if((_atlPos select 2) < 0.5) then {
- _lastPos set[2, (_lastPos select 2)+0.5];
-};
-
-// _manObjects = _atlPos nearEntities ["CaManBase", _fragRange];
-
-// setAccTime 0.01;
-
-//_objects = nearestObjects [_atlPos, ["AllVehicles"], _fragRange]; // Not sure if tracking "ReammoBox" is required, if so revert this change for _objects
-_objects = _atlPos nearEntities [["Car", "Motorcycle", "Tank", "StaticWeapon", "CAManBase", "Air", "Ship"], _fragRange];
-
-// _objects = _manObjects;
-// Target also people inside vehicles or manning weapons
-_crew = [];
-{
- {
- _crew set [count _crew,_x]
- } forEach (crew _x);
-} forEach _objects;
-
-_objects = _objects - _crew;
-_objects = _objects + _crew;
-
-_fragCount = 0;
-
-_fragArcs = [];
-_fragArcs set[360, 0];
-
-#ifdef DEBUG_MODE_FULL
- player sideChat format["_fragRange: %1", _fragRange];
- player sideChat format["_objects: %1", _objects];
-#endif
-_doRandom = false;
-if(_isArmed && (count _objects) > 0) then {
- {
- //if(random(1) > 0.5) then {
- _target = _x;
- if(alive _target) then {
- _boundingBox = boundingBox _target;
- _targetPos = (getPosASL _target);
- _distance = _targetPos distance _lastPos;
- _add = (((_boundingBox select 1) select 2)/2)+((((_distance-(_fragpower/8)) max 0)/_fragPower)*10);
- _bbX = (abs((_boundingBox select 0) select 0))+((_boundingBox select 1) select 0);
- _bbY = (abs((_boundingBox select 0) select 1))+((_boundingBox select 1) select 1);
- _bbZ = (abs((_boundingBox select 0) select 2))+((_boundingBox select 1) select 2);
- _cubic = _bbX*_bbY*_bbZ;
- if(_cubic > 1) then {
- _doRandom = true;
-
- _targetVel = (velocity _target);
-
-
- _targetPos set[0, (_targetPos select 0)+((_targetVel select 0)*(_distance/_fragPower))];
- _targetPos set[1, (_targetPos select 1)+((_targetVel select 1)*(_distance/_fragPower))];
- _targetPos set[2, (_targetPos select 2)+_add];
-
- _baseVec = _lastPos vectorFromTo _targetPos;
-
- _dir = floor(_baseVec call CBA_fnc_vectDir);
- _currentCount = _fragArcs select _dir;
- if(isNil "_currentCount") then {
- _currentCount = 0;
- };
- if(_currentCount < 20) then {
- _count = ceil(random(sqrt(_m/1000)));
- _vecVar = FRAG_VEC_VAR;
- if(!(_target isKindOf "Man")) then {
- _vecVar = ((sqrt _cubic)/2000)+FRAG_VEC_VAR;
- if((count (crew _target)) == 0 && _count > 0) then {
- _count = 0 max (_count/2);
- };
- };
- for "_i" from 1 to _count do {
- _vec = +_baseVec;
-
- _vec set[0, (_vec select 0)-(_vecVar/2)+(random _vecVar)];
- _vec set[1, (_vec select 1)-(_vecVar/2)+(random _vecVar)];
- _vec set[2, (_vec select 2)-(_vecVar/2)+(random _vecVar)];
-
- _fp = (_fragPower-(random (_fragPowerRandom)));
- _vel = [
- (_vec select 0)*_fp,
- (_vec select 1)*_fp,
- (_vec select 2)*_fp
- ];
-
- _fragType = round (random ((count _fragTypes)-1));
- _fragObj = (_fragTypes select _fragType) createVehicleLocal [0,0,10000];
- // diag_log text format["fp: %1 %2", _fp, typeOf _fragObj];
- _fragObj setPosASL _lastPos;
- _fragObj setVectorDir _vec;
- _fragObj setVelocity _vel;
- #ifdef DEBUG_MODE_FULL
- GVAR(TOTALFRAGS) = GVAR(TOTALFRAGS) + 1;
- GVAR(traceFrags) = true;
- #endif
- if(GVAR(traceFrags)) then {
- [player, _fragObj, [1,0,0,1]] call FUNC(addTrack);
- };
- _fragCount = _fragCount + 1;
- _currentCount = _currentCount + 1;
- };
- _fragArcs set[_dir, _currentCount];
- };
- };
- };
- //};
- if(_fragCount > MAX_FRAG_COUNT) exitWith {};
- } forEach _objects;
- if(_fragCount > MAX_FRAG_COUNT) exitWith {};
- _randomCount = (ceil((MAX_FRAG_COUNT-_fragCount)*0.1)) max 0;
- _sectorSize = 360 / (_randomCount max 1);
- // _doRandom = false;
- if(_doRandom) then {
- for "_i" from 1 to _randomCount do {
- // Distribute evenly
- _sectorOffset = 360 * (_i - 1) / (_randomCount max 1);
- _randomDir = random(_sectorSize);
- _vec = [cos(_sectorOffset + _randomDir), sin(_sectorOffset + _randomDir), sin(30 - (random 45))];
-
- _fp = (_fragPower-(random (_fragPowerRandom)));
-
- _vel = [
- (_vec select 0)*_fp,
- (_vec select 1)*_fp,
- (_vec select 2)*_fp
- ];
-
- _fragType = round (random ((count _fragTypes)-1));
- _fragObj = (_fragTypes select _fragType) createVehicleLocal [0,0,10000];
- _fragObj setPosASL _lastPos;
- _fragObj setVectorDir _vec;
- _fragObj setVelocity _vel;
- #ifdef DEBUG_MODE_FULL
- GVAR(TOTALFRAGS) = GVAR(TOTALFRAGS) + 1;
- GVAR(traceFrags) = true;
- #endif
- if(GVAR(traceFrags)) then {
- [player, _fragObj, [1,0.5,0,1]] call FUNC(addTrack);
- };
- _fragCount = _fragCount + 1;
- };
- };
-};
-// #ifdef DEBUG_MODE_FULL
- // player sideChat format["total frags: %1", GVAR(TOTALFRAGS)];
- // player sideChat format["tracks: %1", (count GVAR(trackedObjects))];
-// #endif
-// _endTime = diag_tickTime;
+//fnc_frago.sqf
+// #define DEBUG_MODE_FULL
+#include "script_component.hpp"
+
+#define FRAG_VEC_VAR 0.004
+
+#define MAX_FRAG_COUNT 50
+
+if(!isServer) exitWith { };
+
+// _startTime = diag_tickTime;
+private ["_round", "_lastPos", "_lastVel", "_shellType", "_gun", "_fragTypes", "_warn", "_atlPos", "_isArmed",
+ "_fuseDist", "_indirectHitRange", "_fragRange", "_c", "_m", "_k", "_gC", "_fragPower", "_fragPowerRandom",
+ "_manObjects", "_objects", "_crew", "_fragCount", "_fragArcs", "_doRandom", "_target", "_boundingBox",
+ "_targetPos", "_distance", "_add", "_bbX", "_bbY", "_bbZ", "_cubic", "_targetVel", "_baseVec", "_dir",
+ "_currentCount", "_count", "_vecVar", "_i", "_vec", "_fp", "_vel", "_fragType", "_fragObj", "_randomCount",
+ "_sectorSize", "_sectorOffset", "_randomDir"];
+
+
+_round = _this select 0;
+_lastPos = _this select 1;
+_lastVel = _this select 2;
+_shellType = _this select 3;
+_gun = nil;
+if((count _this) > 5) then {
+ _gun = _this select 5;
+};
+
+_fragTypes = [
+ "ACE_frag_tiny", "ACE_frag_tiny", "ACE_frag_tiny",
+ "ACE_frag_tiny_HD", "ACE_frag_tiny_HD", "ACE_frag_tiny_HD",
+ "ACE_frag_small","ACE_frag_small","ACE_frag_small","ACE_frag_small",
+ "ACE_frag_small_HD","ACE_frag_small_HD","ACE_frag_small_HD","ACE_frag_small_HD",
+ "ACE_frag_medium_HD", "ACE_frag_medium_HD", "ACE_frag_medium_HD", "ACE_frag_medium_HD", "ACE_frag_medium_HD"
+ ];
+
+_warn = false;
+if(isArray (configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_CLASSES")) then {
+ _fragTypes = getArray (configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_CLASSES");
+} else {
+ _warn = true;
+};
+
+_atlPos = ASLtoATL _lastPos;
+
+_isArmed = true;
+if(!isNil "_gun") then {
+ _fuseDist = getNumber(configFile >> "CfgAmmo" >> _shellType >> "fuseDistance");
+ _isArmed = ((getPosASL _gun) distance _lastPos > _fuseDist);
+};
+
+_indirectHitRange = getNumber(configFile >> "CfgAmmo" >> _shellType >> "indirecthitrange");
+_fragRange = 20*_indirectHitRange*4;
+// _c = 185; // grams of comp-b
+// _m = 210; // grams of fragmentating metal
+// _k = 3/5; // spherical K factor
+// _gC = 2843; // Gurney constant of comp-b in /ms
+
+// _c = 429; // grams of tritonal
+// _m = 496; // grams of fragmentating metal
+// _k = 1/2; // spherical K factor
+// _gC = 2320; // Gurney constant of tritonal in /ms
+
+
+_c = getNumber(configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_CHARGE");
+if(_c == 0) then { _c = 1; _warn = true;};
+_m = getNumber(configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_METAL");
+if(_m == 0) then { _m = 2; _warn = true;};
+_k = getNumber(configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_GURNEY_K");
+if(_k == 0) then { _k = 1/2; _warn = true;};
+_gC = getNumber(configFile >> "CfgAmmo" >> _shellType >> "ACE_frag_GURNEY_C");
+if(_gC == 0) then { _gC = 2440; _warn = true;};
+
+if(_warn) then {
+ diag_log text format["Ammo class %1 lacks proper explosive properties definitions for frag!", _shellType]; //TODO: turn this off when we get closer to release
+};
+
+_fragPower = (((_m/_c)+_k)^-(1/2))*_gC;
+_fragPower = _fragPower*0.8; // Gunery equation is for a non-fragmenting metal, imperical value of 80% represents fragmentation
+
+_fragPowerRandom = _fragPower*0.5;
+if((_atlPos select 2) < 0.5) then {
+ _lastPos set[2, (_lastPos select 2)+0.5];
+};
+
+// _manObjects = _atlPos nearEntities ["CaManBase", _fragRange];
+
+// setAccTime 0.01;
+
+//_objects = nearestObjects [_atlPos, ["AllVehicles"], _fragRange]; // Not sure if tracking "ReammoBox" is required, if so revert this change for _objects
+_objects = _atlPos nearEntities [["Car", "Motorcycle", "Tank", "StaticWeapon", "CAManBase", "Air", "Ship"], _fragRange];
+
+// _objects = _manObjects;
+// Target also people inside vehicles or manning weapons
+_crew = [];
+{
+ {
+ _crew set [count _crew,_x]
+ } forEach (crew _x);
+} forEach _objects;
+
+_objects = _objects - _crew;
+_objects = _objects + _crew;
+
+_fragCount = 0;
+
+_fragArcs = [];
+_fragArcs set[360, 0];
+
+#ifdef DEBUG_MODE_FULL
+ player sideChat format["_fragRange: %1", _fragRange];
+ player sideChat format["_objects: %1", _objects];
+#endif
+_doRandom = false;
+if(_isArmed && (count _objects) > 0) then {
+ {
+ //if(random(1) > 0.5) then {
+ _target = _x;
+ if(alive _target) then {
+ _boundingBox = boundingBox _target;
+ _targetPos = (getPosASL _target);
+ _distance = _targetPos distance _lastPos;
+ _add = (((_boundingBox select 1) select 2)/2)+((((_distance-(_fragpower/8)) max 0)/_fragPower)*10);
+ _bbX = (abs((_boundingBox select 0) select 0))+((_boundingBox select 1) select 0);
+ _bbY = (abs((_boundingBox select 0) select 1))+((_boundingBox select 1) select 1);
+ _bbZ = (abs((_boundingBox select 0) select 2))+((_boundingBox select 1) select 2);
+ _cubic = _bbX*_bbY*_bbZ;
+ if(_cubic > 1) then {
+ _doRandom = true;
+
+ _targetVel = (velocity _target);
+
+
+ _targetPos set[0, (_targetPos select 0)+((_targetVel select 0)*(_distance/_fragPower))];
+ _targetPos set[1, (_targetPos select 1)+((_targetVel select 1)*(_distance/_fragPower))];
+ _targetPos set[2, (_targetPos select 2)+_add];
+
+ _baseVec = _lastPos vectorFromTo _targetPos;
+
+ _dir = floor(_baseVec call CBA_fnc_vectDir);
+ _currentCount = _fragArcs select _dir;
+ if(isNil "_currentCount") then {
+ _currentCount = 0;
+ };
+ if(_currentCount < 20) then {
+ _count = ceil(random(sqrt(_m/1000)));
+ _vecVar = FRAG_VEC_VAR;
+ if(!(_target isKindOf "Man")) then {
+ _vecVar = ((sqrt _cubic)/2000)+FRAG_VEC_VAR;
+ if((count (crew _target)) == 0 && _count > 0) then {
+ _count = 0 max (_count/2);
+ };
+ };
+ for "_i" from 1 to _count do {
+ _vec = +_baseVec;
+
+ _vec set[0, (_vec select 0)-(_vecVar/2)+(random _vecVar)];
+ _vec set[1, (_vec select 1)-(_vecVar/2)+(random _vecVar)];
+ _vec set[2, (_vec select 2)-(_vecVar/2)+(random _vecVar)];
+
+ _fp = (_fragPower-(random (_fragPowerRandom)));
+ _vel = [
+ (_vec select 0)*_fp,
+ (_vec select 1)*_fp,
+ (_vec select 2)*_fp
+ ];
+
+ _fragType = round (random ((count _fragTypes)-1));
+ _fragObj = (_fragTypes select _fragType) createVehicleLocal [0,0,10000];
+ // diag_log text format["fp: %1 %2", _fp, typeOf _fragObj];
+ _fragObj setPosASL _lastPos;
+ _fragObj setVectorDir _vec;
+ _fragObj setVelocity _vel;
+ #ifdef DEBUG_MODE_FULL
+ GVAR(TOTALFRAGS) = GVAR(TOTALFRAGS) + 1;
+ GVAR(traceFrags) = true;
+ #endif
+ if(GVAR(traceFrags)) then {
+ [player, _fragObj, [1,0,0,1]] call FUNC(addTrack);
+ };
+ _fragCount = _fragCount + 1;
+ _currentCount = _currentCount + 1;
+ };
+ _fragArcs set[_dir, _currentCount];
+ };
+ };
+ };
+ //};
+ if(_fragCount > MAX_FRAG_COUNT) exitWith {};
+ } forEach _objects;
+ if(_fragCount > MAX_FRAG_COUNT) exitWith {};
+ _randomCount = (ceil((MAX_FRAG_COUNT-_fragCount)*0.1)) max 0;
+ _sectorSize = 360 / (_randomCount max 1);
+ // _doRandom = false;
+ if(_doRandom) then {
+ for "_i" from 1 to _randomCount do {
+ // Distribute evenly
+ _sectorOffset = 360 * (_i - 1) / (_randomCount max 1);
+ _randomDir = random(_sectorSize);
+ _vec = [cos(_sectorOffset + _randomDir), sin(_sectorOffset + _randomDir), sin(30 - (random 45))];
+
+ _fp = (_fragPower-(random (_fragPowerRandom)));
+
+ _vel = [
+ (_vec select 0)*_fp,
+ (_vec select 1)*_fp,
+ (_vec select 2)*_fp
+ ];
+
+ _fragType = round (random ((count _fragTypes)-1));
+ _fragObj = (_fragTypes select _fragType) createVehicleLocal [0,0,10000];
+ _fragObj setPosASL _lastPos;
+ _fragObj setVectorDir _vec;
+ _fragObj setVelocity _vel;
+ #ifdef DEBUG_MODE_FULL
+ GVAR(TOTALFRAGS) = GVAR(TOTALFRAGS) + 1;
+ GVAR(traceFrags) = true;
+ #endif
+ if(GVAR(traceFrags)) then {
+ [player, _fragObj, [1,0.5,0,1]] call FUNC(addTrack);
+ };
+ _fragCount = _fragCount + 1;
+ };
+ };
+};
+// #ifdef DEBUG_MODE_FULL
+ // player sideChat format["total frags: %1", GVAR(TOTALFRAGS)];
+ // player sideChat format["tracks: %1", (count GVAR(trackedObjects))];
+// #endif
+// _endTime = diag_tickTime;
diff --git a/addons/frag/functions/fnc_removeTrack.sqf b/addons/frag/functions/fnc_removeTrack.sqf
index 804719a7ca..39c2f24fc7 100644
--- a/addons/frag/functions/fnc_removeTrack.sqf
+++ b/addons/frag/functions/fnc_removeTrack.sqf
@@ -1,14 +1,14 @@
-#include "script_component.hpp"
-
-private ["_ret"];
-_ret = true;
-if(IS_ARRAY((_this select 0))) then {
- _ret = false;
-} else {
- if((_this select 0) in GVAR(trackedObjects)) then {
- GVAR(trackedObjects) = GVAR(trackedObjects) - [(_this select 0)];
- } else {
- _ret = false;
- };
-};
+#include "script_component.hpp"
+
+private ["_ret"];
+_ret = true;
+if(IS_ARRAY((_this select 0))) then {
+ _ret = false;
+} else {
+ if((_this select 0) in GVAR(trackedObjects)) then {
+ GVAR(trackedObjects) = GVAR(trackedObjects) - [(_this select 0)];
+ } else {
+ _ret = false;
+ };
+};
_ret
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_spallHP.sqf b/addons/frag/functions/fnc_spallHP.sqf
index fb894be499..2dadb1efa3 100644
--- a/addons/frag/functions/fnc_spallHP.sqf
+++ b/addons/frag/functions/fnc_spallHP.sqf
@@ -1,29 +1,29 @@
-#include "script_component.hpp"
-
-private ["_initialData", "_currentCount", "_hpData", "_round", "_hpRound"];
-//player sideChat format["f: %1 c: %2", (_this select 0), (count GVAR(spallHPData))];
-if((_this select 0) <= (count GVAR(spallHPData))) then {
- _initialData = GVAR(spallHPData) select (_this select 0);
- if(!isNil "_initialData") then {
- _hpRound = ((_this select 1) select 0) select 2;
- _round = _initialData select 3;
- _hpDirect = ((_this select 1) select 0) select 10;
- if(_hpDirect && {_round == _hpRound}) then {
-
- {
- _hpData = _x;
- _round = _initialData select 3;
- // diag_log text format["HPDUMP-------------------------------------"];
- // {
- // _hp = _x;
- // diag_log text format["%1 --", _forEachIndex];
- // {
- // diag_log text format["%1: %2", _forEachIndex, _x];
- // } forEach _hp;
- // } forEach (_this select 1);
- [DFUNC(doSpall), 0, [_this, _forEachIndex]] call cba_fnc_addPerFrameHandler;
- // player sideChat "WEEE";
- } forEach (_this select 1);
- };
- };
+#include "script_component.hpp"
+
+private ["_initialData", "_currentCount", "_hpData", "_round", "_hpRound"];
+//player sideChat format["f: %1 c: %2", (_this select 0), (count GVAR(spallHPData))];
+if((_this select 0) <= (count GVAR(spallHPData))) then {
+ _initialData = GVAR(spallHPData) select (_this select 0);
+ if(!isNil "_initialData") then {
+ _hpRound = ((_this select 1) select 0) select 2;
+ _round = _initialData select 3;
+ _hpDirect = ((_this select 1) select 0) select 10;
+ if(_hpDirect && {_round == _hpRound}) then {
+
+ {
+ _hpData = _x;
+ _round = _initialData select 3;
+ // diag_log text format["HPDUMP-------------------------------------"];
+ // {
+ // _hp = _x;
+ // diag_log text format["%1 --", _forEachIndex];
+ // {
+ // diag_log text format["%1: %2", _forEachIndex, _x];
+ // } forEach _hp;
+ // } forEach (_this select 1);
+ [DFUNC(doSpall), 0, [_this, _forEachIndex]] call cba_fnc_addPerFrameHandler;
+ // player sideChat "WEEE";
+ } forEach (_this select 1);
+ };
+ };
};
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_spallTrack.sqf b/addons/frag/functions/fnc_spallTrack.sqf
index a264e1ded9..4cc61d3961 100644
--- a/addons/frag/functions/fnc_spallTrack.sqf
+++ b/addons/frag/functions/fnc_spallTrack.sqf
@@ -1,40 +1,40 @@
-//fnc_spallTrack.sqf
-#include "script_component.hpp"
-private ["_params", "_round", "_multiplier", "_delta", "_curPos", "_velocity", "_velocityStep", "_forwardPos", "_intersectsWith", "_index", "_i", "_test", "_hpId", "_data"];
-// setAccTime 0;
-_round = _this select 0;
-_multiplier = _this select 1;
-_foundObjects = _this select 2;
-_foundObjectHPIds = _this select 3;
-
-_delta = (1/diag_fps)*_multiplier;
-_curPos = getPosASL _round;
-_velocity = velocity _round;
-
-_velocityStep = [
- (_velocity select 0)*_delta,
- (_velocity select 1)*_delta,
- (_velocity select 2)*_delta
- ];
-_forwardPos = [
- (_curPos select 0) + (_velocityStep select 0),
- (_curPos select 1) + (_velocityStep select 1),
- (_curPos select 2) + (_velocityStep select 2)
- ];
-
-_intersectsWith = lineIntersectsWith [_curPos, _forwardPos];
-
-if(count _intersectsWith > 0) then {
- // player sideChat format["inter: %1", _intersectsWith];
- {
- if(!(_x in _foundObjects)) then {
- // diag_log text format["Adding HP: %1", _x];
- _index = (count GVAR(spallHPData));
- _hpId = _x addEventHandler ["hitPart", format["[%1, _this] call " + QUOTE(FUNC(spallHP)), _index]];
- _foundObjects set[(count _foundObjects), _x];
- _foundObjectHPIds set[(count _foundObjectHPIds), _hpId];
- _data = [_hpId, _x, typeOf _round, _round, _curPos, _velocity, 0, _foundObjects, _foundObjectHPIds];
- GVAR(spallHPData) set[_index, _data];
- };
- } forEach _intersectsWith;
+//fnc_spallTrack.sqf
+#include "script_component.hpp"
+private ["_params", "_round", "_multiplier", "_delta", "_curPos", "_velocity", "_velocityStep", "_forwardPos", "_intersectsWith", "_index", "_i", "_test", "_hpId", "_data"];
+// setAccTime 0;
+_round = _this select 0;
+_multiplier = _this select 1;
+_foundObjects = _this select 2;
+_foundObjectHPIds = _this select 3;
+
+_delta = (1/diag_fps)*_multiplier;
+_curPos = getPosASL _round;
+_velocity = velocity _round;
+
+_velocityStep = [
+ (_velocity select 0)*_delta,
+ (_velocity select 1)*_delta,
+ (_velocity select 2)*_delta
+ ];
+_forwardPos = [
+ (_curPos select 0) + (_velocityStep select 0),
+ (_curPos select 1) + (_velocityStep select 1),
+ (_curPos select 2) + (_velocityStep select 2)
+ ];
+
+_intersectsWith = lineIntersectsWith [_curPos, _forwardPos];
+
+if(count _intersectsWith > 0) then {
+ // player sideChat format["inter: %1", _intersectsWith];
+ {
+ if(!(_x in _foundObjects)) then {
+ // diag_log text format["Adding HP: %1", _x];
+ _index = (count GVAR(spallHPData));
+ _hpId = _x addEventHandler ["hitPart", format["[%1, _this] call " + QUOTE(FUNC(spallHP)), _index]];
+ _foundObjects set[(count _foundObjects), _x];
+ _foundObjectHPIds set[(count _foundObjectHPIds), _hpId];
+ _data = [_hpId, _x, typeOf _round, _round, _curPos, _velocity, 0, _foundObjects, _foundObjectHPIds];
+ GVAR(spallHPData) set[_index, _data];
+ };
+ } forEach _intersectsWith;
};
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_startTracing.sqf b/addons/frag/functions/fnc_startTracing.sqf
index 4ed9240ed6..457fec8d57 100644
--- a/addons/frag/functions/fnc_startTracing.sqf
+++ b/addons/frag/functions/fnc_startTracing.sqf
@@ -1,5 +1,5 @@
-#include "script_component.hpp"
-if(!GVAR(tracesStarted)) then {
- GVAR(tracesStarted) = true;
- GVAR(traceID) = [FUNC(drawTraces), 0, []] call cba_fnc_addPerFrameHandler;
+#include "script_component.hpp"
+if(!GVAR(tracesStarted)) then {
+ GVAR(tracesStarted) = true;
+ GVAR(traceID) = [FUNC(drawTraces), 0, []] call cba_fnc_addPerFrameHandler;
};
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_stopTracing.sqf b/addons/frag/functions/fnc_stopTracing.sqf
index 56d7508d6b..c7822aa8a0 100644
--- a/addons/frag/functions/fnc_stopTracing.sqf
+++ b/addons/frag/functions/fnc_stopTracing.sqf
@@ -1,5 +1,5 @@
-#include "script_component.hpp"
-if(GVAR(tracesStarted)) then {
- GVAR(tracesStarted) = false;
- [GVAR(traceID)] call cba_fnc_removePerFrameHandler;
+#include "script_component.hpp"
+if(GVAR(tracesStarted)) then {
+ GVAR(tracesStarted) = false;
+ [GVAR(traceID)] call cba_fnc_removePerFrameHandler;
};
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_trackFragRound.sqf b/addons/frag/functions/fnc_trackFragRound.sqf
index 586bbc0166..580994555b 100644
--- a/addons/frag/functions/fnc_trackFragRound.sqf
+++ b/addons/frag/functions/fnc_trackFragRound.sqf
@@ -1,52 +1,52 @@
-//fnc_trackFragRound.sqf
-#include "script_component.hpp"
-private ["_params", "_round", "_lastPos", "_lastVel", "_type", "_time", "_doSpall", "_skip", "_explosive", "_indirectRange", "_force", "_fragPower"];
-_params = _this select 0;
-_round = _params select 0;
-_lastPos = _params select 1;
-_lastVel = _params select 2;
-_type = _params select 3;
-_time = _params select 4;
-_doSpall = _params select 6;
-_spallTrack = _params select 7;
-_foundObjectHPIds = _params select 8;
-
-if (!alive _round) then {
- [_this select 1] call cba_fnc_removePerFrameHandler;
- if(_time != time && {_round in GVAR(trackedObjects)} && {!(_round in GVAR(blackList))}) then {
- GVAR(trackedObjects) = GVAR(trackedObjects) - [_round];
- _skip = getNumber (configFile >> "CfgAmmo" >> _type >> "ACE_FRAG_SKIP");
- if(_skip == 0) then {
- _explosive = getNumber (configFile >> "CfgAmmo" >> _type >> "explosive");
- _indirectRange = getNumber (configFile >> "CfgAmmo" >> _type >> "indirectHitRange");
- _force = getNumber (configFile >> "CfgAmmo" >> _type >> "ACE_FRAG_FORCE");
- _fragPower = getNumber(configFile >> "CfgAmmo" >> _type >> "indirecthit")*(sqrt(_indirectRange));
- if((_explosive > 0.5 && {_indirectRange >= 4.5} && {_fragPower >= 35}) || {_force == 1} ) then {
- [QGVAR(frag_eh), _params] call ace_common_fnc_serverEvent;
- GVAR(trackedObjects) = GVAR(trackedObjects) - [_round];
- };
- };
- };
- if(_doSpall) then {
- GVAR(spallIsTrackingCount) = GVAR(spallIsTrackingCount) - 1;
- // diag_log text format["F: %1", _foundObjectHPIds];
- {
- if(!isNil "_x") then {
- _x removeEventHandler ["hitPart", _foundObjectHPIds select _forEachIndex];
- };
- } forEach _spallTrack;
- };
-} else {
- if(!(_round in GVAR(trackedObjects)) || {_round in GVAR(blackList)}) then {
- [_this select 1] call cba_fnc_removePerFrameHandler;
- if(_round in GVAR(blackList)) then {
- GVAR(blackList) = GVAR(blackList) - [_round];
- };
- };
-
- _params set[1, (getPosASL _round)];
- _params set[2, (velocity _round)];
- if(_doSpall) then {
- [_round, 1, _spallTrack, _foundObjectHPIds] call FUNC(spallTrack);
- };
-};
+//fnc_trackFragRound.sqf
+#include "script_component.hpp"
+private ["_params", "_round", "_lastPos", "_lastVel", "_type", "_time", "_doSpall", "_skip", "_explosive", "_indirectRange", "_force", "_fragPower"];
+_params = _this select 0;
+_round = _params select 0;
+_lastPos = _params select 1;
+_lastVel = _params select 2;
+_type = _params select 3;
+_time = _params select 4;
+_doSpall = _params select 6;
+_spallTrack = _params select 7;
+_foundObjectHPIds = _params select 8;
+
+if (!alive _round) then {
+ [_this select 1] call cba_fnc_removePerFrameHandler;
+ if(_time != time && {_round in GVAR(trackedObjects)} && {!(_round in GVAR(blackList))}) then {
+ GVAR(trackedObjects) = GVAR(trackedObjects) - [_round];
+ _skip = getNumber (configFile >> "CfgAmmo" >> _type >> "ACE_FRAG_SKIP");
+ if(_skip == 0) then {
+ _explosive = getNumber (configFile >> "CfgAmmo" >> _type >> "explosive");
+ _indirectRange = getNumber (configFile >> "CfgAmmo" >> _type >> "indirectHitRange");
+ _force = getNumber (configFile >> "CfgAmmo" >> _type >> "ACE_FRAG_FORCE");
+ _fragPower = getNumber(configFile >> "CfgAmmo" >> _type >> "indirecthit")*(sqrt(_indirectRange));
+ if((_explosive > 0.5 && {_indirectRange >= 4.5} && {_fragPower >= 35}) || {_force == 1} ) then {
+ [QGVAR(frag_eh), _params] call ace_common_fnc_serverEvent;
+ GVAR(trackedObjects) = GVAR(trackedObjects) - [_round];
+ };
+ };
+ };
+ if(_doSpall) then {
+ GVAR(spallIsTrackingCount) = GVAR(spallIsTrackingCount) - 1;
+ // diag_log text format["F: %1", _foundObjectHPIds];
+ {
+ if(!isNil "_x") then {
+ _x removeEventHandler ["hitPart", _foundObjectHPIds select _forEachIndex];
+ };
+ } forEach _spallTrack;
+ };
+} else {
+ if(!(_round in GVAR(trackedObjects)) || {_round in GVAR(blackList)}) then {
+ [_this select 1] call cba_fnc_removePerFrameHandler;
+ if(_round in GVAR(blackList)) then {
+ GVAR(blackList) = GVAR(blackList) - [_round];
+ };
+ };
+
+ _params set[1, (getPosASL _round)];
+ _params set[2, (velocity _round)];
+ if(_doSpall) then {
+ [_round, 1, _spallTrack, _foundObjectHPIds] call FUNC(spallTrack);
+ };
+};
diff --git a/addons/frag/functions/fnc_trackTrace.sqf b/addons/frag/functions/fnc_trackTrace.sqf
index b0f3f06633..f613426cf3 100644
--- a/addons/frag/functions/fnc_trackTrace.sqf
+++ b/addons/frag/functions/fnc_trackTrace.sqf
@@ -1,14 +1,14 @@
-#include "script_component.hpp"
-_params = _this select 0;
-_tracerObj = _params select 0;
-_index = _params select 1;
-
-if(alive _tracerObj && (count GVAR(traces)) > 0) then {
- _data = GVAR(traces) select _index;
- _positions = _data select 4;
- _objVel = velocity _tracerObj;
- _objTVel = sqrt((_objVel select 0)^2 + (_objVel select 1)^2 + (_objVel select 2)^2);
- _positions set[(count _positions), [(getPos _tracerObj), _objTVel]];
-} else {
- [(_this select 1)] call cba_fnc_removePerFrameHandler;
+#include "script_component.hpp"
+_params = _this select 0;
+_tracerObj = _params select 0;
+_index = _params select 1;
+
+if(alive _tracerObj && (count GVAR(traces)) > 0) then {
+ _data = GVAR(traces) select _index;
+ _positions = _data select 4;
+ _objVel = velocity _tracerObj;
+ _objTVel = sqrt((_objVel select 0)^2 + (_objVel select 1)^2 + (_objVel select 2)^2);
+ _positions set[(count _positions), [(getPos _tracerObj), _objTVel]];
+} else {
+ [(_this select 1)] call cba_fnc_removePerFrameHandler;
};
\ No newline at end of file
diff --git a/addons/frag/functions/fnc_vectorDiffFast.sqf b/addons/frag/functions/fnc_vectorDiffFast.sqf
index 0a41860727..39217d7b20 100644
--- a/addons/frag/functions/fnc_vectorDiffFast.sqf
+++ b/addons/frag/functions/fnc_vectorDiffFast.sqf
@@ -1,15 +1,15 @@
-#include "script_component.hpp"
-private["_p1","_p2","_return"];
-
-_p1 = _this select 0;
-_p2 = _this select 1;
-
-if ((count _p1) != (count _p2)) then {textLogFormat ["BIS_FNC Error: vectors not of same size"]};
-
-_return = [];
-
-{
- _return set[_forEachIndex, (_p2 select _forEachIndex) - _x];
-} forEach _p1;
-
-_return
+#include "script_component.hpp"
+private["_p1","_p2","_return"];
+
+_p1 = _this select 0;
+_p2 = _this select 1;
+
+if ((count _p1) != (count _p2)) then {textLogFormat ["BIS_FNC Error: vectors not of same size"]};
+
+_return = [];
+
+{
+ _return set[_forEachIndex, (_p2 select _forEachIndex) - _x];
+} forEach _p1;
+
+_return
diff --git a/addons/frag/script_component.hpp b/addons/frag/script_component.hpp
index 3740ed23fa..00df542b65 100644
--- a/addons/frag/script_component.hpp
+++ b/addons/frag/script_component.hpp
@@ -1,16 +1,16 @@
-#define COMPONENT frag
-#include "\z\ace\Addons\main\script_mod.hpp"
-
-//#define DEBUG_ENABLED_FRAG
-
-#ifdef DEBUG_ENABLED_FRAG
- #define DEBUG_MODE_FULL
-#endif
-
-#ifdef DEBUG_SETTINGS_FRAG
- #define DEBUG_SETTINGS DEBUG_SETTINGS_FRAG
-#endif
-
-#include "\z\ace\Addons\main\script_macros.hpp"
-
+#define COMPONENT frag
+#include "\z\ace\Addons\main\script_mod.hpp"
+
+//#define DEBUG_ENABLED_FRAG
+
+#ifdef DEBUG_ENABLED_FRAG
+ #define DEBUG_MODE_FULL
+#endif
+
+#ifdef DEBUG_SETTINGS_FRAG
+ #define DEBUG_SETTINGS DEBUG_SETTINGS_FRAG
+#endif
+
+#include "\z\ace\Addons\main\script_macros.hpp"
+
#define ACE_TRACE_DRAW_INC 1
\ No newline at end of file
diff --git a/addons/frag/stringtable.xml b/addons/frag/stringtable.xml
index 4ae3979667..7c3112ec2d 100644
--- a/addons/frag/stringtable.xml
+++ b/addons/frag/stringtable.xml
@@ -1,15 +1,15 @@
-
-
-
-
-
-
- Disable Fragmentation
- Zakázat fragmentaci granátů
- Weapons: Keine Schrapnelle
- Wyłącz głowice fragmentacyjne
- Выключить разлёт осколков
-
-
-
+
+
+
+
+
+
+ Disable Fragmentation
+ Zakázat fragmentaci granátů
+ Weapons: Keine Schrapnelle
+ Wyłącz głowice fragmentacyjne
+ Выключить разлёт осколков
+
+
+
\ No newline at end of file
diff --git a/addons/goggles/stringtable.xml b/addons/goggles/stringtable.xml
index 1756442176..9b2e6fba12 100644
--- a/addons/goggles/stringtable.xml
+++ b/addons/goggles/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -8,7 +8,7 @@
Mostrar efectos de las gafas en tercera persona
Zobrazit účinky brýlí v třetí osobě
Effets de lunettes à la 3ème personne
- Отображать эффект очков в третьем лице
+ Отображать эффект очков от третьего лица
Szemüveg effekt mutatása külső nézetből
Włącz efekty gogli w trzeciej osobie
Mostrar efeitos de óculos em Terceira Pessoa
@@ -27,4 +27,4 @@
Pulisci gli occhiali
-
+
\ No newline at end of file
diff --git a/addons/grenades/stringtable.xml b/addons/grenades/stringtable.xml
index 1129d44271..803aa0a220 100644
--- a/addons/grenades/stringtable.xml
+++ b/addons/grenades/stringtable.xml
@@ -1,5 +1,5 @@
-
-
+
+
@@ -93,7 +93,7 @@
Les grenades incapacitantes servent à désorienter ou distraire une menace pendant quelques secondes.
Granat ogłusza, nie zabijając przeciwnika. Detonacja daje efekt oślepiającego błysku i głośnego huku.
Omračující granát je taktická nesmrtící zbraň používaná při záchraně rukojmí a zvládání davu.
- Граната XM84 (M84) - не летального действия, и предназначена для отвлечения и временного вывода из строя, либо дезориентации противника. Основное использование нашла при освобождении заложников, захвате преступников и террористов, а также проведении диверсионных миссий.
+ XM84 (M84) - граната нелетального действия, и предназначена для отвлечения и временного вывода из строя, либо дезориентации противника. Основное использование нашла при освобождении заложников, захвате преступников и террористов, а также проведении диверсионных миссий.
Eldobás után felrobban és éles hang, valamint fényhatással zavarja össze a környezetében tartózkodókat.
Anche conosciuta come flashbang. Causa accecamento immediato, sensazioni di sposatezza, mancanza d'equilibrio e disturbi al timpano.
Um tipo de granada não-letal destinado a confundir, desorientar e distrair uma potencial ameaça.
@@ -243,4 +243,4 @@
M127A1 (Amarilla)
-
+
\ No newline at end of file
diff --git a/addons/hearing/stringtable.xml b/addons/hearing/stringtable.xml
index f042128301..ba4d17e112 100644
--- a/addons/hearing/stringtable.xml
+++ b/addons/hearing/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -102,6 +102,7 @@
Disable ear ringing
Desactivar zumbido de oídos
Knalltrauma deaktivieren
+ Отключить эффект баротравмы
\ No newline at end of file
diff --git a/addons/interact_menu/XEH_clientInit.sqf b/addons/interact_menu/XEH_clientInit.sqf
index bcb2d5aa8e..590ad6624d 100644
--- a/addons/interact_menu/XEH_clientInit.sqf
+++ b/addons/interact_menu/XEH_clientInit.sqf
@@ -1,52 +1,52 @@
-//XEH_clientInit.sqf
-#include "script_component.hpp"
-
-if (!hasInterface) exitWith {};
-
-// Install the render EH on the main display
-addMissionEventHandler ["Draw3D", DFUNC(render)];
-
-// This spawn is probably worth keeping, as pfh don't work natively on the briefing screen and IDK how reliable the hack we implemented for them is.
-// The thread dies as soon as the mission start, so it's not really compiting for scheduler space.
-[] spawn {
- // Wait until the map display is detected
- waitUntil {(!isNull findDisplay 12)};
-
- // Install the render EH on the map screen
- ((findDisplay 12) displayCtrl 51) ctrlAddEventHandler ["Draw", DFUNC(render)];
-};
-
-
-["ACE3", QGVAR(InteractKey), (localize "STR_ACE_Interact_Menu_InteractKey"),
-{
- // Conditions: canInteract
- if !([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering"]] call EFUNC(common,canInteractWith)) exitWith {false};
- // Statement
- [0] call FUNC(keyDown)
-},
-{[0] call FUNC(keyUp)},
-[219, [false, false, false]], false] call cba_fnc_addKeybind; //Left Windows Key
-
-["ACE3", QGVAR(SelfInteractKey), (localize "STR_ACE_Interact_Menu_SelfInteractKey"),
-{
- // Conditions: canInteract
- if !([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering"]] call EFUNC(common,canInteractWith)) exitWith {false};
- // Statement
- [1] call FUNC(keyDown)
-},
-{[1] call FUNC(keyUp)},
-[219, [false, true, false]], false] call cba_fnc_addKeybind; //Left Windows Key + Ctrl/Strg
-
-
-// Listens for the falling unconscious event, just in case the menu needs to be closed
-["medical_onUnconscious", {
- // If no menu is open just quit
- if (GVAR(openedMenuType) < 0) exitWith {};
-
- EXPLODE_2_PVT(_this,_unit,_isUnconscious);
-
- if (_unit != ACE_player || !_isUnconscious) exitWith {};
-
- GVAR(actionSelected) = false;
- [] call FUNC(keyUp);
-}] call EFUNC(common,addEventhandler);
+//XEH_clientInit.sqf
+#include "script_component.hpp"
+
+if (!hasInterface) exitWith {};
+
+// Install the render EH on the main display
+addMissionEventHandler ["Draw3D", DFUNC(render)];
+
+// This spawn is probably worth keeping, as pfh don't work natively on the briefing screen and IDK how reliable the hack we implemented for them is.
+// The thread dies as soon as the mission start, so it's not really compiting for scheduler space.
+[] spawn {
+ // Wait until the map display is detected
+ waitUntil {(!isNull findDisplay 12)};
+
+ // Install the render EH on the map screen
+ ((findDisplay 12) displayCtrl 51) ctrlAddEventHandler ["Draw", DFUNC(render)];
+};
+
+
+["ACE3", QGVAR(InteractKey), (localize "STR_ACE_Interact_Menu_InteractKey"),
+{
+ // Conditions: canInteract
+ if !([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering"]] call EFUNC(common,canInteractWith)) exitWith {false};
+ // Statement
+ [0] call FUNC(keyDown)
+},
+{[0] call FUNC(keyUp)},
+[219, [false, false, false]], false] call cba_fnc_addKeybind; //Left Windows Key
+
+["ACE3", QGVAR(SelfInteractKey), (localize "STR_ACE_Interact_Menu_SelfInteractKey"),
+{
+ // Conditions: canInteract
+ if !([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering"]] call EFUNC(common,canInteractWith)) exitWith {false};
+ // Statement
+ [1] call FUNC(keyDown)
+},
+{[1] call FUNC(keyUp)},
+[219, [false, true, false]], false] call cba_fnc_addKeybind; //Left Windows Key + Ctrl/Strg
+
+
+// Listens for the falling unconscious event, just in case the menu needs to be closed
+["medical_onUnconscious", {
+ // If no menu is open just quit
+ if (GVAR(openedMenuType) < 0) exitWith {};
+
+ EXPLODE_2_PVT(_this,_unit,_isUnconscious);
+
+ if (_unit != ACE_player || !_isUnconscious) exitWith {};
+
+ GVAR(actionSelected) = false;
+ [] call FUNC(keyUp);
+}] call EFUNC(common,addEventhandler);
diff --git a/addons/interact_menu/stringtable.xml b/addons/interact_menu/stringtable.xml
index b3de5efddf..bbb17efd87 100644
--- a/addons/interact_menu/stringtable.xml
+++ b/addons/interact_menu/stringtable.xml
@@ -1,26 +1,31 @@
-
+
\ No newline at end of file
diff --git a/addons/interaction/stringtable.xml b/addons/interaction/stringtable.xml
index e85d0d3b47..8016079b90 100644
--- a/addons/interaction/stringtable.xml
+++ b/addons/interaction/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -616,7 +616,7 @@
Modyfikator
Modifier la touche
Tecla modificadora
- клавиша-модификатор
+ Клавиша-модификатор
Tecla Modificadora
Modifica Tasto
Módosító billentyű
@@ -664,6 +664,7 @@
Passengers
Passagiere
+ Пассажиры
\ No newline at end of file
diff --git a/addons/inventory/stringtable.xml b/addons/inventory/stringtable.xml
index f93e0d9627..75f15e3720 100644
--- a/addons/inventory/stringtable.xml
+++ b/addons/inventory/stringtable.xml
@@ -1,14 +1,16 @@
-
+
Make Inventory Display Bigger
Die Anzeige des Inventar vergrößern.
+ Сделать окно инвентаря больше
Normally inventory display is scaled by UI size. This allows scaling the Inventory UI size up, but doesn't increase font size allowing more rows displayed.
Normalerweise wird die Größe des Inventars mit der Größe der UI skaliert. Diese Einstellung allerdings vergrößert das Inventar bei gleichbleibender Schriftgröße, so dass mehr Einträge angzeigt werden können.
+ Обычно, окно инвентаря зависит от размеров пользовательского интерфейса. Эта настройка позволяет увеличить размер окна инвентаря в пользовательском интерфейсе, не увеличивая размера шрифтов, так что отображется большее количество строк.
\ No newline at end of file
diff --git a/addons/kestrel/stringtable.xml b/addons/kestrel/stringtable.xml
index 5f54fd6489..baae118891 100644
--- a/addons/kestrel/stringtable.xml
+++ b/addons/kestrel/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -34,7 +34,7 @@
Monitoraggio Balistico Attivo
Applied Ballistics Meter
Medidor Balístico Ativo
- метеостанция
+ Метеостанция
Open Kestrel
diff --git a/addons/laser/CfgEventhandlers.hpp b/addons/laser/CfgEventhandlers.hpp
index bad89fd048..e2039a80c7 100644
--- a/addons/laser/CfgEventhandlers.hpp
+++ b/addons/laser/CfgEventhandlers.hpp
@@ -1,11 +1,11 @@
-class Extended_PreInit_EventHandlers {
- class ADDON {
- init = QUOTE(call COMPILE_FILE(XEH_pre_init));
- };
-};
-
-class Extended_PostInit_EventHandlers {
- class ADDON {
- init = QUOTE(call COMPILE_FILE(XEH_post_init));
- };
-};
+class Extended_PreInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_pre_init));
+ };
+};
+
+class Extended_PostInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_post_init));
+ };
+};
diff --git a/addons/laser/CfgVehicles.hpp b/addons/laser/CfgVehicles.hpp
index 07b8055f0e..15b4a50567 100644
--- a/addons/laser/CfgVehicles.hpp
+++ b/addons/laser/CfgVehicles.hpp
@@ -1,9 +1,9 @@
-class CfgVehicles {
- class All;
-
- class LaserTarget: All {
- class EventHandlers {
- init = QUOTE(_this call FUNC(laser_init));
- };
- };
+class CfgVehicles {
+ class All;
+
+ class LaserTarget: All {
+ class EventHandlers {
+ init = QUOTE(_this call FUNC(laser_init));
+ };
+ };
};
\ No newline at end of file
diff --git a/addons/laser/XEH_post_init.sqf b/addons/laser/XEH_post_init.sqf
index 6904ee6c47..a4e4806591 100644
--- a/addons/laser/XEH_post_init.sqf
+++ b/addons/laser/XEH_post_init.sqf
@@ -1,3 +1,3 @@
-#include "script_component.hpp"
-NO_DEDICATED;
-
+#include "script_component.hpp"
+NO_DEDICATED;
+
diff --git a/addons/laser/XEH_pre_init.sqf b/addons/laser/XEH_pre_init.sqf
index 8b39c429b6..984bf720d8 100644
--- a/addons/laser/XEH_pre_init.sqf
+++ b/addons/laser/XEH_pre_init.sqf
@@ -1,26 +1,26 @@
-#include "script_component.hpp"
-
-PREP(rotateVectLineGetMap);
-PREP(rotateVectLine);
-PREP(shootRay);
-PREP(shootCone);
-PREP(checkLos);
-
-PREP(findLaserDesignator);
-PREP(findStrongestRay);
-
-PREP(translateToModelSpace);
-PREP(translateToWeaponSpace);
-
-PREP(laser_init);
-
-GVAR(laser) = nil; // a single hud draws 1 laser at a time
-
-PREP(laserTargetPFH);
-
-ACE_LASERS = [];
-
-ACE_DEFAULT_LASER_CODE = 1000;
-ACE_DEFAULT_FIRE_SELECTION = [FIREMODE_DIRECT_LOAL, ACE_DEFAULT_LASER_CODE];
-
+#include "script_component.hpp"
+
+PREP(rotateVectLineGetMap);
+PREP(rotateVectLine);
+PREP(shootRay);
+PREP(shootCone);
+PREP(checkLos);
+
+PREP(findLaserDesignator);
+PREP(findStrongestRay);
+
+PREP(translateToModelSpace);
+PREP(translateToWeaponSpace);
+
+PREP(laser_init);
+
+GVAR(laser) = nil; // a single hud draws 1 laser at a time
+
+PREP(laserTargetPFH);
+
+ACE_LASERS = [];
+
+ACE_DEFAULT_LASER_CODE = 1000;
+ACE_DEFAULT_FIRE_SELECTION = [FIREMODE_DIRECT_LOAL, ACE_DEFAULT_LASER_CODE];
+
FUNC(getPosASL) = {visiblePositionASL (_this select 0)};
\ No newline at end of file
diff --git a/addons/laser/config.cpp b/addons/laser/config.cpp
index 4b209b866e..f257a35321 100644
--- a/addons/laser/config.cpp
+++ b/addons/laser/config.cpp
@@ -1,14 +1,14 @@
-#include "script_component.hpp"
-
-class CfgPatches {
- class ADDON {
- units[] = {};
- weapons[] = {};
- requiredVersion = REQUIRED_VERSION;
- requiredAddons[] = { "ace_common" };
- VERSION_CONFIG;
- };
-};
-
-#include "CfgEventhandlers.hpp"
+#include "script_component.hpp"
+
+class CfgPatches {
+ class ADDON {
+ units[] = {};
+ weapons[] = {};
+ requiredVersion = REQUIRED_VERSION;
+ requiredAddons[] = { "ace_common" };
+ VERSION_CONFIG;
+ };
+};
+
+#include "CfgEventhandlers.hpp"
#include "CfgVehicles.hpp"
\ No newline at end of file
diff --git a/addons/laser/functions/fnc_checkLos.sqf b/addons/laser/functions/fnc_checkLos.sqf
index 9888642a80..0cbeffaea2 100644
--- a/addons/laser/functions/fnc_checkLos.sqf
+++ b/addons/laser/functions/fnc_checkLos.sqf
@@ -1,31 +1,31 @@
-#include "script_component.hpp"
-
-private ["_pos1", "_pos2", "_spacing", "_vectorTo", "_x", "_y", "_z", "_distance", "_count", "_return", "_alt", "_pos", "_designator", "_seeker"];
-_pos1 = _this select 0;
-_pos2 = _this select 1;
-_designator = _this select 2;
-_seeker = _this select 3;
-_spacing = 100;
-if((count _this) > 4) then {
- _spacing = _this select 4;
-};
-
-_return = true;
-_vectorTo = [_pos2, _pos1] call BIS_fnc_vectorFromXToY;
-
-_x = (_vectorTo select 0)*0.25;
-_y = (_vectorTo select 1)*0.25;
-_z = (_vectorTo select 2)*0.25;
-
-_pos2 = [(_pos2 select 0) + _x, (_pos2 select 1) + _y, (_pos2 select 2) + _z];
-
-// player sideChat format["new los check"];
-if(terrainIntersect [_pos2, _pos1]) then {
- _return = false;
-} else {
- if(lineIntersects [_pos2, _pos1]) then { // should take as arguments and add to this command objects to exclude - target and observer
- // player sideChat format["with: %1", lineIntersectsWith [_pos1, _pos2]];
- _return = false;
- };
-};
+#include "script_component.hpp"
+
+private ["_pos1", "_pos2", "_spacing", "_vectorTo", "_x", "_y", "_z", "_distance", "_count", "_return", "_alt", "_pos", "_designator", "_seeker"];
+_pos1 = _this select 0;
+_pos2 = _this select 1;
+_designator = _this select 2;
+_seeker = _this select 3;
+_spacing = 100;
+if((count _this) > 4) then {
+ _spacing = _this select 4;
+};
+
+_return = true;
+_vectorTo = [_pos2, _pos1] call BIS_fnc_vectorFromXToY;
+
+_x = (_vectorTo select 0)*0.25;
+_y = (_vectorTo select 1)*0.25;
+_z = (_vectorTo select 2)*0.25;
+
+_pos2 = [(_pos2 select 0) + _x, (_pos2 select 1) + _y, (_pos2 select 2) + _z];
+
+// player sideChat format["new los check"];
+if(terrainIntersect [_pos2, _pos1]) then {
+ _return = false;
+} else {
+ if(lineIntersects [_pos2, _pos1]) then { // should take as arguments and add to this command objects to exclude - target and observer
+ // player sideChat format["with: %1", lineIntersectsWith [_pos1, _pos2]];
+ _return = false;
+ };
+};
_return;
\ No newline at end of file
diff --git a/addons/laser/functions/fnc_findLaserDesignator.sqf b/addons/laser/functions/fnc_findLaserDesignator.sqf
index d10e221501..997900c8dd 100644
--- a/addons/laser/functions/fnc_findLaserDesignator.sqf
+++ b/addons/laser/functions/fnc_findLaserDesignator.sqf
@@ -1,70 +1,70 @@
-#include "script_component.hpp"
-
-private ["_missile", "_headingPitch", "_found", "_vectorTo", "_polarTo", "_dir", "_vertOk", "_horzOk", "_fov",
- "_closestDistance", "_pos1", "_pos2", "_disCheck", "_currentTarget", "_potentialTargets", "_offset", "_vector"];
-_missile = _this select 0;
-_laserCode = _this select 1;
-_fov = if (count _this > 2) then {_this select 2} else {75};
-_vector = if (count _this > 3) then {_this select 3} else {vectorDir _missile};
-_offset = if (count _this > 4) then {_this select 4} else {[0,0,0]};
-
-_headingPitch = _vector call CBA_fnc_vect2polar;
-_currentTarget = nil;
-_found = false;
-
-LOG("Searching lasers");
-if(!(isNil "ACE_LASERS")) then {
- _potentialTargets = [];
- TRACE_1("", ACE_LASERS);
-
- {
- if(!(isNull _x)) then {
- _sensorPos = ATLtoASL(_missile modelToWorldVisual _offset);
- _vectorTo = [_sensorPos, ([_x] call FUNC(getPosASL))] call BIS_fnc_vectorFromXToY;
- _polarTo = _vectorTo call CBA_fnc_vect2polar;
- _dir = _polarTo select 1;
- _dir = _dir - (_headingPitch select 1);
-
- TRACE_4("Calc", _sensorPos, _vectorTo, _polarTo, _dir);
-
- if (_dir < 0) then {_dir = _dir + 360};
- if (_dir > 360) then {_dir = _dir - 360};
- _vertOk = false;
- _horzOk = false;
- if(_dir < _fov || {_dir > (360-_fov)}) then {
- _horzOk = true;
- };
- if(abs((abs(_polarTo select 2))-(abs(_headingPitch select 2))) < _fov) then {
- _vertOk = true;
- };
-
- TRACE_2("Results", _vertOk, _horzOk);
-
- if(_vertOk && {_horzOk}) then {
- // Does the laser currently have our current code, if we have one?
- _targetCode = _x getVariable ["ACE_LASERTARGET_CODE", ACE_DEFAULT_LASER_CODE];
- TRACE_1("Target in sight, checking code", _targetCode, _laserCode);
- if(_targetCode == _laserCode) then {
- _potentialTargets set[(count _potentialTargets), _x];
- };
- };
- };
-
- } forEach ACE_LASERS;
-
- TRACE_1("", _potentialTargets);
-
- _closestDistance = 100000;
- {
- _pos1 = (getPosASL _missile);
- _pos2 = ([_x] call FUNC(getPosASL));
- _disCheck = _pos1 distance _pos2;
- // shouldn't this bail out when a valid target is found instead of iterating over all potential targets ?
- if(_disCheck < _closestDistance && {[_pos1, _pos2, _x, _missile] call FUNC(checkLos)}) then {
- _found = true;
- _currentTarget = _x;
- _closestDistance = _disCheck;
- };
- } forEach _potentialTargets;
-};
+#include "script_component.hpp"
+
+private ["_missile", "_headingPitch", "_found", "_vectorTo", "_polarTo", "_dir", "_vertOk", "_horzOk", "_fov",
+ "_closestDistance", "_pos1", "_pos2", "_disCheck", "_currentTarget", "_potentialTargets", "_offset", "_vector"];
+_missile = _this select 0;
+_laserCode = _this select 1;
+_fov = if (count _this > 2) then {_this select 2} else {75};
+_vector = if (count _this > 3) then {_this select 3} else {vectorDir _missile};
+_offset = if (count _this > 4) then {_this select 4} else {[0,0,0]};
+
+_headingPitch = _vector call CBA_fnc_vect2polar;
+_currentTarget = nil;
+_found = false;
+
+LOG("Searching lasers");
+if(!(isNil "ACE_LASERS")) then {
+ _potentialTargets = [];
+ TRACE_1("", ACE_LASERS);
+
+ {
+ if(!(isNull _x)) then {
+ _sensorPos = ATLtoASL(_missile modelToWorldVisual _offset);
+ _vectorTo = [_sensorPos, ([_x] call FUNC(getPosASL))] call BIS_fnc_vectorFromXToY;
+ _polarTo = _vectorTo call CBA_fnc_vect2polar;
+ _dir = _polarTo select 1;
+ _dir = _dir - (_headingPitch select 1);
+
+ TRACE_4("Calc", _sensorPos, _vectorTo, _polarTo, _dir);
+
+ if (_dir < 0) then {_dir = _dir + 360};
+ if (_dir > 360) then {_dir = _dir - 360};
+ _vertOk = false;
+ _horzOk = false;
+ if(_dir < _fov || {_dir > (360-_fov)}) then {
+ _horzOk = true;
+ };
+ if(abs((abs(_polarTo select 2))-(abs(_headingPitch select 2))) < _fov) then {
+ _vertOk = true;
+ };
+
+ TRACE_2("Results", _vertOk, _horzOk);
+
+ if(_vertOk && {_horzOk}) then {
+ // Does the laser currently have our current code, if we have one?
+ _targetCode = _x getVariable ["ACE_LASERTARGET_CODE", ACE_DEFAULT_LASER_CODE];
+ TRACE_1("Target in sight, checking code", _targetCode, _laserCode);
+ if(_targetCode == _laserCode) then {
+ _potentialTargets set[(count _potentialTargets), _x];
+ };
+ };
+ };
+
+ } forEach ACE_LASERS;
+
+ TRACE_1("", _potentialTargets);
+
+ _closestDistance = 100000;
+ {
+ _pos1 = (getPosASL _missile);
+ _pos2 = ([_x] call FUNC(getPosASL));
+ _disCheck = _pos1 distance _pos2;
+ // shouldn't this bail out when a valid target is found instead of iterating over all potential targets ?
+ if(_disCheck < _closestDistance && {[_pos1, _pos2, _x, _missile] call FUNC(checkLos)}) then {
+ _found = true;
+ _currentTarget = _x;
+ _closestDistance = _disCheck;
+ };
+ } forEach _potentialTargets;
+};
[_found, _currentTarget]
\ No newline at end of file
diff --git a/addons/laser/functions/fnc_findStrongestRay.sqf b/addons/laser/functions/fnc_findStrongestRay.sqf
index e4238361cb..ca9be7cab8 100644
--- a/addons/laser/functions/fnc_findStrongestRay.sqf
+++ b/addons/laser/functions/fnc_findStrongestRay.sqf
@@ -1,49 +1,49 @@
-#include "script_component.hpp"
-
-_list = _this select 0;
-_checkPos = _this select 1;
-_spots = [];
-_outliers = [];
-_spot = [];
-_testPos = (_list select 0) select 0;
-{
- _samplePos = _x select 0;
- if(!lineIntersects [_samplePos, _checkPos] && {!terrainIntersectASL [_samplePos, _checkPos]}) then {
- if(_samplePos distance _testPos < 2) then {
- _spot pushBack _samplePos;
- } else {
- _outliers pushBack _samplePos;
- };
- };
-} forEach _list;
-_spots pushBack _spot;
-
-if(count _outliers > 0) then {
- for "_i" from 1 to 3 do {
- _remainingSpots = _outliers;
- _outliers = [];
- _spot = [];
- _testPos = (_remainingSpots select 0);
- {
- _samplePos = _x;
- if(!lineIntersects [_samplePos, _checkPos] && {!terrainIntersectASL [_samplePos, _checkPos]}) then {
- if(_samplePos distance _testPos < 2) then {
- _spot pushBack _samplePos;
- } else {
- _outliers pushBack _samplePos;
- };
- };
- } forEach _remainingSpots;
- _spots pushBack _spot;
- };
-};
-_largest = 0;
-_largestSpot = [];
-{
- if((count _x) > _largest) then {
- _largest = (count _x);
- _largestSpot = _x;
- };
-} forEach _spots;
-// player sideChat format["g: %1", _spots];
+#include "script_component.hpp"
+
+_list = _this select 0;
+_checkPos = _this select 1;
+_spots = [];
+_outliers = [];
+_spot = [];
+_testPos = (_list select 0) select 0;
+{
+ _samplePos = _x select 0;
+ if(!lineIntersects [_samplePos, _checkPos] && {!terrainIntersectASL [_samplePos, _checkPos]}) then {
+ if(_samplePos distance _testPos < 2) then {
+ _spot pushBack _samplePos;
+ } else {
+ _outliers pushBack _samplePos;
+ };
+ };
+} forEach _list;
+_spots pushBack _spot;
+
+if(count _outliers > 0) then {
+ for "_i" from 1 to 3 do {
+ _remainingSpots = _outliers;
+ _outliers = [];
+ _spot = [];
+ _testPos = (_remainingSpots select 0);
+ {
+ _samplePos = _x;
+ if(!lineIntersects [_samplePos, _checkPos] && {!terrainIntersectASL [_samplePos, _checkPos]}) then {
+ if(_samplePos distance _testPos < 2) then {
+ _spot pushBack _samplePos;
+ } else {
+ _outliers pushBack _samplePos;
+ };
+ };
+ } forEach _remainingSpots;
+ _spots pushBack _spot;
+ };
+};
+_largest = 0;
+_largestSpot = [];
+{
+ if((count _x) > _largest) then {
+ _largest = (count _x);
+ _largestSpot = _x;
+ };
+} forEach _spots;
+// player sideChat format["g: %1", _spots];
_largestSpot select (random (floor(count _largestSpot)));
\ No newline at end of file
diff --git a/addons/laser/functions/fnc_laserTargetPFH.sqf b/addons/laser/functions/fnc_laserTargetPFH.sqf
index bdab413685..448edc3128 100644
--- a/addons/laser/functions/fnc_laserTargetPFH.sqf
+++ b/addons/laser/functions/fnc_laserTargetPFH.sqf
@@ -1,26 +1,26 @@
-#include "script_component.hpp"
-
-private["_args", "_laserTarget"];
-//TRACE_1("enter", _this);
-_args = _this select 0;
-_laserTarget = _args select 0;
-
-if(isNull _laserTarget || !alive player) exitWith {
- [(_this select 1)] call cba_fnc_removePerFrameHandler;
- REM(ACE_LASERS, _laserTarget);
-};
-
-_end = diag_tickTime;
-
-#ifdef DEBUG_MODE_FULL
-// Iconize the location of the actual laserTarget
-_pos = [_laserTarget] call FUNC(getPosASL);
-drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\select_target_ca.paa", [1,0,0,1], (ASLtoATL _pos), 0.75, 0.75, 0, "", 0.5, 0.025, "TahomaB"];
-
-{
- drawLine3D [ASLtoATL (_x select 0), ASLtoATL (_x select 1), (_x select 2)];
- drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", (_x select 2), ASLtoATL (_x select 1), 0.75, 0.75, 0, "", 0.5, 0.025, "TahomaB"];
-} forEach DRAW_LINES;
-DRAW_LINES = [];
-#endif
-
+#include "script_component.hpp"
+
+private["_args", "_laserTarget"];
+//TRACE_1("enter", _this);
+_args = _this select 0;
+_laserTarget = _args select 0;
+
+if(isNull _laserTarget || !alive player) exitWith {
+ [(_this select 1)] call cba_fnc_removePerFrameHandler;
+ REM(ACE_LASERS, _laserTarget);
+};
+
+_end = diag_tickTime;
+
+#ifdef DEBUG_MODE_FULL
+// Iconize the location of the actual laserTarget
+_pos = [_laserTarget] call FUNC(getPosASL);
+drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\select_target_ca.paa", [1,0,0,1], (ASLtoATL _pos), 0.75, 0.75, 0, "", 0.5, 0.025, "TahomaB"];
+
+{
+ drawLine3D [ASLtoATL (_x select 0), ASLtoATL (_x select 1), (_x select 2)];
+ drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", (_x select 2), ASLtoATL (_x select 1), 0.75, 0.75, 0, "", 0.5, 0.025, "TahomaB"];
+} forEach DRAW_LINES;
+DRAW_LINES = [];
+#endif
+
diff --git a/addons/laser/functions/fnc_laser_init.sqf b/addons/laser/functions/fnc_laser_init.sqf
index 9fcb439032..6ae0c9467e 100644
--- a/addons/laser/functions/fnc_laser_init.sqf
+++ b/addons/laser/functions/fnc_laser_init.sqf
@@ -1,25 +1,25 @@
-#include "script_component.hpp"
-PARAMS_1(_laserTarget);
-
-TRACE_1("enter", _this);
-
-// Add the target to the global targets array
-// Everyone tracks them
-
-// Add the laser localized to the laser array, and give it the default localized code
-PUSH(ACE_LASERS, _laserTarget);
-// Check the vehicle, otherwise use the default
-_laserTarget setVariable ["ACE_LASERTARGET_CODE", ACE_DEFAULT_LASER_CODE, false];
-// Clean the lasers of any null objects while we are here
-REM(ACE_LASERS, objNull);
-
-if(!(local _laserTarget)) exitWith { };
-// The target is local, so its on this client
-if(!isDedicated) then {
- _laserTarget setVariable ["ACE_LASERTARGET_SHOOTER", player, true];
-
- [FUNC(laserTargetPFH), 0, [_laserTarget, player]] call cba_fnc_addPerFrameHandler;
-} else {
- // server side ownership of laser
- //_laserTarget setVariable ["ACE_LASERTARGET_SHOOTER", nil, false];
-};
+#include "script_component.hpp"
+PARAMS_1(_laserTarget);
+
+TRACE_1("enter", _this);
+
+// Add the target to the global targets array
+// Everyone tracks them
+
+// Add the laser localized to the laser array, and give it the default localized code
+PUSH(ACE_LASERS, _laserTarget);
+// Check the vehicle, otherwise use the default
+_laserTarget setVariable ["ACE_LASERTARGET_CODE", ACE_DEFAULT_LASER_CODE, false];
+// Clean the lasers of any null objects while we are here
+REM(ACE_LASERS, objNull);
+
+if(!(local _laserTarget)) exitWith { };
+// The target is local, so its on this client
+if(!isDedicated) then {
+ _laserTarget setVariable ["ACE_LASERTARGET_SHOOTER", player, true];
+
+ [FUNC(laserTargetPFH), 0, [_laserTarget, player]] call cba_fnc_addPerFrameHandler;
+} else {
+ // server side ownership of laser
+ //_laserTarget setVariable ["ACE_LASERTARGET_SHOOTER", nil, false];
+};
diff --git a/addons/laser/functions/fnc_rotateVectLine.sqf b/addons/laser/functions/fnc_rotateVectLine.sqf
index b0360cc330..ae476559b8 100644
--- a/addons/laser/functions/fnc_rotateVectLine.sqf
+++ b/addons/laser/functions/fnc_rotateVectLine.sqf
@@ -1,38 +1,38 @@
-#include "script_component.hpp"
-
-_map = _this select 0;
-_theta = _this select 1;
-
-_p = _map select 0;
-_p1 = _map select 1;
-_p2 = _map select 2;
-
-_q1 = +(_map select 3);
-_q2 = +(_map select 4);
-_u = _map select 5;
-_d = _map select 6;
-
-/* Step 4 */
-_q2 set[0, (_q1 select 0) * cos(_theta) - (_q1 select 1) * sin(_theta)];
-_q2 set[1, (_q1 select 0) * sin(_theta) + (_q1 select 1) * cos(_theta)];
-_q2 set[2, (_q1 select 2)];
-
-/* Inverse of step 3 */
-_q1 set[0, (_q2 select 0) * _d + (_q2 select 2) * (_u select 0)];
-_q1 set[1, (_q2 select 1)];
-_q1 set[2, - (_q2 select 0) * (_u select 0) + (_q2 select 2) * _d];
-
-/* Inverse of step 2 */
-if (_d != 0) then {
- _q2 set[0, (_q1 select 0)];
- _q2 set[1, (_q1 select 1) * (_u select 2) / _d + (_q1 select 2) * (_u select 1) / _d];
- _q2 set[2, - (_q1 select 1) * (_u select 1) / _d + (_q1 select 2) * (_u select 2) / _d];
-} else {
- _q2 = _q1;
-};
-
-/* Inverse of step 1 */
-_q1 set[0, (_q2 select 0) + (_p1 select 0)];
-_q1 set[1, (_q2 select 1) + (_p1 select 1)];
-_q1 set[2, (_q2 select 2) + (_p1 select 2)];
+#include "script_component.hpp"
+
+_map = _this select 0;
+_theta = _this select 1;
+
+_p = _map select 0;
+_p1 = _map select 1;
+_p2 = _map select 2;
+
+_q1 = +(_map select 3);
+_q2 = +(_map select 4);
+_u = _map select 5;
+_d = _map select 6;
+
+/* Step 4 */
+_q2 set[0, (_q1 select 0) * cos(_theta) - (_q1 select 1) * sin(_theta)];
+_q2 set[1, (_q1 select 0) * sin(_theta) + (_q1 select 1) * cos(_theta)];
+_q2 set[2, (_q1 select 2)];
+
+/* Inverse of step 3 */
+_q1 set[0, (_q2 select 0) * _d + (_q2 select 2) * (_u select 0)];
+_q1 set[1, (_q2 select 1)];
+_q1 set[2, - (_q2 select 0) * (_u select 0) + (_q2 select 2) * _d];
+
+/* Inverse of step 2 */
+if (_d != 0) then {
+ _q2 set[0, (_q1 select 0)];
+ _q2 set[1, (_q1 select 1) * (_u select 2) / _d + (_q1 select 2) * (_u select 1) / _d];
+ _q2 set[2, - (_q1 select 1) * (_u select 1) / _d + (_q1 select 2) * (_u select 2) / _d];
+} else {
+ _q2 = _q1;
+};
+
+/* Inverse of step 1 */
+_q1 set[0, (_q2 select 0) + (_p1 select 0)];
+_q1 set[1, (_q2 select 1) + (_p1 select 1)];
+_q1 set[2, (_q2 select 2) + (_p1 select 2)];
_q1;
\ No newline at end of file
diff --git a/addons/laser/functions/fnc_rotateVectLineGetMap.sqf b/addons/laser/functions/fnc_rotateVectLineGetMap.sqf
index fdbd6533ef..258cc93ae2 100644
--- a/addons/laser/functions/fnc_rotateVectLineGetMap.sqf
+++ b/addons/laser/functions/fnc_rotateVectLineGetMap.sqf
@@ -1,37 +1,37 @@
-#include "script_component.hpp"
-
-private ["_p", "_theta", "_p1", "_p2", "_q1", "_q2", "_u", "_d"];
-_p = _this select 0;
-_p1 = _this select 1;
-_p2 = _this select 2;
-
-_q1 = [];
-_q2 = [];
-_u = [];
-
-/* Step 1 */
-_q1 set[0, (_p select 0) - (_p1 select 0)];
-_q1 set[1, (_p select 1) - (_p1 select 1)];
-_q1 set[2, (_p select 2) - (_p1 select 2)];
-
-_u set[0, (_p2 select 0) - (_p1 select 0)];
-_u set[1, (_p2 select 1) - (_p1 select 1)];
-_u set[2, (_p2 select 2) - (_p1 select 2)];
-_u = _u call BIS_fnc_unitVector;
-_d = sqrt((_u select 1)*(_u select 1) + (_u select 2)*(_u select 2));
-
-/* Step 2 */
-if (_d != 0) then {
- _q2 set[0, (_q1 select 0)];
- _q2 set[1, (_q1 select 1) * (_u select 2) / _d - (_q1 select 2) * (_u select 1) / _d];
- _q2 set[2, (_q1 select 1) * (_u select 1) / _d + (_q1 select 2) * (_u select 2) / _d];
-} else {
- _q2 = _q1;
-};
-
-/* Step 3 */
-_q1 set[0, (_q2 select 0) * _d - (_q2 select 2) * (_u select 0)];
-_q1 set[1, (_q2 select 1)];
-_q1 set[2, (_q2 select 0) * (_u select 0) + (_q2 select 2) * _d];
-
+#include "script_component.hpp"
+
+private ["_p", "_theta", "_p1", "_p2", "_q1", "_q2", "_u", "_d"];
+_p = _this select 0;
+_p1 = _this select 1;
+_p2 = _this select 2;
+
+_q1 = [];
+_q2 = [];
+_u = [];
+
+/* Step 1 */
+_q1 set[0, (_p select 0) - (_p1 select 0)];
+_q1 set[1, (_p select 1) - (_p1 select 1)];
+_q1 set[2, (_p select 2) - (_p1 select 2)];
+
+_u set[0, (_p2 select 0) - (_p1 select 0)];
+_u set[1, (_p2 select 1) - (_p1 select 1)];
+_u set[2, (_p2 select 2) - (_p1 select 2)];
+_u = _u call BIS_fnc_unitVector;
+_d = sqrt((_u select 1)*(_u select 1) + (_u select 2)*(_u select 2));
+
+/* Step 2 */
+if (_d != 0) then {
+ _q2 set[0, (_q1 select 0)];
+ _q2 set[1, (_q1 select 1) * (_u select 2) / _d - (_q1 select 2) * (_u select 1) / _d];
+ _q2 set[2, (_q1 select 1) * (_u select 1) / _d + (_q1 select 2) * (_u select 2) / _d];
+} else {
+ _q2 = _q1;
+};
+
+/* Step 3 */
+_q1 set[0, (_q2 select 0) * _d - (_q2 select 2) * (_u select 0)];
+_q1 set[1, (_q2 select 1)];
+_q1 set[2, (_q2 select 0) * (_u select 0) + (_q2 select 2) * _d];
+
[_p, _p1, _p2, _q1, _q2, _u, _d]
\ No newline at end of file
diff --git a/addons/laser/functions/fnc_shootCone.sqf b/addons/laser/functions/fnc_shootCone.sqf
index e33edd10bc..a988b98f17 100644
--- a/addons/laser/functions/fnc_shootCone.sqf
+++ b/addons/laser/functions/fnc_shootCone.sqf
@@ -1,66 +1,66 @@
-#include "script_component.hpp"
-
-_divergence = 0.3;
-_pos = _this select 0;
-_vec = _this select 1;
-_longestReturn = -1000000000;
-_shortestReturn = 1000000000;
-_resultPositions = [];
-_p1 = [0,0,0];
-_p2 = +_vec;
-_p = (_vec call CBA_fnc_vect2polar);
-_v = [(_p select 0), (_p select 1), (_p select 2)+90] call CBA_fnc_polar2vect;
-_cp = [_vec, _v] call BIS_fnc_crossProduct;
-
-_vecRotateMap = [_cp, _p1, _p2] call FUNC(rotateVectLineGetMap);
-
-_result = [_pos, _vec] call FUNC(shootRay);
-_resultPos = _result select 0;
-if(!isNil "_resultPos") then {
- _distance = _result select 1;
- if(_distance < _shortestReturn) then {
- _shortestReturn = _distance;
- };
- if(_distance > _longestReturn) then {
- _longestReturn = _distance;
- };
- _resultPositions set[(count _resultPositions), _result];
-#ifdef DEBUG_MODE_FULL
- DRAW_LINES set[(count DRAW_LINES), [_pos, _resultPos, [0, 1, 0, 1]]];
-#endif
-};
-_count = 8;
-
-_pos2 = [
- (_pos select 0)+((_vec select 0)*1000),
- (_pos select 1)+((_vec select 1)*1000),
- (_pos select 2)+((_vec select 2)*1000)
- ];
-{
- for "_i" from 0 to ceil(_count*_x) do {
- _radOffset = random 360;
- _offset = [_vecRotateMap, (((360/_count)*_i)+_radOffset) mod 360] call FUNC(rotateVectLine);
- _offsetPos = [
- (_pos2 select 0)+((_offset select 0)*(_divergence*_x)),
- (_pos2 select 1)+((_offset select 1)*(_divergence*_x)),
- (_pos2 select 2)+((_offset select 2)*(_divergence*_x))
- ];
- _offsetVector = [_pos, _offsetPos] call BIS_fnc_vectorFromXtoY;
- _result = [_pos, _offsetVector] call FUNC(shootRay);
- _resultPos = _result select 0;
- if(!isNil "_resultPos") then {
- _distance = _result select 1;
- if(_distance < _shortestReturn) then {
- _shortestReturn = _distance;
- };
- if(_distance > _longestReturn) then {
- _longestReturn = _distance;
- };
- _resultPositions set[(count _resultPositions), _result];
-#ifdef DEBUG_MODE_FULL
- DRAW_LINES set[(count DRAW_LINES), [_pos, _resultPos, [0, 1, 0, 1]]];
-#endif
- };
- };
-} forEach [1,0.5,0.25];
+#include "script_component.hpp"
+
+_divergence = 0.3;
+_pos = _this select 0;
+_vec = _this select 1;
+_longestReturn = -1000000000;
+_shortestReturn = 1000000000;
+_resultPositions = [];
+_p1 = [0,0,0];
+_p2 = +_vec;
+_p = (_vec call CBA_fnc_vect2polar);
+_v = [(_p select 0), (_p select 1), (_p select 2)+90] call CBA_fnc_polar2vect;
+_cp = [_vec, _v] call BIS_fnc_crossProduct;
+
+_vecRotateMap = [_cp, _p1, _p2] call FUNC(rotateVectLineGetMap);
+
+_result = [_pos, _vec] call FUNC(shootRay);
+_resultPos = _result select 0;
+if(!isNil "_resultPos") then {
+ _distance = _result select 1;
+ if(_distance < _shortestReturn) then {
+ _shortestReturn = _distance;
+ };
+ if(_distance > _longestReturn) then {
+ _longestReturn = _distance;
+ };
+ _resultPositions set[(count _resultPositions), _result];
+#ifdef DEBUG_MODE_FULL
+ DRAW_LINES set[(count DRAW_LINES), [_pos, _resultPos, [0, 1, 0, 1]]];
+#endif
+};
+_count = 8;
+
+_pos2 = [
+ (_pos select 0)+((_vec select 0)*1000),
+ (_pos select 1)+((_vec select 1)*1000),
+ (_pos select 2)+((_vec select 2)*1000)
+ ];
+{
+ for "_i" from 0 to ceil(_count*_x) do {
+ _radOffset = random 360;
+ _offset = [_vecRotateMap, (((360/_count)*_i)+_radOffset) mod 360] call FUNC(rotateVectLine);
+ _offsetPos = [
+ (_pos2 select 0)+((_offset select 0)*(_divergence*_x)),
+ (_pos2 select 1)+((_offset select 1)*(_divergence*_x)),
+ (_pos2 select 2)+((_offset select 2)*(_divergence*_x))
+ ];
+ _offsetVector = [_pos, _offsetPos] call BIS_fnc_vectorFromXtoY;
+ _result = [_pos, _offsetVector] call FUNC(shootRay);
+ _resultPos = _result select 0;
+ if(!isNil "_resultPos") then {
+ _distance = _result select 1;
+ if(_distance < _shortestReturn) then {
+ _shortestReturn = _distance;
+ };
+ if(_distance > _longestReturn) then {
+ _longestReturn = _distance;
+ };
+ _resultPositions set[(count _resultPositions), _result];
+#ifdef DEBUG_MODE_FULL
+ DRAW_LINES set[(count DRAW_LINES), [_pos, _resultPos, [0, 1, 0, 1]]];
+#endif
+ };
+ };
+} forEach [1,0.5,0.25];
[_longestReturn, _shortestReturn, _resultPositions];
\ No newline at end of file
diff --git a/addons/laser/functions/fnc_shootRay.sqf b/addons/laser/functions/fnc_shootRay.sqf
index 62847d16b6..db14ef679f 100644
--- a/addons/laser/functions/fnc_shootRay.sqf
+++ b/addons/laser/functions/fnc_shootRay.sqf
@@ -1,30 +1,30 @@
-#include "script_component.hpp"
-
-private ["_pos", "_vec", "_distance", "_resultPos", "_fidelity", "_lastPos", "_i", "_nextPos"];
-scopeName "main";
-_pos = _this select 0;
-_vec = _this select 1;
-_distance = 0;
-_resultPos = nil;
-_fidelity = [1000,100,10,1,0.1];
-_lastPos = +_pos;
-{
- scopeName "mainSearch";
- for "_i" from 1 to 10 do {
- _nextPos = [
- (_lastPos select 0)+((_vec select 0)*_x),
- (_lastPos select 1)+((_vec select 1)*_x),
- (_lastPos select 2)+((_vec select 2)*_x)
- ];
-
- if(lineIntersects [_lastPos, _nextPos] || terrainIntersectASL [_lastPos, _nextPos]) then {
- _resultPos = _lastPos;
- breakTo "mainSearch";
- } else {
- _distance = _distance + _x;
- _lastPos = _nextPos;
- };
- };
-
-} forEach _fidelity;
+#include "script_component.hpp"
+
+private ["_pos", "_vec", "_distance", "_resultPos", "_fidelity", "_lastPos", "_i", "_nextPos"];
+scopeName "main";
+_pos = _this select 0;
+_vec = _this select 1;
+_distance = 0;
+_resultPos = nil;
+_fidelity = [1000,100,10,1,0.1];
+_lastPos = +_pos;
+{
+ scopeName "mainSearch";
+ for "_i" from 1 to 10 do {
+ _nextPos = [
+ (_lastPos select 0)+((_vec select 0)*_x),
+ (_lastPos select 1)+((_vec select 1)*_x),
+ (_lastPos select 2)+((_vec select 2)*_x)
+ ];
+
+ if(lineIntersects [_lastPos, _nextPos] || terrainIntersectASL [_lastPos, _nextPos]) then {
+ _resultPos = _lastPos;
+ breakTo "mainSearch";
+ } else {
+ _distance = _distance + _x;
+ _lastPos = _nextPos;
+ };
+ };
+
+} forEach _fidelity;
[_resultPos, _distance];
\ No newline at end of file
diff --git a/addons/laser/functions/fnc_translateToModelSpace.sqf b/addons/laser/functions/fnc_translateToModelSpace.sqf
index 1e2e930ac7..e54744bdb8 100644
--- a/addons/laser/functions/fnc_translateToModelSpace.sqf
+++ b/addons/laser/functions/fnc_translateToModelSpace.sqf
@@ -1,16 +1,16 @@
-_object = _this select 0;
-_origin = getPosASL _object;
-_matrix = _this select 1;
-_xVec = _matrix select 0;
-_yVec = _matrix select 1;
-_zVec = _matrix select 2;
-
-_offset = _this select 2;
-
-_x = _offset select 0;
-_y = _offset select 1;
-_z = _offset select 2;
-
-_out = (((_xVec vectorMultiply _x) vectorAdd (_yVec vectorMultiply _y)) vectorAdd (_zVec vectorMultiply _z)) vectorAdd _origin;
-
+_object = _this select 0;
+_origin = getPosASL _object;
+_matrix = _this select 1;
+_xVec = _matrix select 0;
+_yVec = _matrix select 1;
+_zVec = _matrix select 2;
+
+_offset = _this select 2;
+
+_x = _offset select 0;
+_y = _offset select 1;
+_z = _offset select 2;
+
+_out = (((_xVec vectorMultiply _x) vectorAdd (_yVec vectorMultiply _y)) vectorAdd (_zVec vectorMultiply _z)) vectorAdd _origin;
+
_out;
\ No newline at end of file
diff --git a/addons/laser/functions/fnc_translateToWeaponSpace.sqf b/addons/laser/functions/fnc_translateToWeaponSpace.sqf
index 2c7dc5e6da..7b146e7d42 100644
--- a/addons/laser/functions/fnc_translateToWeaponSpace.sqf
+++ b/addons/laser/functions/fnc_translateToWeaponSpace.sqf
@@ -1,22 +1,22 @@
-_object = _this select 0;
-_origin = getPosASL _object;
-_matrix = _this select 1;
-_xVec = _matrix select 0;
-_yVec = _matrix select 1;
-_zVec = _matrix select 2;
-
-_offset = _this select 2;
-
-_offset = _offset vectorDiff _origin;
-
-_x = _offset select 0;
-_y = _offset select 1;
-_z = _offset select 2;
-
-_out = [
- ((_xVec select 0)*_x) + ((_xVec select 1)*_y) + ((_xVec select 2)*_z),
- ((_yVec select 0)*_x) + ((_yVec select 1)*_y) + ((_yVec select 2)*_z),
- ((_zVec select 0)*_x) + ((_zVec select 1)*_y) + ((_zVec select 2)*_z)
- ];
-
+_object = _this select 0;
+_origin = getPosASL _object;
+_matrix = _this select 1;
+_xVec = _matrix select 0;
+_yVec = _matrix select 1;
+_zVec = _matrix select 2;
+
+_offset = _this select 2;
+
+_offset = _offset vectorDiff _origin;
+
+_x = _offset select 0;
+_y = _offset select 1;
+_z = _offset select 2;
+
+_out = [
+ ((_xVec select 0)*_x) + ((_xVec select 1)*_y) + ((_xVec select 2)*_z),
+ ((_yVec select 0)*_x) + ((_yVec select 1)*_y) + ((_yVec select 2)*_z),
+ ((_zVec select 0)*_x) + ((_zVec select 1)*_y) + ((_zVec select 2)*_z)
+ ];
+
_out;
\ No newline at end of file
diff --git a/addons/laser/script_component.hpp b/addons/laser/script_component.hpp
index 2be1e9e14b..047cef804a 100644
--- a/addons/laser/script_component.hpp
+++ b/addons/laser/script_component.hpp
@@ -1,15 +1,15 @@
-#define COMPONENT laser
-#include "\z\ace\Addons\main\script_mod.hpp"
-
-#ifdef DEBUG_ENABLED_LASER
- #define DEBUG_MODE_FULL
-#endif
-
-#ifdef DEBUG_SETTINGS_LASER
- #define DEBUG_SETTINGS DEBUG_SETTINGS_LASER
-#endif
-
-#include "\z\ace\Addons\main\script_macros.hpp"
-
-
+#define COMPONENT laser
+#include "\z\ace\Addons\main\script_mod.hpp"
+
+#ifdef DEBUG_ENABLED_LASER
+ #define DEBUG_MODE_FULL
+#endif
+
+#ifdef DEBUG_SETTINGS_LASER
+ #define DEBUG_SETTINGS DEBUG_SETTINGS_LASER
+#endif
+
+#include "\z\ace\Addons\main\script_macros.hpp"
+
+
#define FIREMODE_DIRECT_LOAL 1
\ No newline at end of file
diff --git a/addons/laser_selfdesignate/CfgEventhandlers.hpp b/addons/laser_selfdesignate/CfgEventhandlers.hpp
index 4cef7be4a3..2681d24120 100644
--- a/addons/laser_selfdesignate/CfgEventhandlers.hpp
+++ b/addons/laser_selfdesignate/CfgEventhandlers.hpp
@@ -1,19 +1,19 @@
-class Extended_PreInit_EventHandlers {
- class ADDON {
- init = QUOTE(call COMPILE_FILE(XEH_pre_init));
- };
-};
-
-class Extended_PostInit_EventHandlers {
- class ADDON {
- init = QUOTE(call COMPILE_FILE(XEH_post_init));
- };
-};
-
-class Extended_Init_EventHandlers {
- class Helicopter {
- class ADDON {
- init = QUOTE(_this call DFUNC(initDesignatorActions));
- };
- };
+class Extended_PreInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_pre_init));
+ };
+};
+
+class Extended_PostInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_post_init));
+ };
+};
+
+class Extended_Init_EventHandlers {
+ class Helicopter {
+ class ADDON {
+ init = QUOTE(_this call DFUNC(initDesignatorActions));
+ };
+ };
};
\ No newline at end of file
diff --git a/addons/laser_selfdesignate/CfgUI.hpp b/addons/laser_selfdesignate/CfgUI.hpp
index e8823e04f8..304281d213 100644
--- a/addons/laser_selfdesignate/CfgUI.hpp
+++ b/addons/laser_selfdesignate/CfgUI.hpp
@@ -1,32 +1,32 @@
-class RscPicture;
-class RscText;
-class RscControlsGroupNoScrollbars;
-/* This disables air radar. We need to make this a seperate HUD addon
-class RscInGameUI
-{
- class RscUnitInfo
- {
- class CA_Radar: RscControlsGroupNoScrollbars
- {
- class controls
- {
- class CA_RadarBackground: RscPicture {
- colorText[] = {0,0,0,0};
- text = "";
- };
- class CA_RadarIcon: RscPicture {
- colorText[] = {0,0,0,0};
- };
- class CA_Heading: RscText {
- colorText[] = {0,0,0,0};
- };
- };
- };
- };
-};
-class CfgInGameUI
-{
-
-};
-
+class RscPicture;
+class RscText;
+class RscControlsGroupNoScrollbars;
+/* This disables air radar. We need to make this a seperate HUD addon
+class RscInGameUI
+{
+ class RscUnitInfo
+ {
+ class CA_Radar: RscControlsGroupNoScrollbars
+ {
+ class controls
+ {
+ class CA_RadarBackground: RscPicture {
+ colorText[] = {0,0,0,0};
+ text = "";
+ };
+ class CA_RadarIcon: RscPicture {
+ colorText[] = {0,0,0,0};
+ };
+ class CA_Heading: RscText {
+ colorText[] = {0,0,0,0};
+ };
+ };
+ };
+ };
+};
+class CfgInGameUI
+{
+
+};
+
*/
\ No newline at end of file
diff --git a/addons/laser_selfdesignate/CfgVehicles.hpp b/addons/laser_selfdesignate/CfgVehicles.hpp
index b29d8a4394..d05ddaa28b 100644
--- a/addons/laser_selfdesignate/CfgVehicles.hpp
+++ b/addons/laser_selfdesignate/CfgVehicles.hpp
@@ -1,30 +1,30 @@
-class CfgVehicles {
- class AllVehicles;
- class Air: AllVehicles {
- class Turrets;
- };
-
- class Helicopter: Air {
- class Turrets {
- class MainTurret;
- };
-
- // TODO: move these to a different HUD addon
- // commanderCanSee = 2+32;
- // gunnerCanSee = 2+32;
- // driverCanSee = 2+32;
-
- };
-
- class Helicopter_Base_F: Helicopter {};
-
- class Heli_Attack_01_base_F: Helicopter_Base_F {};
-
- class B_Heli_Attack_01_F: Heli_Attack_01_base_F {
- class Turrets: Turrets {
- class MainTurret: MainTurret {
- GVAR(Enabled) = 1; // Enable laser self-designation
- };
- };
- };
-};
+class CfgVehicles {
+ class AllVehicles;
+ class Air: AllVehicles {
+ class Turrets;
+ };
+
+ class Helicopter: Air {
+ class Turrets {
+ class MainTurret;
+ };
+
+ // TODO: move these to a different HUD addon
+ // commanderCanSee = 2+32;
+ // gunnerCanSee = 2+32;
+ // driverCanSee = 2+32;
+
+ };
+
+ class Helicopter_Base_F: Helicopter {};
+
+ class Heli_Attack_01_base_F: Helicopter_Base_F {};
+
+ class B_Heli_Attack_01_F: Heli_Attack_01_base_F {
+ class Turrets: Turrets {
+ class MainTurret: MainTurret {
+ GVAR(Enabled) = 1; // Enable laser self-designation
+ };
+ };
+ };
+};
diff --git a/addons/laser_selfdesignate/CfgWeapons.hpp b/addons/laser_selfdesignate/CfgWeapons.hpp
index a62974ce40..3037972ffa 100644
--- a/addons/laser_selfdesignate/CfgWeapons.hpp
+++ b/addons/laser_selfdesignate/CfgWeapons.hpp
@@ -1,11 +1,11 @@
-class CfgWeapons {
- // Disable locking unless newb mode
- class LauncherCore;
- class RocketPods: LauncherCore {
- canLock = 1;
- };
-
- class missiles_DAGR: RocketPods {
- canLock = 1;
- };
-};
+class CfgWeapons {
+ // Disable locking unless newb mode
+ class LauncherCore;
+ class RocketPods: LauncherCore {
+ canLock = 1;
+ };
+
+ class missiles_DAGR: RocketPods {
+ canLock = 1;
+ };
+};
diff --git a/addons/laser_selfdesignate/XEH_post_init.sqf b/addons/laser_selfdesignate/XEH_post_init.sqf
index 6904ee6c47..a4e4806591 100644
--- a/addons/laser_selfdesignate/XEH_post_init.sqf
+++ b/addons/laser_selfdesignate/XEH_post_init.sqf
@@ -1,3 +1,3 @@
-#include "script_component.hpp"
-NO_DEDICATED;
-
+#include "script_component.hpp"
+NO_DEDICATED;
+
diff --git a/addons/laser_selfdesignate/XEH_pre_init.sqf b/addons/laser_selfdesignate/XEH_pre_init.sqf
index a8d4b1779d..6567938514 100644
--- a/addons/laser_selfdesignate/XEH_pre_init.sqf
+++ b/addons/laser_selfdesignate/XEH_pre_init.sqf
@@ -1,11 +1,11 @@
-#include "script_component.hpp"
-
-PREP(initDesignatorActions);
-PREP(laserHudDesignateOn);
-PREP(laserHudDesignateOff);
-PREP(unitTurretHasDesignator);
-
-GVAR(laser) = nil;
-GVAR(laserActive) = false;
-
-FUNC(getPosASL) = {visiblePositionASL (_this select 0)};
+#include "script_component.hpp"
+
+PREP(initDesignatorActions);
+PREP(laserHudDesignateOn);
+PREP(laserHudDesignateOff);
+PREP(unitTurretHasDesignator);
+
+GVAR(laser) = nil;
+GVAR(laserActive) = false;
+
+FUNC(getPosASL) = {visiblePositionASL (_this select 0)};
diff --git a/addons/laser_selfdesignate/config.cpp b/addons/laser_selfdesignate/config.cpp
index 33c31ba7e5..e8d110bd34 100644
--- a/addons/laser_selfdesignate/config.cpp
+++ b/addons/laser_selfdesignate/config.cpp
@@ -1,17 +1,17 @@
-#include "script_component.hpp"
-
-class CfgPatches {
- class ADDON {
- units[] = {};
- weapons[] = {};
- requiredVersion = REQUIRED_VERSION;
- requiredAddons[] = {"ace_laser"};
- version = VERSION;
- };
-};
-
-#include "CfgUI.hpp"
-
-#include "CfgEventhandlers.hpp"
-#include "CfgWeapons.hpp"
-#include "CfgVehicles.hpp"
+#include "script_component.hpp"
+
+class CfgPatches {
+ class ADDON {
+ units[] = {};
+ weapons[] = {};
+ requiredVersion = REQUIRED_VERSION;
+ requiredAddons[] = {"ace_laser"};
+ version = VERSION;
+ };
+};
+
+#include "CfgUI.hpp"
+
+#include "CfgEventhandlers.hpp"
+#include "CfgWeapons.hpp"
+#include "CfgVehicles.hpp"
diff --git a/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOff.sqf b/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOff.sqf
index 2f4c437d28..c5ad2407fd 100644
--- a/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOff.sqf
+++ b/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOff.sqf
@@ -1,20 +1,20 @@
-#include "script_component.hpp"
-
-if(isNil QGVAR(laser)) exitWith {
- false
-};
-if(!local GVAR(laser)) then {
- false
-};
-
-_handle = GVAR(laser) getVariable ["ACE_PFH_HANDLE", nil];
-if(!isNil "_handle") then {
- [_handle] call cba_fnc_removePerFrameHandler;
-};
-
-REM(ACE_LASERS, GVAR(laser));
-deleteVehicle GVAR(laser);
-GVAR(laser) = nil;
-GVAR(laserActive) = false;
-
+#include "script_component.hpp"
+
+if(isNil QGVAR(laser)) exitWith {
+ false
+};
+if(!local GVAR(laser)) then {
+ false
+};
+
+_handle = GVAR(laser) getVariable ["ACE_PFH_HANDLE", nil];
+if(!isNil "_handle") then {
+ [_handle] call cba_fnc_removePerFrameHandler;
+};
+
+REM(ACE_LASERS, GVAR(laser));
+deleteVehicle GVAR(laser);
+GVAR(laser) = nil;
+GVAR(laserActive) = false;
+
true
\ No newline at end of file
diff --git a/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOn.sqf b/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOn.sqf
index f0fdc8458f..45a6e18c55 100644
--- a/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOn.sqf
+++ b/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOn.sqf
@@ -1,111 +1,111 @@
-//#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-
-TRACE_1("enter", _this);
-
-#define FCS_UPDATE_DELAY 1
-
-FUNC(magnitude) = {
- _this distance [0, 0, 0]
-};
-
-FUNC(mat_normalize3d) = {
- private ["_mag"];
- PARAMS_3(_vx,_vy,_vz);
-
- _mag = _this call FUNC(magnitude);
- if (_mag == 0) then {_mag = 1};
- [(_vx/_mag), (_vy/_mag), (_vz/_mag)]
-};
-
-FUNC(laserHudDesignatePFH) = {
- private["_args", "_laserTarget", "_shooter", "_vehicle", "_weapon", "_gunnerInfo", "_turret", "_pov", "_gunBeg", "_gunEnd", "_povPos", "_povDir", "_result", "_resultPositions", "_firstResult", "_forceUpdateTime"];
- _args = _this select 0;
- _laserTarget = _args select 0;
- _shooter = _args select 1;
-
- if( (count _args) < 3) then {
- _args set[2, diag_tickTime + FCS_UPDATE_DELAY];
- };
- _forceUpdateTime = _args select 2;
-
- _vehicle = vehicle _shooter;
- _weapon = currentWeapon _vehicle;
-
- TRACE_1("", _args);
-
- if(!alive _shooter || isNull _vehicle || isNull _laserTarget || !GVAR(laserActive) ) exitWith {
- [] call FUNC(laserHudDesignateOff);
- };
- if(!([ACE_player] call FUNC(unitTurretHasDesignator)) ) exitWith {
- [] call FUNC(laserHudDesignateOff);
- };
-
- // Retrieve the gunner and turret memory point information
- _gunnerInfo = [_vehicle, _weapon] call CBA_fnc_getFirer;
- _turretInfo = [_vehicle, _gunnerInfo select 1] call EFUNC(common,getTurretDirection);
- _povPos = _turretInfo select 0;
- _povDir = _turretInfo select 1;
-
-
-
- _result = [_povPos, _povDir] call EFUNC(laser,shootCone);
- if((count _result) > 0) then {
- _resultPositions = _result select 2;
-
- if((count _resultPositions) > 0) then {
- _firstResult = _resultPositions select 0;
- _pos = _firstResult select 0;
-
- // If the laser has moved less than a half meter, then dont move it.
- // Just regular use of lasers will commonly make them move this much,
- // but not across multiple close frames.
- // This loses accuracy a little, but saves position updates per frame.
- TRACE_5("", diag_tickTime, _forceUpdateTime, getPosASL _laserTarget, _pos, ((getPosASL _laserTarget) distance _pos));
-
- if(diag_tickTime > _forceUpdateTime) then {
- TRACE_1("FCS Update", "");
- ["ace_fcs_forceUpdate", []] call ace_common_fnc_localEvent;
- };
-
- if( (_laserTarget distance _pos) > 0.1) then {
- TRACE_1("LaserPos Update", "");
- _laserTarget setPosATL (ASLToATL _pos);
- };
-
- if(diag_tickTime > _forceUpdateTime) then {
- _args set[2, diag_tickTime + FCS_UPDATE_DELAY];
- };
-#ifdef DEBUG_MODE_FULL
- drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,0,0,1], (getPosATL _laserTarget), 0.75, 0.75, 0, "", 0.5, 0.025, "TahomaB"];
-
- {
- private["_position"];
- _position = _x select 0;
- drawLine3d [ASLToATL _povPos, ASLToATL _position, [0,0,1,1] ];
- } forEach _resultPositions;
-#endif
- };
- };
-
- _this set[0, _args];
-};
-
-private "_laserTarget";
-private "_handle";
-
-if(isNil QGVAR(laser)) then {
-
- _laserTarget = "LaserTargetW" createVehicle (getpos player);
-
- GVAR(laserActive) = true;
-
- _handle = [FUNC(laserHudDesignatePFH), 0.1, [_laserTarget, player]] call cba_fnc_addPerFrameHandler;
- _laserTarget setVariable ["ACE_PFH_HANDLE", _handle, false];
-
- GVAR(laser) = _laserTarget;
-} else {
- [] call FUNC(laserHudDesignateOff);
- [] call FUNC(laserHudDesignateOn);
-};
-
+//#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+
+TRACE_1("enter", _this);
+
+#define FCS_UPDATE_DELAY 1
+
+FUNC(magnitude) = {
+ _this distance [0, 0, 0]
+};
+
+FUNC(mat_normalize3d) = {
+ private ["_mag"];
+ PARAMS_3(_vx,_vy,_vz);
+
+ _mag = _this call FUNC(magnitude);
+ if (_mag == 0) then {_mag = 1};
+ [(_vx/_mag), (_vy/_mag), (_vz/_mag)]
+};
+
+FUNC(laserHudDesignatePFH) = {
+ private["_args", "_laserTarget", "_shooter", "_vehicle", "_weapon", "_gunnerInfo", "_turret", "_pov", "_gunBeg", "_gunEnd", "_povPos", "_povDir", "_result", "_resultPositions", "_firstResult", "_forceUpdateTime"];
+ _args = _this select 0;
+ _laserTarget = _args select 0;
+ _shooter = _args select 1;
+
+ if( (count _args) < 3) then {
+ _args set[2, diag_tickTime + FCS_UPDATE_DELAY];
+ };
+ _forceUpdateTime = _args select 2;
+
+ _vehicle = vehicle _shooter;
+ _weapon = currentWeapon _vehicle;
+
+ TRACE_1("", _args);
+
+ if(!alive _shooter || isNull _vehicle || isNull _laserTarget || !GVAR(laserActive) ) exitWith {
+ [] call FUNC(laserHudDesignateOff);
+ };
+ if(!([ACE_player] call FUNC(unitTurretHasDesignator)) ) exitWith {
+ [] call FUNC(laserHudDesignateOff);
+ };
+
+ // Retrieve the gunner and turret memory point information
+ _gunnerInfo = [_vehicle, _weapon] call CBA_fnc_getFirer;
+ _turretInfo = [_vehicle, _gunnerInfo select 1] call EFUNC(common,getTurretDirection);
+ _povPos = _turretInfo select 0;
+ _povDir = _turretInfo select 1;
+
+
+
+ _result = [_povPos, _povDir] call EFUNC(laser,shootCone);
+ if((count _result) > 0) then {
+ _resultPositions = _result select 2;
+
+ if((count _resultPositions) > 0) then {
+ _firstResult = _resultPositions select 0;
+ _pos = _firstResult select 0;
+
+ // If the laser has moved less than a half meter, then dont move it.
+ // Just regular use of lasers will commonly make them move this much,
+ // but not across multiple close frames.
+ // This loses accuracy a little, but saves position updates per frame.
+ TRACE_5("", diag_tickTime, _forceUpdateTime, getPosASL _laserTarget, _pos, ((getPosASL _laserTarget) distance _pos));
+
+ if(diag_tickTime > _forceUpdateTime) then {
+ TRACE_1("FCS Update", "");
+ ["ace_fcs_forceUpdate", []] call ace_common_fnc_localEvent;
+ };
+
+ if( (_laserTarget distance _pos) > 0.1) then {
+ TRACE_1("LaserPos Update", "");
+ _laserTarget setPosATL (ASLToATL _pos);
+ };
+
+ if(diag_tickTime > _forceUpdateTime) then {
+ _args set[2, diag_tickTime + FCS_UPDATE_DELAY];
+ };
+#ifdef DEBUG_MODE_FULL
+ drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,0,0,1], (getPosATL _laserTarget), 0.75, 0.75, 0, "", 0.5, 0.025, "TahomaB"];
+
+ {
+ private["_position"];
+ _position = _x select 0;
+ drawLine3d [ASLToATL _povPos, ASLToATL _position, [0,0,1,1] ];
+ } forEach _resultPositions;
+#endif
+ };
+ };
+
+ _this set[0, _args];
+};
+
+private "_laserTarget";
+private "_handle";
+
+if(isNil QGVAR(laser)) then {
+
+ _laserTarget = "LaserTargetW" createVehicle (getpos player);
+
+ GVAR(laserActive) = true;
+
+ _handle = [FUNC(laserHudDesignatePFH), 0.1, [_laserTarget, player]] call cba_fnc_addPerFrameHandler;
+ _laserTarget setVariable ["ACE_PFH_HANDLE", _handle, false];
+
+ GVAR(laser) = _laserTarget;
+} else {
+ [] call FUNC(laserHudDesignateOff);
+ [] call FUNC(laserHudDesignateOn);
+};
+
diff --git a/addons/laser_selfdesignate/functions/script_component.hpp b/addons/laser_selfdesignate/functions/script_component.hpp
index 38c6d2c44b..46c864a031 100644
--- a/addons/laser_selfdesignate/functions/script_component.hpp
+++ b/addons/laser_selfdesignate/functions/script_component.hpp
@@ -1 +1 @@
-#include "\z\ace\Addons\laser_selfdesignate\script_component.hpp"
+#include "\z\ace\Addons\laser_selfdesignate\script_component.hpp"
diff --git a/addons/laser_selfdesignate/script_component.hpp b/addons/laser_selfdesignate/script_component.hpp
index 46e9c48d2f..25fa342e32 100644
--- a/addons/laser_selfdesignate/script_component.hpp
+++ b/addons/laser_selfdesignate/script_component.hpp
@@ -1,12 +1,12 @@
-#define COMPONENT laser_selfdesignate
-#include "\z\ace\Addons\main\script_mod.hpp"
-
-#ifdef DEBUG_ENABLED_LASER_SELFDESIGNATE
- #define DEBUG_MODE_FULL
-#endif
-
-#ifdef DEBUG_SETTINGS_LASER_SELFDESIGNATE
- #define DEBUG_SETTINGS DEBUG_SETTINGS_LASER_SELFDESIGNATE
-#endif
-
-#include "\z\ace\Addons\main\script_macros.hpp"
+#define COMPONENT laser_selfdesignate
+#include "\z\ace\Addons\main\script_mod.hpp"
+
+#ifdef DEBUG_ENABLED_LASER_SELFDESIGNATE
+ #define DEBUG_MODE_FULL
+#endif
+
+#ifdef DEBUG_SETTINGS_LASER_SELFDESIGNATE
+ #define DEBUG_SETTINGS DEBUG_SETTINGS_LASER_SELFDESIGNATE
+#endif
+
+#include "\z\ace\Addons\main\script_macros.hpp"
diff --git a/addons/laser_selfdesignate/stringtable.xml b/addons/laser_selfdesignate/stringtable.xml
index 03d28814ec..ca5ff1e687 100644
--- a/addons/laser_selfdesignate/stringtable.xml
+++ b/addons/laser_selfdesignate/stringtable.xml
@@ -1,14 +1,16 @@
-
+
Laser<br/>Designator On
Lasermarkierer<br/>an
+ ЛЦУ<br/>ВКЛ
Laser<br/>Designator Off
Lasermarkierer<br/>aus
+ ЛЦУ<br/>ВЫКЛ
\ No newline at end of file
diff --git a/addons/laserpointer/stringtable.xml b/addons/laserpointer/stringtable.xml
index 87b36618a6..279fdeb5e8 100644
--- a/addons/laserpointer/stringtable.xml
+++ b/addons/laserpointer/stringtable.xml
@@ -1,21 +1,22 @@
+
-
Laser Pointer (red)
Laserpointer (rot)
+ Лазерный прицел (красный)
Laser Pointer (green)
Laserpointer (grün)
+ Лазерный прицел (зелёный)
-
Emits visible light.
Strahlt sichtbares Licht aus.
+ Испускает узкий пучок видимого света.
-
<t color='#9cf953'>Use: </t>Turn Laser ON/OFF
<t color='#9cf953'>Použití: </t>Zapnout/vypnout laser
@@ -27,6 +28,5 @@
<t color='#9cf953'>Использовать: </t>вкл/выкл лазер
<t color='#9cf953'>Usar: </t>encender/apagar láser
-
-
+
\ No newline at end of file
diff --git a/addons/logistics_uavbattery/stringtable.xml b/addons/logistics_uavbattery/stringtable.xml
index fbd9004290..3a8d958709 100644
--- a/addons/logistics_uavbattery/stringtable.xml
+++ b/addons/logistics_uavbattery/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -24,7 +24,7 @@
Potřebuješ UAV-Baterii
Você precisa de uma Bateria para VANT
Hai bisogno di una Batteria UAV
- Требуется аккумулятор БПЛА
+ Требуется аккумулятор для БПЛА
Recharge
@@ -36,7 +36,7 @@
Dobít
Recarregar
Ricarica
- Подзарядить
+ Зарядить
UAV Battery
@@ -60,7 +60,7 @@
Používané k dobíjení UAV
Usada para reabastecer VANT
Usata per ricaricare la Batteria dell'UAV
- Используется для подзарядки БПЛА
+ Используется для зарядки БПЛА
Recharging ...
@@ -72,7 +72,7 @@
Dobíjení ...
Recarregando ...
In ricarica ...
- Подзаряжаем ...
+ Заряжается ...
\ No newline at end of file
diff --git a/addons/logistics_wirecutter/stringtable.xml b/addons/logistics_wirecutter/stringtable.xml
index f23af6b1e5..4e08ec33e8 100644
--- a/addons/logistics_wirecutter/stringtable.xml
+++ b/addons/logistics_wirecutter/stringtable.xml
@@ -1,15 +1,17 @@
-
+
Wirecutter
Drahtschneider
Wirecutter
+ Клещи-кусачки
Wirecutter
Schneidet Draht.
+ Позволяют быстро перекусывать сеточные конструкции.
Cut Fence
@@ -21,7 +23,7 @@
Cortar Cerca
Taglia
Drótkerítés átvágása
- Вырезать забор
+ Разрезать забор
Cutting Fences / Wires ...
@@ -33,7 +35,7 @@
Cortando Cerca / Arame ...
Sto tagliando ...
Drótok elvágása ...
- Вырезаем забор / провода ...
+ Разрезаем забор / провода ...
Fence cut
@@ -45,7 +47,7 @@
Cerca cortada
Fatto!
Drótkerítés átvágva
- Забор вырезан
+ Забор разрезан
\ No newline at end of file
diff --git a/addons/magazinerepack/stringtable.xml b/addons/magazinerepack/stringtable.xml
index d8fd5ca177..8aa586b916 100644
--- a/addons/magazinerepack/stringtable.xml
+++ b/addons/magazinerepack/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -78,16 +78,19 @@
Repacking Finished
Wiederverpacken Fertig
Reembalaje Finalizado
+ Перепаковка завершена
Repacking Interrupted
Umpacken Unterbrochen
Reempaque Interrupted
+ Перепаковка прервана
%1 Full and %2 Partial
%1 Vollständigen und %2 Teilweisen
%1 Total y %2 Parcial
+ %1 полных и %2 неполных
\ No newline at end of file
diff --git a/addons/magazines/stringtable.xml b/addons/magazines/stringtable.xml
index c8f652fa39..db637f8064 100644
--- a/addons/magazines/stringtable.xml
+++ b/addons/magazines/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -13,7 +13,7 @@
6.5mm 30ks Svítící IR-DIM Zásobník
Carregador de 30 projéteis traçantes IR-DIM de 6,5mm
Caricatore 6.5mm 30Rnd Traccianti IR-DIM
- Магазин из 30-и 6.5 мм трассирующих под ПНВ
+ Магазин из 30-ти 6.5 мм трассирующих под ПНВ
6.5mm IR-DIM
@@ -25,7 +25,7 @@
6.5mm IR-DIM
6,5mm IR-DIM
6.5 IR-DIM
- 6.5 мм трассирущие под ПНВ
+ 6.5 мм ИК-трассирующие
Caliber: 6.5x39 mm Tracer IR-DIM<br />Rounds: 30<br />Used in: MX/C/M/SW/3GL
@@ -49,7 +49,7 @@
6.5mm 30ks SD Zásobník
Carregador de 30 projéteis SD de 6,5mm
Caricatore 6.5mm 30Rnd Sil.
- Магазин из 30-и 6.5 мм дозвуковых
+ Магазин из 30-ти 6.5 мм дозвуковых
6.5mm SD
@@ -85,7 +85,7 @@
6.5mm 30ks AP Zásobník
Carregador de 30 projéteis AP de 6,5mm
Caricatore 6.5mm 30Rnd AP
- Магазин из 30-и 6.5 мм бронебойных
+ Магазин из 30-ти 6.5 мм бронебойных
6.5mm AP
@@ -122,7 +122,7 @@
6.5mm 30ks Svítící IR-DIM Zásobník
Carregador de 30 projéteis traçantes IR-DIM de 6,5mm
Caricatore 6.5mm 30Rnd Traccianti IR-DIM
- Магазин из 30-и 6.5 мм трассирующих под ПНВ
+ Магазин из 30-ти 6.5 мм трассирующих под ПНВ
6.5mm IR-DIM
@@ -134,7 +134,7 @@
6.5mm IR-DIM
6,5mm IR-DIM
6.5mm IR-DIM
- 6.5 мм трассирущие под ПНВ
+ 6.5 мм ИК-трассирующие
Caliber: 6.5x39 mm Tracer IR-DIM<br />Rounds: 30<br />Used in: Katiba
@@ -158,7 +158,7 @@
6.5mm 30ks SD Zásobník
Carregador de 30 projéteis SD de 6,5mm
Caricatore 6.5mm 30Rnd Sil.
- Магазин из 30-и 6.5 мм дозвуковых
+ Магазин из 30-ти 6.5 мм дозвуковых
6.5mm SD
@@ -194,7 +194,7 @@
6.5mm 30ks AP Zásobník
Carregador de 30 projéteis AP de 6,5mm
Caricatore 6.5mm 30Rnd AP
- Магазин из 30-и 6.5 мм бронебойных
+ Магазин из 30-ти 6.5 мм бронебойных
6.5mm AP
@@ -231,7 +231,7 @@
5.56mm 30ks Svítící IR-DIM Zásobník
Carregador de 30 projéteis traçantes IR-DIM de 5,56mm
Caricatore 5.56mm 30rnd Traccianti IR-DIM
- Магазин из 30-и 5.56 мм трассирующих под ПНВ
+ Магазин из 30-ти 5.56 мм трассирующих под ПНВ
5.56mm IR-DIM
@@ -243,7 +243,7 @@
5.56mm IR-DIM
5,56mm IR-DIM
5.56mm IR-DIM
- 5.56 мм трассирущие под ПНВ
+ 5.56 мм ИК-трассирующие
Caliber: 5.56x45 mm Tracer IR-DIM<br />Rounds: 30<br />Used in: TRG-20, TRG-21/EGLM, Mk20/C/EGLM, SDAR
@@ -267,7 +267,7 @@
5.56mm 30ks SD Zásobník
Carregador de 30 projéteis SD de 5,56mm
Caricatore 5.56mm 30Rnd Sil.
- Магазин из 30-и 5.56 мм дозвуковых
+ Магазин из 30-ти 5.56 мм дозвуковых
5.56mm SD
@@ -303,7 +303,7 @@
5.56mm 30ks AP Zásobník
Carregador de 30 projéteis AP de 5,56mm
Caricatore 5.56mm 30Rnd AP
- Магазин из 30-и 5.56 мм бронебойных
+ Магазин из 30-ти 5.56 мм бронебойных
5.56mm AP
@@ -340,7 +340,7 @@
7.62mm 20ks Svítící Zásobník
Carregador de 20 projéteis traçantes de 7,62mm
Caricatore 7.62mm 20Rnd Traccianti
- Магазин из 20-и 7.62 мм трассирующих
+ Магазин из 20-ти 7.62 мм трассирующих
7.62mm Tracer
@@ -376,7 +376,7 @@
7.62mm 20ks Svítící IR-DIM Zásobník
Carregador de 20 projéteis IR-DIM de 7,62mm
Caricatore 7.62mm 20rnd Traccianti IR-DIM
- Магазин из 20-и 7.62 мм трассирующих под ПНВ
+ Магазин из 20-ти 7.62 мм трассирующих под ПНВ
7.62mm IR-DIM
@@ -388,7 +388,7 @@
7.62mm IR-DIM
7,62mm IR-DIM
7.62mm IR-DIM
- 7.62 мм трассирущие под ПНВ
+ 7.62 мм ИК-трассирующие
Caliber: 7.62x51 mm Tracer IR-DIM<br />Rounds: 20<br />Used in: Mk18 ABR
@@ -412,7 +412,7 @@
7.62mm 20ks SD Zásobník
Carregador de 20 projéteis SD de 7,62mm
Caricatore 7.62mm 20Rnd Sil.
- Магазин из 20-и 7.62 мм дозвуковых
+ Магазин из 20-ти 7.62 мм дозвуковых
7.62mm SD
@@ -448,7 +448,7 @@
7.62mm 20ks AP Zásobník
Carregador de 20 projéteis AP de 7,62mm
Caricatore 7.62mm 20Rnd AP
- Магазин из 20-и 7.62 мм бронебойных
+ Магазин из 20-ти 7.62 мм бронебойных
7.62mm AP
@@ -487,4 +487,4 @@
Calibro: 7.62x51mm M118LR<br />Munizioni:20<br />In uso su: M14
-
+
\ No newline at end of file
diff --git a/addons/main/About.hpp b/addons/main/About.hpp
index c455c43cc3..c0dfbba561 100644
--- a/addons/main/About.hpp
+++ b/addons/main/About.hpp
@@ -1,35 +1,35 @@
-#include "script_dialog_defines.hpp"
-
-class ACE_ABOUT_DLG {
- idd = 114137;
- movingEnable = 0;
- onLoad = "with uiNameSpace do { ACE_ABOUT_DLG = _this select 0; };";
- onKeyDown = "if((_this select 1) == 1) then {ACE_ABOUT_STP = true;};";
- class controlsBackground {
- class Contents : RscStructuredText {
- idc = 1141371;
- colorBackground[] = { 0, 0, 0, 0 };
- __SX(0.45);
- __SY(0.25);
- __SW(0.45);
- __SH(0.6);
- size = "0.025 * SafeZoneH";
- class Attributes {
- font = "TahomaB";
- color = "#C8C8C8";
- align = "left";
- valign = "middle";
- shadow = true;
- shadowColor = "#191970";
- size = "1";
- };
- };
- class ACE_ABOUT_NEXT : ACE_ABOUT_CTRL { //dummy visible
- idc = 1141372;
- __SX(0.065);
- __SW(0.03);
- text = "";
- action = "";
- };
- }; //controlsBackground
-};
+#include "script_dialog_defines.hpp"
+
+class ACE_ABOUT_DLG {
+ idd = 114137;
+ movingEnable = 0;
+ onLoad = "with uiNameSpace do { ACE_ABOUT_DLG = _this select 0; };";
+ onKeyDown = "if((_this select 1) == 1) then {ACE_ABOUT_STP = true;};";
+ class controlsBackground {
+ class Contents : RscStructuredText {
+ idc = 1141371;
+ colorBackground[] = { 0, 0, 0, 0 };
+ __SX(0.45);
+ __SY(0.25);
+ __SW(0.45);
+ __SH(0.6);
+ size = "0.025 * SafeZoneH";
+ class Attributes {
+ font = "TahomaB";
+ color = "#C8C8C8";
+ align = "left";
+ valign = "middle";
+ shadow = true;
+ shadowColor = "#191970";
+ size = "1";
+ };
+ };
+ class ACE_ABOUT_NEXT : ACE_ABOUT_CTRL { //dummy visible
+ idc = 1141372;
+ __SX(0.065);
+ __SW(0.03);
+ text = "";
+ action = "";
+ };
+ }; //controlsBackground
+};
diff --git a/addons/main/CfgModuleCategories.hpp b/addons/main/CfgModuleCategories.hpp
index 1f86959585..87c52f35c5 100644
--- a/addons/main/CfgModuleCategories.hpp
+++ b/addons/main/CfgModuleCategories.hpp
@@ -1,8 +1,8 @@
-class CfgFactionClasses {
- class NO_CATEGORY;
- class ACE: NO_CATEGORY {
- displayName = "ACE";
- priority = 2;
- side = 7;
- };
+class CfgFactionClasses {
+ class NO_CATEGORY;
+ class ACE: NO_CATEGORY {
+ displayName = "ACE";
+ priority = 2;
+ side = 7;
+ };
};
\ No newline at end of file
diff --git a/addons/main/about.sqf b/addons/main/about.sqf
index c9004edfe1..9e4671d666 100644
--- a/addons/main/about.sqf
+++ b/addons/main/about.sqf
@@ -1,210 +1,210 @@
-#include "script_component.hpp"
-#include "\z\ace\addons\main\script_common.hpp"
-
-if (!isNil "ACE_ABOUT_RUN") exitWith {ACE_ABOUT_RUN = false;};
-ACE_ABOUT_RUN = true;
-
-disableSerialization;
-
-PARAMS_2(_menu,_data);
-
-private ["_pcredits", "_pkeynam", "_shift", "_ctrl", "_alt", "_keys", "_key", "_keystrg", "_mod", "_knaml", "_knam", "_k", "_pkeys", "_pary", "_tpages", "_cEvents", "_i", "_cSys", "_tSys", "_aSys", "_tS", "_j", "_c", "_tC", "_keyn", "_fadet", "_page1", "_color", "_bcolor", "_newpages", "_pstart", "_pcount", "_pnext", "_display", "_control", "_pnames", "_pnam", "_page", "_pages", "_run", "_disp", "_next", "_input", "_nesc", "_unset", "_p", "_text", "_curPage", "_time", "_faded"];
-
-_pcredits = [
-"",
-"Advanced Combat Environment 2",
-"http://dev-heaven.net/projects/ace-mod2",
-"",
-__cr_managers,
-"",
-__cr_devs,
-"",
-__cr_testers,
-"",
-"For a full list of acknowledgements, please visit our Wiki:",
-"http://ace.dev-heaven.net"
-];
-
-_pkeynam = { //local function
- _shift = if (_shift > 0) then {42} else {0};
- _ctrl = if (_ctrl > 0) then {56} else {0};
- _alt = if (_alt > 0) then {29} else {0};
- _keys = [_shift,_ctrl,_alt,_key];
- _keystrg = "^";
- {
- _mod = _x in [42,56,29];
- _knaml = call compile format["format['%2',%1]",(keyName _x),"%1"];
- _knaml = [_knaml, " "] call CBA_fnc_split;
- _knam = "^";
- {_k = _x; if (!_mod || (_k != (localize "STR_ACE_KN_LEFT") && _k != (localize "STR_ACE_KN_RIGHT"))) then {_knam = _knam + " " + _k}} forEach _knaml;
- _knam = [_knam, "^ ", ""] call CBA_fnc_replace;
- _keystrg = _keystrg + "-" + _knam;
- } forEach _keys;
- _keystrg = [_keystrg, "^ ", ""] call CBA_fnc_replace;
- _keystrg = [_keystrg, "^-", ""] call CBA_fnc_replace;
- _keystrg = [_keystrg, "^", "None"] call CBA_fnc_replace;
- _keystrg
-};
-_pkeys = {
- _pary = [];
- _tpages = [];
- _cEvents = configFile/"CfgSettings"/"CBA"/"events";
- for "_i" from 0 to (count _cEvents) - 1 do {
- _cSys = _cEvents select _i;
- _tSys = configName _cSys;
- if (isNumber ((_cSys select 0)/"key")) then {
- //format system name
- _aSys = [_tSys, "_"] call CBA_fnc_split;
- _tS = "^";
- {if (_x != "ace" && _x != "sys") then {_tS = _tS + " " + _x}} forEach _aSys;
- _tS = [_tS, "^ ", ""] call CBA_fnc_replace;
- _tS = format["%1:",_tS];
- PUSH(_pary,_tS);
- for "_j" from 0 to (count _cSys) - 1 do {
- _c = _cSys select _j;
- _tC = configName _c;
- _tC = [_tC, "_", " "] call CBA_fnc_replace;
- //key
- _key = getNumber (_c/"key");
- _shift = getNumber (_c/"shift");
- _ctrl = getNumber (_c/"ctrl");
- _alt = getNumber (_c/"alt");
- _keyn = [_key,_shift,_ctrl,_alt] call _pkeynam;
- _tC = format[" %1: %2",_tC,_keyn];
- PUSH(_pary,_tC);
- };
- };
- if (count _pary > 20) then { //split full page
- PUSH(_tpages,_pary);
- _pary = [];
- };
- };
- if (count _pary > 0) then { //partial page
- PUSH(_tpages,_pary);
- _pary = [];
- };
- _tpages
-};
-
-//pages (make sure each will fit within 24 lines, word wrap is on)
-switch(_menu) do {
- case "MAIN": { //note: not all scripting commands available on main menu (not compiled yet?)
- _fadet = 13;
- _page1 = _pcredits;
- };
- case "SING": {
- _fadet = 20; //fade time
- _color = [1,1,1,1];
- //_bcolor = [0,0,0,0.3];
- _page1 = _pcredits;
- _newpages = [] call _pkeys;
- _pstart = 2;
- _pcount = count _newpages;
- _pnext = _pstart + _pcount;
- };
- case "MULT": {
- _fadet = 20;
- _color = [1,1,1,1];
- //_bcolor = [0,0,0,0.3];
- _page1 = _pcredits;
- _newpages = [] call _pkeys;
- _pstart = 2;
- _pcount = count _newpages;
- _pnext = _pstart + _pcount;
- };
- default {};
-};
-
-//main menu display
-if (typeName(_data select 0) == "DISPLAY") then {
- _display = _data select 0;
-};
-
-if (typeName(_data select 0) == "CONTROL") then {
- _control = _data select 0;
- _display = ctrlParent _control;
-};
-
-//dynamic pages
-_pnames = [];
-for "_x" from _pstart to _pnext - 1 do {
- _pnam = format ["_page%1",_x];
- PUSH(_pnames,_pnam);
-};
-private _pnames;
-for "_x" from 0 to _pcount - 1 do {
- call compile format ["%1 = %2", _pnames select _x, _newpages select _x];
-};
-
-//get num pages
-_pages = 0;
-_run = true;
-while {_run} do {
- INC(_pages);
- if (isNil format ["_page%1", _pages]) exitWith {_pages = _pages - 1; _run = false};
-};
-
-if (_pages > 0) then {
- //Dialog
- createDialog "ACE_ABOUT_DLG";
- _disp = uiNamespace getVariable "ACE_ABOUT_DLG";
- _ctrl = _disp displayCtrl 1141371;
- _next = _disp displayCtrl 1141372;
-
- if (_pages > 1) then {_next ctrlSetText "Next"};
-
- _ctrl ctrlSetFade 1;
- _ctrl ctrlCommit 0;
- _ctrl ctrlSetFade 0;
- _ctrl ctrlCommit 3;
-
- ACE_ABOUT_INC = 0;
- _input = { //local function
- _nesc = isNil "ACE_ABOUT_STP";
- if (_pages == 1) then {ACE_ABOUT_INC = 0}; //ignore special control
- _unset = (ACE_ABOUT_INC == 0) && ACE_ABOUT_RUN;
- if (_unset && _nesc) then {false} else {_fadet = _fadet + 5; true};
- };
-
- //by default cycle
- for "_p" from 1 to _pages do {
- _text = "";
- _page = call compile format["_page%1",_p];
- _curPage = _p;
- {
- _text = _text + _x + "
";
- _ctrl ctrlSetStructuredText parseText _text;
- if (call _input) exitWith {_p = _pages};
- if (_x != "") then {uisleep 0.8};
- } forEach _page;
- };
-
- _run = true;
- while {if (isNil "ACE_ABOUT_STP") then {_run} else {false}} do {
- _ctrl ctrlSetFade 0;
- _ctrl ctrlCommit 0;
- if (!isNil "_color") then {_ctrl ctrlSetTextColor _color};
- if (!isNil "_bcolor") then {_ctrl ctrlSetBackgroundColor _bcolor};
-
- _curPage = _curPage + ACE_ABOUT_INC;
- if (_curPage > _pages) then {_curPage = 1};
- if (_curPage <= 0) then {_curPage = 1};
- ACE_ABOUT_INC = 0;
-
- if (!ACE_ABOUT_RUN) then {ACE_ABOUT_RUN = true};
-
- _text = "";
- _page = call compile format ["_page%1",_curPage];
- {_text = _text + _x + "
"} forEach _page;
- _ctrl ctrlSetStructuredText parseText _text;
-
- _ctrl ctrlSetFade 1;
- _ctrl ctrlCommit _fadet;
-
- _time = time + _fadet + 2;
- waitUntil{uisleep 1; _run = call _input; _faded = time > _time; (_run || _faded)};
- }; //while RUN
-};
-ACE_ABOUT_STP = Nil;
-ACE_ABOUT_RUN = Nil;
+#include "script_component.hpp"
+#include "\z\ace\addons\main\script_common.hpp"
+
+if (!isNil "ACE_ABOUT_RUN") exitWith {ACE_ABOUT_RUN = false;};
+ACE_ABOUT_RUN = true;
+
+disableSerialization;
+
+PARAMS_2(_menu,_data);
+
+private ["_pcredits", "_pkeynam", "_shift", "_ctrl", "_alt", "_keys", "_key", "_keystrg", "_mod", "_knaml", "_knam", "_k", "_pkeys", "_pary", "_tpages", "_cEvents", "_i", "_cSys", "_tSys", "_aSys", "_tS", "_j", "_c", "_tC", "_keyn", "_fadet", "_page1", "_color", "_bcolor", "_newpages", "_pstart", "_pcount", "_pnext", "_display", "_control", "_pnames", "_pnam", "_page", "_pages", "_run", "_disp", "_next", "_input", "_nesc", "_unset", "_p", "_text", "_curPage", "_time", "_faded"];
+
+_pcredits = [
+"",
+"Advanced Combat Environment 2",
+"http://dev-heaven.net/projects/ace-mod2",
+"",
+__cr_managers,
+"",
+__cr_devs,
+"",
+__cr_testers,
+"",
+"For a full list of acknowledgements, please visit our Wiki:",
+"http://ace.dev-heaven.net"
+];
+
+_pkeynam = { //local function
+ _shift = if (_shift > 0) then {42} else {0};
+ _ctrl = if (_ctrl > 0) then {56} else {0};
+ _alt = if (_alt > 0) then {29} else {0};
+ _keys = [_shift,_ctrl,_alt,_key];
+ _keystrg = "^";
+ {
+ _mod = _x in [42,56,29];
+ _knaml = call compile format["format['%2',%1]",(keyName _x),"%1"];
+ _knaml = [_knaml, " "] call CBA_fnc_split;
+ _knam = "^";
+ {_k = _x; if (!_mod || (_k != (localize "STR_ACE_KN_LEFT") && _k != (localize "STR_ACE_KN_RIGHT"))) then {_knam = _knam + " " + _k}} forEach _knaml;
+ _knam = [_knam, "^ ", ""] call CBA_fnc_replace;
+ _keystrg = _keystrg + "-" + _knam;
+ } forEach _keys;
+ _keystrg = [_keystrg, "^ ", ""] call CBA_fnc_replace;
+ _keystrg = [_keystrg, "^-", ""] call CBA_fnc_replace;
+ _keystrg = [_keystrg, "^", "None"] call CBA_fnc_replace;
+ _keystrg
+};
+_pkeys = {
+ _pary = [];
+ _tpages = [];
+ _cEvents = configFile/"CfgSettings"/"CBA"/"events";
+ for "_i" from 0 to (count _cEvents) - 1 do {
+ _cSys = _cEvents select _i;
+ _tSys = configName _cSys;
+ if (isNumber ((_cSys select 0)/"key")) then {
+ //format system name
+ _aSys = [_tSys, "_"] call CBA_fnc_split;
+ _tS = "^";
+ {if (_x != "ace" && _x != "sys") then {_tS = _tS + " " + _x}} forEach _aSys;
+ _tS = [_tS, "^ ", ""] call CBA_fnc_replace;
+ _tS = format["%1:",_tS];
+ PUSH(_pary,_tS);
+ for "_j" from 0 to (count _cSys) - 1 do {
+ _c = _cSys select _j;
+ _tC = configName _c;
+ _tC = [_tC, "_", " "] call CBA_fnc_replace;
+ //key
+ _key = getNumber (_c/"key");
+ _shift = getNumber (_c/"shift");
+ _ctrl = getNumber (_c/"ctrl");
+ _alt = getNumber (_c/"alt");
+ _keyn = [_key,_shift,_ctrl,_alt] call _pkeynam;
+ _tC = format[" %1: %2",_tC,_keyn];
+ PUSH(_pary,_tC);
+ };
+ };
+ if (count _pary > 20) then { //split full page
+ PUSH(_tpages,_pary);
+ _pary = [];
+ };
+ };
+ if (count _pary > 0) then { //partial page
+ PUSH(_tpages,_pary);
+ _pary = [];
+ };
+ _tpages
+};
+
+//pages (make sure each will fit within 24 lines, word wrap is on)
+switch(_menu) do {
+ case "MAIN": { //note: not all scripting commands available on main menu (not compiled yet?)
+ _fadet = 13;
+ _page1 = _pcredits;
+ };
+ case "SING": {
+ _fadet = 20; //fade time
+ _color = [1,1,1,1];
+ //_bcolor = [0,0,0,0.3];
+ _page1 = _pcredits;
+ _newpages = [] call _pkeys;
+ _pstart = 2;
+ _pcount = count _newpages;
+ _pnext = _pstart + _pcount;
+ };
+ case "MULT": {
+ _fadet = 20;
+ _color = [1,1,1,1];
+ //_bcolor = [0,0,0,0.3];
+ _page1 = _pcredits;
+ _newpages = [] call _pkeys;
+ _pstart = 2;
+ _pcount = count _newpages;
+ _pnext = _pstart + _pcount;
+ };
+ default {};
+};
+
+//main menu display
+if (typeName(_data select 0) == "DISPLAY") then {
+ _display = _data select 0;
+};
+
+if (typeName(_data select 0) == "CONTROL") then {
+ _control = _data select 0;
+ _display = ctrlParent _control;
+};
+
+//dynamic pages
+_pnames = [];
+for "_x" from _pstart to _pnext - 1 do {
+ _pnam = format ["_page%1",_x];
+ PUSH(_pnames,_pnam);
+};
+private _pnames;
+for "_x" from 0 to _pcount - 1 do {
+ call compile format ["%1 = %2", _pnames select _x, _newpages select _x];
+};
+
+//get num pages
+_pages = 0;
+_run = true;
+while {_run} do {
+ INC(_pages);
+ if (isNil format ["_page%1", _pages]) exitWith {_pages = _pages - 1; _run = false};
+};
+
+if (_pages > 0) then {
+ //Dialog
+ createDialog "ACE_ABOUT_DLG";
+ _disp = uiNamespace getVariable "ACE_ABOUT_DLG";
+ _ctrl = _disp displayCtrl 1141371;
+ _next = _disp displayCtrl 1141372;
+
+ if (_pages > 1) then {_next ctrlSetText "Next"};
+
+ _ctrl ctrlSetFade 1;
+ _ctrl ctrlCommit 0;
+ _ctrl ctrlSetFade 0;
+ _ctrl ctrlCommit 3;
+
+ ACE_ABOUT_INC = 0;
+ _input = { //local function
+ _nesc = isNil "ACE_ABOUT_STP";
+ if (_pages == 1) then {ACE_ABOUT_INC = 0}; //ignore special control
+ _unset = (ACE_ABOUT_INC == 0) && ACE_ABOUT_RUN;
+ if (_unset && _nesc) then {false} else {_fadet = _fadet + 5; true};
+ };
+
+ //by default cycle
+ for "_p" from 1 to _pages do {
+ _text = "";
+ _page = call compile format["_page%1",_p];
+ _curPage = _p;
+ {
+ _text = _text + _x + "
";
+ _ctrl ctrlSetStructuredText parseText _text;
+ if (call _input) exitWith {_p = _pages};
+ if (_x != "") then {uisleep 0.8};
+ } forEach _page;
+ };
+
+ _run = true;
+ while {if (isNil "ACE_ABOUT_STP") then {_run} else {false}} do {
+ _ctrl ctrlSetFade 0;
+ _ctrl ctrlCommit 0;
+ if (!isNil "_color") then {_ctrl ctrlSetTextColor _color};
+ if (!isNil "_bcolor") then {_ctrl ctrlSetBackgroundColor _bcolor};
+
+ _curPage = _curPage + ACE_ABOUT_INC;
+ if (_curPage > _pages) then {_curPage = 1};
+ if (_curPage <= 0) then {_curPage = 1};
+ ACE_ABOUT_INC = 0;
+
+ if (!ACE_ABOUT_RUN) then {ACE_ABOUT_RUN = true};
+
+ _text = "";
+ _page = call compile format ["_page%1",_curPage];
+ {_text = _text + _x + "
"} forEach _page;
+ _ctrl ctrlSetStructuredText parseText _text;
+
+ _ctrl ctrlSetFade 1;
+ _ctrl ctrlCommit _fadet;
+
+ _time = time + _fadet + 2;
+ waitUntil{uisleep 1; _run = call _input; _faded = time > _time; (_run || _faded)};
+ }; //while RUN
+};
+ACE_ABOUT_STP = Nil;
+ACE_ABOUT_RUN = Nil;
closeDialog 0;
\ No newline at end of file
diff --git a/addons/main/config.cpp b/addons/main/config.cpp
index eb136f84cf..190b8a7677 100644
--- a/addons/main/config.cpp
+++ b/addons/main/config.cpp
@@ -1,589 +1,589 @@
-#include "script_component.hpp"
-
-class CfgPatches {
- class ADDON {
- units[] = {};
- weapons[] = {};
- requiredVersion = REQUIRED_VERSION;
- requiredAddons[] = {
- "a3_air_f",
- "a3_air_f_beta",
- "a3_air_f_beta_heli_attack_01",
- "a3_air_f_beta_heli_attack_02",
- "a3_air_f_beta_heli_transport_01",
- "a3_air_f_beta_heli_transport_02",
- "a3_air_f_beta_parachute_01",
- "a3_air_f_beta_parachute_02",
- "a3_air_f_epb_heli_light_03",
- "a3_air_f_epc_plane_cas_01",
- "a3_air_f_epc_plane_cas_02",
- "a3_air_f_epc_plane_fighter_03",
- "a3_air_f_gamma_plane_fighter_03",
- "a3_air_f_gamma_uav_01",
- "a3_air_f_gamma_uav_02",
- "a3_air_f_heli",
- "a3_air_f_heli_heli_attack_01",
- "a3_air_f_heli_heli_attack_02",
- "a3_air_f_heli_heli_light_01",
- "a3_air_f_heli_heli_light_02",
- "a3_air_f_heli_heli_light_03",
- "a3_air_f_heli_heli_transport_01",
- "a3_air_f_heli_heli_transport_02",
- "a3_air_f_heli_heli_transport_03",
- "a3_air_f_heli_heli_transport_04",
- "a3_air_f_heli_light_01",
- "a3_air_f_heli_light_02",
- "a3_animals_f",
- "a3_animals_f_animconfig",
- "a3_animals_f_chicken",
- "a3_animals_f_dog",
- "a3_animals_f_fishes",
- "a3_animals_f_goat",
- "a3_animals_f_kestrel",
- "a3_animals_f_rabbit",
- "a3_animals_f_seagull",
- "a3_animals_f_sheep",
- "a3_animals_f_snakes",
- "a3_animals_f_turtle",
- "a3_anims_f",
- "a3_anims_f_config_sdr",
- "a3_anims_f_epa",
- "a3_anims_f_epc",
- "a3_anims_f_heli",
- "a3_anims_f_kart",
- "a3_anims_f_mark_deployment",
- "a3_armor_f",
- "a3_armor_f_amv",
- "a3_armor_f_apc_wheeled_03",
- "a3_armor_f_beta",
- "a3_armor_f_beta_apc_tracked_02",
- "a3_armor_f_epb_apc_tracked_03",
- "a3_armor_f_epb_mbt_03",
- "a3_armor_f_epc_mbt_01",
- "a3_armor_f_marid",
- "a3_armor_f_panther",
- "a3_armor_f_slammer",
- "a3_armor_f_t100k",
- "a3_baseconfig_f",
- "a3_boat_f",
- "a3_boat_f_beta_boat_armed_01",
- "a3_boat_f_beta_boat_transport_01",
- "a3_boat_f_boat_armed_01",
- "a3_boat_f_boat_transport_01",
- "a3_boat_f_civilian_boat",
- "a3_boat_f_epc_submarine_01_f",
- "a3_boat_f_gamma_boat_transport_01",
- "a3_boat_f_heli_boat_armed_01",
- "a3_boat_f_heli_sdv_01",
- "a3_boat_f_sdv_01",
- "a3_boat_f_trawler",
- "a3_cargoposes_f",
- "a3_cargoposes_f_heli",
- "a3_characters_f",
- "a3_characters_f_beta",
- "a3_characters_f_blufor",
- "a3_characters_f_bootcamp",
- "a3_characters_f_bootcamp_common",
- "a3_characters_f_civil",
- "a3_characters_f_common",
- "a3_characters_f_epa",
- "a3_characters_f_epb",
- "a3_characters_f_epb_heads",
- "a3_characters_f_epc",
- "a3_characters_f_gamma",
- "a3_characters_f_heads",
- "a3_characters_f_indep",
- "a3_characters_f_kart",
- "a3_characters_f_mark",
- "a3_characters_f_opfor",
- "a3_characters_f_proxies",
- "a3_data_f",
- "a3_data_f_bootcamp",
- "a3_data_f_curator",
- "a3_data_f_curator_characters",
- "a3_data_f_curator_eagle",
- "a3_data_f_curator_intel",
- "a3_data_f_curator_misc",
- "a3_data_f_curator_respawn",
- "a3_data_f_curator_virtual",
- "a3_data_f_heli",
- "a3_data_f_hook",
- "a3_data_f_kart",
- "a3_data_f_kart_particleeffects",
- "a3_data_f_mark",
- "a3_data_f_particleeffects",
- "a3_dubbing_radio_f",
- "a3_editor_f",
- "a3_functions_f",
- "a3_functions_f_bootcamp",
- "a3_functions_f_curator",
- "a3_functions_f_epa",
- "a3_functions_f_epc",
- "a3_functions_f_heli",
- "a3_functions_f_mark",
- "a3_functions_f_mp_mark",
- "a3_language_f",
- "a3_language_f_beta",
- "a3_language_f_bootcamp",
- "a3_language_f_curator",
- "a3_language_f_epa",
- "a3_language_f_epb",
- "a3_language_f_epc",
- "a3_language_f_gamma",
- "a3_language_f_heli",
- "a3_language_f_kart",
- "a3_language_f_mark",
- "a3_language_f_mp_mark",
- "a3_languagemissions_f",
- "a3_languagemissions_f_beta",
- "a3_languagemissions_f_gamma",
- "a3_languagemissions_f_kart",
- "a3_languagemissions_f_mp_mark",
- "a3_map_altis",
- "a3_map_altis_scenes",
- "a3_map_data",
- "a3_map_stratis",
- "a3_map_stratis_scenes",
- "a3_map_vr_scenes",
- "a3_misc_f",
- "a3_misc_f_helpers",
- "a3_missions_f",
- "a3_missions_f_beta",
- "a3_missions_f_bootcamp",
- "a3_missions_f_curator",
- "a3_missions_f_epa",
- "a3_missions_f_epb",
- "a3_missions_f_epc",
- "a3_missions_f_gamma",
- "a3_missions_f_heli",
- "a3_missions_f_kart",
- "a3_missions_f_mark",
- "a3_missions_f_mp_mark",
- "a3_modules_f",
- "a3_modules_f_beta",
- "a3_modules_f_beta_firingdrills",
- "a3_modules_f_bootcamp",
- "a3_modules_f_bootcamp_misc",
- "a3_modules_f_curator",
- "a3_modules_f_curator_animals",
- "a3_modules_f_curator_cas",
- "a3_modules_f_curator_chemlights",
- "a3_modules_f_curator_curator",
- "a3_modules_f_curator_effects",
- "a3_modules_f_curator_environment",
- "a3_modules_f_curator_flares",
- "a3_modules_f_curator_intel",
- "a3_modules_f_curator_lightning",
- "a3_modules_f_curator_mines",
- "a3_modules_f_curator_misc",
- "a3_modules_f_curator_multiplayer",
- "a3_modules_f_curator_objectives",
- "a3_modules_f_curator_ordnance",
- "a3_modules_f_curator_respawn",
- "a3_modules_f_curator_smokeshells",
- "a3_modules_f_dyno",
- "a3_modules_f_effects",
- "a3_modules_f_epb",
- "a3_modules_f_epb_misc",
- "a3_modules_f_events",
- "a3_modules_f_groupmodifiers",
- "a3_modules_f_hc",
- "a3_modules_f_heli",
- "a3_modules_f_heli_spawnai",
- "a3_modules_f_intel",
- "a3_modules_f_kart",
- "a3_modules_f_kart_timetrials",
- "a3_modules_f_livefeed",
- "a3_modules_f_mark",
- "a3_modules_f_mark_firingdrills",
- "a3_modules_f_mark_objectives",
- "a3_modules_f_marta",
- "a3_modules_f_misc",
- "a3_modules_f_mp_mark",
- "a3_modules_f_multiplayer",
- "a3_modules_f_objectmodifiers",
- "a3_modules_f_sites",
- "a3_modules_f_skirmish",
- "a3_modules_f_strategicmap",
- "a3_modules_f_supports",
- "a3_modules_f_uav",
- "a3_music_f",
- "a3_music_f_bootcamp",
- "a3_music_f_epa",
- "a3_music_f_epb",
- "a3_music_f_epc",
- "a3_music_f_heli",
- "a3_music_f_mark",
- "a3_plants_f_bush",
- "a3_roads_f",
- "a3_rocks_f",
- "a3_signs_f",
- "a3_signs_f_ad",
- "a3_soft_f",
- "a3_soft_f_beta_quadbike",
- "a3_soft_f_bootcamp_offroad_01",
- "a3_soft_f_bootcamp_quadbike",
- "a3_soft_f_bootcamp_truck",
- "a3_soft_f_car",
- "a3_soft_f_crusher_ugv",
- "a3_soft_f_epc_truck_03",
- "a3_soft_f_gamma_hemtt",
- "a3_soft_f_gamma_offroad",
- "a3_soft_f_gamma_quadbike",
- "a3_soft_f_gamma_truckheavy",
- "a3_soft_f_heli_car",
- "a3_soft_f_heli_crusher_ugv",
- "a3_soft_f_heli_mrap_01",
- "a3_soft_f_heli_mrap_02",
- "a3_soft_f_heli_mrap_03",
- "a3_soft_f_heli_quadbike",
- "a3_soft_f_heli_suv",
- "a3_soft_f_heli_truck",
- "a3_soft_f_hemtt",
- "a3_soft_f_kart_kart_01",
- "a3_soft_f_mrap_01",
- "a3_soft_f_mrap_02",
- "a3_soft_f_mrap_03",
- "a3_soft_f_offroad_01",
- "a3_soft_f_quadbike",
- "a3_soft_f_suv",
- "a3_soft_f_truck",
- "a3_soft_f_truckheavy",
- "a3_sounds_f",
- "a3_sounds_f_bootcamp",
- "a3_sounds_f_epb",
- "a3_sounds_f_epc",
- "a3_static_f",
- "a3_static_f_beta_mortar_01",
- "a3_static_f_gamma",
- "a3_static_f_gamma_aa",
- "a3_static_f_gamma_at",
- "a3_static_f_gamma_mortar_01",
- "a3_static_f_mark_designator_01",
- "a3_static_f_mark_designator_02",
- "a3_static_f_mortar_01",
- "a3_structures_f",
- "a3_structures_f_bootcamp_civ_camping",
- "a3_structures_f_bootcamp_civ_sportsgrounds",
- "a3_structures_f_bootcamp_ind_cargo",
- "a3_structures_f_bootcamp_items_electronics",
- "a3_structures_f_bootcamp_items_food",
- "a3_structures_f_bootcamp_items_sport",
- "a3_structures_f_bootcamp_system",
- "a3_structures_f_bootcamp_training",
- "a3_structures_f_bootcamp_vr_blocks",
- "a3_structures_f_bootcamp_vr_coverobjects",
- "a3_structures_f_bootcamp_vr_helpers",
- "a3_structures_f_bridges",
- "a3_structures_f_civ",
- "a3_structures_f_civ_accessories",
- "a3_structures_f_civ_ancient",
- "a3_structures_f_civ_belltowers",
- "a3_structures_f_civ_calvaries",
- "a3_structures_f_civ_camping",
- "a3_structures_f_civ_chapels",
- "a3_structures_f_civ_constructions",
- "a3_structures_f_civ_dead",
- "a3_structures_f_civ_garbage",
- "a3_structures_f_civ_graffiti",
- "a3_structures_f_civ_infoboards",
- "a3_structures_f_civ_kiosks",
- "a3_structures_f_civ_lamps",
- "a3_structures_f_civ_market",
- "a3_structures_f_civ_offices",
- "a3_structures_f_civ_pavements",
- "a3_structures_f_civ_playground",
- "a3_structures_f_civ_sportsgrounds",
- "a3_structures_f_civ_statues",
- "a3_structures_f_civ_tourism",
- "a3_structures_f_dominants",
- "a3_structures_f_dominants_amphitheater",
- "a3_structures_f_dominants_castle",
- "a3_structures_f_dominants_church",
- "a3_structures_f_dominants_hospital",
- "a3_structures_f_dominants_lighthouse",
- "a3_structures_f_dominants_wip",
- "a3_structures_f_epa_civ_camping",
- "a3_structures_f_epa_civ_constructions",
- "a3_structures_f_epa_items_electronics",
- "a3_structures_f_epa_items_food",
- "a3_structures_f_epa_items_medical",
- "a3_structures_f_epa_items_tools",
- "a3_structures_f_epa_items_vessels",
- "a3_structures_f_epa_mil_scrapyard",
- "a3_structures_f_epa_walls",
- "a3_structures_f_epb_civ_accessories",
- "a3_structures_f_epb_civ_camping",
- "a3_structures_f_epb_civ_dead",
- "a3_structures_f_epb_civ_garbage",
- "a3_structures_f_epb_civ_graffiti",
- "a3_structures_f_epb_civ_playground",
- "a3_structures_f_epb_furniture",
- "a3_structures_f_epb_items_documents",
- "a3_structures_f_epb_items_luggage",
- "a3_structures_f_epb_items_military",
- "a3_structures_f_epb_items_vessels",
- "a3_structures_f_epb_naval_fishing",
- "a3_structures_f_epc_civ_accessories",
- "a3_structures_f_epc_civ_camping",
- "a3_structures_f_epc_civ_garbage",
- "a3_structures_f_epc_civ_infoboards",
- "a3_structures_f_epc_civ_kiosks",
- "a3_structures_f_epc_civ_playground",
- "a3_structures_f_epc_civ_tourism",
- "a3_structures_f_epc_dominants_ghosthotel",
- "a3_structures_f_epc_dominants_stadium",
- "a3_structures_f_epc_furniture",
- "a3_structures_f_epc_items_documents",
- "a3_structures_f_epc_items_electronics",
- "a3_structures_f_epc_walls",
- "a3_structures_f_furniture",
- "a3_structures_f_heli_civ_accessories",
- "a3_structures_f_heli_civ_constructions",
- "a3_structures_f_heli_civ_garbage",
- "a3_structures_f_heli_civ_market",
- "a3_structures_f_heli_furniture",
- "a3_structures_f_heli_ind_airport",
- "a3_structures_f_heli_ind_cargo",
- "a3_structures_f_heli_ind_machines",
- "a3_structures_f_heli_items_airport",
- "a3_structures_f_heli_items_electronics",
- "a3_structures_f_heli_items_food",
- "a3_structures_f_heli_items_luggage",
- "a3_structures_f_heli_items_sport",
- "a3_structures_f_heli_items_tools",
- "a3_structures_f_heli_vr_helpers",
- "a3_structures_f_households",
- "a3_structures_f_households_addons",
- "a3_structures_f_households_house_big01",
- "a3_structures_f_households_house_big02",
- "a3_structures_f_households_house_shop01",
- "a3_structures_f_households_house_shop02",
- "a3_structures_f_households_house_small01",
- "a3_structures_f_households_house_small02",
- "a3_structures_f_households_house_small03",
- "a3_structures_f_households_slum",
- "a3_structures_f_households_stone_big",
- "a3_structures_f_households_stone_shed",
- "a3_structures_f_households_stone_small",
- "a3_structures_f_households_wip",
- "a3_structures_f_ind",
- "a3_structures_f_ind_airport",
- "a3_structures_f_ind_cargo",
- "a3_structures_f_ind_carservice",
- "a3_structures_f_ind_concretemixingplant",
- "a3_structures_f_ind_crane",
- "a3_structures_f_ind_dieselpowerplant",
- "a3_structures_f_ind_factory",
- "a3_structures_f_ind_fuelstation",
- "a3_structures_f_ind_fuelstation_small",
- "a3_structures_f_ind_pipes",
- "a3_structures_f_ind_powerlines",
- "a3_structures_f_ind_reservoirtank",
- "a3_structures_f_ind_shed",
- "a3_structures_f_ind_solarpowerplant",
- "a3_structures_f_ind_tank",
- "a3_structures_f_ind_transmitter_tower",
- "a3_structures_f_ind_wavepowerplant",
- "a3_structures_f_ind_windmill",
- "a3_structures_f_ind_windpowerplant",
- "a3_structures_f_items",
- "a3_structures_f_items_cans",
- "a3_structures_f_items_documents",
- "a3_structures_f_items_electronics",
- "a3_structures_f_items_gadgets",
- "a3_structures_f_items_luggage",
- "a3_structures_f_items_medical",
- "a3_structures_f_items_military",
- "a3_structures_f_items_stationery",
- "a3_structures_f_items_tools",
- "a3_structures_f_items_valuables",
- "a3_structures_f_items_vessels",
- "a3_structures_f_kart_civ_sportsgrounds",
- "a3_structures_f_kart_mil_flags",
- "a3_structures_f_kart_signs_companies",
- "a3_structures_f_mark_items_military",
- "a3_structures_f_mark_items_sport",
- "a3_structures_f_mark_mil_flags",
- "a3_structures_f_mark_training",
- "a3_structures_f_mark_vr_helpers",
- "a3_structures_f_mark_vr_shapes",
- "a3_structures_f_mark_vr_targets",
- "a3_structures_f_mil",
- "a3_structures_f_mil_bagbunker",
- "a3_structures_f_mil_bagfence",
- "a3_structures_f_mil_barracks",
- "a3_structures_f_mil_bunker",
- "a3_structures_f_mil_cargo",
- "a3_structures_f_mil_flags",
- "a3_structures_f_mil_fortification",
- "a3_structures_f_mil_helipads",
- "a3_structures_f_mil_offices",
- "a3_structures_f_mil_radar",
- "a3_structures_f_mil_scrapyard",
- "a3_structures_f_mil_shelters",
- "a3_structures_f_mil_tenthangar",
- "a3_structures_f_naval",
- "a3_structures_f_naval_buoys",
- "a3_structures_f_naval_fishing",
- "a3_structures_f_naval_piers",
- "a3_structures_f_naval_rowboats",
- "a3_structures_f_research",
- "a3_structures_f_signs_companies",
- "a3_structures_f_system",
- "a3_structures_f_training",
- "a3_structures_f_training_invisibletarget",
- "a3_structures_f_walls",
- "a3_structures_f_wrecks",
- "a3_supplies_f_heli",
- "a3_supplies_f_heli_bladders",
- "a3_supplies_f_heli_cargonets",
- "a3_supplies_f_heli_fuel",
- "a3_supplies_f_heli_slingload",
- "a3_supplies_f_mark",
- "a3_uav_f_characters_f_gamma",
- "a3_uav_f_weapons_f_gamma_ammoboxes",
- "a3_ui_f",
- "a3_ui_f_bootcamp",
- "a3_ui_f_curator",
- "a3_ui_f_heli",
- "a3_ui_f_kart",
- "a3_ui_f_mark",
- "a3_ui_f_mp_mark",
- "a3_uifonts_f",
- "a3_weapons_f",
- "a3_weapons_f_aaf",
- "a3_weapons_f_acc",
- "a3_weapons_f_ammoboxes",
- "a3_weapons_f_beta",
- "a3_weapons_f_beta_acc",
- "a3_weapons_f_beta_ammoboxes",
- "a3_weapons_f_beta_ebr",
- "a3_weapons_f_beta_rifles_khaybar",
- "a3_weapons_f_beta_rifles_mx",
- "a3_weapons_f_beta_rifles_trg20",
- "a3_weapons_f_bootcamp",
- "a3_weapons_f_bootcamp_ammoboxes",
- "a3_weapons_f_bootcamp_longrangerifles_gm6",
- "a3_weapons_f_bootcamp_longrangerifles_m320",
- "a3_weapons_f_csat",
- "a3_weapons_f_dummyweapons",
- "a3_weapons_f_ebr",
- "a3_weapons_f_epa",
- "a3_weapons_f_epa_acc",
- "a3_weapons_f_epa_ammoboxes",
- "a3_weapons_f_epa_ebr",
- "a3_weapons_f_epa_longrangerifles_dmr_01",
- "a3_weapons_f_epa_longrangerifles_gm6",
- "a3_weapons_f_epa_rifles_mx",
- "a3_weapons_f_epb",
- "a3_weapons_f_epb_acc",
- "a3_weapons_f_epb_ammoboxes",
- "a3_weapons_f_epb_longrangerifles_gm3",
- "a3_weapons_f_epb_longrangerifles_m320",
- "a3_weapons_f_epb_rifles_mx_black",
- "a3_weapons_f_epc",
- "a3_weapons_f_explosives",
- "a3_weapons_f_fia",
- "a3_weapons_f_gamma",
- "a3_weapons_f_gamma_acc",
- "a3_weapons_f_gamma_ammoboxes",
- "a3_weapons_f_gamma_items",
- "a3_weapons_f_headgear",
- "a3_weapons_f_itemholders",
- "a3_weapons_f_items",
- "a3_weapons_f_kart",
- "a3_weapons_f_kart_pistols_pistol_signal_f",
- "a3_weapons_f_launchers_law",
- "a3_weapons_f_launchers_nlaw",
- "a3_weapons_f_launchers_titan",
- "a3_weapons_f_longrangerifles_gm6",
- "a3_weapons_f_longrangerifles_m320",
- "a3_weapons_f_machineguns_m200",
- "a3_weapons_f_machineguns_zafir",
- "a3_weapons_f_mark",
- "a3_weapons_f_mark_acc",
- "a3_weapons_f_mark_ebr",
- "a3_weapons_f_mark_longrangerifles_dmr_01",
- "a3_weapons_f_mark_longrangerifles_dmr_02",
- "a3_weapons_f_mark_longrangerifles_dmr_03",
- "a3_weapons_f_mark_longrangerifles_dmr_04",
- "a3_weapons_f_mark_longrangerifles_dmr_05",
- "a3_weapons_f_mark_longrangerifles_dmr_06",
- "a3_weapons_f_mark_longrangerifles_gm6",
- "a3_weapons_f_mark_longrangerifles_gm6_camo",
- "a3_weapons_f_mark_longrangerifles_m320",
- "a3_weapons_f_mark_longrangerifles_m320_camo",
- "a3_weapons_f_mark_machineguns_m200",
- "a3_weapons_f_mark_machineguns_mmg_01",
- "a3_weapons_f_mark_machineguns_mmg_02",
- "a3_weapons_f_mark_machineguns_zafir",
- "a3_weapons_f_mark_rifles_khaybar",
- "a3_weapons_f_mark_rifles_mk20",
- "a3_weapons_f_mark_rifles_mx",
- "a3_weapons_f_mark_rifles_sdar",
- "a3_weapons_f_mark_rifles_trg20",
- "a3_weapons_f_nato",
- "a3_weapons_f_pistols_acpc2",
- "a3_weapons_f_pistols_p07",
- "a3_weapons_f_pistols_pdw2000",
- "a3_weapons_f_pistols_pistol_heavy_01",
- "a3_weapons_f_pistols_pistol_heavy_02",
- "a3_weapons_f_pistols_rook40",
- "a3_weapons_f_rifles_khaybar",
- "a3_weapons_f_rifles_mk20",
- "a3_weapons_f_rifles_mx",
- "a3_weapons_f_rifles_sdar",
- "a3_weapons_f_rifles_smg_02",
- "a3_weapons_f_rifles_trg20",
- "a3_weapons_f_rifles_vector",
- "a3_weapons_f_uniforms",
- "a3_weapons_f_vests",
- "a3data",
- "map_vr",
- "extended_eventhandlers", "CBA_UI", "CBA_XEH", "CBA_XEH_A3"
- };
- author[] = {"ACE Team"};
- authorUrl = "";
- versionDesc = "A.C.E.";
- versionAct = QUOTE(['MAIN',_this] execVM '\z\ace\addons\main\about.sqf';);
- VERSION_CONFIG;
- };
-};
-
-class CfgMods {
- class PREFIX {
- dir = "@ACE";
- name = "Core - Advanced Combat Environment";
- picture = "A3\Ui_f\data\Logos\arma3_expansion_alpha_ca";
- hidePicture = "true";
- hideName = "true";
- actionName = "Website";
- action = "http://ace.dev-heaven.net";
- description = "Bugtracker: ";
- };
-};
-
-class CfgSettings {
- class CBA {
- class Versioning {
- class PREFIX {
- level = DEFAULT_VERSIONING_LEVEL;
- handler = "ace_common_fnc_mismatch";
- class Dependencies {
- CBA[]={"cba_main", {1,0,0}, "true"};
- XEH[]={"cba_xeh", {1,0,0}, "true"};
- };
- };
- };
- /*
- class Registry {
- class PREFIX {
- removed[] = {};
- };
- };
- */
- };
-};
-
-#include "CfgModuleCategories.hpp"
+#include "script_component.hpp"
+
+class CfgPatches {
+ class ADDON {
+ units[] = {};
+ weapons[] = {};
+ requiredVersion = REQUIRED_VERSION;
+ requiredAddons[] = {
+ "a3_air_f",
+ "a3_air_f_beta",
+ "a3_air_f_beta_heli_attack_01",
+ "a3_air_f_beta_heli_attack_02",
+ "a3_air_f_beta_heli_transport_01",
+ "a3_air_f_beta_heli_transport_02",
+ "a3_air_f_beta_parachute_01",
+ "a3_air_f_beta_parachute_02",
+ "a3_air_f_epb_heli_light_03",
+ "a3_air_f_epc_plane_cas_01",
+ "a3_air_f_epc_plane_cas_02",
+ "a3_air_f_epc_plane_fighter_03",
+ "a3_air_f_gamma_plane_fighter_03",
+ "a3_air_f_gamma_uav_01",
+ "a3_air_f_gamma_uav_02",
+ "a3_air_f_heli",
+ "a3_air_f_heli_heli_attack_01",
+ "a3_air_f_heli_heli_attack_02",
+ "a3_air_f_heli_heli_light_01",
+ "a3_air_f_heli_heli_light_02",
+ "a3_air_f_heli_heli_light_03",
+ "a3_air_f_heli_heli_transport_01",
+ "a3_air_f_heli_heli_transport_02",
+ "a3_air_f_heli_heli_transport_03",
+ "a3_air_f_heli_heli_transport_04",
+ "a3_air_f_heli_light_01",
+ "a3_air_f_heli_light_02",
+ "a3_animals_f",
+ "a3_animals_f_animconfig",
+ "a3_animals_f_chicken",
+ "a3_animals_f_dog",
+ "a3_animals_f_fishes",
+ "a3_animals_f_goat",
+ "a3_animals_f_kestrel",
+ "a3_animals_f_rabbit",
+ "a3_animals_f_seagull",
+ "a3_animals_f_sheep",
+ "a3_animals_f_snakes",
+ "a3_animals_f_turtle",
+ "a3_anims_f",
+ "a3_anims_f_config_sdr",
+ "a3_anims_f_epa",
+ "a3_anims_f_epc",
+ "a3_anims_f_heli",
+ "a3_anims_f_kart",
+ "a3_anims_f_mark_deployment",
+ "a3_armor_f",
+ "a3_armor_f_amv",
+ "a3_armor_f_apc_wheeled_03",
+ "a3_armor_f_beta",
+ "a3_armor_f_beta_apc_tracked_02",
+ "a3_armor_f_epb_apc_tracked_03",
+ "a3_armor_f_epb_mbt_03",
+ "a3_armor_f_epc_mbt_01",
+ "a3_armor_f_marid",
+ "a3_armor_f_panther",
+ "a3_armor_f_slammer",
+ "a3_armor_f_t100k",
+ "a3_baseconfig_f",
+ "a3_boat_f",
+ "a3_boat_f_beta_boat_armed_01",
+ "a3_boat_f_beta_boat_transport_01",
+ "a3_boat_f_boat_armed_01",
+ "a3_boat_f_boat_transport_01",
+ "a3_boat_f_civilian_boat",
+ "a3_boat_f_epc_submarine_01_f",
+ "a3_boat_f_gamma_boat_transport_01",
+ "a3_boat_f_heli_boat_armed_01",
+ "a3_boat_f_heli_sdv_01",
+ "a3_boat_f_sdv_01",
+ "a3_boat_f_trawler",
+ "a3_cargoposes_f",
+ "a3_cargoposes_f_heli",
+ "a3_characters_f",
+ "a3_characters_f_beta",
+ "a3_characters_f_blufor",
+ "a3_characters_f_bootcamp",
+ "a3_characters_f_bootcamp_common",
+ "a3_characters_f_civil",
+ "a3_characters_f_common",
+ "a3_characters_f_epa",
+ "a3_characters_f_epb",
+ "a3_characters_f_epb_heads",
+ "a3_characters_f_epc",
+ "a3_characters_f_gamma",
+ "a3_characters_f_heads",
+ "a3_characters_f_indep",
+ "a3_characters_f_kart",
+ "a3_characters_f_mark",
+ "a3_characters_f_opfor",
+ "a3_characters_f_proxies",
+ "a3_data_f",
+ "a3_data_f_bootcamp",
+ "a3_data_f_curator",
+ "a3_data_f_curator_characters",
+ "a3_data_f_curator_eagle",
+ "a3_data_f_curator_intel",
+ "a3_data_f_curator_misc",
+ "a3_data_f_curator_respawn",
+ "a3_data_f_curator_virtual",
+ "a3_data_f_heli",
+ "a3_data_f_hook",
+ "a3_data_f_kart",
+ "a3_data_f_kart_particleeffects",
+ "a3_data_f_mark",
+ "a3_data_f_particleeffects",
+ "a3_dubbing_radio_f",
+ "a3_editor_f",
+ "a3_functions_f",
+ "a3_functions_f_bootcamp",
+ "a3_functions_f_curator",
+ "a3_functions_f_epa",
+ "a3_functions_f_epc",
+ "a3_functions_f_heli",
+ "a3_functions_f_mark",
+ "a3_functions_f_mp_mark",
+ "a3_language_f",
+ "a3_language_f_beta",
+ "a3_language_f_bootcamp",
+ "a3_language_f_curator",
+ "a3_language_f_epa",
+ "a3_language_f_epb",
+ "a3_language_f_epc",
+ "a3_language_f_gamma",
+ "a3_language_f_heli",
+ "a3_language_f_kart",
+ "a3_language_f_mark",
+ "a3_language_f_mp_mark",
+ "a3_languagemissions_f",
+ "a3_languagemissions_f_beta",
+ "a3_languagemissions_f_gamma",
+ "a3_languagemissions_f_kart",
+ "a3_languagemissions_f_mp_mark",
+ "a3_map_altis",
+ "a3_map_altis_scenes",
+ "a3_map_data",
+ "a3_map_stratis",
+ "a3_map_stratis_scenes",
+ "a3_map_vr_scenes",
+ "a3_misc_f",
+ "a3_misc_f_helpers",
+ "a3_missions_f",
+ "a3_missions_f_beta",
+ "a3_missions_f_bootcamp",
+ "a3_missions_f_curator",
+ "a3_missions_f_epa",
+ "a3_missions_f_epb",
+ "a3_missions_f_epc",
+ "a3_missions_f_gamma",
+ "a3_missions_f_heli",
+ "a3_missions_f_kart",
+ "a3_missions_f_mark",
+ "a3_missions_f_mp_mark",
+ "a3_modules_f",
+ "a3_modules_f_beta",
+ "a3_modules_f_beta_firingdrills",
+ "a3_modules_f_bootcamp",
+ "a3_modules_f_bootcamp_misc",
+ "a3_modules_f_curator",
+ "a3_modules_f_curator_animals",
+ "a3_modules_f_curator_cas",
+ "a3_modules_f_curator_chemlights",
+ "a3_modules_f_curator_curator",
+ "a3_modules_f_curator_effects",
+ "a3_modules_f_curator_environment",
+ "a3_modules_f_curator_flares",
+ "a3_modules_f_curator_intel",
+ "a3_modules_f_curator_lightning",
+ "a3_modules_f_curator_mines",
+ "a3_modules_f_curator_misc",
+ "a3_modules_f_curator_multiplayer",
+ "a3_modules_f_curator_objectives",
+ "a3_modules_f_curator_ordnance",
+ "a3_modules_f_curator_respawn",
+ "a3_modules_f_curator_smokeshells",
+ "a3_modules_f_dyno",
+ "a3_modules_f_effects",
+ "a3_modules_f_epb",
+ "a3_modules_f_epb_misc",
+ "a3_modules_f_events",
+ "a3_modules_f_groupmodifiers",
+ "a3_modules_f_hc",
+ "a3_modules_f_heli",
+ "a3_modules_f_heli_spawnai",
+ "a3_modules_f_intel",
+ "a3_modules_f_kart",
+ "a3_modules_f_kart_timetrials",
+ "a3_modules_f_livefeed",
+ "a3_modules_f_mark",
+ "a3_modules_f_mark_firingdrills",
+ "a3_modules_f_mark_objectives",
+ "a3_modules_f_marta",
+ "a3_modules_f_misc",
+ "a3_modules_f_mp_mark",
+ "a3_modules_f_multiplayer",
+ "a3_modules_f_objectmodifiers",
+ "a3_modules_f_sites",
+ "a3_modules_f_skirmish",
+ "a3_modules_f_strategicmap",
+ "a3_modules_f_supports",
+ "a3_modules_f_uav",
+ "a3_music_f",
+ "a3_music_f_bootcamp",
+ "a3_music_f_epa",
+ "a3_music_f_epb",
+ "a3_music_f_epc",
+ "a3_music_f_heli",
+ "a3_music_f_mark",
+ "a3_plants_f_bush",
+ "a3_roads_f",
+ "a3_rocks_f",
+ "a3_signs_f",
+ "a3_signs_f_ad",
+ "a3_soft_f",
+ "a3_soft_f_beta_quadbike",
+ "a3_soft_f_bootcamp_offroad_01",
+ "a3_soft_f_bootcamp_quadbike",
+ "a3_soft_f_bootcamp_truck",
+ "a3_soft_f_car",
+ "a3_soft_f_crusher_ugv",
+ "a3_soft_f_epc_truck_03",
+ "a3_soft_f_gamma_hemtt",
+ "a3_soft_f_gamma_offroad",
+ "a3_soft_f_gamma_quadbike",
+ "a3_soft_f_gamma_truckheavy",
+ "a3_soft_f_heli_car",
+ "a3_soft_f_heli_crusher_ugv",
+ "a3_soft_f_heli_mrap_01",
+ "a3_soft_f_heli_mrap_02",
+ "a3_soft_f_heli_mrap_03",
+ "a3_soft_f_heli_quadbike",
+ "a3_soft_f_heli_suv",
+ "a3_soft_f_heli_truck",
+ "a3_soft_f_hemtt",
+ "a3_soft_f_kart_kart_01",
+ "a3_soft_f_mrap_01",
+ "a3_soft_f_mrap_02",
+ "a3_soft_f_mrap_03",
+ "a3_soft_f_offroad_01",
+ "a3_soft_f_quadbike",
+ "a3_soft_f_suv",
+ "a3_soft_f_truck",
+ "a3_soft_f_truckheavy",
+ "a3_sounds_f",
+ "a3_sounds_f_bootcamp",
+ "a3_sounds_f_epb",
+ "a3_sounds_f_epc",
+ "a3_static_f",
+ "a3_static_f_beta_mortar_01",
+ "a3_static_f_gamma",
+ "a3_static_f_gamma_aa",
+ "a3_static_f_gamma_at",
+ "a3_static_f_gamma_mortar_01",
+ "a3_static_f_mark_designator_01",
+ "a3_static_f_mark_designator_02",
+ "a3_static_f_mortar_01",
+ "a3_structures_f",
+ "a3_structures_f_bootcamp_civ_camping",
+ "a3_structures_f_bootcamp_civ_sportsgrounds",
+ "a3_structures_f_bootcamp_ind_cargo",
+ "a3_structures_f_bootcamp_items_electronics",
+ "a3_structures_f_bootcamp_items_food",
+ "a3_structures_f_bootcamp_items_sport",
+ "a3_structures_f_bootcamp_system",
+ "a3_structures_f_bootcamp_training",
+ "a3_structures_f_bootcamp_vr_blocks",
+ "a3_structures_f_bootcamp_vr_coverobjects",
+ "a3_structures_f_bootcamp_vr_helpers",
+ "a3_structures_f_bridges",
+ "a3_structures_f_civ",
+ "a3_structures_f_civ_accessories",
+ "a3_structures_f_civ_ancient",
+ "a3_structures_f_civ_belltowers",
+ "a3_structures_f_civ_calvaries",
+ "a3_structures_f_civ_camping",
+ "a3_structures_f_civ_chapels",
+ "a3_structures_f_civ_constructions",
+ "a3_structures_f_civ_dead",
+ "a3_structures_f_civ_garbage",
+ "a3_structures_f_civ_graffiti",
+ "a3_structures_f_civ_infoboards",
+ "a3_structures_f_civ_kiosks",
+ "a3_structures_f_civ_lamps",
+ "a3_structures_f_civ_market",
+ "a3_structures_f_civ_offices",
+ "a3_structures_f_civ_pavements",
+ "a3_structures_f_civ_playground",
+ "a3_structures_f_civ_sportsgrounds",
+ "a3_structures_f_civ_statues",
+ "a3_structures_f_civ_tourism",
+ "a3_structures_f_dominants",
+ "a3_structures_f_dominants_amphitheater",
+ "a3_structures_f_dominants_castle",
+ "a3_structures_f_dominants_church",
+ "a3_structures_f_dominants_hospital",
+ "a3_structures_f_dominants_lighthouse",
+ "a3_structures_f_dominants_wip",
+ "a3_structures_f_epa_civ_camping",
+ "a3_structures_f_epa_civ_constructions",
+ "a3_structures_f_epa_items_electronics",
+ "a3_structures_f_epa_items_food",
+ "a3_structures_f_epa_items_medical",
+ "a3_structures_f_epa_items_tools",
+ "a3_structures_f_epa_items_vessels",
+ "a3_structures_f_epa_mil_scrapyard",
+ "a3_structures_f_epa_walls",
+ "a3_structures_f_epb_civ_accessories",
+ "a3_structures_f_epb_civ_camping",
+ "a3_structures_f_epb_civ_dead",
+ "a3_structures_f_epb_civ_garbage",
+ "a3_structures_f_epb_civ_graffiti",
+ "a3_structures_f_epb_civ_playground",
+ "a3_structures_f_epb_furniture",
+ "a3_structures_f_epb_items_documents",
+ "a3_structures_f_epb_items_luggage",
+ "a3_structures_f_epb_items_military",
+ "a3_structures_f_epb_items_vessels",
+ "a3_structures_f_epb_naval_fishing",
+ "a3_structures_f_epc_civ_accessories",
+ "a3_structures_f_epc_civ_camping",
+ "a3_structures_f_epc_civ_garbage",
+ "a3_structures_f_epc_civ_infoboards",
+ "a3_structures_f_epc_civ_kiosks",
+ "a3_structures_f_epc_civ_playground",
+ "a3_structures_f_epc_civ_tourism",
+ "a3_structures_f_epc_dominants_ghosthotel",
+ "a3_structures_f_epc_dominants_stadium",
+ "a3_structures_f_epc_furniture",
+ "a3_structures_f_epc_items_documents",
+ "a3_structures_f_epc_items_electronics",
+ "a3_structures_f_epc_walls",
+ "a3_structures_f_furniture",
+ "a3_structures_f_heli_civ_accessories",
+ "a3_structures_f_heli_civ_constructions",
+ "a3_structures_f_heli_civ_garbage",
+ "a3_structures_f_heli_civ_market",
+ "a3_structures_f_heli_furniture",
+ "a3_structures_f_heli_ind_airport",
+ "a3_structures_f_heli_ind_cargo",
+ "a3_structures_f_heli_ind_machines",
+ "a3_structures_f_heli_items_airport",
+ "a3_structures_f_heli_items_electronics",
+ "a3_structures_f_heli_items_food",
+ "a3_structures_f_heli_items_luggage",
+ "a3_structures_f_heli_items_sport",
+ "a3_structures_f_heli_items_tools",
+ "a3_structures_f_heli_vr_helpers",
+ "a3_structures_f_households",
+ "a3_structures_f_households_addons",
+ "a3_structures_f_households_house_big01",
+ "a3_structures_f_households_house_big02",
+ "a3_structures_f_households_house_shop01",
+ "a3_structures_f_households_house_shop02",
+ "a3_structures_f_households_house_small01",
+ "a3_structures_f_households_house_small02",
+ "a3_structures_f_households_house_small03",
+ "a3_structures_f_households_slum",
+ "a3_structures_f_households_stone_big",
+ "a3_structures_f_households_stone_shed",
+ "a3_structures_f_households_stone_small",
+ "a3_structures_f_households_wip",
+ "a3_structures_f_ind",
+ "a3_structures_f_ind_airport",
+ "a3_structures_f_ind_cargo",
+ "a3_structures_f_ind_carservice",
+ "a3_structures_f_ind_concretemixingplant",
+ "a3_structures_f_ind_crane",
+ "a3_structures_f_ind_dieselpowerplant",
+ "a3_structures_f_ind_factory",
+ "a3_structures_f_ind_fuelstation",
+ "a3_structures_f_ind_fuelstation_small",
+ "a3_structures_f_ind_pipes",
+ "a3_structures_f_ind_powerlines",
+ "a3_structures_f_ind_reservoirtank",
+ "a3_structures_f_ind_shed",
+ "a3_structures_f_ind_solarpowerplant",
+ "a3_structures_f_ind_tank",
+ "a3_structures_f_ind_transmitter_tower",
+ "a3_structures_f_ind_wavepowerplant",
+ "a3_structures_f_ind_windmill",
+ "a3_structures_f_ind_windpowerplant",
+ "a3_structures_f_items",
+ "a3_structures_f_items_cans",
+ "a3_structures_f_items_documents",
+ "a3_structures_f_items_electronics",
+ "a3_structures_f_items_gadgets",
+ "a3_structures_f_items_luggage",
+ "a3_structures_f_items_medical",
+ "a3_structures_f_items_military",
+ "a3_structures_f_items_stationery",
+ "a3_structures_f_items_tools",
+ "a3_structures_f_items_valuables",
+ "a3_structures_f_items_vessels",
+ "a3_structures_f_kart_civ_sportsgrounds",
+ "a3_structures_f_kart_mil_flags",
+ "a3_structures_f_kart_signs_companies",
+ "a3_structures_f_mark_items_military",
+ "a3_structures_f_mark_items_sport",
+ "a3_structures_f_mark_mil_flags",
+ "a3_structures_f_mark_training",
+ "a3_structures_f_mark_vr_helpers",
+ "a3_structures_f_mark_vr_shapes",
+ "a3_structures_f_mark_vr_targets",
+ "a3_structures_f_mil",
+ "a3_structures_f_mil_bagbunker",
+ "a3_structures_f_mil_bagfence",
+ "a3_structures_f_mil_barracks",
+ "a3_structures_f_mil_bunker",
+ "a3_structures_f_mil_cargo",
+ "a3_structures_f_mil_flags",
+ "a3_structures_f_mil_fortification",
+ "a3_structures_f_mil_helipads",
+ "a3_structures_f_mil_offices",
+ "a3_structures_f_mil_radar",
+ "a3_structures_f_mil_scrapyard",
+ "a3_structures_f_mil_shelters",
+ "a3_structures_f_mil_tenthangar",
+ "a3_structures_f_naval",
+ "a3_structures_f_naval_buoys",
+ "a3_structures_f_naval_fishing",
+ "a3_structures_f_naval_piers",
+ "a3_structures_f_naval_rowboats",
+ "a3_structures_f_research",
+ "a3_structures_f_signs_companies",
+ "a3_structures_f_system",
+ "a3_structures_f_training",
+ "a3_structures_f_training_invisibletarget",
+ "a3_structures_f_walls",
+ "a3_structures_f_wrecks",
+ "a3_supplies_f_heli",
+ "a3_supplies_f_heli_bladders",
+ "a3_supplies_f_heli_cargonets",
+ "a3_supplies_f_heli_fuel",
+ "a3_supplies_f_heli_slingload",
+ "a3_supplies_f_mark",
+ "a3_uav_f_characters_f_gamma",
+ "a3_uav_f_weapons_f_gamma_ammoboxes",
+ "a3_ui_f",
+ "a3_ui_f_bootcamp",
+ "a3_ui_f_curator",
+ "a3_ui_f_heli",
+ "a3_ui_f_kart",
+ "a3_ui_f_mark",
+ "a3_ui_f_mp_mark",
+ "a3_uifonts_f",
+ "a3_weapons_f",
+ "a3_weapons_f_aaf",
+ "a3_weapons_f_acc",
+ "a3_weapons_f_ammoboxes",
+ "a3_weapons_f_beta",
+ "a3_weapons_f_beta_acc",
+ "a3_weapons_f_beta_ammoboxes",
+ "a3_weapons_f_beta_ebr",
+ "a3_weapons_f_beta_rifles_khaybar",
+ "a3_weapons_f_beta_rifles_mx",
+ "a3_weapons_f_beta_rifles_trg20",
+ "a3_weapons_f_bootcamp",
+ "a3_weapons_f_bootcamp_ammoboxes",
+ "a3_weapons_f_bootcamp_longrangerifles_gm6",
+ "a3_weapons_f_bootcamp_longrangerifles_m320",
+ "a3_weapons_f_csat",
+ "a3_weapons_f_dummyweapons",
+ "a3_weapons_f_ebr",
+ "a3_weapons_f_epa",
+ "a3_weapons_f_epa_acc",
+ "a3_weapons_f_epa_ammoboxes",
+ "a3_weapons_f_epa_ebr",
+ "a3_weapons_f_epa_longrangerifles_dmr_01",
+ "a3_weapons_f_epa_longrangerifles_gm6",
+ "a3_weapons_f_epa_rifles_mx",
+ "a3_weapons_f_epb",
+ "a3_weapons_f_epb_acc",
+ "a3_weapons_f_epb_ammoboxes",
+ "a3_weapons_f_epb_longrangerifles_gm3",
+ "a3_weapons_f_epb_longrangerifles_m320",
+ "a3_weapons_f_epb_rifles_mx_black",
+ "a3_weapons_f_epc",
+ "a3_weapons_f_explosives",
+ "a3_weapons_f_fia",
+ "a3_weapons_f_gamma",
+ "a3_weapons_f_gamma_acc",
+ "a3_weapons_f_gamma_ammoboxes",
+ "a3_weapons_f_gamma_items",
+ "a3_weapons_f_headgear",
+ "a3_weapons_f_itemholders",
+ "a3_weapons_f_items",
+ "a3_weapons_f_kart",
+ "a3_weapons_f_kart_pistols_pistol_signal_f",
+ "a3_weapons_f_launchers_law",
+ "a3_weapons_f_launchers_nlaw",
+ "a3_weapons_f_launchers_titan",
+ "a3_weapons_f_longrangerifles_gm6",
+ "a3_weapons_f_longrangerifles_m320",
+ "a3_weapons_f_machineguns_m200",
+ "a3_weapons_f_machineguns_zafir",
+ "a3_weapons_f_mark",
+ "a3_weapons_f_mark_acc",
+ "a3_weapons_f_mark_ebr",
+ "a3_weapons_f_mark_longrangerifles_dmr_01",
+ "a3_weapons_f_mark_longrangerifles_dmr_02",
+ "a3_weapons_f_mark_longrangerifles_dmr_03",
+ "a3_weapons_f_mark_longrangerifles_dmr_04",
+ "a3_weapons_f_mark_longrangerifles_dmr_05",
+ "a3_weapons_f_mark_longrangerifles_dmr_06",
+ "a3_weapons_f_mark_longrangerifles_gm6",
+ "a3_weapons_f_mark_longrangerifles_gm6_camo",
+ "a3_weapons_f_mark_longrangerifles_m320",
+ "a3_weapons_f_mark_longrangerifles_m320_camo",
+ "a3_weapons_f_mark_machineguns_m200",
+ "a3_weapons_f_mark_machineguns_mmg_01",
+ "a3_weapons_f_mark_machineguns_mmg_02",
+ "a3_weapons_f_mark_machineguns_zafir",
+ "a3_weapons_f_mark_rifles_khaybar",
+ "a3_weapons_f_mark_rifles_mk20",
+ "a3_weapons_f_mark_rifles_mx",
+ "a3_weapons_f_mark_rifles_sdar",
+ "a3_weapons_f_mark_rifles_trg20",
+ "a3_weapons_f_nato",
+ "a3_weapons_f_pistols_acpc2",
+ "a3_weapons_f_pistols_p07",
+ "a3_weapons_f_pistols_pdw2000",
+ "a3_weapons_f_pistols_pistol_heavy_01",
+ "a3_weapons_f_pistols_pistol_heavy_02",
+ "a3_weapons_f_pistols_rook40",
+ "a3_weapons_f_rifles_khaybar",
+ "a3_weapons_f_rifles_mk20",
+ "a3_weapons_f_rifles_mx",
+ "a3_weapons_f_rifles_sdar",
+ "a3_weapons_f_rifles_smg_02",
+ "a3_weapons_f_rifles_trg20",
+ "a3_weapons_f_rifles_vector",
+ "a3_weapons_f_uniforms",
+ "a3_weapons_f_vests",
+ "a3data",
+ "map_vr",
+ "extended_eventhandlers", "CBA_UI", "CBA_XEH", "CBA_XEH_A3"
+ };
+ author[] = {"ACE Team"};
+ authorUrl = "";
+ versionDesc = "A.C.E.";
+ versionAct = QUOTE(['MAIN',_this] execVM '\z\ace\addons\main\about.sqf';);
+ VERSION_CONFIG;
+ };
+};
+
+class CfgMods {
+ class PREFIX {
+ dir = "@ACE";
+ name = "Core - Advanced Combat Environment";
+ picture = "A3\Ui_f\data\Logos\arma3_expansion_alpha_ca";
+ hidePicture = "true";
+ hideName = "true";
+ actionName = "Website";
+ action = "http://ace.dev-heaven.net";
+ description = "Bugtracker: ";
+ };
+};
+
+class CfgSettings {
+ class CBA {
+ class Versioning {
+ class PREFIX {
+ level = DEFAULT_VERSIONING_LEVEL;
+ handler = "ace_common_fnc_mismatch";
+ class Dependencies {
+ CBA[]={"cba_main", {1,0,0}, "true"};
+ XEH[]={"cba_xeh", {1,0,0}, "true"};
+ };
+ };
+ };
+ /*
+ class Registry {
+ class PREFIX {
+ removed[] = {};
+ };
+ };
+ */
+ };
+};
+
+#include "CfgModuleCategories.hpp"
diff --git a/addons/main/license.sqf b/addons/main/license.sqf
index d078710247..85d783f18d 100644
--- a/addons/main/license.sqf
+++ b/addons/main/license.sqf
@@ -1,92 +1,92 @@
-License (short)
-===============
-
-You are free:
-- to Share to copy, distribute and transmit the work
-
-Under the following conditions:
-- Attribution You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
-- Noncommercial You may not use this work for commercial purposes.
-- No Derivative Works You may not alter, transform, or build upon this work.
-
-With the understanding that:
-
-Waiver Any of the above conditions can be waived if you get permission from the copyright holder.
-
-Public Domain Where the work or any of its elements is in the public domain under applicable law, that status is in no way affected by the license.
-
-Other Rights In no way are any of the following rights affected by the license:
- - Your fair dealing or fair use rights, or other applicable copyright exceptions and limitations;
- - The author's moral rights;
- - Rights other persons may have either in the work itself or in how the work is used, such as publicity or privacy rights.
-
-Notice For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.
-
-
-Full license text
-=================
-
-THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
-
-BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
-
-1. Definitions
-
-"Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
-"Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
-"Distribute" means to make available to the public the original and copies of the Work through sale or other transfer of ownership.
-"Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
-"Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
-"Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
-"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
-"Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
-"Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
-
-2. Fair Dealing Rights.
-
-Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
-
-3. License Grant.
-
-Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
-
-to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; and, to Distribute and Publicly Perform the Work including as incorporated in Collections.
-The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats, but otherwise you have no rights to make Adaptations. Subject to 8(f), all rights not expressly granted by Licensor are hereby reserved, including but not limited to the rights set forth in Section 4(d).
-
-4. Restrictions.
-
-The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
-
-You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested.
-You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in connection with the exchange of copyrighted works.
-If You Distribute, or Publicly Perform the Work or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work. The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Collection, at a minimum such credit will appear, if a credit for all contributing authors of Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
-
-For the avoidance of doubt:
-
-Non-waivable Compulsory License Schemes.
-
-In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
-Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License if Your exercise of such rights is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b) and otherwise waives the right to collect royalties through any statutory or compulsory licensing scheme; and,
-Voluntary License Schemes. The Licensor reserves the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License that is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b).
-Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation.
-
-5. Representations, Warranties and Disclaimer.
-
-UNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
-
-6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-7. Termination.
-
-This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
-Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work).
-
-Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
-
-8. Miscellaneous.
-
-Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
-If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
-No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
-This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
-The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
+License (short)
+===============
+
+You are free:
+- to Share to copy, distribute and transmit the work
+
+Under the following conditions:
+- Attribution You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
+- Noncommercial You may not use this work for commercial purposes.
+- No Derivative Works You may not alter, transform, or build upon this work.
+
+With the understanding that:
+
+Waiver Any of the above conditions can be waived if you get permission from the copyright holder.
+
+Public Domain Where the work or any of its elements is in the public domain under applicable law, that status is in no way affected by the license.
+
+Other Rights In no way are any of the following rights affected by the license:
+ - Your fair dealing or fair use rights, or other applicable copyright exceptions and limitations;
+ - The author's moral rights;
+ - Rights other persons may have either in the work itself or in how the work is used, such as publicity or privacy rights.
+
+Notice For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.
+
+
+Full license text
+=================
+
+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
+
+BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
+
+1. Definitions
+
+"Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
+"Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
+"Distribute" means to make available to the public the original and copies of the Work through sale or other transfer of ownership.
+"Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
+"Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
+"Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
+"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
+"Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
+"Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
+
+2. Fair Dealing Rights.
+
+Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
+
+3. License Grant.
+
+Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
+
+to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; and, to Distribute and Publicly Perform the Work including as incorporated in Collections.
+The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats, but otherwise you have no rights to make Adaptations. Subject to 8(f), all rights not expressly granted by Licensor are hereby reserved, including but not limited to the rights set forth in Section 4(d).
+
+4. Restrictions.
+
+The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
+
+You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested.
+You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in connection with the exchange of copyrighted works.
+If You Distribute, or Publicly Perform the Work or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work. The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Collection, at a minimum such credit will appear, if a credit for all contributing authors of Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
+
+For the avoidance of doubt:
+
+Non-waivable Compulsory License Schemes.
+
+In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
+Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License if Your exercise of such rights is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b) and otherwise waives the right to collect royalties through any statutory or compulsory licensing scheme; and,
+Voluntary License Schemes. The Licensor reserves the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License that is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b).
+Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation.
+
+5. Representations, Warranties and Disclaimer.
+
+UNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
+
+6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+7. Termination.
+
+This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
+Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work).
+
+Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
+
+8. Miscellaneous.
+
+Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
+If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
+No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
+This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
+The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
diff --git a/addons/main/license.txt b/addons/main/license.txt
index e97d9c51a3..0c9a28cbc5 100644
--- a/addons/main/license.txt
+++ b/addons/main/license.txt
@@ -1,92 +1,92 @@
-License (short)
-===============
-
-You are free:
-- to Share to copy, distribute and transmit the work
-
-Under the following conditions:
-- Attribution You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
-- Noncommercial You may not use this work for commercial purposes.
-- No Derivative Works You may not alter, transform, or build upon this work.
-
-With the understanding that:
-
-Waiver Any of the above conditions can be waived if you get permission from the copyright holder.
-
-Public Domain Where the work or any of its elements is in the public domain under applicable law, that status is in no way affected by the license.
-
-Other Rights In no way are any of the following rights affected by the license:
- - Your fair dealing or fair use rights, or other applicable copyright exceptions and limitations;
- - The author's moral rights;
- - Rights other persons may have either in the work itself or in how the work is used, such as publicity or privacy rights.
-
-Notice For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.
-
-
-Full license text
-=================
-
-THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
-
-BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
-
-1. Definitions
-
-"Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
-"Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
-"Distribute" means to make available to the public the original and copies of the Work through sale or other transfer of ownership.
-"Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
-"Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
-"Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
-"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
-"Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
-"Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
-
-2. Fair Dealing Rights.
-
-Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
-
-3. License Grant.
-
-Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
-
-to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; and, to Distribute and Publicly Perform the Work including as incorporated in Collections.
-The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats, but otherwise you have no rights to make Adaptations. Subject to 8(f), all rights not expressly granted by Licensor are hereby reserved, including but not limited to the rights set forth in Section 4(d).
-
-4. Restrictions.
-
-The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
-
-You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested.
-You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in connection with the exchange of copyrighted works.
-If You Distribute, or Publicly Perform the Work or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work. The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Collection, at a minimum such credit will appear, if a credit for all contributing authors of Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
-
-For the avoidance of doubt:
-
-Non-waivable Compulsory License Schemes.
-
-In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
-Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License if Your exercise of such rights is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b) and otherwise waives the right to collect royalties through any statutory or compulsory licensing scheme; and,
-Voluntary License Schemes. The Licensor reserves the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License that is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b).
-Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation.
-
-5. Representations, Warranties and Disclaimer.
-
-UNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
-
-6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-7. Termination.
-
-This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
-Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work).
-
-Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
-
-8. Miscellaneous.
-
-Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
-If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
-No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
-This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
-The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
+License (short)
+===============
+
+You are free:
+- to Share to copy, distribute and transmit the work
+
+Under the following conditions:
+- Attribution You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
+- Noncommercial You may not use this work for commercial purposes.
+- No Derivative Works You may not alter, transform, or build upon this work.
+
+With the understanding that:
+
+Waiver Any of the above conditions can be waived if you get permission from the copyright holder.
+
+Public Domain Where the work or any of its elements is in the public domain under applicable law, that status is in no way affected by the license.
+
+Other Rights In no way are any of the following rights affected by the license:
+ - Your fair dealing or fair use rights, or other applicable copyright exceptions and limitations;
+ - The author's moral rights;
+ - Rights other persons may have either in the work itself or in how the work is used, such as publicity or privacy rights.
+
+Notice For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.
+
+
+Full license text
+=================
+
+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
+
+BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
+
+1. Definitions
+
+"Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
+"Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
+"Distribute" means to make available to the public the original and copies of the Work through sale or other transfer of ownership.
+"Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
+"Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
+"Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
+"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
+"Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
+"Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
+
+2. Fair Dealing Rights.
+
+Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
+
+3. License Grant.
+
+Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
+
+to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; and, to Distribute and Publicly Perform the Work including as incorporated in Collections.
+The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats, but otherwise you have no rights to make Adaptations. Subject to 8(f), all rights not expressly granted by Licensor are hereby reserved, including but not limited to the rights set forth in Section 4(d).
+
+4. Restrictions.
+
+The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
+
+You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested.
+You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in connection with the exchange of copyrighted works.
+If You Distribute, or Publicly Perform the Work or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work. The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Collection, at a minimum such credit will appear, if a credit for all contributing authors of Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
+
+For the avoidance of doubt:
+
+Non-waivable Compulsory License Schemes.
+
+In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
+Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License if Your exercise of such rights is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b) and otherwise waives the right to collect royalties through any statutory or compulsory licensing scheme; and,
+Voluntary License Schemes. The Licensor reserves the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License that is for a purpose or use which is otherwise than noncommercial as permitted under Section 4(b).
+Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation.
+
+5. Representations, Warranties and Disclaimer.
+
+UNLESS OTHERWISE MUTUALLY AGREED BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
+
+6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+7. Termination.
+
+This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
+Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work).
+
+Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
+
+8. Miscellaneous.
+
+Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
+If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
+No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
+This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
+The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
diff --git a/addons/main/script_common.hpp b/addons/main/script_common.hpp
index b3f6863d49..5999f4f2dc 100644
--- a/addons/main/script_common.hpp
+++ b/addons/main/script_common.hpp
@@ -1,3 +1,3 @@
-#define __cr_managers "Manager: "
-#define __cr_devs "Developer:"
-#define __cr_testers "Contributor: "
+#define __cr_managers "Manager: "
+#define __cr_devs "Developer:"
+#define __cr_testers "Contributor: "
diff --git a/addons/main/script_component.hpp b/addons/main/script_component.hpp
index 9a18b78a7a..334a81570b 100644
--- a/addons/main/script_component.hpp
+++ b/addons/main/script_component.hpp
@@ -1,14 +1,14 @@
-#define COMPONENT main
-#include "\z\ace\addons\main\script_mod.hpp"
-
-// #define DEBUG_MODE_FULL
-
-#ifdef DEBUG_ENABLED_CORE
- #define DEBUG_MODE_FULL
-#endif
-
-#ifdef DEBUG_SETTINGS_CORE
- #define DEBUG_SETTINGS DEBUG_SETTINGS_CORE
-#endif
-
-#include "\z\ace\addons\main\script_macros.hpp"
+#define COMPONENT main
+#include "\z\ace\addons\main\script_mod.hpp"
+
+// #define DEBUG_MODE_FULL
+
+#ifdef DEBUG_ENABLED_CORE
+ #define DEBUG_MODE_FULL
+#endif
+
+#ifdef DEBUG_SETTINGS_CORE
+ #define DEBUG_SETTINGS DEBUG_SETTINGS_CORE
+#endif
+
+#include "\z\ace\addons\main\script_macros.hpp"
diff --git a/addons/main/script_config.hpp b/addons/main/script_config.hpp
index e39240286e..f341c25a8e 100644
--- a/addons/main/script_config.hpp
+++ b/addons/main/script_config.hpp
@@ -1,43 +1,43 @@
-#define true 1
-#define false 0
-
-#define private 0
-#define protected 1
-#define public 2
-
-#define TEast 0
-#define TWest 1
-#define TGuerrila 2
-#define TCivilian 3
-#define TSideUnknown 4
-#define TEnemy 5
-#define TFriendly 6
-#define TLogic 7
-
-#define VSoft 0
-#define VArmor 1
-#define VAir 2
-
-#define LockNo 0
-#define LockCadet 1
-#define LockYes 2
-
-#define ReadAndWrite 0
-#define ReadAndCreate 1
-#define ReadOnly 2
-#define ReadOnlyVerified 3
-
-#define WeaponNoSlot 0 // dummy weapons
-#define WeaponSlotPrimary 1 // primary weapons
-#define WeaponSlotSecondary 16 // secondary weapons
-#define WeaponSlotItem 256 // items
-#define WeaponSlotBinocular 4096 // binocular
-#define WeaponHardMounted 65536
-
-#define CanSeeRadar 1
-#define CanSeeRye 2
-#define CanSeeOptics 4
-#define CanSeeEar 4
-#define CanSeeCompass 16
-#define CanSeeRadarC CanSeeRadar+CanSeeCompass
-#define CanSeeAll 31
+#define true 1
+#define false 0
+
+#define private 0
+#define protected 1
+#define public 2
+
+#define TEast 0
+#define TWest 1
+#define TGuerrila 2
+#define TCivilian 3
+#define TSideUnknown 4
+#define TEnemy 5
+#define TFriendly 6
+#define TLogic 7
+
+#define VSoft 0
+#define VArmor 1
+#define VAir 2
+
+#define LockNo 0
+#define LockCadet 1
+#define LockYes 2
+
+#define ReadAndWrite 0
+#define ReadAndCreate 1
+#define ReadOnly 2
+#define ReadOnlyVerified 3
+
+#define WeaponNoSlot 0 // dummy weapons
+#define WeaponSlotPrimary 1 // primary weapons
+#define WeaponSlotSecondary 16 // secondary weapons
+#define WeaponSlotItem 256 // items
+#define WeaponSlotBinocular 4096 // binocular
+#define WeaponHardMounted 65536
+
+#define CanSeeRadar 1
+#define CanSeeRye 2
+#define CanSeeOptics 4
+#define CanSeeEar 4
+#define CanSeeCompass 16
+#define CanSeeRadarC CanSeeRadar+CanSeeCompass
+#define CanSeeAll 31
diff --git a/addons/main/script_debug.hpp b/addons/main/script_debug.hpp
index 578d76cc91..4dd9cce1bc 100644
--- a/addons/main/script_debug.hpp
+++ b/addons/main/script_debug.hpp
@@ -1,46 +1,46 @@
-/**
-STACK TRACING
-**/
-//#define ENABLE_CALLSTACK
-//#define ENABLE_PERFORMANCE_COUNTERS
-//#define DEBUG_EVENTS
-
-#ifdef ENABLE_CALLSTACK
-
-#define CALLSTACK(function) {private ['_ret']; if(ACE_IS_ERRORED) then { ['AUTO','AUTO'] call ACE_DUMPSTACK_FNC; ACE_IS_ERRORED = false; }; ACE_IS_ERRORED = true; ACE_STACK_TRACE set [ACE_STACK_DEPTH, [diag_tickTime, __FILE__, __LINE__, ACE_CURRENT_FUNCTION, 'ANON', _this]]; ACE_STACK_DEPTH = ACE_STACK_DEPTH + 1; ACE_CURRENT_FUNCTION = 'ANON'; _ret = _this call ##function; ACE_STACK_DEPTH = ACE_STACK_DEPTH - 1; ACE_IS_ERRORED = false; _ret;}
-#define CALLSTACK_NAMED(function, functionName) {private ['_ret']; if(ACE_IS_ERRORED) then { ['AUTO','AUTO'] call ACE_DUMPSTACK_FNC; ACE_IS_ERRORED = false; }; ACE_IS_ERRORED = true; ACE_STACK_TRACE set [ACE_STACK_DEPTH, [diag_tickTime, __FILE__, __LINE__, ACE_CURRENT_FUNCTION, functionName, _this]]; ACE_STACK_DEPTH = ACE_STACK_DEPTH + 1; ACE_CURRENT_FUNCTION = functionName; _ret = _this call ##function; ACE_STACK_DEPTH = ACE_STACK_DEPTH - 1; ACE_IS_ERRORED = false; _ret;}
-#define DUMPSTACK ([__FILE__, __LINE__] call ACE_DUMPSTACK_FNC)
-
-#define FUNC(var1) {private ['_ret']; if(ACE_IS_ERRORED) then { ['AUTO','AUTO'] call ACE_DUMPSTACK_FNC; ACE_IS_ERRORED = false; }; ACE_IS_ERRORED = true; ACE_STACK_TRACE set [ACE_STACK_DEPTH, [diag_tickTime, __FILE__, __LINE__, ACE_CURRENT_FUNCTION, 'TRIPLES(ADDON,fnc,var1)', _this]]; ACE_STACK_DEPTH = ACE_STACK_DEPTH + 1; ACE_CURRENT_FUNCTION = 'TRIPLES(ADDON,fnc,var1)'; _ret = _this call TRIPLES(ADDON,fnc,var1); ACE_STACK_DEPTH = ACE_STACK_DEPTH - 1; ACE_IS_ERRORED = false; _ret;}
-#define EFUNC(var1,var2) {private ['_ret']; if(ACE_IS_ERRORED) then { ['AUTO','AUTO'] call ACE_DUMPSTACK_FNC; ACE_IS_ERRORED = false; }; ACE_IS_ERRORED = true; ACE_STACK_TRACE set [ACE_STACK_DEPTH, [diag_tickTime, __FILE__, __LINE__, ACE_CURRENT_FUNCTION, 'TRIPLES(DOUBLES(PREFIX,var1),fnc,var2)', _this]]; ACE_STACK_DEPTH = ACE_STACK_DEPTH + 1; ACE_CURRENT_FUNCTION = 'TRIPLES(DOUBLES(PREFIX,var1),fnc,var2)'; _ret = _this call TRIPLES(DOUBLES(PREFIX,var1),fnc,var2); ACE_STACK_DEPTH = ACE_STACK_DEPTH - 1; ACE_IS_ERRORED = false; _ret;}
-
-#else
-#define CALLSTACK(function) function
-#define CALLSTACK_NAMED(function, functionName) function
-#define DUMPSTACK
-
-#define FUNC(var1) TRIPLES(ADDON,fnc,var1)
-#define EFUNC(var1,var2) TRIPLES(DOUBLES(PREFIX,var1),fnc,var2)
-
-#endif
-
-
-/**
-PERFORMANCE COUNTERS SECTION
-**/
-//#define ENABLE_PERFORMANCE_COUNTERS
-
-#ifdef ENABLE_PERFORMANCE_COUNTERS
- #define CBA_fnc_addPerFrameHandler { _ret = [(_this select 0), (_this select 1), (_this select 2), #function] call CBA_fnc_addPerFrameHandler; if(isNil "ACE_PFH_COUNTER" ) then { ACE_PFH_COUNTER=[]; }; ACE_PFH_COUNTER pushBack [[_ret, __FILE__, __LINE__], [(_this select 0), (_this select 1), (_this select 2)]]; _ret }
-
- #define CREATE_COUNTER(x) if(isNil "ACE_COUNTERS" ) then { ACE_COUNTERS=[]; }; GVAR(DOUBLES(x,counter))=[]; GVAR(DOUBLES(x,counter)) set[0, QUOTE(GVAR(DOUBLES(x,counter)))]; GVAR(DOUBLES(x,counter)) set[1, diag_tickTime]; ACE_COUNTERS pushBack GVAR(DOUBLES(x,counter));
- #define BEGIN_COUNTER(x) if(isNil QUOTE(GVAR(DOUBLES(x,counter)))) then { CREATE_COUNTER(x) }; GVAR(DOUBLES(x,counter)) set[2, diag_tickTime];
- #define END_COUNTER(x) GVAR(DOUBLES(x,counter)) pushBack [(GVAR(DOUBLES(x,counter)) select 2), diag_tickTime];
-
- #define DUMP_COUNTERS ([__FILE__, __LINE__] call ACE_DUMPCOUNTERS_FNC)
-#else
- #define CREATE_COUNTER(x) /* disabled */
- #define BEGIN_COUNTER(x) /* disabled */
- #define END_COUNTER(x) /* disabled */
- #define DUMP_COUNTERS /* disabled */
+/**
+STACK TRACING
+**/
+//#define ENABLE_CALLSTACK
+//#define ENABLE_PERFORMANCE_COUNTERS
+//#define DEBUG_EVENTS
+
+#ifdef ENABLE_CALLSTACK
+
+#define CALLSTACK(function) {private ['_ret']; if(ACE_IS_ERRORED) then { ['AUTO','AUTO'] call ACE_DUMPSTACK_FNC; ACE_IS_ERRORED = false; }; ACE_IS_ERRORED = true; ACE_STACK_TRACE set [ACE_STACK_DEPTH, [diag_tickTime, __FILE__, __LINE__, ACE_CURRENT_FUNCTION, 'ANON', _this]]; ACE_STACK_DEPTH = ACE_STACK_DEPTH + 1; ACE_CURRENT_FUNCTION = 'ANON'; _ret = _this call ##function; ACE_STACK_DEPTH = ACE_STACK_DEPTH - 1; ACE_IS_ERRORED = false; _ret;}
+#define CALLSTACK_NAMED(function, functionName) {private ['_ret']; if(ACE_IS_ERRORED) then { ['AUTO','AUTO'] call ACE_DUMPSTACK_FNC; ACE_IS_ERRORED = false; }; ACE_IS_ERRORED = true; ACE_STACK_TRACE set [ACE_STACK_DEPTH, [diag_tickTime, __FILE__, __LINE__, ACE_CURRENT_FUNCTION, functionName, _this]]; ACE_STACK_DEPTH = ACE_STACK_DEPTH + 1; ACE_CURRENT_FUNCTION = functionName; _ret = _this call ##function; ACE_STACK_DEPTH = ACE_STACK_DEPTH - 1; ACE_IS_ERRORED = false; _ret;}
+#define DUMPSTACK ([__FILE__, __LINE__] call ACE_DUMPSTACK_FNC)
+
+#define FUNC(var1) {private ['_ret']; if(ACE_IS_ERRORED) then { ['AUTO','AUTO'] call ACE_DUMPSTACK_FNC; ACE_IS_ERRORED = false; }; ACE_IS_ERRORED = true; ACE_STACK_TRACE set [ACE_STACK_DEPTH, [diag_tickTime, __FILE__, __LINE__, ACE_CURRENT_FUNCTION, 'TRIPLES(ADDON,fnc,var1)', _this]]; ACE_STACK_DEPTH = ACE_STACK_DEPTH + 1; ACE_CURRENT_FUNCTION = 'TRIPLES(ADDON,fnc,var1)'; _ret = _this call TRIPLES(ADDON,fnc,var1); ACE_STACK_DEPTH = ACE_STACK_DEPTH - 1; ACE_IS_ERRORED = false; _ret;}
+#define EFUNC(var1,var2) {private ['_ret']; if(ACE_IS_ERRORED) then { ['AUTO','AUTO'] call ACE_DUMPSTACK_FNC; ACE_IS_ERRORED = false; }; ACE_IS_ERRORED = true; ACE_STACK_TRACE set [ACE_STACK_DEPTH, [diag_tickTime, __FILE__, __LINE__, ACE_CURRENT_FUNCTION, 'TRIPLES(DOUBLES(PREFIX,var1),fnc,var2)', _this]]; ACE_STACK_DEPTH = ACE_STACK_DEPTH + 1; ACE_CURRENT_FUNCTION = 'TRIPLES(DOUBLES(PREFIX,var1),fnc,var2)'; _ret = _this call TRIPLES(DOUBLES(PREFIX,var1),fnc,var2); ACE_STACK_DEPTH = ACE_STACK_DEPTH - 1; ACE_IS_ERRORED = false; _ret;}
+
+#else
+#define CALLSTACK(function) function
+#define CALLSTACK_NAMED(function, functionName) function
+#define DUMPSTACK
+
+#define FUNC(var1) TRIPLES(ADDON,fnc,var1)
+#define EFUNC(var1,var2) TRIPLES(DOUBLES(PREFIX,var1),fnc,var2)
+
+#endif
+
+
+/**
+PERFORMANCE COUNTERS SECTION
+**/
+//#define ENABLE_PERFORMANCE_COUNTERS
+
+#ifdef ENABLE_PERFORMANCE_COUNTERS
+ #define CBA_fnc_addPerFrameHandler { _ret = [(_this select 0), (_this select 1), (_this select 2), #function] call CBA_fnc_addPerFrameHandler; if(isNil "ACE_PFH_COUNTER" ) then { ACE_PFH_COUNTER=[]; }; ACE_PFH_COUNTER pushBack [[_ret, __FILE__, __LINE__], [(_this select 0), (_this select 1), (_this select 2)]]; _ret }
+
+ #define CREATE_COUNTER(x) if(isNil "ACE_COUNTERS" ) then { ACE_COUNTERS=[]; }; GVAR(DOUBLES(x,counter))=[]; GVAR(DOUBLES(x,counter)) set[0, QUOTE(GVAR(DOUBLES(x,counter)))]; GVAR(DOUBLES(x,counter)) set[1, diag_tickTime]; ACE_COUNTERS pushBack GVAR(DOUBLES(x,counter));
+ #define BEGIN_COUNTER(x) if(isNil QUOTE(GVAR(DOUBLES(x,counter)))) then { CREATE_COUNTER(x) }; GVAR(DOUBLES(x,counter)) set[2, diag_tickTime];
+ #define END_COUNTER(x) GVAR(DOUBLES(x,counter)) pushBack [(GVAR(DOUBLES(x,counter)) select 2), diag_tickTime];
+
+ #define DUMP_COUNTERS ([__FILE__, __LINE__] call ACE_DUMPCOUNTERS_FNC)
+#else
+ #define CREATE_COUNTER(x) /* disabled */
+ #define BEGIN_COUNTER(x) /* disabled */
+ #define END_COUNTER(x) /* disabled */
+ #define DUMP_COUNTERS /* disabled */
#endif
\ No newline at end of file
diff --git a/addons/main/script_macros.hpp b/addons/main/script_macros.hpp
index 79f95545ca..6d383a4c13 100644
--- a/addons/main/script_macros.hpp
+++ b/addons/main/script_macros.hpp
@@ -1,245 +1,245 @@
-#include "\x\cba\addons\main\script_macros_common.hpp"
-#include "\x\cba\addons\xeh\script_xeh.hpp"
-
-// Default versioning level
-#define DEFAULT_VERSIONING_LEVEL 2
-
-// RGB Colors
-#define RGB_GREEN 0, 0.5, 0, 1
-#define RGB_BLUE 0, 0, 1, 1
-#define RGB_ORANGE 0.5, 0.5, 0, 1
-#define RGB_RED 1, 0, 0, 1
-#define RGB_YELLOW 1, 1, 0, 1
-#define RGB_WHITE 1, 1, 1, 1
-#define RGB_GRAY 0.5, 0.5, 0.5, 1
-#define RGB_BLACK 0, 0, 0, 1
-#define RGB_MAROON 0.5, 0, 0, 1
-#define RGB_OLIVE 0.5, 0.5, 0, 1
-#define RGB_NAVY 0, 0, 0.5, 1
-#define RGB_PURPLE 0.5, 0, 0.5, 1
-#define RGB_FUCHSIA 1, 0, 1, 1
-#define RGB_AQUA 0, 1, 1, 1
-#define RGB_TEAL 0, 0.5, 0.5, 1
-#define RGB_LIME 0, 1, 0, 1
-#define RGB_SILVER 0.75, 0.75, 0.75, 1
-
-#include "script_macros_menudef.hpp"
-
-#define ACE_NOARMORY class Armory { disabled = 1; }
-#define ACE_ARMORY class Armory { disabled = 0; }
-#define ACE_ACEARMORY class Armory { disabled = 0; author = "A.C.E."; }
-
-
-// Weapon defaults
-// NOTE !!!! - Do not forget to dummy-update the configs that use these defines, or the changes won't activate due to binarization!
-#define ACE_DEFAULT_WEAPONS "Throw", "Put"
-
-// Item defaults
-// NOTE !!!! - Do not forget to dummy-update the configs that use these defines, or the changes won't activate due to binarization!
-#define ACE_ITEMS_TEAMLEADER_B "ItemMap","ItemCompass","ItemWatch","ItemRadio"
-#define ACE_ITEMS_SQUADLEADER_B "ItemMap","ItemCompass","ItemWatch","ItemRadio","ACE_DAGR"
-#define ACE_ITEMS_SPECIAL "ItemMap","ItemCompass","ItemWatch","ItemRadio"
-#define ACE_ITEMS "ItemWatch","ItemRadio"
-#define ACE_ITEMS_CIVILIAN "ItemWatch"
-
-
-#define ACE_DEFAULT_SLOTS "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072"
-
-#define ACE_NOGRIP handAnim[] = {}
-#define ACE_DISTANCE_DEFAULT distanceZoomMin = 300; distanceZoomMax = 300
-
-// #include "script_macros_optics.hpp" //ToDo
-
-#define ACE_NOZEROING discreteDistance[] = {}; \
- discreteDistanceInitIndex = 0; \
- weaponInfoType = "RscWeaponEmpty"
-
-#define ACE_NOTURRETZEROING discreteDistance[] = {}; \
- discreteDistanceInitIndex = 0; \
- turretInfoType = "RscWeaponEmpty"
-
-#define ACE_LASER irLaserPos = "laser pos"; \
- irLaserEnd = "laser dir"; \
- irDistance = 300
-
-#define ACE_LASER_DISTANCE_VANILLA irDistance = 300
-
-#define ACE_NOLASER irLaserPos = "laser pos"; \
- irLaserEnd = "laser dir"; \
- irDistance = 0
-
-#define ACE_SUPPRESSED ace_suppressed = 1; \
- fireLightDuration = 0; \
- fireLightIntensity = 0
-
-// TODO: Cleanup in all the configs around
-#define ACE_M_MAG(x,y) class _xx_##x {magazine = ##x; count = ##y;}
-#define ACE_M_WEP(x,y) class _xx_##x {weapon = ##x; count = ##y;}
-#define ACE_M_ITEM(x,y) class _xx_##x {name = ##x; count = ##y;}
-#define ACE_M_BAG(x,y) class _xx_##x {backpack = ##x; count = ##y;}
-
-
-// Vehicle defines
-// ACE_canBeLoad = This vehicle acts as transporter, i.e you can load stuff into it
-// ACE_canBeCargo = This vehicle acts as cargo, i.e you can load this item into other vehicles
-#define ACE_CARGO_FRONT ACE_canBeLoad = false; ACE_canBeCargo = true; ACE_canGear = false; ACE_canLoadFront = true
-#define ACE_CARGO_ONLY ACE_canBeLoad = false; ACE_canBeCargo = true; ACE_canGear = false; ACE_canLoadFront = false
-#define ACE_LOAD_ONLY ACE_canBeLoad = true; ACE_canBeCargo = false; ACE_canGear = false; ACE_canLoadFront = false
-#define ACE_GEAR_ONLY ACE_canBeLoad = true; ACE_canBeCargo = false; ACE_canGear = true; ACE_canLoadFront = false
-#define ACE_NOCARGOLOAD ACE_canBeLoad = false; ACE_canBeCargo = false; ACE_canGear = false; ACE_canLoadFront = false
-
-// Increased FOV for tank driver
-// Increased Default US Tank driver optic
-#define ACE_DRIVEROPTIC_TANK_US driverOpticsModel = "\z\ace\addons\m_veh_optics\driver\optika_tank_driver_west.p3d"
-// Increased Default RU Tank driver optic
-#define ACE_DRIVEROPTIC_TANK_RU driverOpticsModel = "\z\ace\addons\m_veh_optics\driver\optika_tank_driver_east.p3d"
-// Increased Default NON Specified driver optic
-#define ACE_DRIVEROPTIC_TANK driverOpticsModel = "\z\ace\addons\m_veh_optics\driver\optika_tank_driver.p3d"
-// Increased Default EP1 NON Specified driver optic
-// Default black border thing needs finish
-#define ACE_DRIVEROPTIC_TANK_EP1 driverOpticsModel = "\z\ace\addons\m_veh_optics\driver\optika_tank_driver.p3d"
-
-#define ACE_BWC ace_bwc = 1
-
-// SCRIPTING MACROS
-
-// Items
-#define inITEMS(x,y) (##x in (y call ACE_fnc_getGear))
-#define remITEMS(x,y) ([##x,y] call ACE_fnc_removeItem)
-//#define addITEMS(x,y) (y addItem ##x)
-
-// Interaction/ Put anims
-#define canANIM(x) (x call ACE_fnc_CanPutDown)
-#define playANIM(x) (if (x call ACE_fnc_CanPutDown) then { x call ACE_fnc_PutDown })
-
-// In vehicle or on foot
-#define ONFOOT(x) (x == vehicle x)
-#define INVEHICLE(x) (x != vehicle x)
-
-// FX
-#define COUGH ace_common_fx_fnc_cough
-#define BLURRY ace_common_fx_fnc_blurry
-#define BLIND ace_common_fx_fnc_blind_view
-#define DEAF ace_common_fx_fnc_deaf
-#define DIZZY ace_common_fx_fnc_dizzy
-#define FLASH ace_common_fx_fnc_flash
-#define KICK ace_common_fx_fnc_kick
-#define KNOCKOUT ace_common_fx_fnc_knockout
-#define RING ace_common_fx_fnc_ring
-
-// Stamina
-#define INC_MASS ace_stamina_fnc_inc_mass
-
-// Does this work, due to BWC_CONFIG(NAME) ?
-#undef BWC_CONFIG
-
-#define BWC_CONFIG(NAME) class NAME { \
- units[] = {}; \
- weapons[] = {}; \
- requiredVersion = REQUIRED_VERSION; \
- requiredAddons[] = {}; \
- version = VERSION; \
- ACE_BWC; \
-}
-
-#define ACE_FLASHLIGHT class FlashLight { \
- color[] = {0.9, 0.9, 0.7, 0.9}; \
- ambient[] = {0.1, 0.1, 0.1, 1.0}; \
- position = "flash dir"; \
- direction = "flash"; \
- angle = 30; \
- scale[] = {1, 1, 0.5}; \
- brightness = 0.1; \
- }
-#define ACE_SMALL_FLASHLIGHT class FlashLight { \
- color[] = {0.9, 0.9, 0.7, 0.9}; \
- ambient[] = {0.1, 0.1, 0.1, 1.0}; \
- position = "flash dir"; \
- direction = "flash"; \
- angle = 20; \
- scale[] = {0.9, 0.9, 0.4}; \
- brightness = 0.09; \
- }
-
-// Addaction defines for colored text
-#define ACE_TEXT_ORANGE(Text) ("" + ##Text + "")
-#define ACE_TEXT_RED(Text) ("" + ##Text + "")
-#define ACE_TEXT_GREEN(Text) ("" + ##Text + "")
-#define ACE_TEXT_YELLOW(Text) ("" + ##Text + "")
-
-
-
-#define EGVAR(module,var) TRIPLES(PREFIX,module,var)
-#define QEGVAR(module,var) QUOTE(EGVAR(module,var))
-
-#define DGVAR(varName) if(isNil "ACE_DEBUG_NAMESPACE") then { ACE_DEBUG_NAMESPACE = []; }; if(!(QUOTE(GVAR(varName)) in ACE_DEBUG_NAMESPACE)) then { PUSH(ACE_DEBUG_NAMESPACE, QUOTE(GVAR(varName))); }; GVAR(varName)
-#define DVAR(varName) if(isNil "ACE_DEBUG_NAMESPACE") then { ACE_DEBUG_NAMESPACE = []; }; if(!(QUOTE(varName) in ACE_DEBUG_NAMESPACE)) then { PUSH(ACE_DEBUG_NAMESPACE, QUOTE(varName)); }; varName
-#define DFUNC(var1) TRIPLES(ADDON,fnc,var1)
-#define DEFUNC(var1,var2) TRIPLES(DOUBLES(PREFIX,var1),fnc,var2)
-
-#define QFUNC(var1) QUOTE(DFUNC(var1))
-#define QEFUNC(var1,var2) QUOTE(DEFUNC(var1,var2))
-
-#define PATHTOEF(var1,var2) PATHTOF_SYS(PREFIX,var1,var2)
-
-
-#define GETVAR_SYS(var1,var2) getVariable [ARR_2(QUOTE(var1),var2)]
-#define SETVAR_SYS(var1,var2) setVariable [ARR_2(QUOTE(var1),var2)]
-#define SETPVAR_SYS(var1,var2) setVariable [ARR_3(QUOTE(var1),var2,true)]
-
-#define GETVAR(var1,var2,var3) var1 GETVAR_SYS(var2,var3)
-#define GETMVAR(var1,var2) missionNamespace GETVAR_SYS(var1,var2)
-#define GETUVAR(var1,var2) uiNamespace GETVAR_SYS(var1,var2)
-#define GETPRVAR(var1,var2) profileNamespace GETVAR_SYS(var1,var2)
-#define GETPAVAR(var1,var2) parsingNamespace GETVAR_SYS(var1,var2)
-
-#define SETVAR(var1,var2,var3) var1 SETVAR_SYS(var2,var3)
-#define SETPVAR(var1,var2,var3) var1 SETPVAR_SYS(var2,var3)
-#define SETMVAR(var1,var2) missionNamespace SETVAR_SYS(var1,var2)
-#define SETUVAR(var1,var2) uiNamespace SETVAR_SYS(var1,var2)
-#define SETPRVAR(var1,var2) profileNamespace SETVAR_SYS(var1,var2)
-#define SETPAVAR(var1,var2) parsingNamespace SETVAR_SYS(var1,var2)
-
-#define GETGVAR(var1,var2) GETMVAR(GVAR(var1),var2)
-#define GETEGVAR(var1,var2,var3) GETMVAR(EGVAR(var1,var2),var3)
-
-#define ARR_SELECT(ARRAY,INDEX,DEFAULT) if (count ARRAY > INDEX) then {ARRAY select INDEX} else {DEFAULT}
-
-
-#define MACRO_ADDWEAPON(WEAPON,COUNT) class _xx_##WEAPON { \
- weapon = #WEAPON; \
- count = COUNT; \
-}
-
-#define MACRO_ADDITEM(ITEM,COUNT) class _xx_##ITEM { \
- name = #ITEM; \
- count = COUNT; \
-}
-
-#define MACRO_ADDMAGAZINE(MAGAZINE,COUNT) class _xx_##MAGAZINE { \
- magazine = #MAGAZINE; \
- count = COUNT; \
-}
-
-
-#ifdef DISABLE_COMPILE_CACHE
- #define PREP(fncName) DFUNC(fncName) = compile preprocessFileLineNumbers QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf))
-#else
- #define PREP(fncName) DFUNC(fncName) = QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf)) call SLX_XEH_COMPILE
-#endif
-
-#define PREP_MODULE(folder) [] call compile preprocessFileLineNumbers QUOTE(PATHTOF(folder\__PREP__.sqf))
-
-#define HASH_CREATE ([] call EFUNC(common,hashCreate))
-#define HASH_SET(hash, key, val) ([hash, key, val, __FILE__, __LINE__] call EFUNC(common,hashSet))
-#define HASH_GET(hash, key) ([hash, key, __FILE__, __LINE__] call EFUNC(common,hashGet))
-#define HASH_REM(hash, key) ([hash, key, __FILE__, __LINE__] call EFUNC(common,hashRem))
-#define HASH_HASKEY(hash, key) ([hash, key, __FILE__, __LINE__] call EFUNC(common,hashHasKey))
-
-#define HASHLIST_CREATELIST(keys) ([keys] call EFUNC(common,hashListCreateList))
-#define HASHLIST_CREATEHASH(hashList) ([hashList] call EFUNC(common,hashListCreateHash))
-#define HASHLIST_SELECT(hashList, index) ([hashList, index, __FILE__, __LINE__] call EFUNC(common,hashListSelect))
-#define HASHLIST_SET(hashList, index, value) ([hashList, index, value, __FILE__, __LINE__] call EFUNC(common,hashListSet))
-#define HASHLIST_PUSH(hashList, value) ([hashList, value, __FILE__, __LINE__] call EFUNC(common,hashListPush))
-
+#include "\x\cba\addons\main\script_macros_common.hpp"
+#include "\x\cba\addons\xeh\script_xeh.hpp"
+
+// Default versioning level
+#define DEFAULT_VERSIONING_LEVEL 2
+
+// RGB Colors
+#define RGB_GREEN 0, 0.5, 0, 1
+#define RGB_BLUE 0, 0, 1, 1
+#define RGB_ORANGE 0.5, 0.5, 0, 1
+#define RGB_RED 1, 0, 0, 1
+#define RGB_YELLOW 1, 1, 0, 1
+#define RGB_WHITE 1, 1, 1, 1
+#define RGB_GRAY 0.5, 0.5, 0.5, 1
+#define RGB_BLACK 0, 0, 0, 1
+#define RGB_MAROON 0.5, 0, 0, 1
+#define RGB_OLIVE 0.5, 0.5, 0, 1
+#define RGB_NAVY 0, 0, 0.5, 1
+#define RGB_PURPLE 0.5, 0, 0.5, 1
+#define RGB_FUCHSIA 1, 0, 1, 1
+#define RGB_AQUA 0, 1, 1, 1
+#define RGB_TEAL 0, 0.5, 0.5, 1
+#define RGB_LIME 0, 1, 0, 1
+#define RGB_SILVER 0.75, 0.75, 0.75, 1
+
+#include "script_macros_menudef.hpp"
+
+#define ACE_NOARMORY class Armory { disabled = 1; }
+#define ACE_ARMORY class Armory { disabled = 0; }
+#define ACE_ACEARMORY class Armory { disabled = 0; author = "A.C.E."; }
+
+
+// Weapon defaults
+// NOTE !!!! - Do not forget to dummy-update the configs that use these defines, or the changes won't activate due to binarization!
+#define ACE_DEFAULT_WEAPONS "Throw", "Put"
+
+// Item defaults
+// NOTE !!!! - Do not forget to dummy-update the configs that use these defines, or the changes won't activate due to binarization!
+#define ACE_ITEMS_TEAMLEADER_B "ItemMap","ItemCompass","ItemWatch","ItemRadio"
+#define ACE_ITEMS_SQUADLEADER_B "ItemMap","ItemCompass","ItemWatch","ItemRadio","ACE_DAGR"
+#define ACE_ITEMS_SPECIAL "ItemMap","ItemCompass","ItemWatch","ItemRadio"
+#define ACE_ITEMS "ItemWatch","ItemRadio"
+#define ACE_ITEMS_CIVILIAN "ItemWatch"
+
+
+#define ACE_DEFAULT_SLOTS "1 + 4 + 12* 256 + 2* 4096 + 2 + 8* 16 + 12*131072"
+
+#define ACE_NOGRIP handAnim[] = {}
+#define ACE_DISTANCE_DEFAULT distanceZoomMin = 300; distanceZoomMax = 300
+
+// #include "script_macros_optics.hpp" //ToDo
+
+#define ACE_NOZEROING discreteDistance[] = {}; \
+ discreteDistanceInitIndex = 0; \
+ weaponInfoType = "RscWeaponEmpty"
+
+#define ACE_NOTURRETZEROING discreteDistance[] = {}; \
+ discreteDistanceInitIndex = 0; \
+ turretInfoType = "RscWeaponEmpty"
+
+#define ACE_LASER irLaserPos = "laser pos"; \
+ irLaserEnd = "laser dir"; \
+ irDistance = 300
+
+#define ACE_LASER_DISTANCE_VANILLA irDistance = 300
+
+#define ACE_NOLASER irLaserPos = "laser pos"; \
+ irLaserEnd = "laser dir"; \
+ irDistance = 0
+
+#define ACE_SUPPRESSED ace_suppressed = 1; \
+ fireLightDuration = 0; \
+ fireLightIntensity = 0
+
+// TODO: Cleanup in all the configs around
+#define ACE_M_MAG(x,y) class _xx_##x {magazine = ##x; count = ##y;}
+#define ACE_M_WEP(x,y) class _xx_##x {weapon = ##x; count = ##y;}
+#define ACE_M_ITEM(x,y) class _xx_##x {name = ##x; count = ##y;}
+#define ACE_M_BAG(x,y) class _xx_##x {backpack = ##x; count = ##y;}
+
+
+// Vehicle defines
+// ACE_canBeLoad = This vehicle acts as transporter, i.e you can load stuff into it
+// ACE_canBeCargo = This vehicle acts as cargo, i.e you can load this item into other vehicles
+#define ACE_CARGO_FRONT ACE_canBeLoad = false; ACE_canBeCargo = true; ACE_canGear = false; ACE_canLoadFront = true
+#define ACE_CARGO_ONLY ACE_canBeLoad = false; ACE_canBeCargo = true; ACE_canGear = false; ACE_canLoadFront = false
+#define ACE_LOAD_ONLY ACE_canBeLoad = true; ACE_canBeCargo = false; ACE_canGear = false; ACE_canLoadFront = false
+#define ACE_GEAR_ONLY ACE_canBeLoad = true; ACE_canBeCargo = false; ACE_canGear = true; ACE_canLoadFront = false
+#define ACE_NOCARGOLOAD ACE_canBeLoad = false; ACE_canBeCargo = false; ACE_canGear = false; ACE_canLoadFront = false
+
+// Increased FOV for tank driver
+// Increased Default US Tank driver optic
+#define ACE_DRIVEROPTIC_TANK_US driverOpticsModel = "\z\ace\addons\m_veh_optics\driver\optika_tank_driver_west.p3d"
+// Increased Default RU Tank driver optic
+#define ACE_DRIVEROPTIC_TANK_RU driverOpticsModel = "\z\ace\addons\m_veh_optics\driver\optika_tank_driver_east.p3d"
+// Increased Default NON Specified driver optic
+#define ACE_DRIVEROPTIC_TANK driverOpticsModel = "\z\ace\addons\m_veh_optics\driver\optika_tank_driver.p3d"
+// Increased Default EP1 NON Specified driver optic
+// Default black border thing needs finish
+#define ACE_DRIVEROPTIC_TANK_EP1 driverOpticsModel = "\z\ace\addons\m_veh_optics\driver\optika_tank_driver.p3d"
+
+#define ACE_BWC ace_bwc = 1
+
+// SCRIPTING MACROS
+
+// Items
+#define inITEMS(x,y) (##x in (y call ACE_fnc_getGear))
+#define remITEMS(x,y) ([##x,y] call ACE_fnc_removeItem)
+//#define addITEMS(x,y) (y addItem ##x)
+
+// Interaction/ Put anims
+#define canANIM(x) (x call ACE_fnc_CanPutDown)
+#define playANIM(x) (if (x call ACE_fnc_CanPutDown) then { x call ACE_fnc_PutDown })
+
+// In vehicle or on foot
+#define ONFOOT(x) (x == vehicle x)
+#define INVEHICLE(x) (x != vehicle x)
+
+// FX
+#define COUGH ace_common_fx_fnc_cough
+#define BLURRY ace_common_fx_fnc_blurry
+#define BLIND ace_common_fx_fnc_blind_view
+#define DEAF ace_common_fx_fnc_deaf
+#define DIZZY ace_common_fx_fnc_dizzy
+#define FLASH ace_common_fx_fnc_flash
+#define KICK ace_common_fx_fnc_kick
+#define KNOCKOUT ace_common_fx_fnc_knockout
+#define RING ace_common_fx_fnc_ring
+
+// Stamina
+#define INC_MASS ace_stamina_fnc_inc_mass
+
+// Does this work, due to BWC_CONFIG(NAME) ?
+#undef BWC_CONFIG
+
+#define BWC_CONFIG(NAME) class NAME { \
+ units[] = {}; \
+ weapons[] = {}; \
+ requiredVersion = REQUIRED_VERSION; \
+ requiredAddons[] = {}; \
+ version = VERSION; \
+ ACE_BWC; \
+}
+
+#define ACE_FLASHLIGHT class FlashLight { \
+ color[] = {0.9, 0.9, 0.7, 0.9}; \
+ ambient[] = {0.1, 0.1, 0.1, 1.0}; \
+ position = "flash dir"; \
+ direction = "flash"; \
+ angle = 30; \
+ scale[] = {1, 1, 0.5}; \
+ brightness = 0.1; \
+ }
+#define ACE_SMALL_FLASHLIGHT class FlashLight { \
+ color[] = {0.9, 0.9, 0.7, 0.9}; \
+ ambient[] = {0.1, 0.1, 0.1, 1.0}; \
+ position = "flash dir"; \
+ direction = "flash"; \
+ angle = 20; \
+ scale[] = {0.9, 0.9, 0.4}; \
+ brightness = 0.09; \
+ }
+
+// Addaction defines for colored text
+#define ACE_TEXT_ORANGE(Text) ("" + ##Text + "")
+#define ACE_TEXT_RED(Text) ("" + ##Text + "")
+#define ACE_TEXT_GREEN(Text) ("" + ##Text + "")
+#define ACE_TEXT_YELLOW(Text) ("" + ##Text + "")
+
+
+
+#define EGVAR(module,var) TRIPLES(PREFIX,module,var)
+#define QEGVAR(module,var) QUOTE(EGVAR(module,var))
+
+#define DGVAR(varName) if(isNil "ACE_DEBUG_NAMESPACE") then { ACE_DEBUG_NAMESPACE = []; }; if(!(QUOTE(GVAR(varName)) in ACE_DEBUG_NAMESPACE)) then { PUSH(ACE_DEBUG_NAMESPACE, QUOTE(GVAR(varName))); }; GVAR(varName)
+#define DVAR(varName) if(isNil "ACE_DEBUG_NAMESPACE") then { ACE_DEBUG_NAMESPACE = []; }; if(!(QUOTE(varName) in ACE_DEBUG_NAMESPACE)) then { PUSH(ACE_DEBUG_NAMESPACE, QUOTE(varName)); }; varName
+#define DFUNC(var1) TRIPLES(ADDON,fnc,var1)
+#define DEFUNC(var1,var2) TRIPLES(DOUBLES(PREFIX,var1),fnc,var2)
+
+#define QFUNC(var1) QUOTE(DFUNC(var1))
+#define QEFUNC(var1,var2) QUOTE(DEFUNC(var1,var2))
+
+#define PATHTOEF(var1,var2) PATHTOF_SYS(PREFIX,var1,var2)
+
+
+#define GETVAR_SYS(var1,var2) getVariable [ARR_2(QUOTE(var1),var2)]
+#define SETVAR_SYS(var1,var2) setVariable [ARR_2(QUOTE(var1),var2)]
+#define SETPVAR_SYS(var1,var2) setVariable [ARR_3(QUOTE(var1),var2,true)]
+
+#define GETVAR(var1,var2,var3) var1 GETVAR_SYS(var2,var3)
+#define GETMVAR(var1,var2) missionNamespace GETVAR_SYS(var1,var2)
+#define GETUVAR(var1,var2) uiNamespace GETVAR_SYS(var1,var2)
+#define GETPRVAR(var1,var2) profileNamespace GETVAR_SYS(var1,var2)
+#define GETPAVAR(var1,var2) parsingNamespace GETVAR_SYS(var1,var2)
+
+#define SETVAR(var1,var2,var3) var1 SETVAR_SYS(var2,var3)
+#define SETPVAR(var1,var2,var3) var1 SETPVAR_SYS(var2,var3)
+#define SETMVAR(var1,var2) missionNamespace SETVAR_SYS(var1,var2)
+#define SETUVAR(var1,var2) uiNamespace SETVAR_SYS(var1,var2)
+#define SETPRVAR(var1,var2) profileNamespace SETVAR_SYS(var1,var2)
+#define SETPAVAR(var1,var2) parsingNamespace SETVAR_SYS(var1,var2)
+
+#define GETGVAR(var1,var2) GETMVAR(GVAR(var1),var2)
+#define GETEGVAR(var1,var2,var3) GETMVAR(EGVAR(var1,var2),var3)
+
+#define ARR_SELECT(ARRAY,INDEX,DEFAULT) if (count ARRAY > INDEX) then {ARRAY select INDEX} else {DEFAULT}
+
+
+#define MACRO_ADDWEAPON(WEAPON,COUNT) class _xx_##WEAPON { \
+ weapon = #WEAPON; \
+ count = COUNT; \
+}
+
+#define MACRO_ADDITEM(ITEM,COUNT) class _xx_##ITEM { \
+ name = #ITEM; \
+ count = COUNT; \
+}
+
+#define MACRO_ADDMAGAZINE(MAGAZINE,COUNT) class _xx_##MAGAZINE { \
+ magazine = #MAGAZINE; \
+ count = COUNT; \
+}
+
+
+#ifdef DISABLE_COMPILE_CACHE
+ #define PREP(fncName) DFUNC(fncName) = compile preprocessFileLineNumbers QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf))
+#else
+ #define PREP(fncName) DFUNC(fncName) = QUOTE(PATHTOF(functions\DOUBLES(fnc,fncName).sqf)) call SLX_XEH_COMPILE
+#endif
+
+#define PREP_MODULE(folder) [] call compile preprocessFileLineNumbers QUOTE(PATHTOF(folder\__PREP__.sqf))
+
+#define HASH_CREATE ([] call EFUNC(common,hashCreate))
+#define HASH_SET(hash, key, val) ([hash, key, val, __FILE__, __LINE__] call EFUNC(common,hashSet))
+#define HASH_GET(hash, key) ([hash, key, __FILE__, __LINE__] call EFUNC(common,hashGet))
+#define HASH_REM(hash, key) ([hash, key, __FILE__, __LINE__] call EFUNC(common,hashRem))
+#define HASH_HASKEY(hash, key) ([hash, key, __FILE__, __LINE__] call EFUNC(common,hashHasKey))
+
+#define HASHLIST_CREATELIST(keys) ([keys] call EFUNC(common,hashListCreateList))
+#define HASHLIST_CREATEHASH(hashList) ([hashList] call EFUNC(common,hashListCreateHash))
+#define HASHLIST_SELECT(hashList, index) ([hashList, index, __FILE__, __LINE__] call EFUNC(common,hashListSelect))
+#define HASHLIST_SET(hashList, index, value) ([hashList, index, value, __FILE__, __LINE__] call EFUNC(common,hashListSet))
+#define HASHLIST_PUSH(hashList, value) ([hashList, value, __FILE__, __LINE__] call EFUNC(common,hashListPush))
+
#include "script_debug.hpp"
\ No newline at end of file
diff --git a/addons/main/script_macros_menudef.hpp b/addons/main/script_macros_menudef.hpp
index 35a8e2be45..665c702c9b 100644
--- a/addons/main/script_macros_menudef.hpp
+++ b/addons/main/script_macros_menudef.hpp
@@ -1,27 +1,27 @@
-// ACE Self Interaction Conditions
-
-// Self Interaction Menu not available if player is unconscious
-#define ACE_INTERACT_ALIVE (alive player)
-#define ACE_INTERACT_UNCON (player call ace_wounds_fnc_isUncon)
-
-// Player is Player Vehicle
-#define ACE_INTERACT_PLAYER (player == vehicle player || (player != vehicle player && player in assignedCargo vehicle player))
-
-// Player is climbing up a ladder
-#define ACE_INTERACT_LADDER (animationState player in ["ladderriflestatic","laddercivilstatic"])
-
-// Possible = Self interaction opens only if player is alive and conscious (can be in a vehicle)
-#define ACE_SELFINTERACTION_POSSIBLE (!ACE_INTERACT_LADDER && {ACE_INTERACT_ALIVE} && {!ACE_INTERACT_UNCON})
-
-// Restricted = Self interaction opens only if player is alive and conscious (can NOT be in a vehicle, i.e Groundmarker, explosives ...)
-#define ACE_SELFINTERACTION_RESTRICTED (ACE_SELFINTERACTION_POSSIBLE && {ACE_INTERACT_PLAYER})
-
-// Close interaction menu if unconscious
-#define ACE_INTERACT_FNC_EXIT if (ACE_INTERACT_UNCON) exitWith {}
-#define ACE_ASSEMBLE (getNumber(configFile >> "CfgActions" >> "Assemble" >> "show") == 0)
-#define ACE_DISASSEMBLE (getNumber(configFile >> "CfgActions" >> "DisAssemble" >> "show") == 0)
-#define ACE_PIPEDEFAULT (getNumber(configFile >> "CfgMagazines" >> "PipeBomb" >> "useAction") == 0)
-#define ACE_IDENTITYDEFAULT (isClass(configFile >> "CfgPatches" >> "ace_combatdeaf"))
-#define ACE_RUCKDEFAULT (isClass(configFile >> "CfgPatches" >> "ace_stamina"))
-
+// ACE Self Interaction Conditions
+
+// Self Interaction Menu not available if player is unconscious
+#define ACE_INTERACT_ALIVE (alive player)
+#define ACE_INTERACT_UNCON (player call ace_wounds_fnc_isUncon)
+
+// Player is Player Vehicle
+#define ACE_INTERACT_PLAYER (player == vehicle player || (player != vehicle player && player in assignedCargo vehicle player))
+
+// Player is climbing up a ladder
+#define ACE_INTERACT_LADDER (animationState player in ["ladderriflestatic","laddercivilstatic"])
+
+// Possible = Self interaction opens only if player is alive and conscious (can be in a vehicle)
+#define ACE_SELFINTERACTION_POSSIBLE (!ACE_INTERACT_LADDER && {ACE_INTERACT_ALIVE} && {!ACE_INTERACT_UNCON})
+
+// Restricted = Self interaction opens only if player is alive and conscious (can NOT be in a vehicle, i.e Groundmarker, explosives ...)
+#define ACE_SELFINTERACTION_RESTRICTED (ACE_SELFINTERACTION_POSSIBLE && {ACE_INTERACT_PLAYER})
+
+// Close interaction menu if unconscious
+#define ACE_INTERACT_FNC_EXIT if (ACE_INTERACT_UNCON) exitWith {}
+#define ACE_ASSEMBLE (getNumber(configFile >> "CfgActions" >> "Assemble" >> "show") == 0)
+#define ACE_DISASSEMBLE (getNumber(configFile >> "CfgActions" >> "DisAssemble" >> "show") == 0)
+#define ACE_PIPEDEFAULT (getNumber(configFile >> "CfgMagazines" >> "PipeBomb" >> "useAction") == 0)
+#define ACE_IDENTITYDEFAULT (isClass(configFile >> "CfgPatches" >> "ace_combatdeaf"))
+#define ACE_RUCKDEFAULT (isClass(configFile >> "CfgPatches" >> "ace_stamina"))
+
#define ACE_KNOWN2PLAYER (if (name _target in (player getVariable ["ace_recognize_knownnames",[]])) then { name _target } else { " " })
\ No newline at end of file
diff --git a/addons/main/script_mod.hpp b/addons/main/script_mod.hpp
index 6ef5ec3f68..3bd82431bd 100644
--- a/addons/main/script_mod.hpp
+++ b/addons/main/script_mod.hpp
@@ -1,55 +1,55 @@
-// COMPONENT should be defined in the script_component.hpp and included BEFORE this hpp
-
-#define MAINPREFIX z
-#define PREFIX ace
-
-#define MAJOR 3
-#define MINOR 0
-#define PATCHLVL 0
-#define BUILD 1
-
-#define VERSION MAJOR.MINOR.PATCHLVL.BUILD
-#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD
-
-#define ACE_TAG A.C.E.
-
-// MINIMAL required version for the Mod. Components can specify others..
-#define REQUIRED_VERSION 0.5
-
-/*
- #define DEBUG_ENABLED_ADDONS
- #define DEBUG_ENABLED_ATTACHMENTS
- #define DEBUG_ENABLED_weapons_backblast
- #define DEBUG_ENABLED_BLOOD
- #define DEBUG_ENABLED_CARTRIDGES
- #define DEBUG_ENABLED_CRATERS
- #define DEBUG_ENABLED_CREWPROTECTION
- #define DEBUG_ENABLED_DUMMIES
- #define DEBUG_ENABLED_EJECT
- #define DEBUG_ENABLED_EXPLOSIVES
- #define DEBUG_ENABLED_FLARES
- #define DEBUG_ENABLED_FLASHBANG
- #define DEBUG_ENABLED_GRENADETHROW
- #define DEBUG_ENABLED_HUNTIR
- #define DEBUG_ENABLED_INTERACTION
- #define DEBUG_ENABLED_IRSTROBE
- #define DEBUG_ENABLED_MULTI_BARREL
- #define DEBUG_ENABLED_MUZZLEBLAST
- #define DEBUG_ENABLED_NVG
- #define DEBUG_ENABLED_weapons_overheating
- #define DEBUG_ENABLED_RECOILDUST
- #define DEBUG_ENABLED_ROCKET_BALLISTICS
- #define DEBUG_ENABLED_SANDBAG
- #define DEBUG_ENABLED_SHOTGUN
- #define DEBUG_ENABLED_SIGHT_ADJUSTMENT_AT
- #define DEBUG_ENABLED_SIGHT_ADJUSTMENT_GL
- #define DEBUG_ENABLED_SIGHT_ADJUSTMENT_RIFLE
- #define DEBUG_ENABLED_SMAW_SPOTTINGRIFLE
- #define DEBUG_ENABLED_TRACERS
- #define DEBUG_ENABLED_TRACKING
- #define DEBUG_ENABLED_VIEWBLOCK
- #define DEBUG_ENABLED_VEHICLE
- #define DEBUG_ENABLED_vehicle_damage
- #define DEBUG_ENABLED_WEAPONREST
- #define DEBUG_ENABLED_WOUNDS
-*/
+// COMPONENT should be defined in the script_component.hpp and included BEFORE this hpp
+
+#define MAINPREFIX z
+#define PREFIX ace
+
+#define MAJOR 3
+#define MINOR 0
+#define PATCHLVL 0
+#define BUILD 1
+
+#define VERSION MAJOR.MINOR.PATCHLVL.BUILD
+#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD
+
+#define ACE_TAG A.C.E.
+
+// MINIMAL required version for the Mod. Components can specify others..
+#define REQUIRED_VERSION 0.5
+
+/*
+ #define DEBUG_ENABLED_ADDONS
+ #define DEBUG_ENABLED_ATTACHMENTS
+ #define DEBUG_ENABLED_weapons_backblast
+ #define DEBUG_ENABLED_BLOOD
+ #define DEBUG_ENABLED_CARTRIDGES
+ #define DEBUG_ENABLED_CRATERS
+ #define DEBUG_ENABLED_CREWPROTECTION
+ #define DEBUG_ENABLED_DUMMIES
+ #define DEBUG_ENABLED_EJECT
+ #define DEBUG_ENABLED_EXPLOSIVES
+ #define DEBUG_ENABLED_FLARES
+ #define DEBUG_ENABLED_FLASHBANG
+ #define DEBUG_ENABLED_GRENADETHROW
+ #define DEBUG_ENABLED_HUNTIR
+ #define DEBUG_ENABLED_INTERACTION
+ #define DEBUG_ENABLED_IRSTROBE
+ #define DEBUG_ENABLED_MULTI_BARREL
+ #define DEBUG_ENABLED_MUZZLEBLAST
+ #define DEBUG_ENABLED_NVG
+ #define DEBUG_ENABLED_weapons_overheating
+ #define DEBUG_ENABLED_RECOILDUST
+ #define DEBUG_ENABLED_ROCKET_BALLISTICS
+ #define DEBUG_ENABLED_SANDBAG
+ #define DEBUG_ENABLED_SHOTGUN
+ #define DEBUG_ENABLED_SIGHT_ADJUSTMENT_AT
+ #define DEBUG_ENABLED_SIGHT_ADJUSTMENT_GL
+ #define DEBUG_ENABLED_SIGHT_ADJUSTMENT_RIFLE
+ #define DEBUG_ENABLED_SMAW_SPOTTINGRIFLE
+ #define DEBUG_ENABLED_TRACERS
+ #define DEBUG_ENABLED_TRACKING
+ #define DEBUG_ENABLED_VIEWBLOCK
+ #define DEBUG_ENABLED_VEHICLE
+ #define DEBUG_ENABLED_vehicle_damage
+ #define DEBUG_ENABLED_WEAPONREST
+ #define DEBUG_ENABLED_WOUNDS
+*/
diff --git a/addons/maptools/stringtable.xml b/addons/maptools/stringtable.xml
index 5dd4578976..2e5fee49ab 100644
--- a/addons/maptools/stringtable.xml
+++ b/addons/maptools/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -142,7 +142,7 @@
Kierunek: %1°
Dirección: %1°
Irány: %1
- Направление:%1
+ Направление: %1°
\ No newline at end of file
diff --git a/addons/markers/stringtable.xml b/addons/markers/stringtable.xml
index ea6d72990a..65da73a026 100644
--- a/addons/markers/stringtable.xml
+++ b/addons/markers/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -9,7 +9,7 @@
Směr: %1°
Kierunek: %1°
Dirección: %1°
- Направление: %1
+ Направление: %1°
\ No newline at end of file
diff --git a/addons/medical/stringtable.xml b/addons/medical/stringtable.xml
index a5dfdbba49..bf15477628 100644
--- a/addons/medical/stringtable.xml
+++ b/addons/medical/stringtable.xml
@@ -1,974 +1,991 @@
-
+
-
-
- Inject Atropine
- Atropin
-
-
- Inject Epinephrine
- Epinephrine injizieren
- Inyectar Epinefrina
- Wtrzyknij adrenalinę
- Aplikovat Adrenalin
- Ввести андреналил
- Adrénaline
- Adrenalin
- Injetar Epinefrina
- Inietta Epinefrina
-
-
- Inject Morphine
- Morphin injizieren
- Inyectar Morfina
- Wstrzyknij morfinę
- Aplikovat Morfin
- Ввести морфин
- Morphine
- Morfium
- Injetar Morfina
- Inietta Morfina
-
-
- Transfuse Blood
- Bluttransfusion
- Transfundir sangre
- Przetocz krew
- Transfúze krve
- Перелить кровь
- Transfusion
- Infúzió
- Transfundir Sangue
- Effettua Trasfusione
-
-
- Transfuse Plasma
- Plasmatransfusion
-
-
- Transfuse Saline
- Salzlösungtransfusion
-
-
- Apply Tourniquet
- Aderpresse anwenden
-
-
- Bandage
- Verbinden
- Venda
- Bandaż
- Obvázat
- Pansement
- Benda
- Kötözés
- Atadura
- Перевязать
-
-
- Bandage Head
- Kopf verbinden
- Vendar la cabeza
- Bandażuj głowę
- Obvázat hlavu
- Перевязать голову
- Pansement Tête
- Fej kötözése
- Atar Cabeça
- Benda la testa
-
-
- Bandage Torso
- Torso verbinden
- Vendar el torso
- Bandażuj tors
- Obvázat hruď
- Перевязать торс
- Pansement Torse
- Felsőtest kötözése
- Atar Tronco
- Benda il torso
-
-
- Bandage Left Arm
- Arm links verbinden
- Vendar el brazo izquierdo
- Bandażuj lewe ramię
- Obvázat levou ruku
- Перевязать левую руку
- Pansement Bras Gauche
- Bal kar kötözése
- Atar Braço Esquerdo
- Benda il braccio sinistro
-
-
- Bandage Right Arm
- Arm rechts verbinden
- Vendar el brazo derecho
- Bandażuj prawe ramię
- Obvázat pravou ruku
- Перевязать правую руку
- Pansement Bras Droit
- Jobb kar kötözése
- Atar Braço Direito
- Benda il braccio destro
-
-
- Bandage Left Leg
- Bein links verbinden
- Vendar la pierna izquierda
- Bandażuj lewą nogę
- Obvázat levou nohu
- Перевязать левую ногу
- Pansement Jambe Gauche
- Bal láb kötözése
- Atar Perna Esquerda
- Benda la gamba sinistra
-
-
- Bandage Right Leg
- Bein rechts verbinden
- Vendar la pierna derecha
- Bandażuj prawą nogę
- Obvázat pravou nohu
- Перевязать правую ногу
- Pansement Jambe Droite
- Jobb láb kötözése
- Atar Perna Direita
- Benda la gamba destra
-
-
- Injecting Morphine ...
- Morphin injizieren ...
- Inyectando Morfina ...
- Wstrzykiwanie morfiny ...
- Aplikuju Morfin ...
- Введение морфина...
- Injection de Morphine...
- Morfium beadása...
- Injetando Morfina ...
- Inietto la morfina ...
-
-
- Injecting Epinephrine ...
- Epinephrin injizieren ...
- Inyectando Epinefrina ...
- Wstrzykiwanie adrenaliny ...
- Aplikuju Adrenalin ...
- Введение андреналина
- Injection d'Adrénaline ...
- Adrenalin beadása...
- Injetando Epinefrina ...
- Inietto l'epinefrina ...
-
-
- Injecting Atropine ...
- Atropin injizieren ...
-
-
- Transfusing Blood ...
- Bluttransfusion ...
- Realizando transfusión ...
- Przetaczanie krwi ...
- Probíhá transfúze krve ...
- Переливание крови...
- Transfusion Sanguine ...
- Infúzió...
- Transfundindo Sangue ...
- Effettuo la trasfusione ...
-
-
- Transfusing Saline ...
- Sallösungtransfusion ...
-
-
- Transfusing Plasma ...
- Plasmatransfusion ...
-
-
- Bandaging ...
- Verbinden ...
- Vendando ...
- Bandażowanie ...
- Obvazuji ...
- Pansement ...
- Sto applicando la benda ...
- Bekötözés...
- Atando ...
- Перевязывание....
-
-
- Applying Tourniquet ...
- Aderpresse ...
-
-
- Medical
- Zdravotní
- Médical
- Sanitäter
- Medico
- Medyczne
- Médico
- Медик
- Médico
-
-
- Field Dressing
-
-
- Packing Bandage
-
-
- Elastic Bandage
-
-
- QuikClot
-
-
- Check Pulse
- Puls überprüfen
-
-
- Check Blood Pressure
- Blutdruck messen
-
-
- Triage Card
- Triage Karte
-
-
- Tourniquet
- Tourniquet
-
-
- Remove Tourniquet
- Entferne Tourniquet
-
-
- Give Blood IV (1000ml)
-
-
- Give Blood IV (500ml)
-
-
- Give Blood IV (250ml)
-
-
- Give Plasma IV (1000ml)
-
-
- Give Plasma IV (500ml)
-
-
- Give Plasma IV (250ml)
-
-
- Give Saline IV (1000ml)
-
-
- Give Saline IV (500ml)
-
-
- Give Saline IV (250ml)
-
-
- Minor
- Gering
-
-
- Delayed
-
-
- Immediate
-
-
- Deceased
-
-
- None
-
-
- Normal breathing
- Дыхание в норме
- Respiración normal
- Respiration Normale
- Normalny oddech
-
-
- No breathing
- Дыхания нет
- No respira
- Apnée
- Brak oddechu
-
-
- Difficult breathing
- Дыхание затруднено
- Dificultad para respirar
- Difficultée Respiratoire
- Trudności z oddychaniem
-
-
- Almost no breathing
- Дыхания почти нет
- Casi sin respirar
- Respiration Faible
- Prawie brak oddechu
-
-
- Bleeding
- Кровотечение
- Sangrando
- Seignement
- Krwawienie zewnętrzne
-
-
- In Pain
- Испытывает боль
- Con Dolor
- A De La Douleur
- W bólu
-
-
- Lost a lot of Blood
- Большая кровопотеря
- Mucha Sangre perdida
- A Perdu Bcp de Sang
- Stracił dużo krwi
-
-
- Tourniquet [CAT]
- Жгут
- Torniquete [CAT]
- Garot [CAT]
- Opaska uciskowa [CAT]
-
-
- Receiving IV [%1ml]
-
-
-
- Bandage (Basic)
- Повязка (обычная)
- Vendaje (Básico)
- Bandage (Standard)
- Bandaż (jałowy)
-
-
- Used to cover a wound
- Для перевязки ран
- Utilizado para cubrir una herida
- Utilisé Pour Couvrir Une Blessure
- Używany w celu przykrycia i ochrony miejsca zranienia
-
-
- A dressing, that is a particular material used to cover a wound, which is applied over the wound
+
+
+ Inject Atropine
+ Atropin
+ Ввести атропин
+
+
+ Inject Epinephrine
+ Epinephrine injizieren
+ Inyectar Epinefrina
+ Wtrzyknij adrenalinę
+ Aplikovat Adrenalin
+ Ввести андреналил
+ Adrénaline
+ Adrenalin
+ Injetar Epinefrina
+ Inietta Epinefrina
+
+
+ Inject Morphine
+ Morphin injizieren
+ Inyectar Morfina
+ Wstrzyknij morfinę
+ Aplikovat Morfin
+ Ввести морфин
+ Morphine
+ Morfium
+ Injetar Morfina
+ Inietta Morfina
+
+
+ Transfuse Blood
+ Bluttransfusion
+ Transfundir sangre
+ Przetocz krew
+ Transfúze krve
+ Перелить кровь
+ Transfusion
+ Infúzió
+ Transfundir Sangue
+ Effettua Trasfusione
+
+
+ Transfuse Plasma
+ Plasmatransfusion
+ Перелить плазму
+
+
+ Transfuse Saline
+ Salzlösungtransfusion
+ Влить физраствор
+
+
+ Apply Tourniquet
+ Aderpresse anwenden
+ Наложить жгут
+
+
+ Bandage
+ Verbinden
+ Venda
+ Bandaż
+ Obvázat
+ Pansement
+ Benda
+ Kötözés
+ Atadura
+ Перевязать
+
+
+ Bandage Head
+ Kopf verbinden
+ Vendar la cabeza
+ Bandażuj głowę
+ Obvázat hlavu
+ Перевязать голову
+ Pansement Tête
+ Fej kötözése
+ Atar Cabeça
+ Benda la testa
+
+
+ Bandage Torso
+ Torso verbinden
+ Vendar el torso
+ Bandażuj tors
+ Obvázat hruď
+ Перевязать торс
+ Pansement Torse
+ Felsőtest kötözése
+ Atar Tronco
+ Benda il torso
+
+
+ Bandage Left Arm
+ Arm links verbinden
+ Vendar el brazo izquierdo
+ Bandażuj lewe ramię
+ Obvázat levou ruku
+ Перевязать левую руку
+ Pansement Bras Gauche
+ Bal kar kötözése
+ Atar Braço Esquerdo
+ Benda il braccio sinistro
+
+
+ Bandage Right Arm
+ Arm rechts verbinden
+ Vendar el brazo derecho
+ Bandażuj prawe ramię
+ Obvázat pravou ruku
+ Перевязать правую руку
+ Pansement Bras Droit
+ Jobb kar kötözése
+ Atar Braço Direito
+ Benda il braccio destro
+
+
+ Bandage Left Leg
+ Bein links verbinden
+ Vendar la pierna izquierda
+ Bandażuj lewą nogę
+ Obvázat levou nohu
+ Перевязать левую ногу
+ Pansement Jambe Gauche
+ Bal láb kötözése
+ Atar Perna Esquerda
+ Benda la gamba sinistra
+
+
+ Bandage Right Leg
+ Bein rechts verbinden
+ Vendar la pierna derecha
+ Bandażuj prawą nogę
+ Obvázat pravou nohu
+ Перевязать правую ногу
+ Pansement Jambe Droite
+ Jobb láb kötözése
+ Atar Perna Direita
+ Benda la gamba destra
+
+
+ Injecting Morphine ...
+ Morphin injizieren ...
+ Inyectando Morfina ...
+ Wstrzykiwanie morfiny ...
+ Aplikuju Morfin ...
+ Введение морфина...
+ Injection de Morphine...
+ Morfium beadása...
+ Injetando Morfina ...
+ Inietto la morfina ...
+
+
+ Injecting Epinephrine ...
+ Epinephrin injizieren ...
+ Inyectando Epinefrina ...
+ Wstrzykiwanie adrenaliny ...
+ Aplikuju Adrenalin ...
+ Введение андреналина ...
+ Injection d'Adrénaline ...
+ Adrenalin beadása...
+ Injetando Epinefrina ...
+ Inietto l'epinefrina ...
+
+
+ Injecting Atropine ...
+ Atropin injizieren ...
+ Введение атропина ...
+
+
+ Transfusing Blood ...
+ Bluttransfusion ...
+ Realizando transfusión ...
+ Przetaczanie krwi ...
+ Probíhá transfúze krve ...
+ Переливание крови...
+ Transfusion Sanguine ...
+ Infúzió...
+ Transfundindo Sangue ...
+ Effettuo la trasfusione ...
+
+
+ Transfusing Saline ...
+ Sallösungtransfusion ...
+ Вливание физраствора ...
+
+
+ Transfusing Plasma ...
+ Plasmatransfusion ...
+ Переливание плзмы ...
+
+
+ Bandaging ...
+ Verbinden ...
+ Vendando ...
+ Bandażowanie ...
+ Obvazuji ...
+ Pansement ...
+ Sto applicando la benda ...
+ Bekötözés...
+ Atando ...
+ Перевязывание ...
+
+
+ Applying Tourniquet ...
+ Aderpresse ...
+ Наложение жгута ...
+
+
+ Medical
+ Zdravotní
+ Médical
+ Sanitäter
+ Medico
+ Medyczne
+ Médico
+ Медик
+ Médico
+
+
+ Field Dressing
+
+
+ Packing Bandage
+
+
+ Elastic Bandage
+
+
+ QuikClot
+
+
+ Check Pulse
+ Puls überprüfen
+
+
+ Check Blood Pressure
+ Blutdruck messen
+
+
+ Triage Card
+ Triage Karte
+
+
+ Tourniquet
+ Tourniquet
+
+
+ Remove Tourniquet
+ Entferne Tourniquet
+
+
+ Give Blood IV (1000ml)
+
+
+ Give Blood IV (500ml)
+
+
+ Give Blood IV (250ml)
+
+
+ Give Plasma IV (1000ml)
+
+
+ Give Plasma IV (500ml)
+
+
+ Give Plasma IV (250ml)
+
+
+ Give Saline IV (1000ml)
+
+
+ Give Saline IV (500ml)
+
+
+ Give Saline IV (250ml)
+
+
+ Minor
+ Gering
+ Незначительные травмы
+
+
+ Delayed
+ Груз 300
+
+
+ Immediate
+ Помощь отложена
+
+
+ Deceased
+ Груз 200
+
+
+ None
+ Нет
+
+
+ Normal breathing
+ Дыхание в норме
+ Respiración normal
+ Respiration Normale
+ Normalny oddech
+
+
+ No breathing
+ Дыхания нет
+ No respira
+ Apnée
+ Brak oddechu
+
+
+ Difficult breathing
+ Дыхание затруднено
+ Dificultad para respirar
+ Difficultée Respiratoire
+ Trudności z oddychaniem
+
+
+ Almost no breathing
+ Дыхания почти нет
+ Casi sin respirar
+ Respiration Faible
+ Prawie brak oddechu
+
+
+ Bleeding
+ Кровотечение
+ Sangrando
+ Seignement
+ Krwawienie zewnętrzne
+
+
+ In Pain
+ Испытывает боль
+ Con Dolor
+ A De La Douleur
+ W bólu
+
+
+ Lost a lot of Blood
+ Большая кровопотеря
+ Mucha Sangre perdida
+ A Perdu Bcp de Sang
+ Stracił dużo krwi
+
+
+ Tourniquet [CAT]
+ Жгут
+ Torniquete [CAT]
+ Garot [CAT]
+ Opaska uciskowa [CAT]
+
+
+ Receiving IV [%1ml]
+
+
+ Bandage (Basic)
+ Повязка (обычная)
+ Vendaje (Básico)
+ Bandage (Standard)
+ Bandaż (jałowy)
+
+
+ Used to cover a wound
+ Для перевязки ран
+ Utilizado para cubrir una herida
+ Utilisé Pour Couvrir Une Blessure
+ Używany w celu przykrycia i ochrony miejsca zranienia
+
+
+ A dressing, that is a particular material used to cover a wound, which is applied over the wound
once bleeding has been stemmed.
- Повязка, накладываемая поверх раны после остановки кровотечения.
- Un apósito, material específico utilizado para cubrir una herida, se aplica sobre la herida una vez
+ Повязка, накладываемая поверх раны после остановки кровотечения.
+ Un apósito, material específico utilizado para cubrir una herida, se aplica sobre la herida una vez
ha dejado de sangrar.
- C'est un bandage, qui est fait d'un matériel spécial utiliser pour couvrir une blessure, qui peut
+ C'est un bandage, qui est fait d'un matériel spécial utiliser pour couvrir une blessure, qui peut
etre appliquer des que le seignement as ete stopper.
- Opatrunek materiałowy, używany do przykrywania ran, zakładany na ranę po zatamowaniu krwawienia.
+ Opatrunek materiałowy, używany do przykrywania ran, zakładany na ranę po zatamowaniu krwawienia.
-
-
- Packing Bandage
- Тампонирующая повязка
- Vendaje Compresivo
- Bandage Mèche
- Bandaż (uciskowy)
-
-
- Used to pack medium to large wounds and stem the bleeding
- Для тампонирования ран среднего и большого размера и остановки кровотечения.
- Se utiliza para vendar heridas medianas y grandes y detener el sangrado
- Utiliser pour remplire la cavité créé dans une blessure moyenne et grande.
- Używany w celu opatrywania średnich i dużych ran oraz tamowania krwawienia.
-
-
- A bandage used to pack the wound to stem bleeding and facilitate wound healing. Packing a wound is
+
+
+ Packing Bandage
+ Тампонирующая повязка
+ Vendaje Compresivo
+ Bandage Mèche
+ Bandaż (uciskowy)
+
+
+ Used to pack medium to large wounds and stem the bleeding
+ Для тампонирования ран среднего и большого размера и остановки кровотечения.
+ Se utiliza para vendar heridas medianas y grandes y detener el sangrado
+ Utiliser pour remplire la cavité créé dans une blessure moyenne et grande.
+ Używany w celu opatrywania średnich i dużych ran oraz tamowania krwawienia.
+
+
+ A bandage used to pack the wound to stem bleeding and facilitate wound healing. Packing a wound is
an option in large polytrauma injuries.
- Повязка для тампонирования раны, остановки кровотечения и лучшего заживления. При тяжелых
+ Повязка для тампонирования раны, остановки кровотечения и лучшего заживления. При тяжелых
сочетанных ранениях возможно тампонирование раны.
- Se utiliza para detener la hemorragia de una herida y favorecer su cicatrización. Se usa en grandes
+ Se utiliza para detener la hemorragia de una herida y favorecer su cicatrización. Se usa en grandes
lesiones o politraumatismos.
- Un bandage servent a etre inseré dans les blessure pour éponger le seignement et faciliter la
+ Un bandage servent a etre inseré dans les blessure pour éponger le seignement et faciliter la
guerrison. Ce bandage est une option pour soigner les lession de politrauma.
- Opatrunek stosowany w celu zatrzymania krwawienia i osłony większych ran.
-
-
- Bandage (Elastic)
- Повязка (давящая)
- Vendaje (Elástico)
- Bandage (Élastique)
- Bandaż (elastyczny)
-
-
- Bandage kit, Elastic
- Давящая повязка
- Vendaje (Elástico)
- Bandage Compressif Élastique
- Zestaw bandaży elastycznych.
-
-
-
-
- Ce bandage peut etre utiliser pour compresser la plaie afin de ralentire le seignement et assurer la
+ Opatrunek stosowany w celu zatrzymania krwawienia i osłony większych ran.
+
+
+ Bandage (Elastic)
+ Повязка (давящая)
+ Vendaje (Elástico)
+ Bandage (Élastique)
+ Bandaż (elastyczny)
+
+
+ Bandage kit, Elastic
+ Давящая повязка
+ Vendaje (Elástico)
+ Bandage Compressif Élastique
+ Zestaw bandaży elastycznych.
+
+
+
+
+ Ce bandage peut etre utiliser pour compresser la plaie afin de ralentire le seignement et assurer la
tenue du bandage lors de mouvment.
- Elastyczna opaska podtrzymująca opatrunek oraz usztywniająca okolice stawów.
- Brinda una compresión uniforme y ofrece soporte extra a una zona lesionada
-
-
- Tourniquet (CAT)
- Жгут
- Torniquete (CAT)
- Garot (CAT)
- Staza (typ. CAT)
-
-
- Slows down blood loss when bleeding
- Уменьшает кровопотерю при кровотечении.
- Reduce la velocidad de pérdida de sangre
- Ralentit le seignement
- Zmniejsza ubytek krwi z kończyn w przypadku krwawienia.
-
-
- A constricting device used to compress venous and arterial circulation in effect inhibiting or
+ Elastyczna opaska podtrzymująca opatrunek oraz usztywniająca okolice stawów.
+ Brinda una compresión uniforme y ofrece soporte extra a una zona lesionada
+
+
+ Tourniquet (CAT)
+ Жгут
+ Torniquete (CAT)
+ Garot (CAT)
+ Staza (typ. CAT)
+
+
+ Slows down blood loss when bleeding
+ Уменьшает кровопотерю при кровотечении.
+ Reduce la velocidad de pérdida de sangre
+ Ralentit le seignement
+ Zmniejsza ubytek krwi z kończyn w przypadku krwawienia.
+
+
+ A constricting device used to compress venous and arterial circulation in effect inhibiting or
slowing blood flow and therefore decreasing loss of blood.
- Жгут используется для прижатия сосудов, приводящего к остановке или значительному уменьшению
+ Жгут используется для прижатия сосудов, приводящего к остановке или значительному уменьшению
кровотечения и сокращению кровопотери.
- Dispositivo utilizado para eliminar el pulso distal y de ese modo controlar la pérdida de sangre
+ Dispositivo utilizado para eliminar el pulso distal y de ese modo controlar la pérdida de sangre
- Un appareil servent a compresser les artères et veines afin de reduire la perte de sang.
- Opaska zaciskowa CAT służy do tamowanie krwotoków w sytuacji zranienia kończyn z masywnym
+ Un appareil servent a compresser les artères et veines afin de reduire la perte de sang.
+ Opaska zaciskowa CAT służy do tamowanie krwotoków w sytuacji zranienia kończyn z masywnym
krwawieniem tętniczym lub żylnym.
-
-
- Morphine autoinjector
- Морфин в автоматическом шприце
- Morfina auto-inyectable
- Auto-injecteur de Morphine
- Autostrzykawka z morfiną
-
-
- Used to combat moderate to severe pain experiences
- Для снятия средних и сильных болевых ощущений.
- Usado para combatir los estados dolorosos moderados a severos
- Utiliser pour contrer les douleurs modéré à severes.
- Morfina. Ma silne działanie przeciwbólowe.
-
-
- An analgesic used to combat moderate to severe pain experiences.
- Анальгетик для снятия средних и сильных болевых ощущений.
- Analgésico usado para combatir los estados dolorosos de moderado a severo.
- Un Analgésique puissant servant a contrer les douleur modéré a severe.
- Organiczny związek chemiczny z grupy alkaloidów. Ma silne działanie przeciwbólowe.
-
-
- Atropin autoinjector
- Атропин в автоматическом шприце
- Atropina auto-inyectable
- Auto-injecteur d'Atropine
- Autostrzykawka AtroPen
-
-
- Used in NBC scenarios
- Применяется для защиты от ОМП
- Usado en escenarios NBQ
- Utiliser en cas d'attaque CBRN
- Atropina. Stosowana jako lek rozkurczowy i środek rozszerzający źrenice.
-
-
- A drug used by the Military in NBC scenarios.
- Препарат, используемый в войсках для защиты от оружия массового поражения.
- Medicamento usado por Militares en escenarios NBQ
- Médicament utilisé par l'armée en cas d'attaque CBRN
- Atropina. Stosowana jako lek rozkurczowy i środek rozszerzający źrenice. Środek stosowany w
+
+
+ Morphine autoinjector
+ Морфин в пневмошприце
+ Morfina auto-inyectable
+ Auto-injecteur de Morphine
+ Autostrzykawka z morfiną
+
+
+ Used to combat moderate to severe pain experiences
+ Для снятия средних и сильных болевых ощущений.
+ Usado para combatir los estados dolorosos moderados a severos
+ Utiliser pour contrer les douleurs modéré à severes.
+ Morfina. Ma silne działanie przeciwbólowe.
+
+
+ An analgesic used to combat moderate to severe pain experiences.
+ Анальгетик для снятия средних и сильных болевых ощущений.
+ Analgésico usado para combatir los estados dolorosos de moderado a severo.
+ Un Analgésique puissant servant a contrer les douleur modéré a severe.
+ Organiczny związek chemiczny z grupy alkaloidów. Ma silne działanie przeciwbólowe.
+
+
+ Atropin autoinjector
+ Атропин в пневмошприце
+ Atropina auto-inyectable
+ Auto-injecteur d'Atropine
+ Autostrzykawka AtroPen
+
+
+ Used in NBC scenarios
+ Применяется для защиты от ОМП
+ Usado en escenarios NBQ
+ Utiliser en cas d'attaque CBRN
+ Atropina. Stosowana jako lek rozkurczowy i środek rozszerzający źrenice.
+
+
+ A drug used by the Military in NBC scenarios.
+ Препарат, используемый в войсках для защиты от оружия массового поражения.
+ Medicamento usado por Militares en escenarios NBQ
+ Médicament utilisé par l'armée en cas d'attaque CBRN
+ Atropina. Stosowana jako lek rozkurczowy i środek rozszerzający źrenice. Środek stosowany w
przypadku zagrożeń NBC.
-
-
- Epinephrine autoinjector
- Адреналин в автоматическом шприце
- Epinefrina auto-inyectable
- Auto-injecteur d'épinéphrine
- Autostrzykawka EpiPen
-
-
- Increase heart rate and counter effects given by allergic reactions
- Стимулирует работу сердца и купирует аллергические реакции.
- Aumenta la frecuencia cardiaca y contraresta los efectos de las reacciones alérgicas
- Augmente la Fréquance cadiaque et contré les effet d'une reaction Anaphylactique
- Adrenalina. Zwiększa puls i przeciwdziała efektom wywołanym przez reakcje alergiczne
-
-
- A drug that works on a sympathetic response to dilate the bronchi, increase heart rate and counter
+
+
+ Epinephrine autoinjector
+ Адреналин в пневмошприце
+ Epinefrina auto-inyectable
+ Auto-injecteur d'épinéphrine
+ Autostrzykawka EpiPen
+
+
+ Increase heart rate and counter effects given by allergic reactions
+ Стимулирует работу сердца и купирует аллергические реакции.
+ Aumenta la frecuencia cardiaca y contraresta los efectos de las reacciones alérgicas
+ Augmente la Fréquance cadiaque et contré les effet d'une reaction Anaphylactique
+ Adrenalina. Zwiększa puls i przeciwdziała efektom wywołanym przez reakcje alergiczne
+
+
+ A drug that works on a sympathetic response to dilate the bronchi, increase heart rate and counter
such effects given by allergic reactions (anaphylaxis). Used in sudden cardiac arrest scenarios with
decreasing positive outcomes.
- Препарат, вызывающий симпатическую реакцию, приводящую к расширению бронхов, увеличению частоты
+ Препарат, вызывающий симпатическую реакцию, приводящую к расширению бронхов, увеличению частоты
сердечных сокращений и купированию аллергических реакций (анафилактического шока). Применяется при
остановке сердца с уменьшением вероятности благоприятного исхода.
- Medicamento que dilata los bronquios, aumenta la frecuencia cardiaca y contrarresta los efectos de
+ Medicamento que dilata los bronquios, aumenta la frecuencia cardiaca y contrarresta los efectos de
las reacciones alérgicas (anafilaxis). Se utiliza en caso de paros cardiacos repentinos.
- Un medicament qui fonctione sur le systeme sympatique créan une dilatation des bronches, augmente la
+ Un medicament qui fonctione sur le systeme sympatique créan une dilatation des bronches, augmente la
fréquance cardiaque et contre les effet d'une reaction alergique (anaphylaxie). Utiliser lors d'arret
cardio-respiratoire pour augmenté les chances retrouver un ryhtme.
- EpiPen z adrenaliną ma działanie sympatykomimetyczne, tj. pobudza receptory alfa- i
+ EpiPen z adrenaliną ma działanie sympatykomimetyczne, tj. pobudza receptory alfa- i
beta-adrenergiczne. Pobudzenie układu współczulnego prowadzi do zwiększenia częstotliwości pracy serca,
zwiększenia pojemności wyrzutowej serca i przyśpieszenia krążenia wieńcowego. Pobudzenie oskrzelowych
receptorów beta-adrenergicznych wywołuje rozkurcz mięśni gładkich oskrzeli, co w efekcie zmniejsza
towarzyszące oddychaniu świsty i duszności.
-
-
- Plasma IV (1000ml)
- Плазма для в/в вливания (1000 мл)
- Plasma Intravenoso (1000ml)
- Plasma Sanguin IV (1000ml)
- Osocze IV (1000ml)
-
-
- A volume-expanding blood supplement.
- Дополнительный препарат, применяемый при возмещении объема крови.
- Suplemento para expandir el volumen sanguíneo.
- Supplement visant a remplacer les volume sanguin
- Składnik krwi, używany do zwiększenia jej objętości.
-
-
- A volume-expanding blood supplement.
- Дополнительный препарат, применяемый при возмещении объема крови.
- Suplemento para expandir el volumen sanguíneo.
- Supplement visant a remplacer le volume sanguin et remplace les plaquettes.
- Składnik krwi, używany do zwiększenia jej objętości.
-
-
- Plasma IV (500ml)
- Плазма для в/в вливания (500 мл)
- Plasma Intravenoso (500ml)
- Plasma Sanguin IV (500ml)
- Osocze IV (500ml)
-
-
- Plasma IV (250ml)
- Плазма для в/в вливания (250 мл)
- Plasma Intravenoso (250ml)
- Plasma Sanguin (250ml)
- Osocze IV (250ml)
-
-
- Blood IV (1000ml)
- Кровь для переливания (1000 мл)
- Sangre Intravenosa (1000ml)
- Cullot Sanguin IV (1000ml)
- Krew IV (1000ml)
-
-
- Blood IV, for restoring a patients blood (keep cold)
- Пакет крови для возмещения объема потерянной крови (хранить в холодильнике)
- Sangre Intravenosa, para restarurar el volumen sanguíneo (mantener frío)
- Cullot Sanguin IV, pour remplacer le volume sanguin (garder Réfrigeré)
- Krew IV, używana do uzupełnienia krwi u pacjenta, trzymać w warunkach chłodniczych
-
-
- O Negative infusion blood used in strict and rare events to replenish blood supply usually
+
+
+ Plasma IV (1000ml)
+ Плазма для в/в вливания (1000 мл)
+ Plasma Intravenoso (1000ml)
+ Plasma Sanguin IV (1000ml)
+ Osocze IV (1000ml)
+
+
+ A volume-expanding blood supplement.
+ Дополнительный препарат, применяемый при возмещении объема крови.
+ Suplemento para expandir el volumen sanguíneo.
+ Supplement visant a remplacer les volume sanguin
+ Składnik krwi, używany do zwiększenia jej objętości.
+
+
+ A volume-expanding blood supplement.
+ Дополнительный препарат, применяемый при возмещении объема крови.
+ Suplemento para expandir el volumen sanguíneo.
+ Supplement visant a remplacer le volume sanguin et remplace les plaquettes.
+ Składnik krwi, używany do zwiększenia jej objętości.
+
+
+ Plasma IV (500ml)
+ Плазма для в/в вливания (500 мл)
+ Plasma Intravenoso (500ml)
+ Plasma Sanguin IV (500ml)
+ Osocze IV (500ml)
+
+
+ Plasma IV (250ml)
+ Плазма для в/в вливания (250 мл)
+ Plasma Intravenoso (250ml)
+ Plasma Sanguin (250ml)
+ Osocze IV (250ml)
+
+
+ Blood IV (1000ml)
+ Кровь для переливания (1000 мл)
+ Sangre Intravenosa (1000ml)
+ Cullot Sanguin IV (1000ml)
+ Krew IV (1000ml)
+
+
+ Blood IV, for restoring a patients blood (keep cold)
+ Пакет крови для возмещения объема потерянной крови (хранить в холодильнике)
+ Sangre Intravenosa, para restarurar el volumen sanguíneo (mantener frío)
+ Cullot Sanguin IV, pour remplacer le volume sanguin (garder Réfrigeré)
+ Krew IV, używana do uzupełnienia krwi u pacjenta, trzymać w warunkach chłodniczych
+
+
+ O Negative infusion blood used in strict and rare events to replenish blood supply usually
conducted in the transport phase of medical care.
- Кровь I группы, резус-отрицательная, применяется по жизненным показаниям для возмещения объема
+ Кровь I группы, резус-отрицательная, применяется по жизненным показаниям для возмещения объема
потерянной крови на догоспитальном этапе оказания медицинской помощи.
- Cullot Sanguin O- ,utiliser seulement lors de perte sanguine majeur afin de remplacer le volume
+ Cullot Sanguin O- ,utiliser seulement lors de perte sanguine majeur afin de remplacer le volume
sanguin perdu. Habituelment utiliser lors du transport ou dans un etablisement de soin.
- Krew 0 Rh-, używana w rzadkich i szczególnych przypadkach do uzupełnienia krwi u pacjenta, zazwyczaj
+ Krew 0 Rh-, używana w rzadkich i szczególnych przypadkach do uzupełnienia krwi u pacjenta, zazwyczaj
w trakcie fazie transportu rannej osoby do szpitala.
- Utilice sólo durante gran pérdida de sangre para reemplazar el volumen de sangre perdido. Uso
+ Utilice sólo durante gran pérdida de sangre para reemplazar el volumen de sangre perdido. Uso
habitual durante el transporte de heridos.
-
-
- Blood IV (500ml)
- Кровь для переливания (500 мл)
- Sangre Intravenosa (500ml)
- Cullot Sanguin IV (500ml)
- Krew IV (500ml)
-
-
- Blood IV (250ml)
- Кровь для переливания (250 мл)
- Sangre Intravenosa (250ml)
- Cullot Sanguin IV (250ml)
- Krew IV (250ml)
-
-
- Saline IV (1000ml)
- Физраствор для в/в вливания (1000 мл)
- Solución Salina Intravenosa (1000ml)
- solution Saline 0.9% IV (1000ml)
- Solanka 0,9% IV (1000ml)
-
-
- Saline IV, for restoring a patients blood
- Пакет физраствора для возмещения объема потерянной крови
- Solución Salina Intravenosa, para restaurar el volumen sanguíneo
- Solution Saline 0.9% IV, pour retablir temporairement la tention arteriel
- Solanka 0,9%, podawana dożylnie (IV), używana w celu uzupełnienia krwi u pacjenta
-
-
- A medical volume-replenishing agent introduced into the blood system through an IV infusion.
+
+
+ Blood IV (500ml)
+ Кровь для переливания (500 мл)
+ Sangre Intravenosa (500ml)
+ Cullot Sanguin IV (500ml)
+ Krew IV (500ml)
+
+
+ Blood IV (250ml)
+ Кровь для переливания (250 мл)
+ Sangre Intravenosa (250ml)
+ Cullot Sanguin IV (250ml)
+ Krew IV (250ml)
+
+
+ Saline IV (1000ml)
+ Физраствор для в/в вливания (1000 мл)
+ Solución Salina Intravenosa (1000ml)
+ solution Saline 0.9% IV (1000ml)
+ Solanka 0,9% IV (1000ml)
+
+
+ Saline IV, for restoring a patients blood
+ Пакет физраствора для возмещения объема потерянной крови
+ Solución Salina Intravenosa, para restaurar el volumen sanguíneo
+ Solution Saline 0.9% IV, pour retablir temporairement la tention arteriel
+ Solanka 0,9%, podawana dożylnie (IV), używana w celu uzupełnienia krwi u pacjenta
+
+
+ A medical volume-replenishing agent introduced into the blood system through an IV infusion.
- Пакет физиологического раствора для возмещения объема потерянной крови путем внутривенного
+ Пакет физиологического раствора для возмещения объема потерянной крови путем внутривенного
вливания.
- Suero fisiológico inoculado al torrente sanguíneo de forma intravenosa.
- Un remplacment temporaire pour rétablir la tention artériel lors de perte sanguine, étant ajouter
+ Suero fisiológico inoculado al torrente sanguíneo de forma intravenosa.
+ Un remplacment temporaire pour rétablir la tention artériel lors de perte sanguine, étant ajouter
par intraveineuse
- Używany w medycynie w formie płynu infuzyjnego jako środek nawadniający i uzupełniający niedobór
+ Używany w medycynie w formie płynu infuzyjnego jako środek nawadniający i uzupełniający niedobór
elektrolitów, podawany dożylnie (IV).
-
-
- Saline IV (500ml)
- Физраствор для в/в вливания (500 мл)
- Solución Salina Intravenosa (500ml)
- Solution Saline 0.9% IV (500ml)
- Solanka 0,9% IV (500ml)
-
-
- Saline IV (250ml)
- Физраствор для в/в вливания (250 мл)
- Solución Salina Intravenosa (250ml)
- Solution Saline 0.9% IV (250ml)
- Solanka 0,9% IV (250ml)
-
-
- Basic Field Dressing (QuikClot)
- Первичный перевязочный пакет (QuikClot)
- Vendaje Básico (Coagulante)
- Bandage Regulier (Coagulant)
- Opatrunek QuikClot
-
-
- QuikClot bandage
- Гемостатический пакет QuikClot
- Venda Coagulante
- Bandage coagulant
- Podstawowy opatrunek stosowany na rany
-
-
-
-
- Un bandage servant a coaguler les seignements mineur à moyen.
- Proszkowy opatrunek adsorbcyjny przeznaczony do tamowania zagrażających życiu krwawień średniej i
+
+
+ Saline IV (500ml)
+ Физраствор для в/в вливания (500 мл)
+ Solución Salina Intravenosa (500ml)
+ Solution Saline 0.9% IV (500ml)
+ Solanka 0,9% IV (500ml)
+
+
+ Saline IV (250ml)
+ Физраствор для в/в вливания (250 мл)
+ Solución Salina Intravenosa (250ml)
+ Solution Saline 0.9% IV (250ml)
+ Solanka 0,9% IV (250ml)
+
+
+ Basic Field Dressing (QuikClot)
+ Первичный перевязочный пакет (QuikClot)
+ Vendaje Básico (Coagulante)
+ Bandage Regulier (Coagulant)
+ Opatrunek QuikClot
+
+
+ QuikClot bandage
+ Гемостатический пакет QuikClot
+ Venda Coagulante
+ Bandage coagulant
+ Podstawowy opatrunek stosowany na rany
+
+
+
+
+ Un bandage servant a coaguler les seignements mineur à moyen.
+ Proszkowy opatrunek adsorbcyjny przeznaczony do tamowania zagrażających życiu krwawień średniej i
dużej intensywności.
- Vendaje Hemostático con coagulante que detiene el sangrado.
-
-
- Personal Aid Kit
- Аптечка
- Kit de Soporte Vital Avanzado
- Équipement de support Vitale
- Apteczka osobista
-
-
- Includes various treatment kit needed for stitching or advanced treatment
- Содержит различные материалы и инструменты для зашивания ран и оказания специальной медпомощи.
+ Vendaje Hemostático con coagulante que detiene el sangrado.
+
+
+ Personal Aid Kit
+ Аптечка
+ Kit de Soporte Vital Avanzado
+ Équipement de support Vitale
+ Apteczka osobista
+
+
+ Includes various treatment kit needed for stitching or advanced treatment
+ Содержит различные материалы и инструменты для зашивания ран и оказания специальной медпомощи.
- Incluye material médico para tratamientos avanzados
- Inclue du matériel medical pour les traitement avancé, tel les point de suture.
- Zestaw środków medycznych do opatrywania ran i dodatkowego leczenia po-urazowego
-
-
-
-
-
-
-
-
- Surgical Kit
- Хирургический набор
- Kit Quirúrgico
-
-
- Surgical Kit for in field advanced medical treatment
- Набор для хирургической помощи в полевых условиях
- Kit Quirúrgico para el tratamiento avanzado en el campo de batalla
-
-
- Surgical Kit for in field advanced medical treatment
- Набор для хирургической помощи в полевых условиях
- Kit Quirúrgico para el tratamiento avanzado en el campo de batalla
-
-
- Bodybag
- Мешок для трупов
- Bolsa para cadáveres
-
-
- A bodybag for dead bodies
- Мешок для упаковки трупов
- Bolsa para cadáveres
-
-
- A bodybag for dead bodies
- Мешок для упаковки трупов
- Bolsa para cadáveres
-
-
-
- Blood Pressure
- Артериальное давление
- Presión Arterial
-
-
- Checking Blood Pressure..
- Проверка артериального давления...
- Comprobando Presión Arterial...
-
-
- You checked %1
- Вы осмотрели раненого %1
- Examinando a %1
-
-
- You find a blood pressure of %2/%3
- Артериальное давление %2/%3
- La Presión Arterial es %2/%3
-
-
- You find a low blood pressure
- Давление низкое
- La Presión Arterial es baja
-
-
- You find a normal blood pressure
- Давление нормальное
- La Presión Arterial es normal
-
-
- You find a high blood pressure
- Давление высокое
- La Presión Arterial es alta
-
-
- You find no blood pressure
- Давления нет
- No hay Presión Arterial
-
-
- You fail to find a blood pressure
- Артериальное давление не определяется
- No puedes encontrar Presión Arterial
-
-
- Pulse
- Пульс
- Pulso
-
-
- Checking Heart Rate..
- Проверка пульса...
- Comprobando Pulso...
-
-
- You checked %1
- Вы осмотрели раненого %1
- Examinando a %1
-
-
- You find a Heart Rate of %2
- Пульс %2 уд./мин.
- El Pulso es %2
-
-
- You find a weak Heart Rate
- Пульс слабый
- El Pulso es débil
-
-
- You find a strong Heart Rate
- Пульс учащенный
- El Pulso está acelerado
-
-
- You find a normal Heart Rate
- Пульс в норме
- El Pulso es bueno
-
-
- You find no Heart Rate
- Пульс не прощупывается
- No tiene Pulso
-
-
- Response
- Реакция
- Reacciona
-
-
- You check response of patient
- Вы проверяете реакцию раненого
- Compruebas si el paciente reacciona
-
-
- %1 is responsive
- %1 реагирует на раздражители
- %1 ha reaccionado
-
-
- %1 is not responsive
- %1 не реагирует
- %1 no reacciona
-
-
- You checked %1
- Вы осмотрели раненого %1
- Examinas a %1
-
-
- Bandaged
- Повязка наложена
- Vendado
-
-
- You bandage %1 (%2)
- Вы перевязали раненого %1 (%2)
- Aplicas vendaje a %1 en %2
-
-
- %1 is bandaging you
- %1 перевязывает вас
- %1 te está vendando
-
-
- You start stitching injures from %1 (%2)
- Вы зашиваете ранения от %1 (%2)
- Estás suturando heridas de %1 en %2
-
-
- Stitching
- Наложение швов
- Suturando
-
-
- You treat the airway of %1
- Вы интубируете раненого %1
- Estás intubando a %1
-
-
- Airway
- Дыхательные пути
- Vías Aéreas
-
-
- %1 is treating your airway
- %1 проводит вам интубацию
- %1 te está intubando
-
-
- Drag
- Ziehen
- Arrastrar
- Ciągnij
- Táhnout
- Тащить
- Tracter
- Húzás
- Arrastar
- Trascina
-
-
- Carry
- Tragen
- Cargar
- Nieś
- Nést
- Нести
- Porter
- Cipelés
- Carregar
- Trasporta
-
-
- Release
- Loslassen
- Soltar
- Połóż
- Položit
- Отпустить
- Déposer
- Elenged
- Largar
- Lascia
-
-
- Load Patient Into
- Patient Einladen
- Cargar el paciente en
- Załaduj pacjenta
- Naložit pacianta do
- Погрузить пациента в
- Embarquer le Patient
- Sebesült berakása
- Carregar Paciente Em
- Carica paziente nel
-
-
- Unload Patient
- Patient Ausladen
- Descargar el paciente
- Wyładuj pacjenta
- Vyložit pacienta
- Выгрузить пациента
- Débarquer le Patient
- Sebesült kihúzása
- Descarregar Paciente
- Scarica il paziente
-
-
- Unload patient
-
-
- Load patient
-
-
- Place body in bodybag
-
-
- Placing body in bodybag
-
-
-
- %1 has bandaged patient
-
-
- %1 used %2
-
-
- %1 has given an IV
-
-
- %1 applied a tourniquet
-
-
-
-
+ Incluye material médico para tratamientos avanzados
+ Inclue du matériel medical pour les traitement avancé, tel les point de suture.
+ Zestaw środków medycznych do opatrywania ran i dodatkowego leczenia po-urazowego
+
+
+
+
+
+
+
+
+ Surgical Kit
+ Хирургический набор
+ Kit Quirúrgico
+
+
+ Surgical Kit for in field advanced medical treatment
+ Набор для хирургической помощи в полевых условиях
+ Kit Quirúrgico para el tratamiento avanzado en el campo de batalla
+
+
+ Surgical Kit for in field advanced medical treatment
+ Набор для хирургической помощи в полевых условиях
+ Kit Quirúrgico para el tratamiento avanzado en el campo de batalla
+
+
+ Bodybag
+ Мешок для трупов
+ Bolsa para cadáveres
+
+
+ A bodybag for dead bodies
+ Мешок для упаковки трупов
+ Bolsa para cadáveres
+
+
+ A bodybag for dead bodies
+ Мешок для упаковки трупов
+ Bolsa para cadáveres
+
+
+ Blood Pressure
+ Артериальное давление
+ Presión Arterial
+
+
+ Checking Blood Pressure..
+ Проверка артериального давления...
+ Comprobando Presión Arterial...
+
+
+ You checked %1
+ Вы осмотрели раненого %1
+ Examinando a %1
+
+
+ You find a blood pressure of %2/%3
+ Артериальное давление %2/%3
+ La Presión Arterial es %2/%3
+
+
+ You find a low blood pressure
+ Давление низкое
+ La Presión Arterial es baja
+
+
+ You find a normal blood pressure
+ Давление нормальное
+ La Presión Arterial es normal
+
+
+ You find a high blood pressure
+ Давление высокое
+ La Presión Arterial es alta
+
+
+ You find no blood pressure
+ Давления нет
+ No hay Presión Arterial
+
+
+ You fail to find a blood pressure
+ Артериальное давление не определяется
+ No puedes encontrar Presión Arterial
+
+
+ Pulse
+ Пульс
+ Pulso
+
+
+ Checking Heart Rate..
+ Проверка пульса...
+ Comprobando Pulso...
+
+
+ You checked %1
+ Вы осмотрели раненого %1
+ Examinando a %1
+
+
+ You find a Heart Rate of %2
+ Пульс %2 уд./мин.
+ El Pulso es %2
+
+
+ You find a weak Heart Rate
+ Пульс слабый
+ El Pulso es débil
+
+
+ You find a strong Heart Rate
+ Пульс учащенный
+ El Pulso está acelerado
+
+
+ You find a normal Heart Rate
+ Пульс в норме
+ El Pulso es bueno
+
+
+ You find no Heart Rate
+ Пульс не прощупывается
+ No tiene Pulso
+
+
+ Response
+ Реакция
+ Reacciona
+
+
+ You check response of patient
+ Вы проверяете реакцию раненого
+ Compruebas si el paciente reacciona
+
+
+ %1 is responsive
+ %1 реагирует на раздражители
+ %1 ha reaccionado
+
+
+ %1 is not responsive
+ %1 не реагирует
+ %1 no reacciona
+
+
+ You checked %1
+ Вы осмотрели раненого %1
+ Examinas a %1
+
+
+ Bandaged
+ Повязка наложена
+ Vendado
+
+
+ You bandage %1 (%2)
+ Вы перевязали раненого %1 (%2)
+ Aplicas vendaje a %1 en %2
+
+
+ %1 is bandaging you
+ %1 перевязывает вас
+ %1 te está vendando
+
+
+ You start stitching injures from %1 (%2)
+ Вы зашиваете ранения от %1 (%2)
+ Estás suturando heridas de %1 en %2
+
+
+ Stitching
+ Наложение швов
+ Suturando
+
+
+ You treat the airway of %1
+ Вы интубируете раненого %1
+ Estás intubando a %1
+
+
+ Airway
+ Дыхательные пути
+ Vías Aéreas
+
+
+ %1 is treating your airway
+ %1 проводит вам интубацию
+ %1 te está intubando
+
+
+ Drag
+ Ziehen
+ Arrastrar
+ Ciągnij
+ Táhnout
+ Тащить
+ Tracter
+ Húzás
+ Arrastar
+ Trascina
+
+
+ Carry
+ Tragen
+ Cargar
+ Nieś
+ Nést
+ Нести
+ Porter
+ Cipelés
+ Carregar
+ Trasporta
+
+
+ Release
+ Loslassen
+ Soltar
+ Połóż
+ Položit
+ Отпустить
+ Déposer
+ Elenged
+ Largar
+ Lascia
+
+
+ Load Patient Into
+ Patient Einladen
+ Cargar el paciente en
+ Załaduj pacjenta
+ Naložit pacianta do
+ Погрузить пациента в
+ Embarquer le Patient
+ Sebesült berakása
+ Carregar Paciente Em
+ Carica paziente nel
+
+
+ Unload Patient
+ Patient Ausladen
+ Descargar el paciente
+ Wyładuj pacjenta
+ Vyložit pacienta
+ Выгрузить пациента
+ Débarquer le Patient
+ Sebesült kihúzása
+ Descarregar Paciente
+ Scarica il paziente
+
+
+ Unload patient
+ Выгрузить пациента
+
+
+ Load patient
+ Погрузить пациента
+
+
+ Place body in bodybag
+ Поместить тело в мешок
+
+
+ Placing body in bodybag
+ Помещение тела в мешок ...
+
+
+ %1 has bandaged patient
+ %1 перевязал пациента
+
+
+ %1 used %2
+ %1 применил %2
+
+
+ %1 has given an IV
+ %1 провел переливание
+
+
+ %1 applied a tourniquet
+ %1 наложил жгут
+
+
+
\ No newline at end of file
diff --git a/addons/microdagr/stringtable.xml b/addons/microdagr/stringtable.xml
index 772a7a172f..823a7a7f8d 100644
--- a/addons/microdagr/stringtable.xml
+++ b/addons/microdagr/stringtable.xml
@@ -1,24 +1,30 @@
-
+
MicroDAGR GPS
+ MicroDAGR GPS
MicroDAGR advanced GPS receiver
+ Многофункциональный GPS-приёмник.
Angular Unit:
+ Угловые единицы:
Mils
+ Тысячные
Show Waypoints On Map:
+ Показывать маршрутные точки на карте:
Degrees
+ Градусы
On
@@ -44,43 +50,55 @@
Enter Grid Cords:
+ Введите координаты:
Name of [%1]
+ Название [%1]
MGRS-New
+ MGRS-Новая
WGD
+ WGD
Range:
Reichweite:
+ Дистанция:
Compass Direction
+ Азимут
SetWP
+ Установить МТ
Add
+ Добавить
Delete
@@ -95,15 +113,19 @@
Toggle MicroDAGR Display Mode
+ Сменить режим показа MicroDAGR
Show MicoDAGR
+ Показать MicroDAGR
Configure MicroDAGR
+ Настроить MicroDAGR
Close MicroDAGR
+ Закрыть MicroDAGR
\ No newline at end of file
diff --git a/addons/missileguidance/CfgAmmo.hpp b/addons/missileguidance/CfgAmmo.hpp
index df876ae2ae..01ab65c388 100644
--- a/addons/missileguidance/CfgAmmo.hpp
+++ b/addons/missileguidance/CfgAmmo.hpp
@@ -1,10 +1,10 @@
-class CfgAmmo {
- class MissileBase;
-
- class M_PG_AT : MissileBase {
- irLock = 0;
- laserLock = 0;
- airLock = 0;
- manualControl = 0;
- };
+class CfgAmmo {
+ class MissileBase;
+
+ class M_PG_AT : MissileBase {
+ irLock = 0;
+ laserLock = 0;
+ airLock = 0;
+ manualControl = 0;
+ };
};
\ No newline at end of file
diff --git a/addons/missileguidance/CfgEventhandlers.hpp b/addons/missileguidance/CfgEventhandlers.hpp
index 2775490d11..eac270c27d 100644
--- a/addons/missileguidance/CfgEventhandlers.hpp
+++ b/addons/missileguidance/CfgEventhandlers.hpp
@@ -1,17 +1,17 @@
-class Extended_PreInit_EventHandlers {
- class ADDON {
- init = QUOTE(call COMPILE_FILE(XEH_pre_init));
- };
-};
-
-class Extended_PostInit_EventHandlers {
- class ADDON {
- init = QUOTE(call COMPILE_FILE(XEH_post_init));
- };
-};
-
-class Extended_FiredBIS_EventHandlers {
- class AllVehicles {
- ADDON = QUOTE(_this call FUNC(fired));
- };
+class Extended_PreInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_pre_init));
+ };
+};
+
+class Extended_PostInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_post_init));
+ };
+};
+
+class Extended_FiredBIS_EventHandlers {
+ class AllVehicles {
+ ADDON = QUOTE(_this call FUNC(fired));
+ };
};
\ No newline at end of file
diff --git a/addons/missileguidance/CfgWeapons.hpp b/addons/missileguidance/CfgWeapons.hpp
index 739ef3c5e0..65e23facf0 100644
--- a/addons/missileguidance/CfgWeapons.hpp
+++ b/addons/missileguidance/CfgWeapons.hpp
@@ -1,34 +1,34 @@
-class Mode_SemiAuto;
-class CfgWeapons {
- class CannonCore;
- class LauncherCore;
-
- class RocketPods: LauncherCore {
- canLock = 1;
- };
- class missiles_DAGR: RocketPods {
- canLock = 1;
- };
- /*
- class autocannon_Base_F: CannonCore {
- canLock = 1;
- };
- class cannon_120mm: CannonCore {
- canLock = 1;
-
- class player : Mode_SemiAuto {
- canLock = 1;
- };
- };
- class gatling_25mm: CannonCore {
- canLock = 1;
- };
- class autocannon_35mm: CannonCore {
- canLock = 1;
- };
-
- class launch_NLAW_F: Launcher_Base_F
- {
- canLock = 1;
- };*/
+class Mode_SemiAuto;
+class CfgWeapons {
+ class CannonCore;
+ class LauncherCore;
+
+ class RocketPods: LauncherCore {
+ canLock = 1;
+ };
+ class missiles_DAGR: RocketPods {
+ canLock = 1;
+ };
+ /*
+ class autocannon_Base_F: CannonCore {
+ canLock = 1;
+ };
+ class cannon_120mm: CannonCore {
+ canLock = 1;
+
+ class player : Mode_SemiAuto {
+ canLock = 1;
+ };
+ };
+ class gatling_25mm: CannonCore {
+ canLock = 1;
+ };
+ class autocannon_35mm: CannonCore {
+ canLock = 1;
+ };
+
+ class launch_NLAW_F: Launcher_Base_F
+ {
+ canLock = 1;
+ };*/
};
\ No newline at end of file
diff --git a/addons/missileguidance/XEH_post_init.sqf b/addons/missileguidance/XEH_post_init.sqf
index 6904ee6c47..a4e4806591 100644
--- a/addons/missileguidance/XEH_post_init.sqf
+++ b/addons/missileguidance/XEH_post_init.sqf
@@ -1,3 +1,3 @@
-#include "script_component.hpp"
-NO_DEDICATED;
-
+#include "script_component.hpp"
+NO_DEDICATED;
+
diff --git a/addons/missileguidance/XEH_pre_init.sqf b/addons/missileguidance/XEH_pre_init.sqf
index 8aa557f838..cbdebddf12 100644
--- a/addons/missileguidance/XEH_pre_init.sqf
+++ b/addons/missileguidance/XEH_pre_init.sqf
@@ -1,14 +1,14 @@
-#include "script_component.hpp"
-
-PREP(rotateVectLineGetMap);
-PREP(rotateVectLine);
-
-PREP(translateToModelSpace);
-PREP(translateToWeaponSpace);
-
-PREP(fired);
-
-PREP(guidance_DAGR);
-PREP(guidance_LGB);
-PREP(guidance_HellfireII);
+#include "script_component.hpp"
+
+PREP(rotateVectLineGetMap);
+PREP(rotateVectLine);
+
+PREP(translateToModelSpace);
+PREP(translateToWeaponSpace);
+
+PREP(fired);
+
+PREP(guidance_DAGR);
+PREP(guidance_LGB);
+PREP(guidance_HellfireII);
FUNC(getPosASL) = {visiblePositionASL (_this select 0)};
\ No newline at end of file
diff --git a/addons/missileguidance/config.cpp b/addons/missileguidance/config.cpp
index 0341a56df6..4de2dd404d 100644
--- a/addons/missileguidance/config.cpp
+++ b/addons/missileguidance/config.cpp
@@ -1,15 +1,15 @@
-#include "script_component.hpp"
-
-class CfgPatches {
- class ADDON {
- units[] = {};
- weapons[] = {};
- requiredVersion = REQUIRED_VERSION;
- requiredAddons[] = {"ace_laser"};
- VERSION_CONFIG;
- };
-};
-
-#include "CfgEventhandlers.hpp"
-#include "CfgAmmo.hpp"
+#include "script_component.hpp"
+
+class CfgPatches {
+ class ADDON {
+ units[] = {};
+ weapons[] = {};
+ requiredVersion = REQUIRED_VERSION;
+ requiredAddons[] = {"ace_laser"};
+ VERSION_CONFIG;
+ };
+};
+
+#include "CfgEventhandlers.hpp"
+#include "CfgAmmo.hpp"
#include "CfgWeapons.hpp"
\ No newline at end of file
diff --git a/addons/missileguidance/functions/fnc_fired.sqf b/addons/missileguidance/functions/fnc_fired.sqf
index dbe6abfec7..028b09d691 100644
--- a/addons/missileguidance/functions/fnc_fired.sqf
+++ b/addons/missileguidance/functions/fnc_fired.sqf
@@ -1,18 +1,18 @@
-//#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-//_this=[TEST_AI_HELICOPTER,"missiles_DAGR","missiles_DAGR","Far_AI","M_PG_AT","24Rnd_PG_missiles",163988: rocket_01_fly_f.p3d]
-TRACE_1("enter", _this);
-PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
-
-if(!local _shooter) exitWith { false };
-
-switch _weapon do {
- case "missiles_DAGR": {
- _this call FUNC(guidance_DAGR);
- };
- case "GBU12BombLauncher": {
- _this call FUNC(guidance_LGB);
- };
-};
-
-//_this call FUNC(guidance_HellfireII);
+//#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+//_this=[TEST_AI_HELICOPTER,"missiles_DAGR","missiles_DAGR","Far_AI","M_PG_AT","24Rnd_PG_missiles",163988: rocket_01_fly_f.p3d]
+TRACE_1("enter", _this);
+PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+
+if(!local _shooter) exitWith { false };
+
+switch _weapon do {
+ case "missiles_DAGR": {
+ _this call FUNC(guidance_DAGR);
+ };
+ case "GBU12BombLauncher": {
+ _this call FUNC(guidance_LGB);
+ };
+};
+
+//_this call FUNC(guidance_HellfireII);
diff --git a/addons/missileguidance/functions/fnc_guidance_DAGR.sqf b/addons/missileguidance/functions/fnc_guidance_DAGR.sqf
index 9055b00a7f..b50e5b763f 100644
--- a/addons/missileguidance/functions/fnc_guidance_DAGR.sqf
+++ b/addons/missileguidance/functions/fnc_guidance_DAGR.sqf
@@ -1,120 +1,120 @@
-//#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-
-FUNC(guidance_DIRECT_LOAL_PFH) = {
- //TRACE_1("enter", _this);
- private["_args", "_shooter", "_dagr", "_curVelocity", "_targets", "_target", "_yVec", "_xVec", "_zVec", "_dagrPos", "_shooterPos", "_distanceToTarget", "_distanceToShooter", "_def"];
- _args = _this select 0;
- //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
- _shooter = _args select 0;
- _dagr = _args select 6;
- _curVelocity = velocity _dagr;
-
- if(!alive _dagr || isNull _dagr || isNull _shooter) exitWith {
- [(_this select 1)] call cba_fnc_removePerFrameHandler;
- };
-
- _targets = [_dagr, ACE_DEFAULT_LASER_CODE, 70, _curVelocity] call ace_laser_fnc_findLaserDesignator;
- TRACE_2("Targets", _target, _targets);
-
- if((_targets select 0)) then {
- _target = _targets select 1;
-
- // player sideChat "FUCK!";
- // drop ["\a3\data_f\Cl_basic","","Billboard",1,20,(getPos _dagr),[0,0,0],1,1.275,1.0,0.0,[5],[[1,0,0,1]],[0],0.0,2.0,"","",""];
-
-
- _yVec = vectorDir _dagr;
- _zVec = vectorUp _dagr;
- _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
-
- _dagrPos = getPosASL _dagr;
- // player sideChat "G!";
- _targetPos = getPosASL _target;
- _shooterPos = getPosASL _shooter;
-
- if((count _targetPos) > 0) then {
- _distanceToTarget = _dagrPos vectorDistance _targetPos;
- _distanceToShooter = _dagrPos vectorDistance _shooterPos;
-
- _addHeight = [0,0,(_dagrPos distance _targetPos)*0.02];
- #ifdef DEBUG_MODE_FULL
- drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
- #endif
-
- _targetPos = _targetPos vectorAdd _addHeight;
-
- _def = 0.0040;
- if(_distanceToShooter > 100) then {
- _def = 0.0025;
- };
-
- _targetVectorSeeker = [_dagr, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
- // _targetVectorSeeker = _dagr worldToModel (ASLtoATL _targetPos);
- // _targetVectorSeeker = [0,0,0] vectorFromTo _targetVectorSeeker;
- _yaw = 0.0;
- if((_targetVectorSeeker select 0) < 0) then {
- _yaw = -_def;
- } else {
- if((_targetVectorSeeker select 0) > 0) then {
- _yaw = _def;
- };
- };
-
- _pitch = 0.0;
- if((_targetVectorSeeker select 2) < 0) then {
- _pitch = -_def;
- } else {
- if((_targetVectorSeeker select 2) > 0) then {
- _pitch = _def;
- };
- };
- #ifdef DEBUG_MODE_FULL
- drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _dagrPos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
- drawLine3D [ASLtoATL _dagrPos, ASLtoATL _targetPos, [1,0,0,1]];
-
- _distance = ([getPos startPos, _dagrPos] call BIS_fnc_distance2D);
- _marker = createMarkerLocal [format["m%1", MARKERCOUNT], [_distance, _dagrPos select 2]];
- _marker setMarkerTypeLocal "mil_dot";
- _marker setMarkerColorLocal "ColorRed";
-
- MARKERCOUNT = MARKERCOUNT + 1;
- #endif
-
- if(accTime > 0) then {
- _outVector = [_dagr, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
- // _outVector = _dagr modelToWorldVisual [_yaw, 1, _pitch];
- // _outVector = ATLtoASL _outVector;
- _vectorTo = _dagrPos vectorFromTo _outVector;
-
- // hintSilent format["v: %1", _vectorTo];
-
- // _dagr setVectorDir _vectorTo;
- _dagr setVectorDirAndUp [_vectorTo, vectorUp _dagr];
- };
-
- #ifdef DEBUG_MODE_FULL
- hintSilent format["d: %1", _distanceToTarget];
- #endif
- };
- };
-};
-
-FUNC(guidance_DAGR_DIRECT_LOAL) = {
- PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
-
- GVAR(lastTime) = time;
- [FUNC(guidance_DIRECT_LOAL_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
-};
-
-PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
-_fireMode = _shooter getVariable ["ACE_FIRE_SELECTION", ACE_DEFAULT_FIRE_SELECTION];
-
-switch (_fireMode select 0) do {
- // Default to FIREMODE_DIRECT_LOAL
- // FIREMODE_DIRECT_LOAL
- default {
- LOG("Initiating DAGR FIREMODE_DIRECT_LOAL");
- _this call FUNC(guidance_DAGR_DIRECT_LOAL);
- };
+//#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+
+FUNC(guidance_DIRECT_LOAL_PFH) = {
+ //TRACE_1("enter", _this);
+ private["_args", "_shooter", "_dagr", "_curVelocity", "_targets", "_target", "_yVec", "_xVec", "_zVec", "_dagrPos", "_shooterPos", "_distanceToTarget", "_distanceToShooter", "_def"];
+ _args = _this select 0;
+ //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+ _shooter = _args select 0;
+ _dagr = _args select 6;
+ _curVelocity = velocity _dagr;
+
+ if(!alive _dagr || isNull _dagr || isNull _shooter) exitWith {
+ [(_this select 1)] call cba_fnc_removePerFrameHandler;
+ };
+
+ _targets = [_dagr, ACE_DEFAULT_LASER_CODE, 70, _curVelocity] call ace_laser_fnc_findLaserDesignator;
+ TRACE_2("Targets", _target, _targets);
+
+ if((_targets select 0)) then {
+ _target = _targets select 1;
+
+ // player sideChat "FUCK!";
+ // drop ["\a3\data_f\Cl_basic","","Billboard",1,20,(getPos _dagr),[0,0,0],1,1.275,1.0,0.0,[5],[[1,0,0,1]],[0],0.0,2.0,"","",""];
+
+
+ _yVec = vectorDir _dagr;
+ _zVec = vectorUp _dagr;
+ _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
+
+ _dagrPos = getPosASL _dagr;
+ // player sideChat "G!";
+ _targetPos = getPosASL _target;
+ _shooterPos = getPosASL _shooter;
+
+ if((count _targetPos) > 0) then {
+ _distanceToTarget = _dagrPos vectorDistance _targetPos;
+ _distanceToShooter = _dagrPos vectorDistance _shooterPos;
+
+ _addHeight = [0,0,(_dagrPos distance _targetPos)*0.02];
+ #ifdef DEBUG_MODE_FULL
+ drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
+ #endif
+
+ _targetPos = _targetPos vectorAdd _addHeight;
+
+ _def = 0.0040;
+ if(_distanceToShooter > 100) then {
+ _def = 0.0025;
+ };
+
+ _targetVectorSeeker = [_dagr, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
+ // _targetVectorSeeker = _dagr worldToModel (ASLtoATL _targetPos);
+ // _targetVectorSeeker = [0,0,0] vectorFromTo _targetVectorSeeker;
+ _yaw = 0.0;
+ if((_targetVectorSeeker select 0) < 0) then {
+ _yaw = -_def;
+ } else {
+ if((_targetVectorSeeker select 0) > 0) then {
+ _yaw = _def;
+ };
+ };
+
+ _pitch = 0.0;
+ if((_targetVectorSeeker select 2) < 0) then {
+ _pitch = -_def;
+ } else {
+ if((_targetVectorSeeker select 2) > 0) then {
+ _pitch = _def;
+ };
+ };
+ #ifdef DEBUG_MODE_FULL
+ drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _dagrPos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
+ drawLine3D [ASLtoATL _dagrPos, ASLtoATL _targetPos, [1,0,0,1]];
+
+ _distance = ([getPos startPos, _dagrPos] call BIS_fnc_distance2D);
+ _marker = createMarkerLocal [format["m%1", MARKERCOUNT], [_distance, _dagrPos select 2]];
+ _marker setMarkerTypeLocal "mil_dot";
+ _marker setMarkerColorLocal "ColorRed";
+
+ MARKERCOUNT = MARKERCOUNT + 1;
+ #endif
+
+ if(accTime > 0) then {
+ _outVector = [_dagr, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
+ // _outVector = _dagr modelToWorldVisual [_yaw, 1, _pitch];
+ // _outVector = ATLtoASL _outVector;
+ _vectorTo = _dagrPos vectorFromTo _outVector;
+
+ // hintSilent format["v: %1", _vectorTo];
+
+ // _dagr setVectorDir _vectorTo;
+ _dagr setVectorDirAndUp [_vectorTo, vectorUp _dagr];
+ };
+
+ #ifdef DEBUG_MODE_FULL
+ hintSilent format["d: %1", _distanceToTarget];
+ #endif
+ };
+ };
+};
+
+FUNC(guidance_DAGR_DIRECT_LOAL) = {
+ PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+
+ GVAR(lastTime) = time;
+ [FUNC(guidance_DIRECT_LOAL_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
+};
+
+PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+_fireMode = _shooter getVariable ["ACE_FIRE_SELECTION", ACE_DEFAULT_FIRE_SELECTION];
+
+switch (_fireMode select 0) do {
+ // Default to FIREMODE_DIRECT_LOAL
+ // FIREMODE_DIRECT_LOAL
+ default {
+ LOG("Initiating DAGR FIREMODE_DIRECT_LOAL");
+ _this call FUNC(guidance_DAGR_DIRECT_LOAL);
+ };
};
\ No newline at end of file
diff --git a/addons/missileguidance/functions/fnc_guidance_HellfireII.sqf b/addons/missileguidance/functions/fnc_guidance_HellfireII.sqf
index 72b8da8c67..0c35786b92 100644
--- a/addons/missileguidance/functions/fnc_guidance_HellfireII.sqf
+++ b/addons/missileguidance/functions/fnc_guidance_HellfireII.sqf
@@ -1,249 +1,249 @@
-//#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-
-FUNC(guidance_Hellfire_LOAL_HI_PFH) = {
- //TRACE_1("enter", _this);
- _args = _this select 0;
- //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
- _shooter = _args select 0;
- _missile = _args select 6;
- _curVelocity = velocity _missile;
-
- if(!alive _missile || isNull _missile || isNull _shooter) exitWith {
- [(_this select 1)] call cba_fnc_removePerFrameHandler;
- };
-
- _launchPos = _shooter getVariable [QGVAR(launchPos), nil];
- if(isNil "_launchPos") then {
- TRACE_1("Setting launch parameters", "");
- _launchPos = getPosASL _shooter;
- _shooter setVariable [QGVAR(launchPos), _launchPos, false];
- _shooter setVariable [QGVAR(launchTime), diag_tickTime, false];
- };
-
- _targets = [_missile, ACE_DEFAULT_LASER_CODE, 70, _curVelocity] call ace_laser_fnc_findLaserDesignator;
- _addHeight = [0,0,0];
- if((_targets select 0)) then {
- _target = _targets select 1;
- TRACE_2("Targets", _target, _targets);
-
- _yVec = vectorDir _missile;
- _zVec = vectorUp _missile;
- _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
-
- _missilePos = getPosASL _missile;
- // player sideChat "G!";
- _targetPos = getPosASL _target;
- TRACE_4("Phase Check", _launchPos, _missilePos, _targetPos, (_missilePos distance _targetPos));
- if((count _targetPos) > 0) then {
- _distanceToTarget = _missilePos vectorDistance _targetPos;
-
- _defPitch = 0.05;
-
- if((_launchPos distance _missilePos) < 400 && (_targetPos distance _missilePos) > 400) then {
- _addHeight = [0,0,(_targetPos select 2) + ((_launchPos distance _targetPos)*2)];
- TRACE_1("Climb phase", _addHeight);
- //_defPitch = 0.1;
- } else {
- // Covered half the distance, go terminal
- if((_missilePos distance _targetPos) < (_launchPos distance _targetPos) / 2) then {
- TRACE_1("TERMINAL", "");
- } else {
- if((_missilePos select 2) > (_targetPos select 2)) then {
- _heightDiff = (_missilePos select 2) - (_targetPos select 2);
- TRACE_1("Coasting", _heightDiff);
- _addHeight = [0,0, _heightDiff];
- };
- };
- };
- _targetPos = _targetPos vectorAdd _addHeight;
-
- _defYaw = 0.0035;
-
-
- _targetVectorSeeker = [_missile, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
- _yaw = 0.0;
- if((_targetVectorSeeker select 0) < 0) then {
- _yaw = -_defYaw;
- } else {
- if((_targetVectorSeeker select 0) > 0) then {
- _yaw = _defYaw;
- };
- };
-
- _pitch = 0.0;
- if((_targetVectorSeeker select 2) < 0) then {
- _pitch = -_defPitch;
- } else {
- if((_targetVectorSeeker select 2) > 0) then {
- _pitch = _defPitch;
- };
- };
- #ifdef DEBUG_MODE_FULL
- drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
-
- _light = "#lightpoint" createVehicleLocal (getPos _missile);
- _light setLightBrightness 1.0;
- _light setLightAmbient [1.0, 0.0, 0.0];
- _light setLightColor [1.0, 0.0, 0.0];
-
- drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _missilePos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
- drawLine3D [ASLtoATL _missilePos, ASLtoATL _targetPos, [1,0,0,1]];
-
- _distance = ([getPos startPos, _missilePos] call BIS_fnc_distance2D);
- _marker = createMarkerLocal [format["m%1", MARKERCOUNT], [_distance, _missilePos select 2]];
- _marker setMarkerTypeLocal "mil_dot";
- _marker setMarkerColorLocal "ColorRed";
-
- MARKERCOUNT = MARKERCOUNT + 1;
- #endif
-
- if(accTime > 0) then {
- _outVector = [_missile, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
-
- _vectorTo = _missilePos vectorFromTo _outVector;
- _missile setVectorDirAndUp [_vectorTo, vectorUp _missile];
- };
-
- #ifdef DEBUG_MODE_FULL
- hintSilent format["d: %1", _distanceToTarget];
- #endif
- };
- };
-};
-
-FUNC(guidance_Hellfire_LOAL_DIR_PFH) = {
- //TRACE_1("enter", _this);
- _args = _this select 0;
- //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
- _shooter = _args select 0;
- _missile = _args select 6;
- _curVelocity = velocity _missile;
-
- if(!alive _missile || isNull _missile || isNull _shooter) exitWith {
- [(_this select 1)] call cba_fnc_removePerFrameHandler;
- };
-
- _launchPos = _shooter getVariable [QGVAR(launchPos), nil];
- if(isNil "_launchPos") then {
- TRACE_1("Setting launch parameters", "");
- _launchPos = getPosASL _shooter;
- _shooter setVariable [QGVAR(launchPos), _launchPos, false];
- _shooter setVariable [QGVAR(launchTime), diag_tickTime, false];
- };
-
- _targets = [_missile, ACE_DEFAULT_LASER_CODE, 70, _curVelocity] call ace__laser_fnc_findLaserDesignator;
- _addHeight = [0,0,0];
- if((_targets select 0)) then {
- _target = _targets select 1;
- TRACE_2("Targets", _target, _targets);
-
- _yVec = vectorDir _missile;
- _zVec = vectorUp _missile;
- _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
-
- _missilePos = getPosASL _missile;
- // player sideChat "G!";
- _targetPos = getPosASL _target;
- TRACE_4("Phase Check", _launchPos, _missilePos, _targetPos, (_missilePos distance _targetPos));
- if((count _targetPos) > 0) then {
- _distanceToTarget = _missilePos vectorDistance _targetPos;
-
- if((_launchPos distance _missilePos) < 400 && (_targetPos distance _missilePos) > 400) then {
- _addHeight = [0,0,(_targetPos select 2) + (_missilePos distance _targetPos)*0.5];
- TRACE_1("Climb phase", _addHeight);
- } else {
- // Covered half the distance, go terminal
- if((_missilePos distance _targetPos) < (_launchPos distance _targetPos) / 2) then {
- TRACE_1("TERMINAL", "");
- } else {
- if((_missilePos select 2) > (_targetPos select 2)) then {
- _heightDiff = (_missilePos select 2) - (_targetPos select 2);
- TRACE_1("Coasting", _heightDiff);
- _addHeight = [0,0, _heightDiff];
- };
- };
- };
- _targetPos = _targetPos vectorAdd _addHeight;
-
- _defYaw = 0.0035;
- _defPitch = 0.0075;
-
- _targetVectorSeeker = [_missile, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
- _yaw = 0.0;
- if((_targetVectorSeeker select 0) < 0) then {
- _yaw = -_defYaw;
- } else {
- if((_targetVectorSeeker select 0) > 0) then {
- _yaw = _defYaw;
- };
- };
-
- _pitch = 0.0;
- if((_targetVectorSeeker select 2) < 0) then {
- _pitch = -_defPitch;
- } else {
- if((_targetVectorSeeker select 2) > 0) then {
- _pitch = _defPitch;
- };
- };
- #ifdef DEBUG_MODE_FULL
- drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
-
- _light = "#lightpoint" createVehicleLocal (getPos _missile);
- _light setLightBrightness 1.0;
- _light setLightAmbient [1.0, 0.0, 0.0];
- _light setLightColor [1.0, 0.0, 0.0];
-
- drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _missilePos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
- drawLine3D [ASLtoATL _missilePos, ASLtoATL _targetPos, [1,0,0,1]];
-
- _distance = ([getPos startPos, _missilePos] call BIS_fnc_distance2D);
- _marker = createMarkerLocal [format["m%1", MARKERCOUNT], [_distance, _missilePos select 2]];
- _marker setMarkerTypeLocal "mil_dot";
- _marker setMarkerColorLocal "ColorRed";
-
- MARKERCOUNT = MARKERCOUNT + 1;
- #endif
-
- if(accTime > 0) then {
- _outVector = [_missile, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
-
- _vectorTo = _missilePos vectorFromTo _outVector;
- _missile setVectorDirAndUp [_vectorTo, vectorUp _missile];
- };
-
- #ifdef DEBUG_MODE_FULL
- hintSilent format["d: %1", _distanceToTarget];
- #endif
- };
- };
-};
-
-
-FUNC(guidance_Hellfire_LOAL_HI) = {
- PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
-
- GVAR(lastTime) = time;
- [FUNC(guidance_Hellfire_LOAL_HI_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
-};
-
-
-FUNC(guidance_Hellfire_LOAL_DIR) = {
- PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
-
- GVAR(lastTime) = time;
- [FUNC(guidance_Hellfire_LOAL_DIR_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
-};
-
-PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
-_fireMode = _shooter getVariable ["ACE_FIRE_SELECTION", ACE_DEFAULT_FIRE_SELECTION];
-
-switch (_fireMode select 0) do {
- // Default to FIREMODE_DIRECT_LOAL
- // FIREMODE_DIRECT_LOAL
- default {
- LOG("Initiating Hellfire II FIREMODE_LOAL_DIR");
- _this call FUNC(guidance_Hellfire_LOAL_HI);
- };
+//#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+
+FUNC(guidance_Hellfire_LOAL_HI_PFH) = {
+ //TRACE_1("enter", _this);
+ _args = _this select 0;
+ //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+ _shooter = _args select 0;
+ _missile = _args select 6;
+ _curVelocity = velocity _missile;
+
+ if(!alive _missile || isNull _missile || isNull _shooter) exitWith {
+ [(_this select 1)] call cba_fnc_removePerFrameHandler;
+ };
+
+ _launchPos = _shooter getVariable [QGVAR(launchPos), nil];
+ if(isNil "_launchPos") then {
+ TRACE_1("Setting launch parameters", "");
+ _launchPos = getPosASL _shooter;
+ _shooter setVariable [QGVAR(launchPos), _launchPos, false];
+ _shooter setVariable [QGVAR(launchTime), diag_tickTime, false];
+ };
+
+ _targets = [_missile, ACE_DEFAULT_LASER_CODE, 70, _curVelocity] call ace_laser_fnc_findLaserDesignator;
+ _addHeight = [0,0,0];
+ if((_targets select 0)) then {
+ _target = _targets select 1;
+ TRACE_2("Targets", _target, _targets);
+
+ _yVec = vectorDir _missile;
+ _zVec = vectorUp _missile;
+ _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
+
+ _missilePos = getPosASL _missile;
+ // player sideChat "G!";
+ _targetPos = getPosASL _target;
+ TRACE_4("Phase Check", _launchPos, _missilePos, _targetPos, (_missilePos distance _targetPos));
+ if((count _targetPos) > 0) then {
+ _distanceToTarget = _missilePos vectorDistance _targetPos;
+
+ _defPitch = 0.05;
+
+ if((_launchPos distance _missilePos) < 400 && (_targetPos distance _missilePos) > 400) then {
+ _addHeight = [0,0,(_targetPos select 2) + ((_launchPos distance _targetPos)*2)];
+ TRACE_1("Climb phase", _addHeight);
+ //_defPitch = 0.1;
+ } else {
+ // Covered half the distance, go terminal
+ if((_missilePos distance _targetPos) < (_launchPos distance _targetPos) / 2) then {
+ TRACE_1("TERMINAL", "");
+ } else {
+ if((_missilePos select 2) > (_targetPos select 2)) then {
+ _heightDiff = (_missilePos select 2) - (_targetPos select 2);
+ TRACE_1("Coasting", _heightDiff);
+ _addHeight = [0,0, _heightDiff];
+ };
+ };
+ };
+ _targetPos = _targetPos vectorAdd _addHeight;
+
+ _defYaw = 0.0035;
+
+
+ _targetVectorSeeker = [_missile, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
+ _yaw = 0.0;
+ if((_targetVectorSeeker select 0) < 0) then {
+ _yaw = -_defYaw;
+ } else {
+ if((_targetVectorSeeker select 0) > 0) then {
+ _yaw = _defYaw;
+ };
+ };
+
+ _pitch = 0.0;
+ if((_targetVectorSeeker select 2) < 0) then {
+ _pitch = -_defPitch;
+ } else {
+ if((_targetVectorSeeker select 2) > 0) then {
+ _pitch = _defPitch;
+ };
+ };
+ #ifdef DEBUG_MODE_FULL
+ drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
+
+ _light = "#lightpoint" createVehicleLocal (getPos _missile);
+ _light setLightBrightness 1.0;
+ _light setLightAmbient [1.0, 0.0, 0.0];
+ _light setLightColor [1.0, 0.0, 0.0];
+
+ drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _missilePos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
+ drawLine3D [ASLtoATL _missilePos, ASLtoATL _targetPos, [1,0,0,1]];
+
+ _distance = ([getPos startPos, _missilePos] call BIS_fnc_distance2D);
+ _marker = createMarkerLocal [format["m%1", MARKERCOUNT], [_distance, _missilePos select 2]];
+ _marker setMarkerTypeLocal "mil_dot";
+ _marker setMarkerColorLocal "ColorRed";
+
+ MARKERCOUNT = MARKERCOUNT + 1;
+ #endif
+
+ if(accTime > 0) then {
+ _outVector = [_missile, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
+
+ _vectorTo = _missilePos vectorFromTo _outVector;
+ _missile setVectorDirAndUp [_vectorTo, vectorUp _missile];
+ };
+
+ #ifdef DEBUG_MODE_FULL
+ hintSilent format["d: %1", _distanceToTarget];
+ #endif
+ };
+ };
+};
+
+FUNC(guidance_Hellfire_LOAL_DIR_PFH) = {
+ //TRACE_1("enter", _this);
+ _args = _this select 0;
+ //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+ _shooter = _args select 0;
+ _missile = _args select 6;
+ _curVelocity = velocity _missile;
+
+ if(!alive _missile || isNull _missile || isNull _shooter) exitWith {
+ [(_this select 1)] call cba_fnc_removePerFrameHandler;
+ };
+
+ _launchPos = _shooter getVariable [QGVAR(launchPos), nil];
+ if(isNil "_launchPos") then {
+ TRACE_1("Setting launch parameters", "");
+ _launchPos = getPosASL _shooter;
+ _shooter setVariable [QGVAR(launchPos), _launchPos, false];
+ _shooter setVariable [QGVAR(launchTime), diag_tickTime, false];
+ };
+
+ _targets = [_missile, ACE_DEFAULT_LASER_CODE, 70, _curVelocity] call ace__laser_fnc_findLaserDesignator;
+ _addHeight = [0,0,0];
+ if((_targets select 0)) then {
+ _target = _targets select 1;
+ TRACE_2("Targets", _target, _targets);
+
+ _yVec = vectorDir _missile;
+ _zVec = vectorUp _missile;
+ _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
+
+ _missilePos = getPosASL _missile;
+ // player sideChat "G!";
+ _targetPos = getPosASL _target;
+ TRACE_4("Phase Check", _launchPos, _missilePos, _targetPos, (_missilePos distance _targetPos));
+ if((count _targetPos) > 0) then {
+ _distanceToTarget = _missilePos vectorDistance _targetPos;
+
+ if((_launchPos distance _missilePos) < 400 && (_targetPos distance _missilePos) > 400) then {
+ _addHeight = [0,0,(_targetPos select 2) + (_missilePos distance _targetPos)*0.5];
+ TRACE_1("Climb phase", _addHeight);
+ } else {
+ // Covered half the distance, go terminal
+ if((_missilePos distance _targetPos) < (_launchPos distance _targetPos) / 2) then {
+ TRACE_1("TERMINAL", "");
+ } else {
+ if((_missilePos select 2) > (_targetPos select 2)) then {
+ _heightDiff = (_missilePos select 2) - (_targetPos select 2);
+ TRACE_1("Coasting", _heightDiff);
+ _addHeight = [0,0, _heightDiff];
+ };
+ };
+ };
+ _targetPos = _targetPos vectorAdd _addHeight;
+
+ _defYaw = 0.0035;
+ _defPitch = 0.0075;
+
+ _targetVectorSeeker = [_missile, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
+ _yaw = 0.0;
+ if((_targetVectorSeeker select 0) < 0) then {
+ _yaw = -_defYaw;
+ } else {
+ if((_targetVectorSeeker select 0) > 0) then {
+ _yaw = _defYaw;
+ };
+ };
+
+ _pitch = 0.0;
+ if((_targetVectorSeeker select 2) < 0) then {
+ _pitch = -_defPitch;
+ } else {
+ if((_targetVectorSeeker select 2) > 0) then {
+ _pitch = _defPitch;
+ };
+ };
+ #ifdef DEBUG_MODE_FULL
+ drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
+
+ _light = "#lightpoint" createVehicleLocal (getPos _missile);
+ _light setLightBrightness 1.0;
+ _light setLightAmbient [1.0, 0.0, 0.0];
+ _light setLightColor [1.0, 0.0, 0.0];
+
+ drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _missilePos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
+ drawLine3D [ASLtoATL _missilePos, ASLtoATL _targetPos, [1,0,0,1]];
+
+ _distance = ([getPos startPos, _missilePos] call BIS_fnc_distance2D);
+ _marker = createMarkerLocal [format["m%1", MARKERCOUNT], [_distance, _missilePos select 2]];
+ _marker setMarkerTypeLocal "mil_dot";
+ _marker setMarkerColorLocal "ColorRed";
+
+ MARKERCOUNT = MARKERCOUNT + 1;
+ #endif
+
+ if(accTime > 0) then {
+ _outVector = [_missile, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
+
+ _vectorTo = _missilePos vectorFromTo _outVector;
+ _missile setVectorDirAndUp [_vectorTo, vectorUp _missile];
+ };
+
+ #ifdef DEBUG_MODE_FULL
+ hintSilent format["d: %1", _distanceToTarget];
+ #endif
+ };
+ };
+};
+
+
+FUNC(guidance_Hellfire_LOAL_HI) = {
+ PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+
+ GVAR(lastTime) = time;
+ [FUNC(guidance_Hellfire_LOAL_HI_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
+};
+
+
+FUNC(guidance_Hellfire_LOAL_DIR) = {
+ PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+
+ GVAR(lastTime) = time;
+ [FUNC(guidance_Hellfire_LOAL_DIR_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
+};
+
+PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+_fireMode = _shooter getVariable ["ACE_FIRE_SELECTION", ACE_DEFAULT_FIRE_SELECTION];
+
+switch (_fireMode select 0) do {
+ // Default to FIREMODE_DIRECT_LOAL
+ // FIREMODE_DIRECT_LOAL
+ default {
+ LOG("Initiating Hellfire II FIREMODE_LOAL_DIR");
+ _this call FUNC(guidance_Hellfire_LOAL_HI);
+ };
};
\ No newline at end of file
diff --git a/addons/missileguidance/functions/fnc_guidance_LGB.sqf b/addons/missileguidance/functions/fnc_guidance_LGB.sqf
index 47efa46768..02fa5e7a66 100644
--- a/addons/missileguidance/functions/fnc_guidance_LGB.sqf
+++ b/addons/missileguidance/functions/fnc_guidance_LGB.sqf
@@ -1,109 +1,109 @@
-#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-
-FUNC(guidance_LGB_LOAL_PFH) = {
- //TRACE_1("enter", _this);
- _args = _this select 0;
- //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
- _lgb = _args select 6;
- _curVelocity = velocity _lgb;
-
- if(!alive _lgb) exitWith {
- [(_this select 1)] call cba_fnc_removePerFrameHandler;
- };
-
- _targets = [_lgb, ACE_DEFAULT_LASER_CODE, 70, _curVelocity] call uo_laser_fnc_findLaserDesignator;
- //TRACE_2("Targets", _target, _targets);
-
- if((_targets select 0)) then {
- _target = _targets select 1;
-
- // player sideChat "FUCK!";
- // drop ["\a3\data_f\Cl_basic","","Billboard",1,20,(getPos _lgb),[0,0,0],1,1.275,1.0,0.0,[5],[[1,0,0,1]],[0],0.0,2.0,"","",""];
-
-
- _yVec = vectorDir _lgb;
- _zVec = vectorUp _lgb;
- _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
-
- _lgbPos = getPosASL _lgb;
- // player sideChat "G!";
- _targetPos = getPosASL _target;
- if((count _targetPos) > 0) then {
- // player sideChat format["f: %1", _targetPos];
- _addHeight = [0,0,(_lgbPos distance _targetPos)*0.06];
- // drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
- _targetPos = _targetPos vectorAdd _addHeight;
-
-
-
- _def = 0.0025;
-
- _targetVectorSeeker = [_lgb, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
- // _targetVectorSeeker = _lgb worldToModel (ASLtoATL _targetPos);
- // _targetVectorSeeker = [0,0,0] vectorFromTo _targetVectorSeeker;
- _yaw = 0.0;
- if((_targetVectorSeeker select 0) < 0) then {
- _yaw = -_def;
- } else {
- if((_targetVectorSeeker select 0) > 0) then {
- _yaw = _def;
- };
- };
-
- _pitch = 0.0;
- if((_targetVectorSeeker select 2) < 0) then {
- _pitch = -_def;
- } else {
- if((_targetVectorSeeker select 2) > 0) then {
- _pitch = _def;
- };
- };
- #ifdef DEBUG_MODE_FULL
- drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _lgbPos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
- drawLine3D [ASLtoATL _lgbPos, ASLtoATL _targetPos, [1,0,0,1]];
-
- _distance = ([getPos startPos, _lgbPos] call BIS_fnc_distance2D);
- _marker = createMarkerLocal [format["m%1", MARKERCOUNT], [_distance, _lgbPos select 2]];
- _marker setMarkerTypeLocal "mil_dot";
- _marker setMarkerColorLocal "ColorRed";
-
- MARKERCOUNT = MARKERCOUNT + 1;
- #endif
-
- if(accTime > 0) then {
- _outVector = [_lgb, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
- // _outVector = _lgb modelToWorldVisual [_yaw, 1, _pitch];
- // _outVector = ATLtoASL _outVector;
- _vectorTo = _lgbPos vectorFromTo _outVector;
-
- // hintSilent format["v: %1", _vectorTo];
-
- // _lgb setVectorDir _vectorTo;
- _lgb setVectorDirAndUp [_vectorTo, vectorUp _lgb];
- };
-
- #ifdef DEBUG_MODE_FULL
- hintSilent format["d: %1", _lgbPos vectorDistance _targetPos];
- #endif
- };
- };
-};
-
-FUNC(guidance_LGB_LOAL) = {
- PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
-
- [FUNC(guidance_LGB_LOAL_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
-};
-
-PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
-_fireMode = _shooter getVariable ["ACE_FIRE_SELECTION", ACE_DEFAULT_FIRE_SELECTION];
-
-switch (_fireMode select 0) do {
- // Default to FIREMODE_DIRECT_LOAL
- // FIREMODE_DIRECT_LOAL
- default {
- LOG("Initiating FIREMODE_DIRECT_LOAL");
- _this call FUNC(guidance_LGB_LOAL);
- };
+#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+
+FUNC(guidance_LGB_LOAL_PFH) = {
+ //TRACE_1("enter", _this);
+ _args = _this select 0;
+ //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+ _lgb = _args select 6;
+ _curVelocity = velocity _lgb;
+
+ if(!alive _lgb) exitWith {
+ [(_this select 1)] call cba_fnc_removePerFrameHandler;
+ };
+
+ _targets = [_lgb, ACE_DEFAULT_LASER_CODE, 70, _curVelocity] call uo_laser_fnc_findLaserDesignator;
+ //TRACE_2("Targets", _target, _targets);
+
+ if((_targets select 0)) then {
+ _target = _targets select 1;
+
+ // player sideChat "FUCK!";
+ // drop ["\a3\data_f\Cl_basic","","Billboard",1,20,(getPos _lgb),[0,0,0],1,1.275,1.0,0.0,[5],[[1,0,0,1]],[0],0.0,2.0,"","",""];
+
+
+ _yVec = vectorDir _lgb;
+ _zVec = vectorUp _lgb;
+ _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
+
+ _lgbPos = getPosASL _lgb;
+ // player sideChat "G!";
+ _targetPos = getPosASL _target;
+ if((count _targetPos) > 0) then {
+ // player sideChat format["f: %1", _targetPos];
+ _addHeight = [0,0,(_lgbPos distance _targetPos)*0.06];
+ // drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
+ _targetPos = _targetPos vectorAdd _addHeight;
+
+
+
+ _def = 0.0025;
+
+ _targetVectorSeeker = [_lgb, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
+ // _targetVectorSeeker = _lgb worldToModel (ASLtoATL _targetPos);
+ // _targetVectorSeeker = [0,0,0] vectorFromTo _targetVectorSeeker;
+ _yaw = 0.0;
+ if((_targetVectorSeeker select 0) < 0) then {
+ _yaw = -_def;
+ } else {
+ if((_targetVectorSeeker select 0) > 0) then {
+ _yaw = _def;
+ };
+ };
+
+ _pitch = 0.0;
+ if((_targetVectorSeeker select 2) < 0) then {
+ _pitch = -_def;
+ } else {
+ if((_targetVectorSeeker select 2) > 0) then {
+ _pitch = _def;
+ };
+ };
+ #ifdef DEBUG_MODE_FULL
+ drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _lgbPos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
+ drawLine3D [ASLtoATL _lgbPos, ASLtoATL _targetPos, [1,0,0,1]];
+
+ _distance = ([getPos startPos, _lgbPos] call BIS_fnc_distance2D);
+ _marker = createMarkerLocal [format["m%1", MARKERCOUNT], [_distance, _lgbPos select 2]];
+ _marker setMarkerTypeLocal "mil_dot";
+ _marker setMarkerColorLocal "ColorRed";
+
+ MARKERCOUNT = MARKERCOUNT + 1;
+ #endif
+
+ if(accTime > 0) then {
+ _outVector = [_lgb, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
+ // _outVector = _lgb modelToWorldVisual [_yaw, 1, _pitch];
+ // _outVector = ATLtoASL _outVector;
+ _vectorTo = _lgbPos vectorFromTo _outVector;
+
+ // hintSilent format["v: %1", _vectorTo];
+
+ // _lgb setVectorDir _vectorTo;
+ _lgb setVectorDirAndUp [_vectorTo, vectorUp _lgb];
+ };
+
+ #ifdef DEBUG_MODE_FULL
+ hintSilent format["d: %1", _lgbPos vectorDistance _targetPos];
+ #endif
+ };
+ };
+};
+
+FUNC(guidance_LGB_LOAL) = {
+ PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+
+ [FUNC(guidance_LGB_LOAL_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
+};
+
+PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+_fireMode = _shooter getVariable ["ACE_FIRE_SELECTION", ACE_DEFAULT_FIRE_SELECTION];
+
+switch (_fireMode select 0) do {
+ // Default to FIREMODE_DIRECT_LOAL
+ // FIREMODE_DIRECT_LOAL
+ default {
+ LOG("Initiating FIREMODE_DIRECT_LOAL");
+ _this call FUNC(guidance_LGB_LOAL);
+ };
};
\ No newline at end of file
diff --git a/addons/missileguidance/functions/fnc_rotateVectLine.sqf b/addons/missileguidance/functions/fnc_rotateVectLine.sqf
index b0360cc330..ae476559b8 100644
--- a/addons/missileguidance/functions/fnc_rotateVectLine.sqf
+++ b/addons/missileguidance/functions/fnc_rotateVectLine.sqf
@@ -1,38 +1,38 @@
-#include "script_component.hpp"
-
-_map = _this select 0;
-_theta = _this select 1;
-
-_p = _map select 0;
-_p1 = _map select 1;
-_p2 = _map select 2;
-
-_q1 = +(_map select 3);
-_q2 = +(_map select 4);
-_u = _map select 5;
-_d = _map select 6;
-
-/* Step 4 */
-_q2 set[0, (_q1 select 0) * cos(_theta) - (_q1 select 1) * sin(_theta)];
-_q2 set[1, (_q1 select 0) * sin(_theta) + (_q1 select 1) * cos(_theta)];
-_q2 set[2, (_q1 select 2)];
-
-/* Inverse of step 3 */
-_q1 set[0, (_q2 select 0) * _d + (_q2 select 2) * (_u select 0)];
-_q1 set[1, (_q2 select 1)];
-_q1 set[2, - (_q2 select 0) * (_u select 0) + (_q2 select 2) * _d];
-
-/* Inverse of step 2 */
-if (_d != 0) then {
- _q2 set[0, (_q1 select 0)];
- _q2 set[1, (_q1 select 1) * (_u select 2) / _d + (_q1 select 2) * (_u select 1) / _d];
- _q2 set[2, - (_q1 select 1) * (_u select 1) / _d + (_q1 select 2) * (_u select 2) / _d];
-} else {
- _q2 = _q1;
-};
-
-/* Inverse of step 1 */
-_q1 set[0, (_q2 select 0) + (_p1 select 0)];
-_q1 set[1, (_q2 select 1) + (_p1 select 1)];
-_q1 set[2, (_q2 select 2) + (_p1 select 2)];
+#include "script_component.hpp"
+
+_map = _this select 0;
+_theta = _this select 1;
+
+_p = _map select 0;
+_p1 = _map select 1;
+_p2 = _map select 2;
+
+_q1 = +(_map select 3);
+_q2 = +(_map select 4);
+_u = _map select 5;
+_d = _map select 6;
+
+/* Step 4 */
+_q2 set[0, (_q1 select 0) * cos(_theta) - (_q1 select 1) * sin(_theta)];
+_q2 set[1, (_q1 select 0) * sin(_theta) + (_q1 select 1) * cos(_theta)];
+_q2 set[2, (_q1 select 2)];
+
+/* Inverse of step 3 */
+_q1 set[0, (_q2 select 0) * _d + (_q2 select 2) * (_u select 0)];
+_q1 set[1, (_q2 select 1)];
+_q1 set[2, - (_q2 select 0) * (_u select 0) + (_q2 select 2) * _d];
+
+/* Inverse of step 2 */
+if (_d != 0) then {
+ _q2 set[0, (_q1 select 0)];
+ _q2 set[1, (_q1 select 1) * (_u select 2) / _d + (_q1 select 2) * (_u select 1) / _d];
+ _q2 set[2, - (_q1 select 1) * (_u select 1) / _d + (_q1 select 2) * (_u select 2) / _d];
+} else {
+ _q2 = _q1;
+};
+
+/* Inverse of step 1 */
+_q1 set[0, (_q2 select 0) + (_p1 select 0)];
+_q1 set[1, (_q2 select 1) + (_p1 select 1)];
+_q1 set[2, (_q2 select 2) + (_p1 select 2)];
_q1;
\ No newline at end of file
diff --git a/addons/missileguidance/functions/fnc_rotateVectLineGetMap.sqf b/addons/missileguidance/functions/fnc_rotateVectLineGetMap.sqf
index fdbd6533ef..258cc93ae2 100644
--- a/addons/missileguidance/functions/fnc_rotateVectLineGetMap.sqf
+++ b/addons/missileguidance/functions/fnc_rotateVectLineGetMap.sqf
@@ -1,37 +1,37 @@
-#include "script_component.hpp"
-
-private ["_p", "_theta", "_p1", "_p2", "_q1", "_q2", "_u", "_d"];
-_p = _this select 0;
-_p1 = _this select 1;
-_p2 = _this select 2;
-
-_q1 = [];
-_q2 = [];
-_u = [];
-
-/* Step 1 */
-_q1 set[0, (_p select 0) - (_p1 select 0)];
-_q1 set[1, (_p select 1) - (_p1 select 1)];
-_q1 set[2, (_p select 2) - (_p1 select 2)];
-
-_u set[0, (_p2 select 0) - (_p1 select 0)];
-_u set[1, (_p2 select 1) - (_p1 select 1)];
-_u set[2, (_p2 select 2) - (_p1 select 2)];
-_u = _u call BIS_fnc_unitVector;
-_d = sqrt((_u select 1)*(_u select 1) + (_u select 2)*(_u select 2));
-
-/* Step 2 */
-if (_d != 0) then {
- _q2 set[0, (_q1 select 0)];
- _q2 set[1, (_q1 select 1) * (_u select 2) / _d - (_q1 select 2) * (_u select 1) / _d];
- _q2 set[2, (_q1 select 1) * (_u select 1) / _d + (_q1 select 2) * (_u select 2) / _d];
-} else {
- _q2 = _q1;
-};
-
-/* Step 3 */
-_q1 set[0, (_q2 select 0) * _d - (_q2 select 2) * (_u select 0)];
-_q1 set[1, (_q2 select 1)];
-_q1 set[2, (_q2 select 0) * (_u select 0) + (_q2 select 2) * _d];
-
+#include "script_component.hpp"
+
+private ["_p", "_theta", "_p1", "_p2", "_q1", "_q2", "_u", "_d"];
+_p = _this select 0;
+_p1 = _this select 1;
+_p2 = _this select 2;
+
+_q1 = [];
+_q2 = [];
+_u = [];
+
+/* Step 1 */
+_q1 set[0, (_p select 0) - (_p1 select 0)];
+_q1 set[1, (_p select 1) - (_p1 select 1)];
+_q1 set[2, (_p select 2) - (_p1 select 2)];
+
+_u set[0, (_p2 select 0) - (_p1 select 0)];
+_u set[1, (_p2 select 1) - (_p1 select 1)];
+_u set[2, (_p2 select 2) - (_p1 select 2)];
+_u = _u call BIS_fnc_unitVector;
+_d = sqrt((_u select 1)*(_u select 1) + (_u select 2)*(_u select 2));
+
+/* Step 2 */
+if (_d != 0) then {
+ _q2 set[0, (_q1 select 0)];
+ _q2 set[1, (_q1 select 1) * (_u select 2) / _d - (_q1 select 2) * (_u select 1) / _d];
+ _q2 set[2, (_q1 select 1) * (_u select 1) / _d + (_q1 select 2) * (_u select 2) / _d];
+} else {
+ _q2 = _q1;
+};
+
+/* Step 3 */
+_q1 set[0, (_q2 select 0) * _d - (_q2 select 2) * (_u select 0)];
+_q1 set[1, (_q2 select 1)];
+_q1 set[2, (_q2 select 0) * (_u select 0) + (_q2 select 2) * _d];
+
[_p, _p1, _p2, _q1, _q2, _u, _d]
\ No newline at end of file
diff --git a/addons/missileguidance/functions/fnc_translateToModelSpace.sqf b/addons/missileguidance/functions/fnc_translateToModelSpace.sqf
index 1e2e930ac7..e54744bdb8 100644
--- a/addons/missileguidance/functions/fnc_translateToModelSpace.sqf
+++ b/addons/missileguidance/functions/fnc_translateToModelSpace.sqf
@@ -1,16 +1,16 @@
-_object = _this select 0;
-_origin = getPosASL _object;
-_matrix = _this select 1;
-_xVec = _matrix select 0;
-_yVec = _matrix select 1;
-_zVec = _matrix select 2;
-
-_offset = _this select 2;
-
-_x = _offset select 0;
-_y = _offset select 1;
-_z = _offset select 2;
-
-_out = (((_xVec vectorMultiply _x) vectorAdd (_yVec vectorMultiply _y)) vectorAdd (_zVec vectorMultiply _z)) vectorAdd _origin;
-
+_object = _this select 0;
+_origin = getPosASL _object;
+_matrix = _this select 1;
+_xVec = _matrix select 0;
+_yVec = _matrix select 1;
+_zVec = _matrix select 2;
+
+_offset = _this select 2;
+
+_x = _offset select 0;
+_y = _offset select 1;
+_z = _offset select 2;
+
+_out = (((_xVec vectorMultiply _x) vectorAdd (_yVec vectorMultiply _y)) vectorAdd (_zVec vectorMultiply _z)) vectorAdd _origin;
+
_out;
\ No newline at end of file
diff --git a/addons/missileguidance/functions/fnc_translateToWeaponSpace.sqf b/addons/missileguidance/functions/fnc_translateToWeaponSpace.sqf
index 2c7dc5e6da..7b146e7d42 100644
--- a/addons/missileguidance/functions/fnc_translateToWeaponSpace.sqf
+++ b/addons/missileguidance/functions/fnc_translateToWeaponSpace.sqf
@@ -1,22 +1,22 @@
-_object = _this select 0;
-_origin = getPosASL _object;
-_matrix = _this select 1;
-_xVec = _matrix select 0;
-_yVec = _matrix select 1;
-_zVec = _matrix select 2;
-
-_offset = _this select 2;
-
-_offset = _offset vectorDiff _origin;
-
-_x = _offset select 0;
-_y = _offset select 1;
-_z = _offset select 2;
-
-_out = [
- ((_xVec select 0)*_x) + ((_xVec select 1)*_y) + ((_xVec select 2)*_z),
- ((_yVec select 0)*_x) + ((_yVec select 1)*_y) + ((_yVec select 2)*_z),
- ((_zVec select 0)*_x) + ((_zVec select 1)*_y) + ((_zVec select 2)*_z)
- ];
-
+_object = _this select 0;
+_origin = getPosASL _object;
+_matrix = _this select 1;
+_xVec = _matrix select 0;
+_yVec = _matrix select 1;
+_zVec = _matrix select 2;
+
+_offset = _this select 2;
+
+_offset = _offset vectorDiff _origin;
+
+_x = _offset select 0;
+_y = _offset select 1;
+_z = _offset select 2;
+
+_out = [
+ ((_xVec select 0)*_x) + ((_xVec select 1)*_y) + ((_xVec select 2)*_z),
+ ((_yVec select 0)*_x) + ((_yVec select 1)*_y) + ((_yVec select 2)*_z),
+ ((_zVec select 0)*_x) + ((_zVec select 1)*_y) + ((_zVec select 2)*_z)
+ ];
+
_out;
\ No newline at end of file
diff --git a/addons/missileguidance/script_component.hpp b/addons/missileguidance/script_component.hpp
index 377469cdee..14275333b3 100644
--- a/addons/missileguidance/script_component.hpp
+++ b/addons/missileguidance/script_component.hpp
@@ -1,14 +1,14 @@
-#define COMPONENT missileguidance
-#include "\z\ace\Addons\main\script_mod.hpp"
-
-#ifdef DEBUG_ENABLED_MISSILEGUIDANCE
- #define DEBUG_MODE_FULL
-#endif
-
-#ifdef DEBUG_SETTINGS_MISSILEGUIDANCE
- #define DEBUG_SETTINGS DEBUG_SETTINGS_MISSILEGUIDANCE
-#endif
-
-#include "\z\ace\Addons\main\script_macros.hpp"
-
+#define COMPONENT missileguidance
+#include "\z\ace\Addons\main\script_mod.hpp"
+
+#ifdef DEBUG_ENABLED_MISSILEGUIDANCE
+ #define DEBUG_MODE_FULL
+#endif
+
+#ifdef DEBUG_SETTINGS_MISSILEGUIDANCE
+ #define DEBUG_SETTINGS DEBUG_SETTINGS_MISSILEGUIDANCE
+#endif
+
+#include "\z\ace\Addons\main\script_macros.hpp"
+
#define FIREMODE_DIRECT_LOAL 1
\ No newline at end of file
diff --git a/addons/nametags/stringtable.xml b/addons/nametags/stringtable.xml
index 622df44aca..7ee626a2fe 100644
--- a/addons/nametags/stringtable.xml
+++ b/addons/nametags/stringtable.xml
@@ -1,5 +1,5 @@
-
+
@@ -68,14 +68,17 @@
Show name tags for AI units
+ Показывать именые метки ИИ
Show SoundWaves (requires player names)
Zeigen Schallwelle (benötigt spielernamen)
Mostrar onda sonora (requiere Mostrar nombres de jugadores)
+ Показывать звуковые волны (требует имен игроков)
Default Nametag Color (Non Group Members)
+ Цвет меткок игроков (не членов групп)
\ No newline at end of file
diff --git a/addons/optionsmenu/stringtable.xml b/addons/optionsmenu/stringtable.xml
index 76407da435..020a848f79 100644
--- a/addons/optionsmenu/stringtable.xml
+++ b/addons/optionsmenu/stringtable.xml
@@ -1,5 +1,5 @@
-
+
\ No newline at end of file
diff --git a/addons/overheating/stringtable.xml b/addons/overheating/stringtable.xml
index 5d2c9595df..d394406181 100644
--- a/addons/overheating/stringtable.xml
+++ b/addons/overheating/stringtable.xml
@@ -1,12 +1,14 @@
-
+
Display text on jam
+ Показывать текст, когда клинит оружие
Display a notification whenever your weapon gets jammed
+ Демонстрирует уведомление, каждый раз, когда клинит Ваше оружие.
Spare barrel
diff --git a/addons/realisticnames/stringtable.xml b/addons/realisticnames/stringtable.xml
index 9ccd7752d2..29fb5a736b 100644
--- a/addons/realisticnames/stringtable.xml
+++ b/addons/realisticnames/stringtable.xml
@@ -1,1310 +1,1302 @@
-
+
-
-
- XM312
- XM312
- XM312
- XM312
- XM312
- XM312
- XM312
- XM312
- XM312
- XM312A
-
-
- XM312A
- XM312A
- XM312
- XM312A
- XM312A
- XM312A
- XM312A
- XM312A
- XM312A
- XM312A
-
-
- XM312 (High)
- XM312 (Hoch)
- XM312 (Alto)
- XM312 (Haut)
- XM312 (Vysoký)
- XM312 (Wysoki)
- XM312 (Высокий)
- XM312 (Alta)
- XM312 (Magasított)
- XM312 (Alta)
-
-
- XM307
- XM307
- XM307
- XM307
- XM307
- XM307
- XM307
- XM307
- XM307
- XM307
-
-
- XM307A
- XM307A
- XM307A
- XM307A
- XM307A
- XM307A
- XM307A
- XM307A
- XM307A
- XM307A
-
-
- XM307 (High)
- XM307 (Hoch)
- XM307 (Alto)
- XM307 (Haut)
- XM307 (Vysoký)
- XM307 (Wysoki)
- XM307 (Высокий)
- XM307 (Alta)
- XM307 (Magasított)
- XM307 (Alta)
-
-
- Mini-Spike Launcher (AT)
- Mini-Spike Lenkflugkörper (AT)
- Lanzador Mini-Spike (AT)
- Poste de tir Mini-Spike (AC)
- Mini-Spike Odpalovač (AT)
- Wyrzutnia Mini-Spike (AT)
- Mini-Spike Пусковое устройство (ПТРК)
- Lança-mísseis Mini-Spike (AC)
- Mini-Spike rakétarendszer (páncéltörő)
- Lanciatore Mini-Spike (AC)
-
-
- Mini-Spike Launcher (AA)
- Mini-Spike Lenkflugkörper (AA)
- Lanzador Mini-Spike (AA)
- Poste de tir Mini-Spike (AA)
- Mini-Spike Odpalovač (AA)
- Wyrzutnia Mini-Spike (AA)
- Mini-Spike Пусковое устройство (ВВ)
- Lança-mísseis Mini-Spike (AA)
- Mini-Spike rakétarendszer (légvédelmi)
- Lanciatore Mini-Spike (AA)
-
-
- YABHON-R3
- YABHON-R3
- YABHON-R3
- YABHON-R3
- YABHON-R3
- YABHON-R3
- YABHON-R3
- YABHON-R3
- YABHON-R3
- YABHON-R3
-
-
- YABHON-R3 (CAS)
- YABHON-R3 (Luftnahunterstützung)
- YABHON-R3 (CAS)
- YABHON-R3 (CAS)
- YABHON-R3 (CAS)
- YABHON-R3 (штурмовик)
-
-
- M-ATV
- M-ATV
- M-ATV
- M-ATV
- M-ATV
- M-ATV
- M-ATV
- M-ATV
- M-ATV
- M-ATV
-
-
- M-ATV (HMG)
- M-ATV (SMG)
- M-ATV (HMG)
- M-ATV (CKM)
- M-ATV (TK)
- M-ATV (HMG)
- M-ATV (Пулемет)
- M-ATV (HMG)
- M-ATV (HMG)
- M-ATV (HMG)
-
-
- M-ATV (GMG)
- M-ATV (GMW)
- M-ATV (GMG)
- M-ATV (GMG)
- M-ATV (Granátomet)
- M-ATV (GMG)
- M-ATV (Гранатомет)
- M-ATV (GMG)
- M-ATV (GMG)
- M-ATV (GMG)
-
-
- Merkava Mk IV M
- Merkava Mk IV M
- Merkava Mk IV M
- Merkawa Mk IV M
- Merkava Mk IV M
- Merkava Mk IV M
- Меркава Mk IV M
- Merkava Mk IV M
- Merkava Mk IV M
- Merkava Mk IV M
-
-
- Merkava Mk IV LIC
- Merkava Mk IV LIC
- Merkava Mk IV LIC
- Merkawa Mk IV LIC
- Merkava Mk IV LIC
- Merkava Mk IV LIC
- Меркава Mk IV LIC
- Merkava Mk IV LIC
- Merkava Mk IV LIC
- Merkava Mk IV LIC
-
-
- Sholef
- Sholef
- Sholef
- Sholef
- Sholef
- Sholef
- Шолеф
- Sholef
- Sholef
- Sholef
-
-
- Seara
- Seara
- Seara
- Seara
- Seara
- Seara
- Seara
- Seara
- Seara
- Seara
-
-
- Namer
- Namer
- Namer
- Namer
- Namer
- Namer
- Намер
- Namer
- Namer
- Namer
-
-
- Bardelas
- Bardelas
- Bardelas
- Bardelas
- Bardelas
- Bardelas
- Bardelas
- Bardelas
- Bardelas
- Bardelas
-
-
- Patria AMV
- Patria AMV
- Patria AMV
- Patria AMV
- Patria AMV
- Patria AMV
- Patria AMV
- Patria AMV
- Patria AMV
- Patria AMV
-
-
- Nemmera
- Nemmera
- Nemmera
- Nemmera
- Nemmera
- Nemmera
- Nemmera
- Nemmera
- Nemmera
- Nemmera
-
-
- HEMTT Transport
- HEMTT Transport
- HEMTT de transporte
- HEMTT Transportowy
- HEMTT Valník
- HEMTT Transport
- HEMTT Транспортный
- HEMTT Transporte
- HEMTT szállítójármű
- HEMTT da trasporto
-
-
- HEMTT Transport (covered)
- HEMTT Transport (bedeckt)
- HEMTT de transporte (cubierto)
- HEMTT Transportowy (zakryty)
- HEMTT Valník (krytý)
- HEMTT Transport (bâché)
- HEMTT Транспортный (крытый)
- HEMTT Transporte (coberto)
- HEMTT szállítójármű (ponyvás)
- HEMTT da trasporto (coperto)
-
-
- HEMTT
- HEMTT
- HEMTT
- HEMTT
- HEMTT
- HEMTT Tracteur
- HEMTT
- HEMTT
- HEMTT
- HEMTT
-
-
- HEMTT Container
- HEMTT Container
- HEMTT de contenedor
- HEMTT Kontener
- HEMTT Skříňový
- HEMTT Conteneur
- HEMTT Контейнер
- HEMTT Contêiner
- HEMTT Konténer
- HEMTT portacontainer
-
-
- HEMTT Medical
- HEMTT Sanitäter
- HEMTT médico
- HEMTT Medyczny
- HEMTT Zdravotnický
- HEMTT Sanitaire
- HEMTT Медицинский
- HEMTT Médico
- HEMTT (egészségügyi)
- HEMTT Medico
-
-
- HEMTT Ammo
- HEMTT Munition
- HEMTT de munición
- HEMTT Amunicyjny
- HEMTT Muniční
- HEMTT Munitions
- HEMTT Боеприпасы
- HEMTT Munições
- HEMTT (lőszerszállító)
- HEMTT di rifornimento munizioni
-
-
- HEMTT Fuel
- HEMTT Treibstoff
- HEMTT de combustible
- HEMTT Cysterna
- HEMTT Cisterna
- HEMTT Citerne
- HEMTT Заправщик
- HEMTT Combustível
- HEMTT (üzemanyag-szállító)
- HEMTT di rifornimento carburante
-
-
- HEMTT Repair
- HEMTT Instandsetzung
- HEMTT de reparación
- HEMTT Naprawczy
- HEMTT Opravárenský
- HEMTT Réparation
- HEMTT Ремонтный
- HEMTT Reparador
- HEMTT (szerelő-jármű)
- HEMTT Riparatore
-
-
- Fennek
- Fennek
- Fennek
- Fennek
- Fennek
- Fennek
- Феннек
- Fennek
- Fennek
- Fennek
-
-
- Fennek (HMG)
- Fennek (SMG)
- Fennek (HMG)
- Fennek (CKM)
- Fennek (TK)
- Fennek (HMG)
- Феннек (Пулемет)
- Fennek (HMG)
- Fennek (HMG)
- Fennek (HMG)
-
-
- Fennek (GMG)
- Fennek (GMW)
- Fennek (GMG)
- Fennek (GMG)
- Fennek (granátomet)
- Fennek (GMG)
- Феннек (Гранатомет)
- Fennek (GMG)
- Fennek (GMG)
- Fennek (GMG)
-
-
- Leopard 2SG
- Leopard 2SG
- Leopard 2SG
- Leopard 2SG
- Leopard 2SG
- Leopard 2SG
- Леопард 2SG
- Leopard 2SG
- Leopard 2SG
- Leopard 2SG
-
-
- FV510 Warrior
- FV510 Warrior
- FV510 Warrior
- FV510 Warrior
- FV510 Warrior
- FV510 Warrior
- FV510 Уорриор
- FV510 Warrior
- FV510 Warrior
- FV510 Warrior
-
-
- Pandur II
- Pandur II
- Pandur II
- Pandur II
- Pandur II
- Pandur II
- Pandur II
- Pandur II
- Pandur II
- Pandur II
-
-
- KamAZ Transport
- KamAZ Transport
- KamAZ de transporte
- KamAZ transportowy
- KAMAZ Valník
- KamAZ Transport
- КамАЗ Траспортный
- KamAZ Transporte
- KamAZ szállítójármű
- KamAZ da trasporto
-
-
- KamAZ Transport (covered)
- KamAZ Transport (bedeckt)
- KamAZ de transporte (cubierto)
- KamAZ Transportowy (zakryty)
- KAMAZ Valník (krytý)
- KamAZ Transport (bâché)
- КамАЗ Траспортный (Крытый)
- KamAZ Transporte (coberto)
- KamAZ szállítójármű (ponyvás)
- KamAZ da trasporto (coperto)
-
-
- KamAZ Ammo
- KamAZ Munition
- KamAZ de munición
- KamAZ Amunicyjny
- KAMAZ Muniční
- KamAZ Munitions
- КамАЗ Боеприпасы
- KamAZ Munições
- KamAZ (lőszerszállító)
- KamAZ di rifornimento munizioni
-
-
- KamAZ Fuel
- KamAZ Treibstoff
- KamAZ de combustible
- KamAZ cysterna
- KAMAZ Cisterna
- KamAZ Citerne
- КамАЗ Заправщик
- KamAZ Combustível
- KamAZ (üzemanyag-szállító)
- KamAZ di rifornimento carburante
-
-
- KamAZ Repair
- KamAZ Instandsetzung
- KamAZ de reparación
- KamAZ Naprawczy
- KAMAZ Opravárenský
- KamAZ Réparation
- КамАЗ Ремонтный
- KamAZ Reparador
- KamAZ (szerelő-jármű)
- KamAZ riparatore
-
-
- KamAZ Medical
- KamAZ Sanitäter
- KamAZ médico
- KamAZ Medyczny
- KAMAZ Zdravotnický
- KamAZ Sanitaire
- КамАЗ Медицинский
- KamAZ Médico
- KamAZ (egészségügyi)
- KamAZ Medico
-
-
- Punisher
- Punisher
- Punisher
- Punisher
- Punisher
- Punisher
- Kаратель
- Punisher
- Punisher
- Punisher
-
-
- Punisher (HMG)
- Punisher (SMG)
- Punisher (HMG)
- Punisher (CKM)
- Punisher (TK)
- Punisher (HMG)
- Kаратель (Пулемет)
- Punisher (HMG)
- Punisher (HMG)
- Punisher (HMG)
-
-
- Punisher (GMG)
- Punisher (GMW)
- Punisher (GMG)
- Punisher (CKM)
- Punisher (granátomet)
- Punisher (GMG)
- Kаратель (Гранатомет)
- Punisher (GMG)
- Punisher (GMG)
- Punisher (GMG)
-
-
- T100 Black Eagle
- T100 Black Eagle
- T100 Black Eagle
- T100 Black Eagle
- T100 Black Eagle
- T100 Black Eagle
- T100 Черный Орел
- T100 Black Eagle
- T100 Black Eagle
- T100 Black Eagle
-
-
- 2S9 Sochor
- 2S9 Sochor
- 2S9 Sochor
- 259 Sochor
- 2S9 Sochor
- 2S9 Sochor
- 2S9 Сокор
- 2S9 Sochor
- 2S9 Sochor
- 2S9 Sochor
-
-
- BM-2T Stalker
- BM-2T Stalker
- BM-2T Stalker
- BM-2T Stalker
- BM-2T Stalker
- BM-2T Stalker
- БМ-2Т Сталкер
- BM-2T Stalker
- BM-2T Stalker
- BM-2T Stalker
-
-
- ZSU-35 Tigris
- ZSU-35 Tigris
- ZSU-35 Tigris
- ZSU-35 Tigris
- ZSU-35 Tigris
- ZSU-35 Tigris
- ЗСУ-35 Tigris
- ZSU-35 Tigris
- ZSU-35 Tigris
- ZSU-35 Tigris
-
-
- Otokar ARMA
- Otokar ARMA
- Otokar ARMA
- Otokar ARMA
- Otokar ARMA
- Otokar ARMA
- Otokar ARMA
- Otokar ARMA
- Otokar ARMA
- Otokar ARMA
-
-
- Typhoon Transport
- Typhoon Transport
- Typhoon de transporte
- Typhoon Transportowy
- Typhoon Valník
- Typhoon Transport
- Тайфун Транспортный
- Typhoon Transporte
- Typhoon szállítójármű
- Typhoon da trasporto
-
-
- Typhoon Transport (covered)
- Typhoon Transport (bedeckt)
- Typhoon de transporte (cubierto)
- Typhoon Transportowy (przykryty)
- Typhoon Valník (krytý)
- Typhoon Transport (bâché)
- Тайфун Транспортный (kрытый)
- Typhoon Transporte (coberto)
- Typhoon szállítójármű (ponyvás)
- Typhoon da trasporto (coperto)
-
-
- Typhoon Device
- Typhoon Gerät
- Typhoon de dispositivo
- Typhoon Urządzenie
- Typhoon Zařízení
- Typhoon Dispositif
- Тайфун Устройство
- Typhoon Dispositivo
- Typhoon (szerkezet)
- Typhoon per dispositivo
-
-
- Typhoon Ammo
- Typhoon Munition
- Typhoon de munición
- Typhoon Amunicyjny
- Typhoon Muniční
- Typhoon Munitions
- Тайфун Боеприпасы
- Typhoon Munições
- Typhoon (lőszerszállító)
- Typhoon di rifornimento munizioni
-
-
- Typhoon Fuel
- Typhoon Treibstoff
- Typhoon de combustible
- Typhoon Cysterna
- Typhoon Cisterna
- Typhoon Citerne
- Тайфун Заправщик
- Typhoon Combustível
- Typhoon (üzemanyag-szállító)
- Typhoon di rifornimento carburante
-
-
- Typhoon Repair
- Typhoon Instandsetzung
- Typhoon de reparación
- Typhoon Naprawczy
- Typhoon Opravárenský
- Typhoon Réparation
- Тайфун Ремонтный
- Typhoon Reparador
- Typhoon (szerelő-jármű)
- Typhoon riparatore
-
-
- Typhoon Medical
- Typhoon Sanitäter
- Typhoon médico
- Typhoon Medyczny
- Typhoon Zdravotnický
- Typhoon Sanitaire
- Тайфун Медицинский
- Typhoon Médico
- Typhoon (egészségügyi)
- Typhoon medico
-
-
- RAH-66 Comanche
- RAH-66 Comanche
- RAH-66 Comanche
- RAH-66 Comanche
- RAH-66 Comanche
- RAH-66 Commanche
- RAH-66 Команч
- RAH-66 Comanche
- RAH-66 Comanche
- RAH-66 Comanche
-
-
- MH-6 Little Bird
- MH-6 Little Bird
- MH-6 Litte Bird
- MH-6 Little Bird
- MH-6 Little Bird
- MH-6 Little Bird
- MH-6 Little Bird
- MH-6 Little Bird
- MH-6 Little Bird
- MH-6 Little Bird
-
-
- AH-6 Little Bird
- AH-6 Little Bird
- AH-6 Little Bird
- AH-6 Little Bird
- AH-6 Little Bird
- AH-6 Little Bird
- AH-6 Little Bird
- AH-6 Little Bird
- AH-6 Little Bird
- AH-6 Little Bird
-
-
- CH-47I Chinook
- CH-47I Chinook
- CH-47I Chinook
- CH-47I Chinook
- CH-47I Chinook
- CH-47I Chinook
- CH-47I Chinook
- CH-47I Chinook
- CH-47I Chinook
- CH-47I Chinook
-
-
- CH-47I Chinook (unarmed)
- CH-47I Chinook (unbewaffnet)
- CH-47I Chinnok (Desarmado)
- CH-47I Chinook (nieuzbrojony)
- CH-47I Chinook (невооруженный)
- CH-47I Chinook (Neozbrojený)
-
-
- A-10D Thunderbolt II
- A-10D Thunderbolt II
- A-10D Thunderbolt II
- A-10D Thunderbolt II
- A-10D Thunderbolt II
- A-10D Thunderbolt II
- A-10D Тандерболт II
- A-10D Thunderbolt II
- A-10D Thunderbolt II
- A-10D Thunderbolt II
-
-
- AW159 Wildcat
- AW159 Wildcat
- AW159 Wildcat
- AW159 Wildcat
- AW159 Wildcat
- AW159 Wildcat
- AW159 Wildcat
- AW159 Wildcat
- AW159 Wildcat
- AW159 Wildcat
-
-
- AW159 Wildcat (unarmed)
- AW159 Wildcat (unbewaffnet)
- AW159 Wildcat (desarmado)
- AW159 Wildcat (nieuzbrojony)
- AW159 Wildcat (neozbrojený)
- AW159 Wildcat (non-armé)
- AW159 Wildcat (невооруженный)
- AW159 Wildcat (desarmado)
- AW159 Wildcat (fegyvertelen)
- AW159 Wildcat (disarmato)
-
-
- AW101 Merlin
- AW101 Merlin
- AW101 Merlin
- AW101 Merlin
- AW101 Merlin
- AW101 Merlin
- AW101 Мерлин
- AW101 Merlin
- AW101 Merlin
- AW101 Merlin
-
-
- L-159 ALCA (CAS)
- L-159 ALCA (CAS)
- L-159 ALCA (CAS)
- L-159 ALCA (CAS)
- L-159 ALCA (CAS)
- L-159 ALCA (CAS)
- L-159 Альбатрос (CAS)
- L-159 ALCA (CAS)
- L-159 ALCA (CAS)
- L-159 ALCA (CAS)
-
-
- L-159 ALCA (AA)
- L-159 ALCA (AA)
- L-159 ALCA (AA)
- L-159 ALCA (AA)
- L-159 ALCA (AA)
- L-159 ALCA (AA)
- L-159 Альбатрос (AA)
- L-159 ALCA (ВВ)
- L-159 ALCA (AA)
- L-159 ALCA (AA)
-
-
- Ka-60 Kasatka
- Ka-60 Kasatka
- Ka-60 Kasatka
- Ka-60 Kasatka
- Ka-60 Kasatka
- Ka-60 Kasatka
- Ka-60 Касатка
- Ka-60 Kasatka
- Ka-60 Kasatka
- Ka-60 Kasatka
-
-
- Ka-60 Kasatka (unarmed)
- Ka-60 Kasatka (unbewaffnet)
- Ka-60 Kasatka (desarmado)
- Ka-60 Kasatka (nieuzbrojony)
- Ka-60 Kasatka (neozbrojená)
- Ka-60 Kasatka (non-armé)
- Ka-60 Касатка (невооруженный)
- Ka-60 Kasatka (desarmado)
- Ka-60 Kasatka (fegyvertelen)
- Ka-60 Kasatka (disarmato)
-
-
- Yak-130
- Yak-130
- Yak-130
- Jak-130
- Jak-130
- Yak-130
- Як-130
- Yak-130
- Jak-130
- Yak-130
-
-
- MD 500
- MD 500
- MD 500
- MD 500
- MD 500
- MD 500
- MD 500
- MD 500
- MD 500
- MD 500
-
-
- M4A1 SLAM
- M4A1 SLAM
- M4A1 SLAM
- M4A1 SLAM
- M4A1 SLAM
- M4A1 SLAM
- M4A1 SLAM
- M4A1 SLAM
- M4A1 SLAM
- M4A1 SLAM
-
-
- M18A1 Claymore
- M18A1 Claymore
- M18A1 Claymore
- Mina kierunkowa M18A1 Claymore
- M18A1 Mina Claymore
- M18A1 Claymore Mine antipersonnel à effet dirigé
- M18A1 Клеймор
- M18A1 Claymore
- M18A1 Claymore akna
- M18A1 Claymore Mina antiuomo
-
-
- M183 Demolition Charge Assembly
- M183 Geballte Sprengladung
- Conjunto de carga de demolición M183
- Ładunek burzący M183
- M183 Demoliční nálož
- M183 Charge de Démolition
- M183 Комплектный подрывной заряд
- M183 Sacola de Demolição
- M183 romboló töltet
- M183 Demolition Charge Assembly
-
-
- M112 Demolition Block
- M112 Sprengladung
- Bloque de demolición M112
- Ładunek burzący M112
- M112 Výbušná nálož
- Pétard M112
- M112 подрывной заряд
- M112 Carga de Demolição
- M112 romboló töltet
- M112 Demolition Block
-
-
- M67 Fragmentation Grenade
- M67 Splittergranate
- Granada de fragmentación M67
- Granat obronny M67
- M67 Granát
- M67 Grenade à fragmentation
- M67 ручная осколочная граната
- M67 Granada de fragmentação
- M67 repeszgránát
- M67 Granata a frammentazione
-
-
- M83 Smoke Grenade (White)
- M83 Rauchgranate (Weiss)
- Granada de humo M83 (Blanco)
- Granat dymny M83 (Biały)
- M83 Kouřový Granát (Bílý)
- M83 Grenade fumigène (Blanche)
- M83 дымовой гранаты (Белый)
- M83 Granada de fumaça (Branca)
- M83 füstgránát (Fehér)
- M83 Granata fumogena (Bianco)
-
-
- M18 Smoke Grenade (Blue)
- M18 Rauchgranate (Blau)
- Granada de humo M18 (Azul)
- Granat dymny M18 (Niebieski)
- M18 Kouřový Granát (Modrý)
- M18 Grenade fumigène (Bleue)
- M18 дымовой гранаты (Синий)
- M18 Granada de fumaça (Azul)
- M18 füstgránát (Kék)
- M18 Granata fumogena (Blu)
-
-
- M18 Smoke Grenade (Green)
- M18 Rauchgranate (Grün)
- Granada de humo M18 (Verde)
- Granat dymny M18 (Zielony)
- M18 Kouřový Granát (Zelený)
- M18 Grenade fumigène (Verte)
- M18 дымовой гранаты (Зелёный)
- M18 Granada de fumaça (Verde)
- M18 füstgránát (Zöld)
- M18 Granata fumogena (Verde)
-
-
- M18 Smoke Grenade (Orange)
- M18 Rauchgranate (Orange)
- Granada de humo M18 (Naranja)
- Granat dymny M18 (Pomarańczowy)
- M18 Kouřový Granát (Oranžový)
- M18 Grenade fumigène (Orange)
- M18 дымовой гранаты (Оранжевый)
- M18 Granada de fumaça (Laranja)
- M18 füstgránát (Narancssárga)
- M18 Granata fumogena (Arancione)
-
-
- M18 Smoke Grenade (Purple)
- M18 Rauchgranate (Violett)
- Granada de humo M18 (Púrpura)
- Granat dymny M18 (Fioletowy)
- M18 Kouřový Granát (Fialový)
- M18 Grenade fumigène (Pourpre)
- M18 дымовой гранаты (Пурпурный)
- M18 Granada de fumaça (Roxa)
- M18 füstgránát (Lila)
- M18 Granata fumogena (Viola)
-
-
- M18 Smoke Grenade (Red)
- M18 Rauchgranate (Rot)
- Granada de humo M18 (Rojo)
- Granat dymny M18 (Czerwony)
- M18 Kouřový Granát (Červený)
- M18 Grenade fumigène (Rouge)
- M18 дымовой гранаты (Красный)
- M18 Granada de fumaça (Vermelha)
- M18 füstgránát (Piros)
- M18 Granata fumogena (Rosso)
-
-
- M18 Smoke Grenade (Yellow)
- M18 Rauchgranate (Gelb)
- Granada de humo M18 (Amarillo)
- Granat dymny M18 (Żółty)
- M18 Kouřový Granát (Žlutý)
- M18 Grenade fumigène (Jaune)
- M183 дымовой гранаты (Жёлтые)
- M18 Granada de fumaça (Amarela)
- M18 füstgránát (Sárga)
- M18 Granata fumogena (Giallo)
-
-
- M15 Anti-Tank Mine
- M15 Panzerabwehrmine
- Mina antitanque M15
- Mina przeciwpancerna M15
- M15 Protitanková Mina
- M15 Mine antichar
- M15 противотанковая мина
- M15 Mina anticarro
- M15 harckocsiakna
- M15 Mine anticarro
-
-
- VS-50 Anti-Personnel Mine
- VS-50 Antipersonenmine
- Mina antipersona VS-50
- Mina przeciwpiechotna VS-50
- VS-50 Protipěchotní Mina
- VS-50 Mine antipersonnel à pression
- VS-50 Противопехотная мина
- VS-50 Mina antipessoal
- VS-50 gyalogsági taposóakna
- VS-50 Mine antiuomo
-
-
- M26 Anti-Personnel Bounding Mine
- M26 Antipersonensprungmine
- Mina antipersona M26
- Mina przeciwpiechotna M26
- M26 Šrapnelová Mina
- M26 Mine antipersonnel bondissante
- M26 Противопехотная мина
- M26 Mina saltadora antipessoal
- M26 gyalogsági ugróakna
- M26 Mine saltanti antiuomo
-
-
- PMR-3 Anti-Personnel Tripwire Mine
- PMR-3 Antipersonenstolperdrahtmine
- Mina antipersona de alambre PMR-3
- Mina przeciwpiechotna PMR-3
- PMR-3 Nástražná Mina
- PMR-3 Mine antipersonnel à traction
- PMR-3 Противопехотная мина
- PMR-3 Mina antipessoal (armadilha)
- PMR-3 botlódrótos gyalogsági akna
- PMR-3 Mine antiuomo
-
-
- P99
- P99
-
-
- MP-443 Grach
- MP-443 Grach
-
-
- ACP-C2
- ACP-C2
-
-
- FNX-45 Tactical
- FNX-45 Tactical
-
-
- Chiappa Rhino 60DS
- Chiappa Rhino 60DS
-
-
- Taurus Judge
- Taurus Judge
-
-
- NLAW
- NLAW
-
-
- RPG-32
- RPG-32
-
-
- Mini-Spike (AA)
- Mini-Spike (AA)
-
-
- Mini-Spike (AT)
- Mini-Spike (AT)
-
-
- MX
- MX
-
-
- MX (Black)
- MX (Black)
-
-
- MXC
- MXC
-
-
- MXC (Black)
- MXC (Black)
-
-
- MX 3GL
- MX 3GL
-
-
- MX 3GL (Black)
- MX 3GL (Black)
-
-
- MX LSW
- MX LSW
-
-
- MX LSW (Black)
- MX LSW (Black)
-
-
- MXM
- MXM
-
-
- MXM (Black)
- MXM (Black)
-
-
- KT2002 Katiba
- KT2002 Katiba
-
-
- KT2002C Katiba
- KT2002C Katiba
-
-
- KT2002 Katiba KGL
- KT2002 Katiba KGL
-
-
- F2000 (Camo)
- F2000 (Camo)
-
-
- F2000
- F2000
-
-
- F2000 Tactical (Camo)
- F2000 Tactical (Camo)
-
-
- F2000 Tactical
- F2000 Tactical
-
-
- F2000 EGLM (Camo)
- F2000 EGLM (Camo)
-
-
- F2000 EGLM
- F2000 EGLM
-
-
- TAR-21
- TAR-21
-
-
- CTAR-21
- CTAR-21
-
-
- TAR-21 EGLM
- TAR-21 EGLM
-
-
- Vector SMG
- Vector SMG
-
-
- Scorpion Evo 3 A1
- Scorpion Evo 3 A1
-
-
- CPW
- CPW
-
-
- RFB SDAR
- RFB SDAR
-
-
- Stoner 99 LMG
- Stoner 99 LMG
-
-
- Negev NG7
- Negev NG7
-
-
- Mk14 Mod 1 EBR
- Mk14 Mod 1 EBR
-
-
- GM6 Lynx
- GM6 Lynx
-
-
- GM6 Lynx (Camo)
- GM6 Lynx (Camo)
-
-
- M200 Intervention
- M200 Intervention
-
-
- M200 Intervention (Camo)
- M200 Intervention (Camo)
-
-
- VS-121
- VS-121
-
-
-
- TODO: MAR-10 .338
-
-
- TODO: MAR-10 .338 (Black)
-
-
- TODO: MAR-10 .338 (Camo)
-
-
- TODO: MAR-10 .338 (Sand)
-
-
-
- TODO: Mk-I EMR 7.62 mm
-
-
- TODO: Mk-I EMR 7.62 mm (Black)
-
-
- TODO: Mk-I EMR 7.62 mm (Khaki)
-
-
- TODO: Mk-I EMR 7.62 mm (Sand)
-
-
- TODO: Mk-I EMR 7.62 mm (Camo)
-
-
- TODO: Mk-I EMR 7.62 mm (Woodland)
-
-
- TODO: NATO DMR (provisional) spotter
-
-
-
- TODO: ASP-1 Kir 12.7 mm
-
-
- TODO: ASP-1 Kir 12.7 mm (Black)
-
-
- TODO: ASP-1 Kir 12.7 mm (Tan)
-
-
-
- TODO: Cyrus 9.3 mm
-
-
- TODO: Cyrus 9.3 mm (Black)
-
-
- TODO: Cyrus 9.3 mm (Hex)
-
-
- TODO: Cyrus 9.3 mm (Tan)
-
-
-
- TODO: Mk14 7.62 mm
-
-
- TODO: Mk14 7.62 mm (Camo)
-
-
- TODO: Mk14 7.62 mm (Olive)
-
-
-
- TODO: Navid 9.3 mm
-
-
- TODO: Navid 9.3 mm (Hex)
-
-
- TODO: Navid 9.3 mm (Tan)
-
-
-
- TODO: SPMG .338
-
-
- TODO: SPMG .338 (MTP)
-
-
- TODO: SPMG .338 (Black)
-
-
- TODO: SPMG .338 (Sand)
-
-
-
-
+
+
+ XM312
+ XM312
+ XM312
+ XM312
+ XM312
+ XM312
+ XM312
+ XM312
+ XM312
+ XM312A
+
+
+ XM312A
+ XM312A
+ XM312
+ XM312A
+ XM312A
+ XM312A
+ XM312A
+ XM312A
+ XM312A
+ XM312A
+
+
+ XM312 (High)
+ XM312 (Hoch)
+ XM312 (Alto)
+ XM312 (Haut)
+ XM312 (Vysoký)
+ XM312 (Wysoki)
+ XM312 (Высокий)
+ XM312 (Alta)
+ XM312 (Magasított)
+ XM312 (Alta)
+
+
+ XM307
+ XM307
+ XM307
+ XM307
+ XM307
+ XM307
+ XM307
+ XM307
+ XM307
+ XM307
+
+
+ XM307A
+ XM307A
+ XM307A
+ XM307A
+ XM307A
+ XM307A
+ XM307A
+ XM307A
+ XM307A
+ XM307A
+
+
+ XM307 (High)
+ XM307 (Hoch)
+ XM307 (Alto)
+ XM307 (Haut)
+ XM307 (Vysoký)
+ XM307 (Wysoki)
+ XM307 (Высокий)
+ XM307 (Alta)
+ XM307 (Magasított)
+ XM307 (Alta)
+
+
+ Mini-Spike Launcher (AT)
+ Mini-Spike Lenkflugkörper (AT)
+ Lanzador Mini-Spike (AT)
+ Poste de tir Mini-Spike (AC)
+ Mini-Spike Odpalovač (AT)
+ Wyrzutnia Mini-Spike (AT)
+ Mini-Spike Пусковое устройство (ПТРК)
+ Lança-mísseis Mini-Spike (AC)
+ Mini-Spike rakétarendszer (páncéltörő)
+ Lanciatore Mini-Spike (AC)
+
+
+ Mini-Spike Launcher (AA)
+ Mini-Spike Lenkflugkörper (AA)
+ Lanzador Mini-Spike (AA)
+ Poste de tir Mini-Spike (AA)
+ Mini-Spike Odpalovač (AA)
+ Wyrzutnia Mini-Spike (AA)
+ Mini-Spike Пусковое устройство (ВВ)
+ Lança-mísseis Mini-Spike (AA)
+ Mini-Spike rakétarendszer (légvédelmi)
+ Lanciatore Mini-Spike (AA)
+
+
+ YABHON-R3
+ YABHON-R3
+ YABHON-R3
+ YABHON-R3
+ YABHON-R3
+ YABHON-R3
+ YABHON-R3
+ YABHON-R3
+ YABHON-R3
+ YABHON-R3
+
+
+ YABHON-R3 (CAS)
+ YABHON-R3 (Luftnahunterstützung)
+ YABHON-R3 (CAS)
+ YABHON-R3 (CAS)
+ YABHON-R3 (CAS)
+ YABHON-R3 (штурмовик)
+
+
+ M-ATV
+ M-ATV
+ M-ATV
+ M-ATV
+ M-ATV
+ M-ATV
+ M-ATV
+ M-ATV
+ M-ATV
+ M-ATV
+
+
+ M-ATV (HMG)
+ M-ATV (SMG)
+ M-ATV (HMG)
+ M-ATV (CKM)
+ M-ATV (TK)
+ M-ATV (HMG)
+ M-ATV (Пулемет)
+ M-ATV (HMG)
+ M-ATV (HMG)
+ M-ATV (HMG)
+
+
+ M-ATV (GMG)
+ M-ATV (GMW)
+ M-ATV (GMG)
+ M-ATV (GMG)
+ M-ATV (Granátomet)
+ M-ATV (GMG)
+ M-ATV (Гранатомет)
+ M-ATV (GMG)
+ M-ATV (GMG)
+ M-ATV (GMG)
+
+
+ Merkava Mk IV M
+ Merkava Mk IV M
+ Merkava Mk IV M
+ Merkawa Mk IV M
+ Merkava Mk IV M
+ Merkava Mk IV M
+ Меркава Mk IV M
+ Merkava Mk IV M
+ Merkava Mk IV M
+ Merkava Mk IV M
+
+
+ Merkava Mk IV LIC
+ Merkava Mk IV LIC
+ Merkava Mk IV LIC
+ Merkawa Mk IV LIC
+ Merkava Mk IV LIC
+ Merkava Mk IV LIC
+ Меркава Mk IV LIC
+ Merkava Mk IV LIC
+ Merkava Mk IV LIC
+ Merkava Mk IV LIC
+
+
+ Sholef
+ Sholef
+ Sholef
+ Sholef
+ Sholef
+ Sholef
+ Шолеф
+ Sholef
+ Sholef
+ Sholef
+
+
+ Seara
+ Seara
+ Seara
+ Seara
+ Seara
+ Seara
+ Seara
+ Seara
+ Seara
+ Seara
+
+
+ Namer
+ Namer
+ Namer
+ Namer
+ Namer
+ Namer
+ Намер
+ Namer
+ Namer
+ Namer
+
+
+ Bardelas
+ Bardelas
+ Bardelas
+ Bardelas
+ Bardelas
+ Bardelas
+ Bardelas
+ Bardelas
+ Bardelas
+ Bardelas
+
+
+ Patria AMV
+ Patria AMV
+ Patria AMV
+ Patria AMV
+ Patria AMV
+ Patria AMV
+ Patria AMV
+ Patria AMV
+ Patria AMV
+ Patria AMV
+
+
+ Nemmera
+ Nemmera
+ Nemmera
+ Nemmera
+ Nemmera
+ Nemmera
+ Nemmera
+ Nemmera
+ Nemmera
+ Nemmera
+
+
+ HEMTT Transport
+ HEMTT Transport
+ HEMTT de transporte
+ HEMTT Transportowy
+ HEMTT Valník
+ HEMTT Transport
+ HEMTT Транспортный
+ HEMTT Transporte
+ HEMTT szállítójármű
+ HEMTT da trasporto
+
+
+ HEMTT Transport (covered)
+ HEMTT Transport (bedeckt)
+ HEMTT de transporte (cubierto)
+ HEMTT Transportowy (zakryty)
+ HEMTT Valník (krytý)
+ HEMTT Transport (bâché)
+ HEMTT Транспортный (крытый)
+ HEMTT Transporte (coberto)
+ HEMTT szállítójármű (ponyvás)
+ HEMTT da trasporto (coperto)
+
+
+ HEMTT
+ HEMTT
+ HEMTT
+ HEMTT
+ HEMTT
+ HEMTT Tracteur
+ HEMTT
+ HEMTT
+ HEMTT
+ HEMTT
+
+
+ HEMTT Container
+ HEMTT Container
+ HEMTT de contenedor
+ HEMTT Kontener
+ HEMTT Skříňový
+ HEMTT Conteneur
+ HEMTT Контейнер
+ HEMTT Contêiner
+ HEMTT Konténer
+ HEMTT portacontainer
+
+
+ HEMTT Medical
+ HEMTT Sanitäter
+ HEMTT médico
+ HEMTT Medyczny
+ HEMTT Zdravotnický
+ HEMTT Sanitaire
+ HEMTT Медицинский
+ HEMTT Médico
+ HEMTT (egészségügyi)
+ HEMTT Medico
+
+
+ HEMTT Ammo
+ HEMTT Munition
+ HEMTT de munición
+ HEMTT Amunicyjny
+ HEMTT Muniční
+ HEMTT Munitions
+ HEMTT Боеприпасы
+ HEMTT Munições
+ HEMTT (lőszerszállító)
+ HEMTT di rifornimento munizioni
+
+
+ HEMTT Fuel
+ HEMTT Treibstoff
+ HEMTT de combustible
+ HEMTT Cysterna
+ HEMTT Cisterna
+ HEMTT Citerne
+ HEMTT Заправщик
+ HEMTT Combustível
+ HEMTT (üzemanyag-szállító)
+ HEMTT di rifornimento carburante
+
+
+ HEMTT Repair
+ HEMTT Instandsetzung
+ HEMTT de reparación
+ HEMTT Naprawczy
+ HEMTT Opravárenský
+ HEMTT Réparation
+ HEMTT Ремонтный
+ HEMTT Reparador
+ HEMTT (szerelő-jármű)
+ HEMTT Riparatore
+
+
+ Fennek
+ Fennek
+ Fennek
+ Fennek
+ Fennek
+ Fennek
+ Феннек
+ Fennek
+ Fennek
+ Fennek
+
+
+ Fennek (HMG)
+ Fennek (SMG)
+ Fennek (HMG)
+ Fennek (CKM)
+ Fennek (TK)
+ Fennek (HMG)
+ Феннек (Пулемет)
+ Fennek (HMG)
+ Fennek (HMG)
+ Fennek (HMG)
+
+
+ Fennek (GMG)
+ Fennek (GMW)
+ Fennek (GMG)
+ Fennek (GMG)
+ Fennek (granátomet)
+ Fennek (GMG)
+ Феннек (Гранатомет)
+ Fennek (GMG)
+ Fennek (GMG)
+ Fennek (GMG)
+
+
+ Leopard 2SG
+ Leopard 2SG
+ Leopard 2SG
+ Leopard 2SG
+ Leopard 2SG
+ Leopard 2SG
+ Леопард 2SG
+ Leopard 2SG
+ Leopard 2SG
+ Leopard 2SG
+
+
+ FV510 Warrior
+ FV510 Warrior
+ FV510 Warrior
+ FV510 Warrior
+ FV510 Warrior
+ FV510 Warrior
+ FV510 Уорриор
+ FV510 Warrior
+ FV510 Warrior
+ FV510 Warrior
+
+
+ Pandur II
+ Pandur II
+ Pandur II
+ Pandur II
+ Pandur II
+ Pandur II
+ Pandur II
+ Pandur II
+ Pandur II
+ Pandur II
+
+
+ KamAZ Transport
+ KamAZ Transport
+ KamAZ de transporte
+ KamAZ transportowy
+ KAMAZ Valník
+ KamAZ Transport
+ КамАЗ Траспортный
+ KamAZ Transporte
+ KamAZ szállítójármű
+ KamAZ da trasporto
+
+
+ KamAZ Transport (covered)
+ KamAZ Transport (bedeckt)
+ KamAZ de transporte (cubierto)
+ KamAZ Transportowy (zakryty)
+ KAMAZ Valník (krytý)
+ KamAZ Transport (bâché)
+ КамАЗ Траспортный (Крытый)
+ KamAZ Transporte (coberto)
+ KamAZ szállítójármű (ponyvás)
+ KamAZ da trasporto (coperto)
+
+
+ KamAZ Ammo
+ KamAZ Munition
+ KamAZ de munición
+ KamAZ Amunicyjny
+ KAMAZ Muniční
+ KamAZ Munitions
+ КамАЗ Боеприпасы
+ KamAZ Munições
+ KamAZ (lőszerszállító)
+ KamAZ di rifornimento munizioni
+
+
+ KamAZ Fuel
+ KamAZ Treibstoff
+ KamAZ de combustible
+ KamAZ cysterna
+ KAMAZ Cisterna
+ KamAZ Citerne
+ КамАЗ Заправщик
+ KamAZ Combustível
+ KamAZ (üzemanyag-szállító)
+ KamAZ di rifornimento carburante
+
+
+ KamAZ Repair
+ KamAZ Instandsetzung
+ KamAZ de reparación
+ KamAZ Naprawczy
+ KAMAZ Opravárenský
+ KamAZ Réparation
+ КамАЗ Ремонтный
+ KamAZ Reparador
+ KamAZ (szerelő-jármű)
+ KamAZ riparatore
+
+
+ KamAZ Medical
+ KamAZ Sanitäter
+ KamAZ médico
+ KamAZ Medyczny
+ KAMAZ Zdravotnický
+ KamAZ Sanitaire
+ КамАЗ Медицинский
+ KamAZ Médico
+ KamAZ (egészségügyi)
+ KamAZ Medico
+
+
+ Punisher
+ Punisher
+ Punisher
+ Punisher
+ Punisher
+ Punisher
+ Kаратель
+ Punisher
+ Punisher
+ Punisher
+
+
+ Punisher (HMG)
+ Punisher (SMG)
+ Punisher (HMG)
+ Punisher (CKM)
+ Punisher (TK)
+ Punisher (HMG)
+ Kаратель (Пулемет)
+ Punisher (HMG)
+ Punisher (HMG)
+ Punisher (HMG)
+
+
+ Punisher (GMG)
+ Punisher (GMW)
+ Punisher (GMG)
+ Punisher (CKM)
+ Punisher (granátomet)
+ Punisher (GMG)
+ Kаратель (Гранатомет)
+ Punisher (GMG)
+ Punisher (GMG)
+ Punisher (GMG)
+
+
+ T100 Black Eagle
+ T100 Black Eagle
+ T100 Black Eagle
+ T100 Black Eagle
+ T100 Black Eagle
+ T100 Black Eagle
+ T100 Черный Орел
+ T100 Black Eagle
+ T100 Black Eagle
+ T100 Black Eagle
+
+
+ 2S9 Sochor
+ 2S9 Sochor
+ 2S9 Sochor
+ 259 Sochor
+ 2S9 Sochor
+ 2S9 Sochor
+ 2S9 Сокор
+ 2S9 Sochor
+ 2S9 Sochor
+ 2S9 Sochor
+
+
+ BM-2T Stalker
+ BM-2T Stalker
+ BM-2T Stalker
+ BM-2T Stalker
+ BM-2T Stalker
+ BM-2T Stalker
+ БМ-2Т Сталкер
+ BM-2T Stalker
+ BM-2T Stalker
+ BM-2T Stalker
+
+
+ ZSU-35 Tigris
+ ZSU-35 Tigris
+ ZSU-35 Tigris
+ ZSU-35 Tigris
+ ZSU-35 Tigris
+ ZSU-35 Tigris
+ ЗСУ-35 Tigris
+ ZSU-35 Tigris
+ ZSU-35 Tigris
+ ZSU-35 Tigris
+
+
+ Otokar ARMA
+ Otokar ARMA
+ Otokar ARMA
+ Otokar ARMA
+ Otokar ARMA
+ Otokar ARMA
+ Otokar ARMA
+ Otokar ARMA
+ Otokar ARMA
+ Otokar ARMA
+
+
+ Typhoon Transport
+ Typhoon Transport
+ Typhoon de transporte
+ Typhoon Transportowy
+ Typhoon Valník
+ Typhoon Transport
+ Тайфун Транспортный
+ Typhoon Transporte
+ Typhoon szállítójármű
+ Typhoon da trasporto
+
+
+ Typhoon Transport (covered)
+ Typhoon Transport (bedeckt)
+ Typhoon de transporte (cubierto)
+ Typhoon Transportowy (przykryty)
+ Typhoon Valník (krytý)
+ Typhoon Transport (bâché)
+ Тайфун Транспортный (kрытый)
+ Typhoon Transporte (coberto)
+ Typhoon szállítójármű (ponyvás)
+ Typhoon da trasporto (coperto)
+
+
+ Typhoon Device
+ Typhoon Gerät
+ Typhoon de dispositivo
+ Typhoon Urządzenie
+ Typhoon Zařízení
+ Typhoon Dispositif
+ Тайфун Устройство
+ Typhoon Dispositivo
+ Typhoon (szerkezet)
+ Typhoon per dispositivo
+
+
+ Typhoon Ammo
+ Typhoon Munition
+ Typhoon de munición
+ Typhoon Amunicyjny
+ Typhoon Muniční
+ Typhoon Munitions
+ Тайфун Боеприпасы
+ Typhoon Munições
+ Typhoon (lőszerszállító)
+ Typhoon di rifornimento munizioni
+
+
+ Typhoon Fuel
+ Typhoon Treibstoff
+ Typhoon de combustible
+ Typhoon Cysterna
+ Typhoon Cisterna
+ Typhoon Citerne
+ Тайфун Заправщик
+ Typhoon Combustível
+ Typhoon (üzemanyag-szállító)
+ Typhoon di rifornimento carburante
+
+
+ Typhoon Repair
+ Typhoon Instandsetzung
+ Typhoon de reparación
+ Typhoon Naprawczy
+ Typhoon Opravárenský
+ Typhoon Réparation
+ Тайфун Ремонтный
+ Typhoon Reparador
+ Typhoon (szerelő-jármű)
+ Typhoon riparatore
+
+
+ Typhoon Medical
+ Typhoon Sanitäter
+ Typhoon médico
+ Typhoon Medyczny
+ Typhoon Zdravotnický
+ Typhoon Sanitaire
+ Тайфун Медицинский
+ Typhoon Médico
+ Typhoon (egészségügyi)
+ Typhoon medico
+
+
+ RAH-66 Comanche
+ RAH-66 Comanche
+ RAH-66 Comanche
+ RAH-66 Comanche
+ RAH-66 Comanche
+ RAH-66 Commanche
+ RAH-66 Команч
+ RAH-66 Comanche
+ RAH-66 Comanche
+ RAH-66 Comanche
+
+
+ MH-6 Little Bird
+ MH-6 Little Bird
+ MH-6 Litte Bird
+ MH-6 Little Bird
+ MH-6 Little Bird
+ MH-6 Little Bird
+ MH-6 Little Bird
+ MH-6 Little Bird
+ MH-6 Little Bird
+ MH-6 Little Bird
+
+
+ AH-6 Little Bird
+ AH-6 Little Bird
+ AH-6 Little Bird
+ AH-6 Little Bird
+ AH-6 Little Bird
+ AH-6 Little Bird
+ AH-6 Little Bird
+ AH-6 Little Bird
+ AH-6 Little Bird
+ AH-6 Little Bird
+
+
+ CH-47I Chinook
+ CH-47I Chinook
+ CH-47I Chinook
+ CH-47I Chinook
+ CH-47I Chinook
+ CH-47I Chinook
+ CH-47I Chinook
+ CH-47I Chinook
+ CH-47I Chinook
+ CH-47I Chinook
+
+
+ CH-47I Chinook (unarmed)
+ CH-47I Chinook (unbewaffnet)
+ CH-47I Chinnok (Desarmado)
+ CH-47I Chinook (nieuzbrojony)
+ CH-47I Chinook (невооруженный)
+ CH-47I Chinook (Neozbrojený)
+
+
+ A-10D Thunderbolt II
+ A-10D Thunderbolt II
+ A-10D Thunderbolt II
+ A-10D Thunderbolt II
+ A-10D Thunderbolt II
+ A-10D Thunderbolt II
+ A-10D Тандерболт II
+ A-10D Thunderbolt II
+ A-10D Thunderbolt II
+ A-10D Thunderbolt II
+
+
+ AW159 Wildcat
+ AW159 Wildcat
+ AW159 Wildcat
+ AW159 Wildcat
+ AW159 Wildcat
+ AW159 Wildcat
+ AW159 Wildcat
+ AW159 Wildcat
+ AW159 Wildcat
+ AW159 Wildcat
+
+
+ AW159 Wildcat (unarmed)
+ AW159 Wildcat (unbewaffnet)
+ AW159 Wildcat (desarmado)
+ AW159 Wildcat (nieuzbrojony)
+ AW159 Wildcat (neozbrojený)
+ AW159 Wildcat (non-armé)
+ AW159 Wildcat (невооруженный)
+ AW159 Wildcat (desarmado)
+ AW159 Wildcat (fegyvertelen)
+ AW159 Wildcat (disarmato)
+
+
+ AW101 Merlin
+ AW101 Merlin
+ AW101 Merlin
+ AW101 Merlin
+ AW101 Merlin
+ AW101 Merlin
+ AW101 Мерлин
+ AW101 Merlin
+ AW101 Merlin
+ AW101 Merlin
+
+
+ L-159 ALCA (CAS)
+ L-159 ALCA (CAS)
+ L-159 ALCA (CAS)
+ L-159 ALCA (CAS)
+ L-159 ALCA (CAS)
+ L-159 ALCA (CAS)
+ L-159 Альбатрос (CAS)
+ L-159 ALCA (CAS)
+ L-159 ALCA (CAS)
+ L-159 ALCA (CAS)
+
+
+ L-159 ALCA (AA)
+ L-159 ALCA (AA)
+ L-159 ALCA (AA)
+ L-159 ALCA (AA)
+ L-159 ALCA (AA)
+ L-159 ALCA (AA)
+ L-159 Альбатрос (AA)
+ L-159 ALCA (ВВ)
+ L-159 ALCA (AA)
+ L-159 ALCA (AA)
+
+
+ Ka-60 Kasatka
+ Ka-60 Kasatka
+ Ka-60 Kasatka
+ Ka-60 Kasatka
+ Ka-60 Kasatka
+ Ka-60 Kasatka
+ Ka-60 Касатка
+ Ka-60 Kasatka
+ Ka-60 Kasatka
+ Ka-60 Kasatka
+
+
+ Ka-60 Kasatka (unarmed)
+ Ka-60 Kasatka (unbewaffnet)
+ Ka-60 Kasatka (desarmado)
+ Ka-60 Kasatka (nieuzbrojony)
+ Ka-60 Kasatka (neozbrojená)
+ Ka-60 Kasatka (non-armé)
+ Ka-60 Касатка (невооруженный)
+ Ka-60 Kasatka (desarmado)
+ Ka-60 Kasatka (fegyvertelen)
+ Ka-60 Kasatka (disarmato)
+
+
+ Yak-130
+ Yak-130
+ Yak-130
+ Jak-130
+ Jak-130
+ Yak-130
+ Як-130
+ Yak-130
+ Jak-130
+ Yak-130
+
+
+ MD 500
+ MD 500
+ MD 500
+ MD 500
+ MD 500
+ MD 500
+ MD 500
+ MD 500
+ MD 500
+ MD 500
+
+
+ M4A1 SLAM
+ M4A1 SLAM
+ M4A1 SLAM
+ M4A1 SLAM
+ M4A1 SLAM
+ M4A1 SLAM
+ M4A1 SLAM
+ M4A1 SLAM
+ M4A1 SLAM
+ M4A1 SLAM
+
+
+ M18A1 Claymore
+ M18A1 Claymore
+ M18A1 Claymore
+ Mina kierunkowa M18A1 Claymore
+ M18A1 Mina Claymore
+ M18A1 Claymore Mine antipersonnel à effet dirigé
+ M18A1 Клеймор
+ M18A1 Claymore
+ M18A1 Claymore akna
+ M18A1 Claymore Mina antiuomo
+
+
+ M183 Demolition Charge Assembly
+ M183 Geballte Sprengladung
+ Conjunto de carga de demolición M183
+ Ładunek burzący M183
+ M183 Demoliční nálož
+ M183 Charge de Démolition
+ M183 Комплектный подрывной заряд
+ M183 Sacola de Demolição
+ M183 romboló töltet
+ M183 Demolition Charge Assembly
+
+
+ M112 Demolition Block
+ M112 Sprengladung
+ Bloque de demolición M112
+ Ładunek burzący M112
+ M112 Výbušná nálož
+ Pétard M112
+ M112 подрывной заряд
+ M112 Carga de Demolição
+ M112 romboló töltet
+ M112 Demolition Block
+
+
+ M67 Fragmentation Grenade
+ M67 Splittergranate
+ Granada de fragmentación M67
+ Granat obronny M67
+ M67 Granát
+ M67 Grenade à fragmentation
+ M67 ручная осколочная граната
+ M67 Granada de fragmentação
+ M67 repeszgránát
+ M67 Granata a frammentazione
+
+
+ M83 Smoke Grenade (White)
+ M83 Rauchgranate (Weiss)
+ Granada de humo M83 (Blanco)
+ Granat dymny M83 (Biały)
+ M83 Kouřový Granát (Bílý)
+ M83 Grenade fumigène (Blanche)
+ M83 дымовая граната (Белый)
+ M83 Granada de fumaça (Branca)
+ M83 füstgránát (Fehér)
+ M83 Granata fumogena (Bianco)
+
+
+ M18 Smoke Grenade (Blue)
+ M18 Rauchgranate (Blau)
+ Granada de humo M18 (Azul)
+ Granat dymny M18 (Niebieski)
+ M18 Kouřový Granát (Modrý)
+ M18 Grenade fumigène (Bleue)
+ M18 дымовая граната (Синий)
+ M18 Granada de fumaça (Azul)
+ M18 füstgránát (Kék)
+ M18 Granata fumogena (Blu)
+
+
+ M18 Smoke Grenade (Green)
+ M18 Rauchgranate (Grün)
+ Granada de humo M18 (Verde)
+ Granat dymny M18 (Zielony)
+ M18 Kouřový Granát (Zelený)
+ M18 Grenade fumigène (Verte)
+ M18 дымовая граната (Зелёный)
+ M18 Granada de fumaça (Verde)
+ M18 füstgránát (Zöld)
+ M18 Granata fumogena (Verde)
+
+
+ M18 Smoke Grenade (Orange)
+ M18 Rauchgranate (Orange)
+ Granada de humo M18 (Naranja)
+ Granat dymny M18 (Pomarańczowy)
+ M18 Kouřový Granát (Oranžový)
+ M18 Grenade fumigène (Orange)
+ M18 дымовая граната (Оранжевый)
+ M18 Granada de fumaça (Laranja)
+ M18 füstgránát (Narancssárga)
+ M18 Granata fumogena (Arancione)
+
+
+ M18 Smoke Grenade (Purple)
+ M18 Rauchgranate (Violett)
+ Granada de humo M18 (Púrpura)
+ Granat dymny M18 (Fioletowy)
+ M18 Kouřový Granát (Fialový)
+ M18 Grenade fumigène (Pourpre)
+ M18 дымовая граната (Пурпурный)
+ M18 Granada de fumaça (Roxa)
+ M18 füstgránát (Lila)
+ M18 Granata fumogena (Viola)
+
+
+ M18 Smoke Grenade (Red)
+ M18 Rauchgranate (Rot)
+ Granada de humo M18 (Rojo)
+ Granat dymny M18 (Czerwony)
+ M18 Kouřový Granát (Červený)
+ M18 Grenade fumigène (Rouge)
+ M18 дымовая граната (Красный)
+ M18 Granada de fumaça (Vermelha)
+ M18 füstgránát (Piros)
+ M18 Granata fumogena (Rosso)
+
+
+ M18 Smoke Grenade (Yellow)
+ M18 Rauchgranate (Gelb)
+ Granada de humo M18 (Amarillo)
+ Granat dymny M18 (Żółty)
+ M18 Kouřový Granát (Žlutý)
+ M18 Grenade fumigène (Jaune)
+ M183 дымовая граната (Жёлтые)
+ M18 Granada de fumaça (Amarela)
+ M18 füstgránát (Sárga)
+ M18 Granata fumogena (Giallo)
+
+
+ M15 Anti-Tank Mine
+ M15 Panzerabwehrmine
+ Mina antitanque M15
+ Mina przeciwpancerna M15
+ M15 Protitanková Mina
+ M15 Mine antichar
+ M15 противотанковая мина
+ M15 Mina anticarro
+ M15 harckocsiakna
+ M15 Mine anticarro
+
+
+ VS-50 Anti-Personnel Mine
+ VS-50 Antipersonenmine
+ Mina antipersona VS-50
+ Mina przeciwpiechotna VS-50
+ VS-50 Protipěchotní Mina
+ VS-50 Mine antipersonnel à pression
+ VS-50 Противопехотная мина
+ VS-50 Mina antipessoal
+ VS-50 gyalogsági taposóakna
+ VS-50 Mine antiuomo
+
+
+ M26 Anti-Personnel Bounding Mine
+ M26 Antipersonensprungmine
+ Mina antipersona M26
+ Mina przeciwpiechotna M26
+ M26 Šrapnelová Mina
+ M26 Mine antipersonnel bondissante
+ M26 Противопехотная мина
+ M26 Mina saltadora antipessoal
+ M26 gyalogsági ugróakna
+ M26 Mine saltanti antiuomo
+
+
+ PMR-3 Anti-Personnel Tripwire Mine
+ PMR-3 Antipersonenstolperdrahtmine
+ Mina antipersona de alambre PMR-3
+ Mina przeciwpiechotna PMR-3
+ PMR-3 Nástražná Mina
+ PMR-3 Mine antipersonnel à traction
+ PMR-3 Противопехотная мина
+ PMR-3 Mina antipessoal (armadilha)
+ PMR-3 botlódrótos gyalogsági akna
+ PMR-3 Mine antiuomo
+
+
+ P99
+ P99
+
+
+ MP-443 Grach
+ MP-443 Grach
+
+
+ ACP-C2
+ ACP-C2
+
+
+ FNX-45 Tactical
+ FNX-45 Tactical
+
+
+ Chiappa Rhino 60DS
+ Chiappa Rhino 60DS
+
+
+ Taurus Judge
+ Taurus Judge
+
+
+ NLAW
+ NLAW
+
+
+ RPG-32
+ RPG-32
+
+
+ Mini-Spike (AA)
+ Mini-Spike (AA)
+
+
+ Mini-Spike (AT)
+ Mini-Spike (AT)
+
+
+ MX
+ MX
+
+
+ MX (Black)
+ MX (Black)
+
+
+ MXC
+ MXC
+
+
+ MXC (Black)
+ MXC (Black)
+
+
+ MX 3GL
+ MX 3GL
+
+
+ MX 3GL (Black)
+ MX 3GL (Black)
+
+
+ MX LSW
+ MX LSW
+
+
+ MX LSW (Black)
+ MX LSW (Black)
+
+
+ MXM
+ MXM
+
+
+ MXM (Black)
+ MXM (Black)
+
+
+ KT2002 Katiba
+ KT2002 Katiba
+
+
+ KT2002C Katiba
+ KT2002C Katiba
+
+
+ KT2002 Katiba KGL
+ KT2002 Katiba KGL
+
+
+ F2000 (Camo)
+ F2000 (Camo)
+
+
+ F2000
+ F2000
+
+
+ F2000 Tactical (Camo)
+ F2000 Tactical (Camo)
+
+
+ F2000 Tactical
+ F2000 Tactical
+
+
+ F2000 EGLM (Camo)
+ F2000 EGLM (Camo)
+
+
+ F2000 EGLM
+ F2000 EGLM
+
+
+ TAR-21
+ TAR-21
+
+
+ CTAR-21
+ CTAR-21
+
+
+ TAR-21 EGLM
+ TAR-21 EGLM
+
+
+ Vector SMG
+ Vector SMG
+
+
+ Scorpion Evo 3 A1
+ Scorpion Evo 3 A1
+
+
+ CPW
+ CPW
+
+
+ RFB SDAR
+ RFB SDAR
+
+
+ Stoner 99 LMG
+ Stoner 99 LMG
+
+
+ Negev NG7
+ Negev NG7
+
+
+ Mk14 Mod 1 EBR
+ Mk14 Mod 1 EBR
+
+
+ GM6 Lynx
+ GM6 Lynx
+
+
+ GM6 Lynx (Camo)
+ GM6 Lynx (Camo)
+
+
+ M200 Intervention
+ M200 Intervention
+
+
+ M200 Intervention (Camo)
+ M200 Intervention (Camo)
+
+
+ VS-121
+ VS-121
+
+
+ TODO: MAR-10 .338
+
+
+ TODO: MAR-10 .338 (Black)
+
+
+ TODO: MAR-10 .338 (Camo)
+
+
+ TODO: MAR-10 .338 (Sand)
+
+
+ TODO: Mk-I EMR 7.62 mm
+
+
+ TODO: Mk-I EMR 7.62 mm (Black)
+
+
+ TODO: Mk-I EMR 7.62 mm (Khaki)
+
+
+ TODO: Mk-I EMR 7.62 mm (Sand)
+
+
+ TODO: Mk-I EMR 7.62 mm (Camo)
+
+
+ TODO: Mk-I EMR 7.62 mm (Woodland)
+
+
+ TODO: NATO DMR (provisional) spotter
+
+
+ TODO: ASP-1 Kir 12.7 mm
+
+
+ TODO: ASP-1 Kir 12.7 mm (Black)
+
+
+ TODO: ASP-1 Kir 12.7 mm (Tan)
+
+
+ TODO: Cyrus 9.3 mm
+
+
+ TODO: Cyrus 9.3 mm (Black)
+
+
+ TODO: Cyrus 9.3 mm (Hex)
+
+
+ TODO: Cyrus 9.3 mm (Tan)
+
+
+ TODO: Mk14 7.62 mm
+
+
+ TODO: Mk14 7.62 mm (Camo)
+
+
+ TODO: Mk14 7.62 mm (Olive)
+
+
+ TODO: Navid 9.3 mm
+
+
+ TODO: Navid 9.3 mm (Hex)
+
+
+ TODO: Navid 9.3 mm (Tan)
+
+
+ TODO: SPMG .338
+
+
+ TODO: SPMG .338 (MTP)
+
+
+ TODO: SPMG .338 (Black)
+
+
+ TODO: SPMG .338 (Sand)
+
+
+
\ No newline at end of file
diff --git a/addons/reload/stringtable.xml b/addons/reload/stringtable.xml
index 40f36c6549..2aa5197e2f 100644
--- a/addons/reload/stringtable.xml
+++ b/addons/reload/stringtable.xml
@@ -1,12 +1,14 @@
-
-
+
+
Check ammo on weapon reload
+ Проверять боезапас при перезарядке
Check the ammo in your new magazine on magazine reload.
+ Проверяет количество патронов в новом магазине при перезарядке.
Check Ammo
@@ -34,9 +36,11 @@
Link belt
+ Сцепить ленты
Linking belt...
+ Сцепка лент ...
-
+
\ No newline at end of file
diff --git a/addons/reloadlaunchers/stringtable.xml b/addons/reloadlaunchers/stringtable.xml
index 6677153419..664f594acd 100644
--- a/addons/reloadlaunchers/stringtable.xml
+++ b/addons/reloadlaunchers/stringtable.xml
@@ -1,24 +1,26 @@
-
+
-
-
- Load launcher
- Panzerabwehr laden
-
-
- Loading launcher ...
- Panzerabwehr wird geladen ...
-
-
- Launcher loaded
- Panzerabwehr geladen
-
-
-
- Load %1
- Lade %1
-
-
-
-
+
+
+ Load launcher
+ Panzerabwehr laden
+ Зарядить ПУ
+
+
+ Loading launcher ...
+ Panzerabwehr wird geladen ...
+ Зарядка ПУ ...
+
+
+ Launcher loaded
+ Panzerabwehr geladen
+ ПУ заряжено
+
+
+ Load %1
+ Lade %1
+ Загрузка %1
+
+
+
\ No newline at end of file
diff --git a/addons/respawn/stringtable.xml b/addons/respawn/stringtable.xml
index 59a9b2b31c..0f1ae731f5 100644
--- a/addons/respawn/stringtable.xml
+++ b/addons/respawn/stringtable.xml
@@ -1,21 +1,26 @@
+
Deploy in 5 seconds ...
Wird in 5 Sekunden errichtet ...
+ Возрождение через 5 секунд ...
Rallypoint deployed
Rallypoint errichtet
+ Точка сбора установлена
Teleported to Base
Zur Basis teleportiert
+ Телепорт на базу
Teleported to Rallypoint
Zum Rallypoint teleportiert
+ Телепорт на точку сбора
-
+
\ No newline at end of file
diff --git a/addons/switchunits/stringtable.xml b/addons/switchunits/stringtable.xml
index 842bf89127..81cde4b007 100644
--- a/addons/switchunits/stringtable.xml
+++ b/addons/switchunits/stringtable.xml
@@ -1,4 +1,5 @@
+
@@ -12,10 +13,10 @@
This unit is too close to the enemy.
Diese Einheit ist zu nah am Feind.
- Юнит слишком близок к противнику
+ Юнит слишком близок к противнику.
Tato jednotka je moc blízko k nepříteli.
Ta jednostka jest zbyt blisko przeciwnika.
Esta unidad está demasiado cerca del enemigo.
-
+
\ No newline at end of file
diff --git a/addons/weaponselect/stringtable.xml b/addons/weaponselect/stringtable.xml
index 3a39d59396..0e7d881413 100644
--- a/addons/weaponselect/stringtable.xml
+++ b/addons/weaponselect/stringtable.xml
@@ -1,12 +1,14 @@
-
+
Display text on grenade throw
+ Показывать текст при броске
Display a hint or text on grenade throw.
+ Показывать текст или подсказку при броске гранаты.
Select Pistol
@@ -226,7 +228,7 @@
Už nejsou žádné ostatní granáty
Não há outras granadas restantes
Nessun'altra granata rimanente.
- Невзрывоопасные гранаты закончились
+ Летальные гранаты закончились
No grenade selected
diff --git a/addons/wep_javelin/CfgEventhandlers.hpp b/addons/wep_javelin/CfgEventhandlers.hpp
index a61ea9c746..2ff046944b 100644
--- a/addons/wep_javelin/CfgEventhandlers.hpp
+++ b/addons/wep_javelin/CfgEventhandlers.hpp
@@ -1,18 +1,18 @@
-class Extended_PreInit_EventHandlers {
- class ADDON {
- init = QUOTE(call COMPILE_FILE(XEH_pre_init));
- };
-};
-
-class Extended_PostInit_EventHandlers {
- class ADDON {
- init = QUOTE(call COMPILE_FILE(XEH_post_init));
- clientInit = QUOTE(call COMPILE_FILE(XEH_clientInit));
- };
-};
-
-class Extended_FiredBIS_EventHandlers {
- class CAManBase {
- ADDON = QUOTE(_this call FUNC(fired));
- };
+class Extended_PreInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_pre_init));
+ };
+};
+
+class Extended_PostInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_FILE(XEH_post_init));
+ clientInit = QUOTE(call COMPILE_FILE(XEH_clientInit));
+ };
+};
+
+class Extended_FiredBIS_EventHandlers {
+ class CAManBase {
+ ADDON = QUOTE(_this call FUNC(fired));
+ };
};
\ No newline at end of file
diff --git a/addons/wep_javelin/CfgSounds.hpp b/addons/wep_javelin/CfgSounds.hpp
index a5002409ff..9cd2627fa2 100644
--- a/addons/wep_javelin/CfgSounds.hpp
+++ b/addons/wep_javelin/CfgSounds.hpp
@@ -1,13 +1,13 @@
-
-class CfgSounds {
- class ACE_Javelin_Locking {
- name = "ACE_Javelin_Locking";
- sound[] = {PATHTOF(data\sounds\javelin_locking.ogg), db+0, 1.0};
- titles[] = {};
- };
- class ACE_Javelin_Locked {
- name = "ACE_Javelin_Locked";
- sound[] = {PATHTOF(data\sounds\javelin_locked.ogg), db+0, 1.0};
- titles[] = {};
- };
-};
+
+class CfgSounds {
+ class ACE_Javelin_Locking {
+ name = "ACE_Javelin_Locking";
+ sound[] = {PATHTOF(data\sounds\javelin_locking.ogg), db+0, 1.0};
+ titles[] = {};
+ };
+ class ACE_Javelin_Locked {
+ name = "ACE_Javelin_Locked";
+ sound[] = {PATHTOF(data\sounds\javelin_locked.ogg), db+0, 1.0};
+ titles[] = {};
+ };
+};
diff --git a/addons/wep_javelin/RscInGameUI.hpp b/addons/wep_javelin/RscInGameUI.hpp
index 811548a9d2..da33a13a7a 100644
--- a/addons/wep_javelin/RscInGameUI.hpp
+++ b/addons/wep_javelin/RscInGameUI.hpp
@@ -1,459 +1,459 @@
-class RscOpticsValue;
-class RscControlsGroup;
-class RscPicture;
-class RscMapControl;
-class VScrollbar;
-class HScrollbar;
-class RscLine;
-
-
-// Taken from AGM for optics management.
-
-class RscInGameUI {
- class RscOptics_titan {
- idd = 300;
- controls[] = {"ACE_javelin_elements_group"};
- onLoad = QUOTE(_this call FUNC(onOpticLoad));
- onUnload = "uiNameSpace setVariable ['ACE_RscOptics_javelin',nil];";
-
- class CA_Distance: RscOpticsValue {
- idc = 151;
- sizeEx = "0";
- colorText[] = {0,0,0,0};
- x = 0;
- y = 0;
- w = 0;
- h = 0;
- };
-
- class ACE_javelin_elements_group: RscControlsGroup
- {
- x = "SafezoneX";
- y = "SafezoneY";
- w = "SafezoneW";
- h = "SafezoneH";
- idc = 170;
- class VScrollbar {
- autoScrollSpeed = -1;
- autoScrollDelay = 5;
- autoScrollRewind = 0;
- color[] = {1,1,1,0};
- width = 0.001;
- };
- class HScrollbar {
- color[] = {1,1,1,0};
- height = 0.001;
- };
- class Controls {
- class JavelinLocking : RscMapControl {
- onDraw = QUOTE(_this call FUNC(onOpticDraw));
- idc = -1;
- w = 0;
- h = 0;
- };
-
- class ACE_javelin_Day_mode_off: RscPicture {
- idc = 1001;
- x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.03/4)*3*SafezoneH - SafezoneX";
- y = "SafezoneY+SafezoneH*0.031 - SafezoneY";
- w = "0.1045752* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH)";
- h = "SafezoneH*0.1045752";
- colorText[] = {0.2941,0.2941,0.2941,1};
- text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\day_co.paa";
- };
- class ACE_javelin_Day_mode: ACE_javelin_Day_mode_off {
- idc = 160;
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class ACE_javelin_WFOV_mode_off: ACE_javelin_Day_mode_off {
- idc = 1004;
- x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.307/4)*3*SafezoneH - SafezoneX";
- text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\wfov_co.paa";
- };
- class ACE_javelin_WFOV_mode_group: RscControlsGroup {
- x = "SafezoneX";
- y = "SafezoneY";
- w = "SafezoneW";
- h = "SafezoneH";
- idc = 163;
- class VScrollbar {
- autoScrollSpeed = -1;
- autoScrollDelay = 5;
- autoScrollRewind = 0;
- color[] = {1,1,1,0};
- width = 0.001;
- };
- class HScrollbar {
- color[] = {1,1,1,0};
- height = 0.001;
- };
- class Controls {
- class ACE_javelin_WFOV_mode: ACE_javelin_WFOV_mode_off {
- idc = -1;
- y = "0.031*SafezoneH - SafezoneY";
- x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.307/4)*3*SafezoneH - SafezoneX";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class StadiaL: RscLine {
- x = "0.4899*SafezoneW - SafezoneX";
- y = "0.171*SafezoneH - SafezoneY";
- w = 0;
- h = "0.049*SafezoneH";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class StadiaR: RscLine {
- x = "0.5109*SafezoneW- SafezoneX";
- y = "0.171*SafezoneH - SafezoneY";
- w = 0;
- h = "0.049*SafezoneH";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class BracketL: RscLine {
- x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.293/4)*3*SafezoneH - SafezoneX";
- y = "0.4677*SafezoneH - SafezoneY";
- w = 0;
- h = "0.0646*SafezoneH";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class BracketR: RscLine {
- x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.70/4)*3*SafezoneH - SafezoneX";
- y = "0.4677*SafezoneH - SafezoneY";
- w = 0;
- h = "0.0646*SafezoneH";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class BracketT: RscLine {
- x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.467/4)*3*SafezoneH - SafezoneX";
- y = "0.3535*SafezoneH - SafezoneY";
- w = "0.065* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH)";
- h = 0;
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class BracketB: RscLine {
- x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.467/4)*3*SafezoneH - SafezoneX";
- y = "0.6465*SafezoneH - SafezoneY";
- w = "0.065* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH)";
- h = 0;
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- };
- };
- class ACE_javelin_NFOV_mode_off: ACE_javelin_Day_mode_off {
- idc = 1003;
- x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.586/4)*3*SafezoneH - SafezoneX";
- text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\nfov_co.paa";
- };
- class ACE_javelin_NFOV_mode_group: RscControlsGroup {
- x = "SafezoneX";
- y = "SafezoneY";
- w = "SafezoneW-SafezoneX";
- h = "SafezoneH-SafezoneY";
- idc = 162;
- class VScrollbar {
- autoScrollSpeed = -1;
- autoScrollDelay = 5;
- autoScrollRewind = 0;
- color[] = {1,1,1,0};
- width = 0.001;
- };
- class HScrollbar {
- color[] = {1,1,1,0};
- height = 0.001;
- };
- class Controls {
- class ACE_javelin_NFOV_mode: ACE_javelin_NFOV_mode_off {
- idc = 699003;
- x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.586/4)*3*SafezoneH - SafezoneX";
- y = "0.031*SafezoneH - SafezoneY";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class StadiaL: RscLine {
- x = "0.4788*SafezoneW - SafezoneX";
- y = "0.171*SafezoneH - SafezoneY";
- w = 0;
- h = "0.049*SafezoneH";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class StadiaR: RscLine {
- x = "0.5212*SafezoneW - SafezoneX";
- y = "0.171*SafezoneH - SafezoneY";
- w = 0;
- h = "0.049*SafezoneH";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class LineHL: RscLine {
- x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.01/4)*3*SafezoneH - SafezoneX";
- y = "SafezoneH*0.5 - SafezoneY";
- w = "0.29* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH)";
- h = "SafezoneH*0.0";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class LineHR: RscLine {
- x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.695/4)*3*SafezoneH - SafezoneX";
- y = "SafezoneH*0.5 - SafezoneY";
- w = "0.29* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH)";
- h = "SafezoneH*0.0";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class LineVT: RscLine {
- x = "0.5*SafezoneW - SafezoneX";
- y = "0.171*SafezoneH - SafezoneY";
- w = 0;
- h = "0.1825*SafezoneH";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class LineVB: RscLine {
- x = "0.5*SafezoneW - SafezoneX";
- y = "0.6465*SafezoneH - SafezoneY";
- w = 0;
- h = "0.1895*SafezoneH";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- };
- };
- /*
- class TargetingConstrains: RscControlsGroup {
- idc = 699100;
- x = "SafezoneX";
- y = "SafezoneY";
- w = "SafezoneW-SafezoneX";
- h = "SafezoneH-SafezoneY";
- class VScrollbar {
- autoScrollSpeed = -1;
- autoScrollDelay = 5;
- autoScrollRewind = 0;
- color[] = {1,1,1,0};
- width = 0.001;
- };
- class HScrollbar {
- color[] = {1,1,1,0};
- height = 0.001;
- };
- class Controls {
- class Top: RscPicture {
- idc = 699101;
- text = "#(argb,8,8,3)color(1,1,1,1)";
- colorText[] = {0.2941,0.2941,0.2941,1};
- x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
- y = "0.15*SafezoneH-SafezoneY";
- w = "(3/4)*SafezoneH";
- h = "0.21*SafezoneH";
- };
- class Bottom: Top {
- idc = 699102;
- y = "0.64*SafezoneH-SafezoneY";
- };
- class Left: Top {
- idc = 699103;
- x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
- y = "0.36*SafezoneH-SafezoneY";
- w = "0.31*(3/4)*SafezoneH";
- h = "0.28*SafezoneH";
- };
- class Right: Left {
- idc = 699104;
- x = "((SafezoneW -(3/4)*SafezoneH)/2)+ 0.69*(3/4)*SafezoneH - SafezoneX";
- };
- class OpticsBorders: RscPicture {
- idc = 699105;
- text = PATHTOF(data\javelin_ui_border_ca.paa);
- colorText[] = {0,0,0,1};
- x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
- y = "0.15*SafezoneH-SafezoneY";
- w = "(3/4)*SafezoneH";
- h = "0.7*SafezoneH";
- };
- };
- };
-
- class TargetingGate: TargetingConstrains {
- idc = 699200;
- class Controls {
- class TargetingGateTL: TargetingConstrains {
- x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
- y = "0.15*SafezoneH - SafezoneY";
- idc = 699201;
- class Controls {
- class LineH: RscLine {
- idc = 699210;
- x = "0";
- y = "0";
- w = "0.025*(3/4)*SafezoneH";
- h = "0";
- colorText[] = {0.8745,0.8745,0.8745,1};
- };
- class LineV: LineH {
- idc = 699211;
- w = "0";
- h = "0.025*SafezoneH";
- };
- };
- };
- class TargetingGateTR: TargetingGateTL {
- x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX + 0.975*(3/4)*SafezoneH";
- y = "0.15*SafezoneH - SafezoneY";
- idc = 699202;
- class Controls {
- class LineH: RscLine {
- idc = 699220;
- x = "0";
- y = "0";
- w = "0.025*(3/4)*SafezoneH";
- h = "0";
- colorText[] = {0.8745,0.8745,0.8745,1};
- };
- class LineV: LineH {
- idc = 699221;
- x = "0.025*(3/4)*SafezoneH";
- w = "0";
- h = "0.025*SafezoneH";
- };
- };
- };
- class TargetingGateBL: TargetingGateTL {
- x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
- y = "0.825*SafezoneH - SafezoneY";
- idc = 699203;
- class Controls {
- class LineH: RscLine {
- x = "0";
- y = "0.025*SafezoneH";
- w = "0.025*(3/4)*SafezoneH";
- h = "0";
- colorText[] = {0.8745,0.8745,0.8745,1};
- };
- class LineV: LineH {
- y = "0";
- w = "0";
- h = "0.025*SafezoneH";
- };
- };
- };
- class TargetingGateBR: TargetingGateBL {
- x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX + 0.975*(3/4)*SafezoneH";
- y = "0.825*SafezoneH - SafezoneY";
- idc = 699204;
- class Controls {
- class LineH: RscLine {
- x = "0";
- y = "0.025*SafezoneH";
- w = "0.025*(3/4)*SafezoneH";
- h = "0";
- colorText[] = {0.8745,0.8745,0.8745,1};
- };
- class LineV: LineH {
- x = "0.025*(3/4)*SafezoneH";
- y = "0";
- w = "0";
- h = "0.025*SafezoneH";
- };
- };
- };
- };
- };
-
- class TargetingLines: TargetingConstrains {
- idc = 699300;
- class Controls {
- class LineH: RscLine {
- idc = 699301;
- x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
- y = "0.5*SafezoneH - SafezoneY";
- w = "(3/4)*SafezoneH";
- h = "0";
- colorText[] = {0.8745,0.8745,0.8745,1};
- };
- class LineV: RscLine {
- idc = 699302;
- x = "0.5*SafezoneW - SafezoneX";
- y = "0.15*SafezoneH - SafezoneY";
- w = "0";
- h = "0.7*SafezoneH";
- colorText[] = {0.8745,0.8745,0.8745,1};
- };
- };
- };
- */
-
- class ACE_javelin_SEEK_off: ACE_javelin_Day_mode_off {
- idc = 699000;
- x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.863/4)*3*SafezoneH - SafezoneX";
- text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\seek_co.paa";
- };
- class ACE_javelin_SEEK: ACE_javelin_SEEK_off {
- idc = 166;
- colorText[] = {0.2941,0.8745,0.2157,0};
- };
- class ACE_javelin_Missle_off: ACE_javelin_Day_mode_off {
- idc = 1032;
- x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (-0.134/4)*3*SafezoneH - SafezoneX";
- y = "(SafezoneY + 0.208*SafezoneH) - SafezoneY";
- colorText[] = {0.2941,0.2941,0.2941,1};
- text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\missle_co.paa";
- };
- class ACE_javelin_Missle: ACE_javelin_Missle_off {
- idc = 167;
- colorText[] = {0.9255,0.5216,0.1216,0};
- };
- class ACE_javelin_CLU_off: ACE_javelin_Missle_off {
- idc = 1027;
- y = "(SafezoneY + 0.436*SafezoneH) - SafezoneY";
- text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\clu_co.paa";
- };
- class ACE_javelin_HangFire_off: ACE_javelin_Missle_off {
- idc = 1028;
- y = "(SafezoneY + 0.669*SafezoneH) - SafezoneY";
- text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\hangfire_co.paa";
- };
- class ACE_javelin_TOP_off: ACE_javelin_Day_mode_off {
- idc = 699001;
- x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (1.023/4)*3*SafezoneH - SafezoneX";
- y = "(SafezoneY + 0.208*SafezoneH) - SafezoneY";
- text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\top_co.paa";
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- class ACE_javelin_DIR: ACE_javelin_Day_mode {
- idc = 699002;
- x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (1.023/4)*3*SafezoneH - SafezoneX";
- y = "(SafezoneY + 0.436*SafezoneH) - SafezoneY";
- text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\dir_co.paa";
- colorText[] = {0.2941,0.2941,0.2941,1};
- };
- class ACE_javelin_FLTR_mode_off: ACE_javelin_Day_mode_off {
- idc = 1002;
- x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (1.023/4)*3*SafezoneH - SafezoneX";
- y = "(SafezoneY + 0.669*SafezoneH) - SafezoneY";
- text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\fltr_co.paa";
- };
- class ACE_javelin_FLTR_mode: ACE_javelin_FLTR_mode_off {
- idc = 161;
- colorText[] = {0.2941,0.8745,0.2157,1};
- };
- };
- };
- };
-};
-
-// on colorText[] = {0.2941, 0.8745, 0.2157, 1.0};
-// off colorText[] = {0.2941, 0.2941, 0.2941, 1.0};
-// orange colorText[] = {0.9255, 0.5216, 0.1216, 1.0};
-
-/*
-ACE_Titan_elements_group: 170
-ACE_Titan_Day_mode_off: 1001
-ACE_Titan_Day_mode: 160
-ACE_Titan_WFOV_mode_off: 1004
-ACE_Titan_WFOV_mode_group: 163
-ACE_Titan_NFOV_mode_off: 1003
-ACE_Titan_NFOV_mode_group: 162
-ACE_Titan_SEEK_off: 1005 //1001
-ACE_Titan_SEEK: 166
-ACE_Titan_Missle_off: 1032
-ACE_Titan_Missle: 167
-ACE_Titan_CLU_off: 1027
-ACE_Titan_HangFire_off: 1028
-ACE_Titan_TOP_off: 1006
-ACE_Titan_DIR: 1007
-ACE_Titan_FLTR_mode_off: 1002
-ACE_Titan_FLTR_mode: 161
+class RscOpticsValue;
+class RscControlsGroup;
+class RscPicture;
+class RscMapControl;
+class VScrollbar;
+class HScrollbar;
+class RscLine;
+
+
+// Taken from AGM for optics management.
+
+class RscInGameUI {
+ class RscOptics_titan {
+ idd = 300;
+ controls[] = {"ACE_javelin_elements_group"};
+ onLoad = QUOTE(_this call FUNC(onOpticLoad));
+ onUnload = "uiNameSpace setVariable ['ACE_RscOptics_javelin',nil];";
+
+ class CA_Distance: RscOpticsValue {
+ idc = 151;
+ sizeEx = "0";
+ colorText[] = {0,0,0,0};
+ x = 0;
+ y = 0;
+ w = 0;
+ h = 0;
+ };
+
+ class ACE_javelin_elements_group: RscControlsGroup
+ {
+ x = "SafezoneX";
+ y = "SafezoneY";
+ w = "SafezoneW";
+ h = "SafezoneH";
+ idc = 170;
+ class VScrollbar {
+ autoScrollSpeed = -1;
+ autoScrollDelay = 5;
+ autoScrollRewind = 0;
+ color[] = {1,1,1,0};
+ width = 0.001;
+ };
+ class HScrollbar {
+ color[] = {1,1,1,0};
+ height = 0.001;
+ };
+ class Controls {
+ class JavelinLocking : RscMapControl {
+ onDraw = QUOTE(_this call FUNC(onOpticDraw));
+ idc = -1;
+ w = 0;
+ h = 0;
+ };
+
+ class ACE_javelin_Day_mode_off: RscPicture {
+ idc = 1001;
+ x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.03/4)*3*SafezoneH - SafezoneX";
+ y = "SafezoneY+SafezoneH*0.031 - SafezoneY";
+ w = "0.1045752* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH)";
+ h = "SafezoneH*0.1045752";
+ colorText[] = {0.2941,0.2941,0.2941,1};
+ text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\day_co.paa";
+ };
+ class ACE_javelin_Day_mode: ACE_javelin_Day_mode_off {
+ idc = 160;
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class ACE_javelin_WFOV_mode_off: ACE_javelin_Day_mode_off {
+ idc = 1004;
+ x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.307/4)*3*SafezoneH - SafezoneX";
+ text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\wfov_co.paa";
+ };
+ class ACE_javelin_WFOV_mode_group: RscControlsGroup {
+ x = "SafezoneX";
+ y = "SafezoneY";
+ w = "SafezoneW";
+ h = "SafezoneH";
+ idc = 163;
+ class VScrollbar {
+ autoScrollSpeed = -1;
+ autoScrollDelay = 5;
+ autoScrollRewind = 0;
+ color[] = {1,1,1,0};
+ width = 0.001;
+ };
+ class HScrollbar {
+ color[] = {1,1,1,0};
+ height = 0.001;
+ };
+ class Controls {
+ class ACE_javelin_WFOV_mode: ACE_javelin_WFOV_mode_off {
+ idc = -1;
+ y = "0.031*SafezoneH - SafezoneY";
+ x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.307/4)*3*SafezoneH - SafezoneX";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class StadiaL: RscLine {
+ x = "0.4899*SafezoneW - SafezoneX";
+ y = "0.171*SafezoneH - SafezoneY";
+ w = 0;
+ h = "0.049*SafezoneH";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class StadiaR: RscLine {
+ x = "0.5109*SafezoneW- SafezoneX";
+ y = "0.171*SafezoneH - SafezoneY";
+ w = 0;
+ h = "0.049*SafezoneH";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class BracketL: RscLine {
+ x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.293/4)*3*SafezoneH - SafezoneX";
+ y = "0.4677*SafezoneH - SafezoneY";
+ w = 0;
+ h = "0.0646*SafezoneH";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class BracketR: RscLine {
+ x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.70/4)*3*SafezoneH - SafezoneX";
+ y = "0.4677*SafezoneH - SafezoneY";
+ w = 0;
+ h = "0.0646*SafezoneH";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class BracketT: RscLine {
+ x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.467/4)*3*SafezoneH - SafezoneX";
+ y = "0.3535*SafezoneH - SafezoneY";
+ w = "0.065* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH)";
+ h = 0;
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class BracketB: RscLine {
+ x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.467/4)*3*SafezoneH - SafezoneX";
+ y = "0.6465*SafezoneH - SafezoneY";
+ w = "0.065* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH)";
+ h = 0;
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ };
+ };
+ class ACE_javelin_NFOV_mode_off: ACE_javelin_Day_mode_off {
+ idc = 1003;
+ x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.586/4)*3*SafezoneH - SafezoneX";
+ text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\nfov_co.paa";
+ };
+ class ACE_javelin_NFOV_mode_group: RscControlsGroup {
+ x = "SafezoneX";
+ y = "SafezoneY";
+ w = "SafezoneW-SafezoneX";
+ h = "SafezoneH-SafezoneY";
+ idc = 162;
+ class VScrollbar {
+ autoScrollSpeed = -1;
+ autoScrollDelay = 5;
+ autoScrollRewind = 0;
+ color[] = {1,1,1,0};
+ width = 0.001;
+ };
+ class HScrollbar {
+ color[] = {1,1,1,0};
+ height = 0.001;
+ };
+ class Controls {
+ class ACE_javelin_NFOV_mode: ACE_javelin_NFOV_mode_off {
+ idc = 699003;
+ x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.586/4)*3*SafezoneH - SafezoneX";
+ y = "0.031*SafezoneH - SafezoneY";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class StadiaL: RscLine {
+ x = "0.4788*SafezoneW - SafezoneX";
+ y = "0.171*SafezoneH - SafezoneY";
+ w = 0;
+ h = "0.049*SafezoneH";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class StadiaR: RscLine {
+ x = "0.5212*SafezoneW - SafezoneX";
+ y = "0.171*SafezoneH - SafezoneY";
+ w = 0;
+ h = "0.049*SafezoneH";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class LineHL: RscLine {
+ x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.01/4)*3*SafezoneH - SafezoneX";
+ y = "SafezoneH*0.5 - SafezoneY";
+ w = "0.29* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH)";
+ h = "SafezoneH*0.0";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class LineHR: RscLine {
+ x = "((SafezoneW -SafezoneH*3/4)/2)+ (0.695/4)*3*SafezoneH - SafezoneX";
+ y = "SafezoneH*0.5 - SafezoneY";
+ w = "0.29* (((SafezoneW*3)/4)/SafezoneW)/(1/SafezoneH)";
+ h = "SafezoneH*0.0";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class LineVT: RscLine {
+ x = "0.5*SafezoneW - SafezoneX";
+ y = "0.171*SafezoneH - SafezoneY";
+ w = 0;
+ h = "0.1825*SafezoneH";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class LineVB: RscLine {
+ x = "0.5*SafezoneW - SafezoneX";
+ y = "0.6465*SafezoneH - SafezoneY";
+ w = 0;
+ h = "0.1895*SafezoneH";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ };
+ };
+ /*
+ class TargetingConstrains: RscControlsGroup {
+ idc = 699100;
+ x = "SafezoneX";
+ y = "SafezoneY";
+ w = "SafezoneW-SafezoneX";
+ h = "SafezoneH-SafezoneY";
+ class VScrollbar {
+ autoScrollSpeed = -1;
+ autoScrollDelay = 5;
+ autoScrollRewind = 0;
+ color[] = {1,1,1,0};
+ width = 0.001;
+ };
+ class HScrollbar {
+ color[] = {1,1,1,0};
+ height = 0.001;
+ };
+ class Controls {
+ class Top: RscPicture {
+ idc = 699101;
+ text = "#(argb,8,8,3)color(1,1,1,1)";
+ colorText[] = {0.2941,0.2941,0.2941,1};
+ x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
+ y = "0.15*SafezoneH-SafezoneY";
+ w = "(3/4)*SafezoneH";
+ h = "0.21*SafezoneH";
+ };
+ class Bottom: Top {
+ idc = 699102;
+ y = "0.64*SafezoneH-SafezoneY";
+ };
+ class Left: Top {
+ idc = 699103;
+ x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
+ y = "0.36*SafezoneH-SafezoneY";
+ w = "0.31*(3/4)*SafezoneH";
+ h = "0.28*SafezoneH";
+ };
+ class Right: Left {
+ idc = 699104;
+ x = "((SafezoneW -(3/4)*SafezoneH)/2)+ 0.69*(3/4)*SafezoneH - SafezoneX";
+ };
+ class OpticsBorders: RscPicture {
+ idc = 699105;
+ text = PATHTOF(data\javelin_ui_border_ca.paa);
+ colorText[] = {0,0,0,1};
+ x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
+ y = "0.15*SafezoneH-SafezoneY";
+ w = "(3/4)*SafezoneH";
+ h = "0.7*SafezoneH";
+ };
+ };
+ };
+
+ class TargetingGate: TargetingConstrains {
+ idc = 699200;
+ class Controls {
+ class TargetingGateTL: TargetingConstrains {
+ x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
+ y = "0.15*SafezoneH - SafezoneY";
+ idc = 699201;
+ class Controls {
+ class LineH: RscLine {
+ idc = 699210;
+ x = "0";
+ y = "0";
+ w = "0.025*(3/4)*SafezoneH";
+ h = "0";
+ colorText[] = {0.8745,0.8745,0.8745,1};
+ };
+ class LineV: LineH {
+ idc = 699211;
+ w = "0";
+ h = "0.025*SafezoneH";
+ };
+ };
+ };
+ class TargetingGateTR: TargetingGateTL {
+ x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX + 0.975*(3/4)*SafezoneH";
+ y = "0.15*SafezoneH - SafezoneY";
+ idc = 699202;
+ class Controls {
+ class LineH: RscLine {
+ idc = 699220;
+ x = "0";
+ y = "0";
+ w = "0.025*(3/4)*SafezoneH";
+ h = "0";
+ colorText[] = {0.8745,0.8745,0.8745,1};
+ };
+ class LineV: LineH {
+ idc = 699221;
+ x = "0.025*(3/4)*SafezoneH";
+ w = "0";
+ h = "0.025*SafezoneH";
+ };
+ };
+ };
+ class TargetingGateBL: TargetingGateTL {
+ x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
+ y = "0.825*SafezoneH - SafezoneY";
+ idc = 699203;
+ class Controls {
+ class LineH: RscLine {
+ x = "0";
+ y = "0.025*SafezoneH";
+ w = "0.025*(3/4)*SafezoneH";
+ h = "0";
+ colorText[] = {0.8745,0.8745,0.8745,1};
+ };
+ class LineV: LineH {
+ y = "0";
+ w = "0";
+ h = "0.025*SafezoneH";
+ };
+ };
+ };
+ class TargetingGateBR: TargetingGateBL {
+ x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX + 0.975*(3/4)*SafezoneH";
+ y = "0.825*SafezoneH - SafezoneY";
+ idc = 699204;
+ class Controls {
+ class LineH: RscLine {
+ x = "0";
+ y = "0.025*SafezoneH";
+ w = "0.025*(3/4)*SafezoneH";
+ h = "0";
+ colorText[] = {0.8745,0.8745,0.8745,1};
+ };
+ class LineV: LineH {
+ x = "0.025*(3/4)*SafezoneH";
+ y = "0";
+ w = "0";
+ h = "0.025*SafezoneH";
+ };
+ };
+ };
+ };
+ };
+
+ class TargetingLines: TargetingConstrains {
+ idc = 699300;
+ class Controls {
+ class LineH: RscLine {
+ idc = 699301;
+ x = "((SafezoneW -(3/4)*SafezoneH)/2) - SafezoneX";
+ y = "0.5*SafezoneH - SafezoneY";
+ w = "(3/4)*SafezoneH";
+ h = "0";
+ colorText[] = {0.8745,0.8745,0.8745,1};
+ };
+ class LineV: RscLine {
+ idc = 699302;
+ x = "0.5*SafezoneW - SafezoneX";
+ y = "0.15*SafezoneH - SafezoneY";
+ w = "0";
+ h = "0.7*SafezoneH";
+ colorText[] = {0.8745,0.8745,0.8745,1};
+ };
+ };
+ };
+ */
+
+ class ACE_javelin_SEEK_off: ACE_javelin_Day_mode_off {
+ idc = 699000;
+ x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (0.863/4)*3*SafezoneH - SafezoneX";
+ text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\seek_co.paa";
+ };
+ class ACE_javelin_SEEK: ACE_javelin_SEEK_off {
+ idc = 166;
+ colorText[] = {0.2941,0.8745,0.2157,0};
+ };
+ class ACE_javelin_Missle_off: ACE_javelin_Day_mode_off {
+ idc = 1032;
+ x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (-0.134/4)*3*SafezoneH - SafezoneX";
+ y = "(SafezoneY + 0.208*SafezoneH) - SafezoneY";
+ colorText[] = {0.2941,0.2941,0.2941,1};
+ text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\missle_co.paa";
+ };
+ class ACE_javelin_Missle: ACE_javelin_Missle_off {
+ idc = 167;
+ colorText[] = {0.9255,0.5216,0.1216,0};
+ };
+ class ACE_javelin_CLU_off: ACE_javelin_Missle_off {
+ idc = 1027;
+ y = "(SafezoneY + 0.436*SafezoneH) - SafezoneY";
+ text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\clu_co.paa";
+ };
+ class ACE_javelin_HangFire_off: ACE_javelin_Missle_off {
+ idc = 1028;
+ y = "(SafezoneY + 0.669*SafezoneH) - SafezoneY";
+ text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\hangfire_co.paa";
+ };
+ class ACE_javelin_TOP_off: ACE_javelin_Day_mode_off {
+ idc = 699001;
+ x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (1.023/4)*3*SafezoneH - SafezoneX";
+ y = "(SafezoneY + 0.208*SafezoneH) - SafezoneY";
+ text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\top_co.paa";
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ class ACE_javelin_DIR: ACE_javelin_Day_mode {
+ idc = 699002;
+ x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (1.023/4)*3*SafezoneH - SafezoneX";
+ y = "(SafezoneY + 0.436*SafezoneH) - SafezoneY";
+ text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\dir_co.paa";
+ colorText[] = {0.2941,0.2941,0.2941,1};
+ };
+ class ACE_javelin_FLTR_mode_off: ACE_javelin_Day_mode_off {
+ idc = 1002;
+ x = "(SafezoneX+(SafezoneW -SafezoneH*3/4)/2)+ (1.023/4)*3*SafezoneH - SafezoneX";
+ y = "(SafezoneY + 0.669*SafezoneH) - SafezoneY";
+ text = "\A3\ui_f\data\igui\rscingameui\rscoptics_titan\fltr_co.paa";
+ };
+ class ACE_javelin_FLTR_mode: ACE_javelin_FLTR_mode_off {
+ idc = 161;
+ colorText[] = {0.2941,0.8745,0.2157,1};
+ };
+ };
+ };
+ };
+};
+
+// on colorText[] = {0.2941, 0.8745, 0.2157, 1.0};
+// off colorText[] = {0.2941, 0.2941, 0.2941, 1.0};
+// orange colorText[] = {0.9255, 0.5216, 0.1216, 1.0};
+
+/*
+ACE_Titan_elements_group: 170
+ACE_Titan_Day_mode_off: 1001
+ACE_Titan_Day_mode: 160
+ACE_Titan_WFOV_mode_off: 1004
+ACE_Titan_WFOV_mode_group: 163
+ACE_Titan_NFOV_mode_off: 1003
+ACE_Titan_NFOV_mode_group: 162
+ACE_Titan_SEEK_off: 1005 //1001
+ACE_Titan_SEEK: 166
+ACE_Titan_Missle_off: 1032
+ACE_Titan_Missle: 167
+ACE_Titan_CLU_off: 1027
+ACE_Titan_HangFire_off: 1028
+ACE_Titan_TOP_off: 1006
+ACE_Titan_DIR: 1007
+ACE_Titan_FLTR_mode_off: 1002
+ACE_Titan_FLTR_mode: 161
*/
\ No newline at end of file
diff --git a/addons/wep_javelin/XEH_clientInit.sqf b/addons/wep_javelin/XEH_clientInit.sqf
index 1d3b546e39..8cbd59fcd7 100644
--- a/addons/wep_javelin/XEH_clientInit.sqf
+++ b/addons/wep_javelin/XEH_clientInit.sqf
@@ -1,3 +1,3 @@
-#include "script_component.hpp"
-
+#include "script_component.hpp"
+
#include "initKeybinds.sqf"
\ No newline at end of file
diff --git a/addons/wep_javelin/XEH_post_init.sqf b/addons/wep_javelin/XEH_post_init.sqf
index dc30361926..6eccf9d1dd 100644
--- a/addons/wep_javelin/XEH_post_init.sqf
+++ b/addons/wep_javelin/XEH_post_init.sqf
@@ -1,2 +1,2 @@
-#include "script_component.hpp"
-
+#include "script_component.hpp"
+
diff --git a/addons/wep_javelin/XEH_pre_init.sqf b/addons/wep_javelin/XEH_pre_init.sqf
index 1b6682f0fc..c56cbc643a 100644
--- a/addons/wep_javelin/XEH_pre_init.sqf
+++ b/addons/wep_javelin/XEH_pre_init.sqf
@@ -1,15 +1,15 @@
-#include "script_component.hpp"
-
-PREP(fired);
-
-PREP(translateToWeaponSpace);
-PREP(translateToModelSpace);
-
-PREP(lockKeyDown);
-PREP(lockKeyUp);
-PREP(cycleFireMode);
-
-PREP(onOpticLoad);
-PREP(onOpticDraw);
-
+#include "script_component.hpp"
+
+PREP(fired);
+
+PREP(translateToWeaponSpace);
+PREP(translateToModelSpace);
+
+PREP(lockKeyDown);
+PREP(lockKeyUp);
+PREP(cycleFireMode);
+
+PREP(onOpticLoad);
+PREP(onOpticDraw);
+
GVAR(isLockKeyDown) = false;
\ No newline at end of file
diff --git a/addons/wep_javelin/config.cpp b/addons/wep_javelin/config.cpp
index c7ea1c867a..7eb217ddb3 100644
--- a/addons/wep_javelin/config.cpp
+++ b/addons/wep_javelin/config.cpp
@@ -1,15 +1,15 @@
-#include "script_component.hpp"
-
-class CfgPatches {
- class ADDON {
- units[] = {};
- weapons[] = {};
- requiredVersion = REQUIRED_VERSION;
- requiredAddons[] = {"ace_laser"};
- VERSION_CONFIG;
- };
-};
-
-#include "CfgEventhandlers.hpp"
-#include "RscInGameUI.hpp"
+#include "script_component.hpp"
+
+class CfgPatches {
+ class ADDON {
+ units[] = {};
+ weapons[] = {};
+ requiredVersion = REQUIRED_VERSION;
+ requiredAddons[] = {"ace_laser"};
+ VERSION_CONFIG;
+ };
+};
+
+#include "CfgEventhandlers.hpp"
+#include "RscInGameUI.hpp"
#include "CfgSounds.hpp"
\ No newline at end of file
diff --git a/addons/wep_javelin/functions/fnc_cycleFireMode.sqf b/addons/wep_javelin/functions/fnc_cycleFireMode.sqf
index 7902c6d265..2ade157d2b 100644
--- a/addons/wep_javelin/functions/fnc_cycleFireMode.sqf
+++ b/addons/wep_javelin/functions/fnc_cycleFireMode.sqf
@@ -1,19 +1,19 @@
-#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-TRACE_1("enter", _this);
-
-private["_player", "_currentFireMode"];
-
-_currentFireMode = ACE_player getVariable["ACE_FIRE_SELECTION", ACE_JAV_FIREMODE_TOP];
-if(_currentFireMode == ACE_JAV_FIREMODE_DIR) then {
- _currentFireMode = ACE_JAV_FIREMODE_TOP;
-
- __JavelinIGUITop ctrlSetTextColor __ColorGreen;
- __JavelinIGUIDir ctrlSetTextColor __ColorGray;
-} else {
- _currentFireMode = ACE_JAV_FIREMODE_DIR;
-
- __JavelinIGUITop ctrlSetTextColor __ColorGray;
- __JavelinIGUIDir ctrlSetTextColor __ColorGreen;
-};
-ACE_player setVariable["ACE_FIRE_SELECTION", _currentFireMode, false];
+#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+TRACE_1("enter", _this);
+
+private["_player", "_currentFireMode"];
+
+_currentFireMode = ACE_player getVariable["ACE_FIRE_SELECTION", ACE_JAV_FIREMODE_TOP];
+if(_currentFireMode == ACE_JAV_FIREMODE_DIR) then {
+ _currentFireMode = ACE_JAV_FIREMODE_TOP;
+
+ __JavelinIGUITop ctrlSetTextColor __ColorGreen;
+ __JavelinIGUIDir ctrlSetTextColor __ColorGray;
+} else {
+ _currentFireMode = ACE_JAV_FIREMODE_DIR;
+
+ __JavelinIGUITop ctrlSetTextColor __ColorGray;
+ __JavelinIGUIDir ctrlSetTextColor __ColorGreen;
+};
+ACE_player setVariable["ACE_FIRE_SELECTION", _currentFireMode, false];
diff --git a/addons/wep_javelin/functions/fnc_fired.sqf b/addons/wep_javelin/functions/fnc_fired.sqf
index 139f8f4b7e..9906d35a67 100644
--- a/addons/wep_javelin/functions/fnc_fired.sqf
+++ b/addons/wep_javelin/functions/fnc_fired.sqf
@@ -1,285 +1,285 @@
-//#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-//_this=[TEST_AI_HELICOPTER,"missiles_DAGR","missiles_DAGR","Far_AI","M_PG_AT","24Rnd_PG_missiles",163988: rocket_01_fly_f.p3d]
-TRACE_1("Launch", _this);
-PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
-
-FUNC(guidance_Javelin_LOBL_DIR_PFH) = {
- TRACE_1("enter", _this);
- private["_pitch", "_yaw", "_wentTerminal", "_target", "_targetPos", "_curVelocity", "_missile",
- "_launchPos", "_targetStartPos", "_defPitch", "_defYaw"];
- _args = _this select 0;
- //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
- _shooter = _args select 0;
- _missile = _args select 6;
-
- if((count _args) > 7) then {
- _saveArgs = _args select 7;
- _target = _saveArgs select 0;
- _targetStartPos = _saveArgs select 1;
- _launchPos = _saveArgs select 2;
- _wentTerminal = _saveArgs select 3;
- } else {
- _wentTerminal = false;
- _launchPos = getPosASL _shooter;
- _target = ACE_player getVariable[QGVAR(currentTarget), objNull];
- _targetStartPos = ACE_player getVariable[QGVAR(currentTargetPos), [0,0,0]];
- };
-
- if(!alive _missile || isNull _missile || isNull _target) exitWith {
- [(_this select 1)] call cba_fnc_removePerFrameHandler;
- };
-
- _targetPos = getPosASL _target;
- _curVelocity = velocity _missile;
-
- TRACE_4("", _target, _targetPos, _launchPos, _targetStartPos);
-
- _addHeight = [0,0,0];
- if(!isNil "_target") then {
-
- _yVec = vectorDir _missile;
- _zVec = vectorUp _missile;
- _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
-
- _missilePos = getPosASL _missile;
- // player sideChat "G!";
-
- TRACE_4("Phase Check", _launchPos, _missilePos, _targetPos, (_missilePos distance _targetPos));
- if((count _targetPos) > 0) then {
- _distanceToTarget = [(_missilePos select 0), (_missilePos select 1), (_targetPos select 2)] vectorDistance _targetPos;
-
- if( (_missilePos select 2) < (_targetPos select 2) + 60 && !_wentTerminal) then {
- _addHeight = [0,0,(_targetPos select 2) + 120];
-
- _defPitch = 0.15;
- _defYaw = 0.035;
-
- TRACE_1("Climb phase", _addHeight);
- } else {
- _wentTerminal = true;
- _this set[2, _wentTerminal];
-
- _defPitch = 0.15;
- _defYaw = 0.035;
-
- TRACE_1("TERMINAL", "");
- };
- _targetPos = _targetPos vectorAdd _addHeight;
-
- _targetVectorSeeker = [_missile, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
- TRACE_5("", _missile, _xVec, _yVec, _zVec, _targetPos);
-
- _yaw = 0.0;
- _pitch = 0.0;
-
- if((_targetVectorSeeker select 0) < 0) then {
- _yaw = -_defYaw;
- } else {
- if((_targetVectorSeeker select 0) > 0) then {
- _yaw = _defYaw;
- };
- };
-
- if((_targetVectorSeeker select 2) < 0) then {
- _pitch = -_defPitch;
- } else {
- if((_targetVectorSeeker select 2) > 0) then {
- _pitch = _defPitch;
- };
- };
-
- TRACE_3("", _targetVectorSeeker, _pitch, _yaw);
-
- #ifdef DEBUG_MODE_FULL
- drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
-
- _light = "#lightpoint" createVehicleLocal (getPos _missile);
- _light setLightBrightness 1.0;
- _light setLightAmbient [1.0, 0.0, 0.0];
- _light setLightColor [1.0, 0.0, 0.0];
-
- drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _missilePos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
- drawLine3D [ASLtoATL _missilePos, ASLtoATL _targetPos, [1,0,0,1]];
-
- MARKERCOUNT = MARKERCOUNT + 1;
- #endif
-
- if(accTime > 0) then {
- TRACE_5("", _xVec, _yVec, _zVec, _yaw, _pitch);
- _outVector = [_missile, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
-
- _vectorTo = _missilePos vectorFromTo _outVector;
- TRACE_3("", _missile, _outVector, _vectorTo);
- _missile setVectorDirAndUp [_vectorTo, vectorUp _missile];
- };
-
- #ifdef DEBUG_MODE_FULL
- hintSilent format["d: %1", _distanceToTarget];
- #endif
- };
- };
-
- _saveArgs = [_target,_targetStartPos, _launchPos, _wentTerminal];
- _args set[7, _saveArgs ];
- _this set[0, _args];
-};
-
-FUNC(guidance_Javelin_LOBL_TOP_PFH) = {
- TRACE_1("enter", _this);
- private["_pitch", "_yaw", "_wentTerminal", "_target", "_targetPos", "_curVelocity", "_missile",
- "_launchPos", "_targetStartPos", "_defPitch", "_defYaw"];
- _args = _this select 0;
- //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
- _shooter = _args select 0;
- _missile = _args select 6;
-
- if((count _args) > 7) then {
- _saveArgs = _args select 7;
- _target = _saveArgs select 0;
- _targetStartPos = _saveArgs select 1;
- _launchPos = _saveArgs select 2;
- _wentTerminal = _saveArgs select 3;
- } else {
- _wentTerminal = false;
- _launchPos = getPosASL _shooter;
- _target = ACE_player getVariable[QGVAR(currentTarget), objNull];
- _targetStartPos = ACE_player getVariable[QGVAR(currentTargetPos), [0,0,0]];
- };
-
- if(!alive _missile || isNull _missile || isNull _target) exitWith {
- [(_this select 1)] call cba_fnc_removePerFrameHandler;
- };
-
- _targetPos = getPosASL _target;
- _curVelocity = velocity _missile;
-
- TRACE_4("", _target, _targetPos, _launchPos, _targetStartPos);
-
- _addHeight = [0,0,0];
- if(!isNil "_target") then {
-
- _yVec = vectorDir _missile;
- _zVec = vectorUp _missile;
- _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
-
- _missilePos = getPosASL _missile;
- // player sideChat "G!";
-
- TRACE_4("Phase Check", _launchPos, _missilePos, _targetPos, (_missilePos distance _targetPos));
- if((count _targetPos) > 0) then {
- _distanceToTarget = [(_missilePos select 0), (_missilePos select 1), (_targetPos select 2)] vectorDistance _targetPos;
-
- if( (_missilePos select 2) < (_targetPos select 2) + 200 && !_wentTerminal) then {
- _addHeight = [0,0, ( (_distanceToTarget * 2) + 400)];
-
- _defPitch = 0.25;
- _defYaw = 0.035;
-
- TRACE_1("Climb phase", _addHeight);
- } else {
- _wentTerminal = true;
- _this set[2, _wentTerminal];
-
- _defPitch = 0.25;
- _defYaw = 0.25;
-
- TRACE_1("TERMINAL", "");
- };
- _targetPos = _targetPos vectorAdd _addHeight;
-
- _targetVectorSeeker = [_missile, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
- TRACE_5("", _missile, _xVec, _yVec, _zVec, _targetPos);
-
- _yaw = 0.0;
- _pitch = 0.0;
-
- // Stop jinking on terminal final decent
- if((_missilePos distance _targetPos) < 150) then {
- _defPitch = 0.0015;
- _defYaw = 0.0015;
- };
-
- if((_targetVectorSeeker select 0) < 0) then {
- _yaw = -_defYaw;
- } else {
- if((_targetVectorSeeker select 0) > 0) then {
- _yaw = _defYaw;
- };
- };
-
- if((_targetVectorSeeker select 2) < 0) then {
- _pitch = -_defPitch;
- } else {
- if((_targetVectorSeeker select 2) > 0) then {
- _pitch = _defPitch;
- };
- };
-
- TRACE_3("", _targetVectorSeeker, _pitch, _yaw);
-
- #ifdef DEBUG_MODE_FULL
- drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
-
- _light = "#lightpoint" createVehicleLocal (getPos _missile);
- _light setLightBrightness 1.0;
- _light setLightAmbient [1.0, 0.0, 0.0];
- _light setLightColor [1.0, 0.0, 0.0];
-
- drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _missilePos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
- drawLine3D [ASLtoATL _missilePos, ASLtoATL _targetPos, [1,0,0,1]];
-
- MARKERCOUNT = MARKERCOUNT + 1;
- #endif
-
- if(accTime > 0) then {
- TRACE_5("", _xVec, _yVec, _zVec, _yaw, _pitch);
- _outVector = [_missile, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
-
- _vectorTo = _missilePos vectorFromTo _outVector;
- TRACE_3("", _missile, _outVector, _vectorTo);
- _missile setVectorDirAndUp [_vectorTo, vectorUp _missile];
- };
-
- #ifdef DEBUG_MODE_FULL
- hintSilent format["d: %1", _distanceToTarget];
- #endif
- };
- };
-
- _saveArgs = [_target,_targetStartPos, _launchPos, _wentTerminal];
- _args set[7, _saveArgs ];
- _this set[0, _args];
-};
-
-FUNC(guidance_Javelin_LOBL_TOP) = {
- PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
-
- GVAR(lastTime) = time;
- [FUNC(guidance_Javelin_LOBL_TOP_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
-};
-
-FUNC(guidance_Javelin_LOBL_DIR) = {
- PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
-
- GVAR(lastTime) = time;
- [FUNC(guidance_Javelin_LOBL_DIR_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
-};
-
-if(!local _shooter) exitWith { false };
-if(_ammo == "M_Titan_AT") then {
- _fireMode = _shooter getVariable ["ACE_FIRE_SELECTION", ACE_JAV_FIREMODE_TOP];
-
- switch (_fireMode) do {
- // Default to FIREMODE_DIRECT_LOAL
- // FIREMODE_DIRECT_LOAL
- case ACE_JAV_FIREMODE_DIR: {
- LOG("Initiating Javelin FIREMODE_LOBL_DIR");
- _this call FUNC(guidance_Javelin_LOBL_DIR);
- };
- default {
- LOG("Initiating Javelin FIREMODE_LOBL_TOP");
- _this call FUNC(guidance_Javelin_LOBL_TOP);
- };
- };
+//#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+//_this=[TEST_AI_HELICOPTER,"missiles_DAGR","missiles_DAGR","Far_AI","M_PG_AT","24Rnd_PG_missiles",163988: rocket_01_fly_f.p3d]
+TRACE_1("Launch", _this);
+PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+
+FUNC(guidance_Javelin_LOBL_DIR_PFH) = {
+ TRACE_1("enter", _this);
+ private["_pitch", "_yaw", "_wentTerminal", "_target", "_targetPos", "_curVelocity", "_missile",
+ "_launchPos", "_targetStartPos", "_defPitch", "_defYaw"];
+ _args = _this select 0;
+ //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+ _shooter = _args select 0;
+ _missile = _args select 6;
+
+ if((count _args) > 7) then {
+ _saveArgs = _args select 7;
+ _target = _saveArgs select 0;
+ _targetStartPos = _saveArgs select 1;
+ _launchPos = _saveArgs select 2;
+ _wentTerminal = _saveArgs select 3;
+ } else {
+ _wentTerminal = false;
+ _launchPos = getPosASL _shooter;
+ _target = ACE_player getVariable[QGVAR(currentTarget), objNull];
+ _targetStartPos = ACE_player getVariable[QGVAR(currentTargetPos), [0,0,0]];
+ };
+
+ if(!alive _missile || isNull _missile || isNull _target) exitWith {
+ [(_this select 1)] call cba_fnc_removePerFrameHandler;
+ };
+
+ _targetPos = getPosASL _target;
+ _curVelocity = velocity _missile;
+
+ TRACE_4("", _target, _targetPos, _launchPos, _targetStartPos);
+
+ _addHeight = [0,0,0];
+ if(!isNil "_target") then {
+
+ _yVec = vectorDir _missile;
+ _zVec = vectorUp _missile;
+ _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
+
+ _missilePos = getPosASL _missile;
+ // player sideChat "G!";
+
+ TRACE_4("Phase Check", _launchPos, _missilePos, _targetPos, (_missilePos distance _targetPos));
+ if((count _targetPos) > 0) then {
+ _distanceToTarget = [(_missilePos select 0), (_missilePos select 1), (_targetPos select 2)] vectorDistance _targetPos;
+
+ if( (_missilePos select 2) < (_targetPos select 2) + 60 && !_wentTerminal) then {
+ _addHeight = [0,0,(_targetPos select 2) + 120];
+
+ _defPitch = 0.15;
+ _defYaw = 0.035;
+
+ TRACE_1("Climb phase", _addHeight);
+ } else {
+ _wentTerminal = true;
+ _this set[2, _wentTerminal];
+
+ _defPitch = 0.15;
+ _defYaw = 0.035;
+
+ TRACE_1("TERMINAL", "");
+ };
+ _targetPos = _targetPos vectorAdd _addHeight;
+
+ _targetVectorSeeker = [_missile, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
+ TRACE_5("", _missile, _xVec, _yVec, _zVec, _targetPos);
+
+ _yaw = 0.0;
+ _pitch = 0.0;
+
+ if((_targetVectorSeeker select 0) < 0) then {
+ _yaw = -_defYaw;
+ } else {
+ if((_targetVectorSeeker select 0) > 0) then {
+ _yaw = _defYaw;
+ };
+ };
+
+ if((_targetVectorSeeker select 2) < 0) then {
+ _pitch = -_defPitch;
+ } else {
+ if((_targetVectorSeeker select 2) > 0) then {
+ _pitch = _defPitch;
+ };
+ };
+
+ TRACE_3("", _targetVectorSeeker, _pitch, _yaw);
+
+ #ifdef DEBUG_MODE_FULL
+ drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
+
+ _light = "#lightpoint" createVehicleLocal (getPos _missile);
+ _light setLightBrightness 1.0;
+ _light setLightAmbient [1.0, 0.0, 0.0];
+ _light setLightColor [1.0, 0.0, 0.0];
+
+ drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _missilePos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
+ drawLine3D [ASLtoATL _missilePos, ASLtoATL _targetPos, [1,0,0,1]];
+
+ MARKERCOUNT = MARKERCOUNT + 1;
+ #endif
+
+ if(accTime > 0) then {
+ TRACE_5("", _xVec, _yVec, _zVec, _yaw, _pitch);
+ _outVector = [_missile, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
+
+ _vectorTo = _missilePos vectorFromTo _outVector;
+ TRACE_3("", _missile, _outVector, _vectorTo);
+ _missile setVectorDirAndUp [_vectorTo, vectorUp _missile];
+ };
+
+ #ifdef DEBUG_MODE_FULL
+ hintSilent format["d: %1", _distanceToTarget];
+ #endif
+ };
+ };
+
+ _saveArgs = [_target,_targetStartPos, _launchPos, _wentTerminal];
+ _args set[7, _saveArgs ];
+ _this set[0, _args];
+};
+
+FUNC(guidance_Javelin_LOBL_TOP_PFH) = {
+ TRACE_1("enter", _this);
+ private["_pitch", "_yaw", "_wentTerminal", "_target", "_targetPos", "_curVelocity", "_missile",
+ "_launchPos", "_targetStartPos", "_defPitch", "_defYaw"];
+ _args = _this select 0;
+ //PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+ _shooter = _args select 0;
+ _missile = _args select 6;
+
+ if((count _args) > 7) then {
+ _saveArgs = _args select 7;
+ _target = _saveArgs select 0;
+ _targetStartPos = _saveArgs select 1;
+ _launchPos = _saveArgs select 2;
+ _wentTerminal = _saveArgs select 3;
+ } else {
+ _wentTerminal = false;
+ _launchPos = getPosASL _shooter;
+ _target = ACE_player getVariable[QGVAR(currentTarget), objNull];
+ _targetStartPos = ACE_player getVariable[QGVAR(currentTargetPos), [0,0,0]];
+ };
+
+ if(!alive _missile || isNull _missile || isNull _target) exitWith {
+ [(_this select 1)] call cba_fnc_removePerFrameHandler;
+ };
+
+ _targetPos = getPosASL _target;
+ _curVelocity = velocity _missile;
+
+ TRACE_4("", _target, _targetPos, _launchPos, _targetStartPos);
+
+ _addHeight = [0,0,0];
+ if(!isNil "_target") then {
+
+ _yVec = vectorDir _missile;
+ _zVec = vectorUp _missile;
+ _xVec = vectorNormalized (_yVec vectorCrossProduct _zVec);
+
+ _missilePos = getPosASL _missile;
+ // player sideChat "G!";
+
+ TRACE_4("Phase Check", _launchPos, _missilePos, _targetPos, (_missilePos distance _targetPos));
+ if((count _targetPos) > 0) then {
+ _distanceToTarget = [(_missilePos select 0), (_missilePos select 1), (_targetPos select 2)] vectorDistance _targetPos;
+
+ if( (_missilePos select 2) < (_targetPos select 2) + 200 && !_wentTerminal) then {
+ _addHeight = [0,0, ( (_distanceToTarget * 2) + 400)];
+
+ _defPitch = 0.25;
+ _defYaw = 0.035;
+
+ TRACE_1("Climb phase", _addHeight);
+ } else {
+ _wentTerminal = true;
+ _this set[2, _wentTerminal];
+
+ _defPitch = 0.25;
+ _defYaw = 0.25;
+
+ TRACE_1("TERMINAL", "");
+ };
+ _targetPos = _targetPos vectorAdd _addHeight;
+
+ _targetVectorSeeker = [_missile, [_xVec, _yVec, _zVec], _targetPos] call FUNC(translateToWeaponSpace);
+ TRACE_5("", _missile, _xVec, _yVec, _zVec, _targetPos);
+
+ _yaw = 0.0;
+ _pitch = 0.0;
+
+ // Stop jinking on terminal final decent
+ if((_missilePos distance _targetPos) < 150) then {
+ _defPitch = 0.0015;
+ _defYaw = 0.0015;
+ };
+
+ if((_targetVectorSeeker select 0) < 0) then {
+ _yaw = -_defYaw;
+ } else {
+ if((_targetVectorSeeker select 0) > 0) then {
+ _yaw = _defYaw;
+ };
+ };
+
+ if((_targetVectorSeeker select 2) < 0) then {
+ _pitch = -_defPitch;
+ } else {
+ if((_targetVectorSeeker select 2) > 0) then {
+ _pitch = _defPitch;
+ };
+ };
+
+ TRACE_3("", _targetVectorSeeker, _pitch, _yaw);
+
+ #ifdef DEBUG_MODE_FULL
+ drawLine3D [(ASLtoATL _targetPos) vectorAdd _addHeight, ASLtoATL _targetPos, [0,1,0,1]];
+
+ _light = "#lightpoint" createVehicleLocal (getPos _missile);
+ _light setLightBrightness 1.0;
+ _light setLightAmbient [1.0, 0.0, 0.0];
+ _light setLightColor [1.0, 0.0, 0.0];
+
+ drawIcon3D ["\a3\ui_f\data\IGUI\Cfg\Cursors\selectover_ca.paa", [1,1,1,1], ASLtoATL _missilePos, 0.75, 0.75, 0, str _vectorTo, 1, 0.025, "TahomaB"];
+ drawLine3D [ASLtoATL _missilePos, ASLtoATL _targetPos, [1,0,0,1]];
+
+ MARKERCOUNT = MARKERCOUNT + 1;
+ #endif
+
+ if(accTime > 0) then {
+ TRACE_5("", _xVec, _yVec, _zVec, _yaw, _pitch);
+ _outVector = [_missile, [_xVec, _yVec, _zVec], [_yaw, 1/accTime, _pitch]] call FUNC(translateToModelSpace);
+
+ _vectorTo = _missilePos vectorFromTo _outVector;
+ TRACE_3("", _missile, _outVector, _vectorTo);
+ _missile setVectorDirAndUp [_vectorTo, vectorUp _missile];
+ };
+
+ #ifdef DEBUG_MODE_FULL
+ hintSilent format["d: %1", _distanceToTarget];
+ #endif
+ };
+ };
+
+ _saveArgs = [_target,_targetStartPos, _launchPos, _wentTerminal];
+ _args set[7, _saveArgs ];
+ _this set[0, _args];
+};
+
+FUNC(guidance_Javelin_LOBL_TOP) = {
+ PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+
+ GVAR(lastTime) = time;
+ [FUNC(guidance_Javelin_LOBL_TOP_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
+};
+
+FUNC(guidance_Javelin_LOBL_DIR) = {
+ PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
+
+ GVAR(lastTime) = time;
+ [FUNC(guidance_Javelin_LOBL_DIR_PFH), 0, _this] call cba_fnc_addPerFrameHandler;
+};
+
+if(!local _shooter) exitWith { false };
+if(_ammo == "M_Titan_AT") then {
+ _fireMode = _shooter getVariable ["ACE_FIRE_SELECTION", ACE_JAV_FIREMODE_TOP];
+
+ switch (_fireMode) do {
+ // Default to FIREMODE_DIRECT_LOAL
+ // FIREMODE_DIRECT_LOAL
+ case ACE_JAV_FIREMODE_DIR: {
+ LOG("Initiating Javelin FIREMODE_LOBL_DIR");
+ _this call FUNC(guidance_Javelin_LOBL_DIR);
+ };
+ default {
+ LOG("Initiating Javelin FIREMODE_LOBL_TOP");
+ _this call FUNC(guidance_Javelin_LOBL_TOP);
+ };
+ };
};
\ No newline at end of file
diff --git a/addons/wep_javelin/functions/fnc_lockKeyDown.sqf b/addons/wep_javelin/functions/fnc_lockKeyDown.sqf
index bc3198915b..858d9373c4 100644
--- a/addons/wep_javelin/functions/fnc_lockKeyDown.sqf
+++ b/addons/wep_javelin/functions/fnc_lockKeyDown.sqf
@@ -1,3 +1,3 @@
-#define DEBUG_MODE_FULL
-#include "script_component.hpp"
+#define DEBUG_MODE_FULL
+#include "script_component.hpp"
TRACE_1("enter", _this);
\ No newline at end of file
diff --git a/addons/wep_javelin/functions/fnc_lockKeyUp.sqf b/addons/wep_javelin/functions/fnc_lockKeyUp.sqf
index bc3198915b..858d9373c4 100644
--- a/addons/wep_javelin/functions/fnc_lockKeyUp.sqf
+++ b/addons/wep_javelin/functions/fnc_lockKeyUp.sqf
@@ -1,3 +1,3 @@
-#define DEBUG_MODE_FULL
-#include "script_component.hpp"
+#define DEBUG_MODE_FULL
+#include "script_component.hpp"
TRACE_1("enter", _this);
\ No newline at end of file
diff --git a/addons/wep_javelin/functions/fnc_onOpticDraw.sqf b/addons/wep_javelin/functions/fnc_onOpticDraw.sqf
index 6a74b3ed57..2389904dcf 100644
--- a/addons/wep_javelin/functions/fnc_onOpticDraw.sqf
+++ b/addons/wep_javelin/functions/fnc_onOpticDraw.sqf
@@ -1,132 +1,132 @@
-//#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-//TRACE_1("enter", _this);
-
-#define __TRACKINTERVAL 0.1 // how frequent the check should be.
-#define __LOCKONTIME 1.85 // Lock on won't occur sooner
-#define __LOCKONTIMERANDOM 0.3 // Deviation in lock on time
-#define __SENSORSQUARE 1 // Locking on sensor square side in angles
-
-#define __ConstraintTop (((ctrlPosition __JavelinIGUITargetingConstrainTop) select 1) + ((ctrlPosition (__JavelinIGUITargetingConstrainTop)) select 3))
-#define __ConstraintBottom ((ctrlPosition __JavelinIGUITargetingConstrainBottom) select 1)
-#define __ConstraintLeft (((ctrlPosition __JavelinIGUITargetingConstrainLeft) select 0) + ((ctrlPosition (__JavelinIGUITargetingConstrainLeft)) select 2))
-#define __ConstraintRight ((ctrlPosition __JavelinIGUITargetingConstrainRight) select 0)
-
-#define __OffsetX ((ctrlPosition __JavelinIGUITargetingLineV) select 0) - 0.5
-#define __OffsetY ((ctrlPosition __JavelinIGUITargetingLineH) select 1) - 0.5
-
-
-private["_args", "_lastTick", "_runTime", "_soundTime", "_lockTime", "_newTarget", "_currentTarget", "_range", "_pos", "_targetArray"];
-
-// Reset arguments if we havnt rendered in over a second
-_args = uiNamespace getVariable[QGVAR(arguments), [] ];
-if( (count _args) > 0) then {
- _lastTick = _args select 0;
- if(diag_tickTime - _lastTick > 1) then {
- [] call FUNC(onOpticLoad);
- };
-};
-
-// Pull the arguments
-_currentTarget = _args select 1;
-_runTime = _args select 2;
-_lockTime = _args select 3;
-_soundTime = _args select 4;
-
-// Find a target within the optic range
-_newTarget = objNull;
-
-// Bail on fast movement
-if ((velocity ACE_player) distance [0,0,0] > 0.5 && {cameraView == "GUNNER"} && {cameraOn == ACE_player}) exitWith { // keep it steady.
- ACE_player switchCamera "INTERNAL";
-};
-
-// Only start locking on holding tab
-if(!GVAR(isLockKeyDown)) exitWith { false };
-
-_range = parseNumber (ctrlText __JavelinIGUIRangefinder);
-if (_range > 50 && {_range < 2500}) then {
- _pos = positionCameraToWorld [0,0,_range];
- _targetArray = _pos nearEntities ["AllVehicles", _range/25];
- if (count (_targetArray) > 0) then {
- _newTarget = _targetArray select 0;
- };
-};
-
-if (isNull _newTarget) then {
- _newTarget = cursorTarget;
-};
-
-if (isNull _newTarget) then {
- // No targets found
- _currentTarget = objNull;
- _lockTime = 0;
-
- __JavelinIGUISeek ctrlSetTextColor __ColorGray;
- __JavelinIGUINFOV ctrlSetTextColor __ColorGreen;
- __JavelinIGUITargetingConstrains ctrlShow false;
- __JavelinIGUITargetingGate ctrlShow false;
- __JavelinIGUITargetingLines ctrlShow false;
-
- ACE_player setVariable [QGVAR(currentTarget),nil, false];
-
- // Disallow fire
- //if (ACE_player ammo "Javelin" > 0 || {ACE_player ammo "ACE_Javelin_Direct" > 0}) then {ACE_player setWeaponReloadingTime //[player, "Javelin", 0.2];};
-} else {
- if (_newTarget distance ACE_player < 2500
- // && {(call CBA_fnc_getFoV) select 1 > 7}
- // && { (currentVisionMode ACE_player == 2)}
- ) then {
- // Lock on after 3 seconds
- if(_currentTarget != _newTarget) then {
- TRACE_1("New Target, reseting locking", _newTarget);
- _lockTime = diag_tickTime;
- _currentTarget = _newTarget;
-
- playSound "ACE_Javelin_Locking";
- } else {
- if(diag_tickTime - _lockTime > 3) then {
- TRACE_2("LOCKED!", _currentTarget, _lockTime);
- __JavelinIGUISeek ctrlSetTextColor __ColorGreen;
- __JavelinIGUINFOV ctrlSetTextColor __ColorNull;
- __JavelinIGUITargetingConstrains ctrlShow true;
-
- ACE_player setVariable[QGVAR(currentTarget), _currentTarget, false];
- ACE_player setVariable[QGVAR(currentTargetPos), getPosASL _currentTarget, false];
-
- if(diag_tickTime > _soundTime) then {
- playSound "ACE_Javelin_Locked";
- _soundTime = diag_tickTime + 0.25;
- };
- } else {
- if(diag_tickTime > _soundTime) then {
- playSound "ACE_Javelin_Locking";
- _soundTime = diag_tickTime + 0.25;
- };
- };
- };
- } else {
- // Something is wrong with our seek
- _currentTarget = objNull;
-
- __JavelinIGUISeek ctrlSetTextColor __ColorGray;
- __JavelinIGUINFOV ctrlSetTextColor __ColorGray;
- __JavelinIGUITargetingConstrains ctrlShow false;
- __JavelinIGUITargetingGate ctrlShow false;
- __JavelinIGUITargetingLines ctrlShow false;
-
- ACE_player setVariable [QGVAR(currentTarget),nil, false];
- };
-
-};
-
-//TRACE_2("", _newTarget, _currentTarget);
-
-// Save arguments for next run
-_args set[0, diag_tickTime];
-_args set[1, _currentTarget];
-_args set[2, _runTime];
-_args set[3, _lockTime];
-_args set[4, _soundTime];
-
+//#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+//TRACE_1("enter", _this);
+
+#define __TRACKINTERVAL 0.1 // how frequent the check should be.
+#define __LOCKONTIME 1.85 // Lock on won't occur sooner
+#define __LOCKONTIMERANDOM 0.3 // Deviation in lock on time
+#define __SENSORSQUARE 1 // Locking on sensor square side in angles
+
+#define __ConstraintTop (((ctrlPosition __JavelinIGUITargetingConstrainTop) select 1) + ((ctrlPosition (__JavelinIGUITargetingConstrainTop)) select 3))
+#define __ConstraintBottom ((ctrlPosition __JavelinIGUITargetingConstrainBottom) select 1)
+#define __ConstraintLeft (((ctrlPosition __JavelinIGUITargetingConstrainLeft) select 0) + ((ctrlPosition (__JavelinIGUITargetingConstrainLeft)) select 2))
+#define __ConstraintRight ((ctrlPosition __JavelinIGUITargetingConstrainRight) select 0)
+
+#define __OffsetX ((ctrlPosition __JavelinIGUITargetingLineV) select 0) - 0.5
+#define __OffsetY ((ctrlPosition __JavelinIGUITargetingLineH) select 1) - 0.5
+
+
+private["_args", "_lastTick", "_runTime", "_soundTime", "_lockTime", "_newTarget", "_currentTarget", "_range", "_pos", "_targetArray"];
+
+// Reset arguments if we havnt rendered in over a second
+_args = uiNamespace getVariable[QGVAR(arguments), [] ];
+if( (count _args) > 0) then {
+ _lastTick = _args select 0;
+ if(diag_tickTime - _lastTick > 1) then {
+ [] call FUNC(onOpticLoad);
+ };
+};
+
+// Pull the arguments
+_currentTarget = _args select 1;
+_runTime = _args select 2;
+_lockTime = _args select 3;
+_soundTime = _args select 4;
+
+// Find a target within the optic range
+_newTarget = objNull;
+
+// Bail on fast movement
+if ((velocity ACE_player) distance [0,0,0] > 0.5 && {cameraView == "GUNNER"} && {cameraOn == ACE_player}) exitWith { // keep it steady.
+ ACE_player switchCamera "INTERNAL";
+};
+
+// Only start locking on holding tab
+if(!GVAR(isLockKeyDown)) exitWith { false };
+
+_range = parseNumber (ctrlText __JavelinIGUIRangefinder);
+if (_range > 50 && {_range < 2500}) then {
+ _pos = positionCameraToWorld [0,0,_range];
+ _targetArray = _pos nearEntities ["AllVehicles", _range/25];
+ if (count (_targetArray) > 0) then {
+ _newTarget = _targetArray select 0;
+ };
+};
+
+if (isNull _newTarget) then {
+ _newTarget = cursorTarget;
+};
+
+if (isNull _newTarget) then {
+ // No targets found
+ _currentTarget = objNull;
+ _lockTime = 0;
+
+ __JavelinIGUISeek ctrlSetTextColor __ColorGray;
+ __JavelinIGUINFOV ctrlSetTextColor __ColorGreen;
+ __JavelinIGUITargetingConstrains ctrlShow false;
+ __JavelinIGUITargetingGate ctrlShow false;
+ __JavelinIGUITargetingLines ctrlShow false;
+
+ ACE_player setVariable [QGVAR(currentTarget),nil, false];
+
+ // Disallow fire
+ //if (ACE_player ammo "Javelin" > 0 || {ACE_player ammo "ACE_Javelin_Direct" > 0}) then {ACE_player setWeaponReloadingTime //[player, "Javelin", 0.2];};
+} else {
+ if (_newTarget distance ACE_player < 2500
+ // && {(call CBA_fnc_getFoV) select 1 > 7}
+ // && { (currentVisionMode ACE_player == 2)}
+ ) then {
+ // Lock on after 3 seconds
+ if(_currentTarget != _newTarget) then {
+ TRACE_1("New Target, reseting locking", _newTarget);
+ _lockTime = diag_tickTime;
+ _currentTarget = _newTarget;
+
+ playSound "ACE_Javelin_Locking";
+ } else {
+ if(diag_tickTime - _lockTime > 3) then {
+ TRACE_2("LOCKED!", _currentTarget, _lockTime);
+ __JavelinIGUISeek ctrlSetTextColor __ColorGreen;
+ __JavelinIGUINFOV ctrlSetTextColor __ColorNull;
+ __JavelinIGUITargetingConstrains ctrlShow true;
+
+ ACE_player setVariable[QGVAR(currentTarget), _currentTarget, false];
+ ACE_player setVariable[QGVAR(currentTargetPos), getPosASL _currentTarget, false];
+
+ if(diag_tickTime > _soundTime) then {
+ playSound "ACE_Javelin_Locked";
+ _soundTime = diag_tickTime + 0.25;
+ };
+ } else {
+ if(diag_tickTime > _soundTime) then {
+ playSound "ACE_Javelin_Locking";
+ _soundTime = diag_tickTime + 0.25;
+ };
+ };
+ };
+ } else {
+ // Something is wrong with our seek
+ _currentTarget = objNull;
+
+ __JavelinIGUISeek ctrlSetTextColor __ColorGray;
+ __JavelinIGUINFOV ctrlSetTextColor __ColorGray;
+ __JavelinIGUITargetingConstrains ctrlShow false;
+ __JavelinIGUITargetingGate ctrlShow false;
+ __JavelinIGUITargetingLines ctrlShow false;
+
+ ACE_player setVariable [QGVAR(currentTarget),nil, false];
+ };
+
+};
+
+//TRACE_2("", _newTarget, _currentTarget);
+
+// Save arguments for next run
+_args set[0, diag_tickTime];
+_args set[1, _currentTarget];
+_args set[2, _runTime];
+_args set[3, _lockTime];
+_args set[4, _soundTime];
+
uiNamespace setVariable[QGVAR(arguments), _args ];
\ No newline at end of file
diff --git a/addons/wep_javelin/functions/fnc_onOpticLoad.sqf b/addons/wep_javelin/functions/fnc_onOpticLoad.sqf
index c4a7069630..88fc99e19b 100644
--- a/addons/wep_javelin/functions/fnc_onOpticLoad.sqf
+++ b/addons/wep_javelin/functions/fnc_onOpticLoad.sqf
@@ -1,17 +1,17 @@
-//#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-TRACE_1("enter", _this);
-
-if((count _this) > 0) then {
- uiNameSpace setVariable ['ACE_RscOptics_javelin',_this select 0];
-};
-
-uiNameSpace setVariable [QGVAR(arguments),
- [
- 0, // Last runtime
- objNull, // currentTargetObject
- 0, // Run Time
- 0, // Lock Time
- 0 // Sound timer
- ]
+//#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+TRACE_1("enter", _this);
+
+if((count _this) > 0) then {
+ uiNameSpace setVariable ['ACE_RscOptics_javelin',_this select 0];
+};
+
+uiNameSpace setVariable [QGVAR(arguments),
+ [
+ 0, // Last runtime
+ objNull, // currentTargetObject
+ 0, // Run Time
+ 0, // Lock Time
+ 0 // Sound timer
+ ]
];
\ No newline at end of file
diff --git a/addons/wep_javelin/functions/fnc_translateToModelSpace.sqf b/addons/wep_javelin/functions/fnc_translateToModelSpace.sqf
index 12f828769a..8b80cf9958 100644
--- a/addons/wep_javelin/functions/fnc_translateToModelSpace.sqf
+++ b/addons/wep_javelin/functions/fnc_translateToModelSpace.sqf
@@ -1,20 +1,20 @@
-//#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-TRACE_1("enter", _this);
-
-_object = _this select 0;
-_origin = getPosASL _object;
-_matrix = _this select 1;
-_xVec = _matrix select 0;
-_yVec = _matrix select 1;
-_zVec = _matrix select 2;
-
-_offset = _this select 2;
-
-_x = _offset select 0;
-_y = _offset select 1;
-_z = _offset select 2;
-
-_out = (((_xVec vectorMultiply _x) vectorAdd (_yVec vectorMultiply _y)) vectorAdd (_zVec vectorMultiply _z)) vectorAdd _origin;
-
+//#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+TRACE_1("enter", _this);
+
+_object = _this select 0;
+_origin = getPosASL _object;
+_matrix = _this select 1;
+_xVec = _matrix select 0;
+_yVec = _matrix select 1;
+_zVec = _matrix select 2;
+
+_offset = _this select 2;
+
+_x = _offset select 0;
+_y = _offset select 1;
+_z = _offset select 2;
+
+_out = (((_xVec vectorMultiply _x) vectorAdd (_yVec vectorMultiply _y)) vectorAdd (_zVec vectorMultiply _z)) vectorAdd _origin;
+
_out;
\ No newline at end of file
diff --git a/addons/wep_javelin/functions/fnc_translateToWeaponSpace.sqf b/addons/wep_javelin/functions/fnc_translateToWeaponSpace.sqf
index 8f85005d48..6b42e20ef9 100644
--- a/addons/wep_javelin/functions/fnc_translateToWeaponSpace.sqf
+++ b/addons/wep_javelin/functions/fnc_translateToWeaponSpace.sqf
@@ -1,26 +1,26 @@
-//#define DEBUG_MODE_FULL
-#include "script_component.hpp"
-TRACE_1("enter", _this);
-
-_object = _this select 0;
-_origin = getPosASL _object;
-_matrix = _this select 1;
-_xVec = _matrix select 0;
-_yVec = _matrix select 1;
-_zVec = _matrix select 2;
-
-_offset = _this select 2;
-
-_offset = _offset vectorDiff _origin;
-
-_x = _offset select 0;
-_y = _offset select 1;
-_z = _offset select 2;
-
-_out = [
- ((_xVec select 0)*_x) + ((_xVec select 1)*_y) + ((_xVec select 2)*_z),
- ((_yVec select 0)*_x) + ((_yVec select 1)*_y) + ((_yVec select 2)*_z),
- ((_zVec select 0)*_x) + ((_zVec select 1)*_y) + ((_zVec select 2)*_z)
- ];
-
+//#define DEBUG_MODE_FULL
+#include "script_component.hpp"
+TRACE_1("enter", _this);
+
+_object = _this select 0;
+_origin = getPosASL _object;
+_matrix = _this select 1;
+_xVec = _matrix select 0;
+_yVec = _matrix select 1;
+_zVec = _matrix select 2;
+
+_offset = _this select 2;
+
+_offset = _offset vectorDiff _origin;
+
+_x = _offset select 0;
+_y = _offset select 1;
+_z = _offset select 2;
+
+_out = [
+ ((_xVec select 0)*_x) + ((_xVec select 1)*_y) + ((_xVec select 2)*_z),
+ ((_yVec select 0)*_x) + ((_yVec select 1)*_y) + ((_yVec select 2)*_z),
+ ((_zVec select 0)*_x) + ((_zVec select 1)*_y) + ((_zVec select 2)*_z)
+ ];
+
_out;
\ No newline at end of file
diff --git a/addons/wep_javelin/initKeybinds.sqf b/addons/wep_javelin/initKeybinds.sqf
index 126b1395a3..b8c5e490df 100644
--- a/addons/wep_javelin/initKeybinds.sqf
+++ b/addons/wep_javelin/initKeybinds.sqf
@@ -1,30 +1,30 @@
-// by commy2
-
-["ACE3", QGVAR(lockTarget), localize "STR_ACE_WEP_JAVELIN_LockTarget",
-{
- if (GETGVAR(isLockKeyDown,false)) exitWith {false};
-
- GVAR(isLockKeyDown) = true;
-
- // Statement
- [ACE_player] call FUNC(lockKeyDown);
- // Return false so it doesn't block the rest weapon action
- false
-},
-{
- // prevent holding down
- GVAR(isLockKeyDown) = false;
-
- // Statement
- [ACE_player] call FUNC(lockKeyUp);
- false
-},
-[15, [false, false, false]], false] call cba_fnc_addKeybind; //Tab Key
-
-["ACE3", QGVAR(cycleFireMode), localize "STR_ACE_WEP_JAVELIN_CycleFireMode",
-{ false },
-{
- [ACE_player] call FUNC(cycleFireMode);
- false
-},
+// by commy2
+
+["ACE3", QGVAR(lockTarget), localize "STR_ACE_WEP_JAVELIN_LockTarget",
+{
+ if (GETGVAR(isLockKeyDown,false)) exitWith {false};
+
+ GVAR(isLockKeyDown) = true;
+
+ // Statement
+ [ACE_player] call FUNC(lockKeyDown);
+ // Return false so it doesn't block the rest weapon action
+ false
+},
+{
+ // prevent holding down
+ GVAR(isLockKeyDown) = false;
+
+ // Statement
+ [ACE_player] call FUNC(lockKeyUp);
+ false
+},
+[15, [false, false, false]], false] call cba_fnc_addKeybind; //Tab Key
+
+["ACE3", QGVAR(cycleFireMode), localize "STR_ACE_WEP_JAVELIN_CycleFireMode",
+{ false },
+{
+ [ACE_player] call FUNC(cycleFireMode);
+ false
+},
[15, [false, true, false]], false] call cba_fnc_addKeybind; //Shift+Tab Key
\ No newline at end of file
diff --git a/addons/wep_javelin/script_component.hpp b/addons/wep_javelin/script_component.hpp
index 3df1273422..2c75308cd4 100644
--- a/addons/wep_javelin/script_component.hpp
+++ b/addons/wep_javelin/script_component.hpp
@@ -1,53 +1,53 @@
-#define COMPONENT wep_javelin
-#include "\z\ace\Addons\main\script_mod.hpp"
-
-#ifdef DEBUG_ENABLED_WEP_JAVELIN
- #define DEBUG_MODE_FULL
-#endif
-
-#ifdef DEBUG_SETTINGS_WEP_JAVELIN
- #define DEBUG_SETTINGS DEBUG_SETTINGS_WEP_JAVELIN
-#endif
-
-#include "\z\ace\Addons\main\script_macros.hpp"
-
-#define ACE_JAV_FIREMODE_DIR 1
-#define ACE_JAV_FIREMODE_TOP 2
-
-
-// Javelin IGUI defines
-#define __JavelinIGUI (uinamespace getVariable "ACE_RscOptics_javelin")
-
-// Custom controls
-#define __JavelinIGUISeek (__JavelinIGUI displayCtrl 699000)
-#define __JavelinIGUITop (__JavelinIGUI displayCtrl 699001)
-#define __JavelinIGUIDir (__JavelinIGUI displayCtrl 699002)
-#define __JavelinIGUINFOV (__JavelinIGUI displayCtrl 699003)
-
-// Constrains
-#define __JavelinIGUITargetingConstrains (__JavelinIGUI displayCtrl 699100)
-#define __JavelinIGUITargetingConstrainTop (__JavelinIGUI displayCtrl 699101)
-#define __JavelinIGUITargetingConstrainBottom (__JavelinIGUI displayCtrl 699102)
-#define __JavelinIGUITargetingConstrainLeft (__JavelinIGUI displayCtrl 699103)
-#define __JavelinIGUITargetingConstrainRight (__JavelinIGUI displayCtrl 699104)
-
-// Targeting gate
-#define __JavelinIGUITargetingGate (__JavelinIGUI displayCtrl 699200)
-#define __JavelinIGUITargetingGateTL (__JavelinIGUI displayCtrl 699201)
-#define __JavelinIGUITargetingGateTR (__JavelinIGUI displayCtrl 699202)
-#define __JavelinIGUITargetingGateBL (__JavelinIGUI displayCtrl 699203)
-#define __JavelinIGUITargetingGateBR (__JavelinIGUI displayCtrl 699204)
-
-// Rangefinder
-#define __JavelinIGUIRangefinder (__JavelinIGUI displayCtrl 151)
-
-// Targeting lines
-#define __JavelinIGUITargetingLines (__JavelinIGUI displayCtrl 699300)
-#define __JavelinIGUITargetingLineH (__JavelinIGUI displayCtrl 699301)
-#define __JavelinIGUITargetingLineV (__JavelinIGUI displayCtrl 699302)
-
-// Colors for controls
-#define __ColorOrange [0.9255,0.5216,0.1216,1]
-#define __ColorGreen [0.2941,0.8745,0.2157,1]
-#define __ColorGray [0.2941,0.2941,0.2941,1]
+#define COMPONENT wep_javelin
+#include "\z\ace\Addons\main\script_mod.hpp"
+
+#ifdef DEBUG_ENABLED_WEP_JAVELIN
+ #define DEBUG_MODE_FULL
+#endif
+
+#ifdef DEBUG_SETTINGS_WEP_JAVELIN
+ #define DEBUG_SETTINGS DEBUG_SETTINGS_WEP_JAVELIN
+#endif
+
+#include "\z\ace\Addons\main\script_macros.hpp"
+
+#define ACE_JAV_FIREMODE_DIR 1
+#define ACE_JAV_FIREMODE_TOP 2
+
+
+// Javelin IGUI defines
+#define __JavelinIGUI (uinamespace getVariable "ACE_RscOptics_javelin")
+
+// Custom controls
+#define __JavelinIGUISeek (__JavelinIGUI displayCtrl 699000)
+#define __JavelinIGUITop (__JavelinIGUI displayCtrl 699001)
+#define __JavelinIGUIDir (__JavelinIGUI displayCtrl 699002)
+#define __JavelinIGUINFOV (__JavelinIGUI displayCtrl 699003)
+
+// Constrains
+#define __JavelinIGUITargetingConstrains (__JavelinIGUI displayCtrl 699100)
+#define __JavelinIGUITargetingConstrainTop (__JavelinIGUI displayCtrl 699101)
+#define __JavelinIGUITargetingConstrainBottom (__JavelinIGUI displayCtrl 699102)
+#define __JavelinIGUITargetingConstrainLeft (__JavelinIGUI displayCtrl 699103)
+#define __JavelinIGUITargetingConstrainRight (__JavelinIGUI displayCtrl 699104)
+
+// Targeting gate
+#define __JavelinIGUITargetingGate (__JavelinIGUI displayCtrl 699200)
+#define __JavelinIGUITargetingGateTL (__JavelinIGUI displayCtrl 699201)
+#define __JavelinIGUITargetingGateTR (__JavelinIGUI displayCtrl 699202)
+#define __JavelinIGUITargetingGateBL (__JavelinIGUI displayCtrl 699203)
+#define __JavelinIGUITargetingGateBR (__JavelinIGUI displayCtrl 699204)
+
+// Rangefinder
+#define __JavelinIGUIRangefinder (__JavelinIGUI displayCtrl 151)
+
+// Targeting lines
+#define __JavelinIGUITargetingLines (__JavelinIGUI displayCtrl 699300)
+#define __JavelinIGUITargetingLineH (__JavelinIGUI displayCtrl 699301)
+#define __JavelinIGUITargetingLineV (__JavelinIGUI displayCtrl 699302)
+
+// Colors for controls
+#define __ColorOrange [0.9255,0.5216,0.1216,1]
+#define __ColorGreen [0.2941,0.8745,0.2157,1]
+#define __ColorGray [0.2941,0.2941,0.2941,1]
#define __ColorNull [0,0,0,0]
\ No newline at end of file
diff --git a/addons/wep_javelin/stringtable.xml b/addons/wep_javelin/stringtable.xml
index 4068d6f0a6..4654be3b03 100644
--- a/addons/wep_javelin/stringtable.xml
+++ b/addons/wep_javelin/stringtable.xml
@@ -1,24 +1,24 @@
-
-
-
-
-
- Lock Target (Hold)
- Lock Target (Hold)
- Lock Target (Hold)
- Lock Target (Hold)
- Lock Target (Hold)
- Lock Target (Hold)
- Lock Target (Hold)
-
-
- Cycle Fire Mode
- Cycle Fire Mode
- Cycle Fire Mode
- Cycle Fire Mode
- Cycle Fire Mode
- Cycle Fire Mode
- Cycle Fire Mode
-
-
-
+
+
+
+
+
+ Lock Target (Hold)
+ Lock Target (Hold)
+ Lock Target (Hold)
+ Lock Target (Hold)
+ Lock Target (Hold)
+ Lock Target (Hold)
+ Захватить цель (удерживать)
+
+
+ Cycle Fire Mode
+ Cycle Fire Mode
+ Cycle Fire Mode
+ Cycle Fire Mode
+ Cycle Fire Mode
+ Cycle Fire Mode
+ Переключение режимов огня
+
+
+
\ No newline at end of file
diff --git a/addons/winddeflection/stringtable.xml b/addons/winddeflection/stringtable.xml
index b52100046f..e3006d2ff1 100644
--- a/addons/winddeflection/stringtable.xml
+++ b/addons/winddeflection/stringtable.xml
@@ -1,32 +1,38 @@
-
-
-
-
-
- Wind Information
- Informacje o wietrze
- Información del viento
-
-
- Direction: %1
- Kierunek: %1
- Dirección: %1
-
-
- Speed: %1 m/s
- Prędkość: %1
- Velocidad: %1 m/s
-
-
- Weather Information
- Informacje o pogodzie
- Información Meteorológica
-
-
- Humidity: %1%
- Wilgotność: %1
- Humedad: %1%
-
-
-
-
+
+
+
+
+
+
+ Wind Information
+ Informacje o wietrze
+ Información del viento
+ Ветер
+
+
+ Direction: %1
+ Kierunek: %1
+ Dirección: %1
+ Направление:
+
+
+ Speed: %1 m/s
+ Prędkość: %1
+ Velocidad: %1 m/s
+ Скорость: %1 м/с
+
+
+ Weather Information
+ Informacje o pogodzie
+ Información Meteorológica
+ Погода
+
+
+ Humidity: %1%
+ Wilgotność: %1
+ Humedad: %1%
+ Влажность: %1%
+
+
+
+
\ No newline at end of file
diff --git a/extensions/CMakeLists.txt b/extensions/CMakeLists.txt
index f0e21e9207..a962f42ff3 100644
--- a/extensions/CMakeLists.txt
+++ b/extensions/CMakeLists.txt
@@ -1,31 +1,31 @@
-cmake_minimum_required (VERSION 3.0)
-project (ACE)
-
-if (NOT CMAKE_BUILD_TYPE AND CMAKE_COMPILER_IS_GNUCXX)
- message(STATUS "No build type selected, default to Debug")
- set(CMAKE_BUILD_TYPE "Debug")
-endif()
-
-option(USE_64BIT_BUILD "USE_64BIT_BUILD" OFF)
-option(USE_STATIC_LINKING "USE_STATIC_LINKING" ON)
-
-
-if(CMAKE_COMPILER_IS_GNUCXX)
- SET(CMAKE_CXX_FLAGS "-std=c++11 -march=i686 -m32 -O2 -s -fPIC -fpermissive")
- set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
- set(CMAKE_SHARED_LINKER_FLAGS "-static-libgcc -static-libstdc++")
-else()
- set(CMAKE_CXX_FLAGS_DEBUG "/D _DEBUG /MTd /Zi /Ob0 /Od /RTC1")
- set(CMAKE_CXX_FLAGS_MINSIZEREL "/MT /O1 /Ob1 /D NDEBUG")
- set(CMAKE_CXX_FLAGS_RELEASE "/MT /O2 /Ob2 /D NDEBUG")
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MT /Zi /O2 /Ob1 /D NDEBUG")
-endif()
-
-file(GLOB ACE_COMMON_SOURCES common/*.h common/*.hpp common/*.c common/*.cpp)
-add_library(ace_common STATIC ${ACE_COMMON_SOURCES})
-include_directories(AFTER "common")
-
-# Add extensions to build here
-add_subdirectory(fcs)
-
+cmake_minimum_required (VERSION 3.0)
+project (ACE)
+
+if (NOT CMAKE_BUILD_TYPE AND CMAKE_COMPILER_IS_GNUCXX)
+ message(STATUS "No build type selected, default to Debug")
+ set(CMAKE_BUILD_TYPE "Debug")
+endif()
+
+option(USE_64BIT_BUILD "USE_64BIT_BUILD" OFF)
+option(USE_STATIC_LINKING "USE_STATIC_LINKING" ON)
+
+
+if(CMAKE_COMPILER_IS_GNUCXX)
+ SET(CMAKE_CXX_FLAGS "-std=c++11 -march=i686 -m32 -O2 -s -fPIC -fpermissive")
+ set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
+ set(CMAKE_SHARED_LINKER_FLAGS "-static-libgcc -static-libstdc++")
+else()
+ set(CMAKE_CXX_FLAGS_DEBUG "/D _DEBUG /MTd /Zi /Ob0 /Od /RTC1")
+ set(CMAKE_CXX_FLAGS_MINSIZEREL "/MT /O1 /Ob1 /D NDEBUG")
+ set(CMAKE_CXX_FLAGS_RELEASE "/MT /O2 /Ob2 /D NDEBUG")
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/MT /Zi /O2 /Ob1 /D NDEBUG")
+endif()
+
+file(GLOB ACE_COMMON_SOURCES common/*.h common/*.hpp common/*.c common/*.cpp)
+add_library(ace_common STATIC ${ACE_COMMON_SOURCES})
+include_directories(AFTER "common")
+
+# Add extensions to build here
+add_subdirectory(fcs)
+
message("Build Type: ${CMAKE_BUILD_TYPE}")
\ No newline at end of file
diff --git a/extensions/build/.gitignore b/extensions/build/.gitignore
index 44c5ea8fa7..86d0cb2726 100644
--- a/extensions/build/.gitignore
+++ b/extensions/build/.gitignore
@@ -1,4 +1,4 @@
-# Ignore everything in this directory
-*
-# Except this file
+# Ignore everything in this directory
+*
+# Except this file
!.gitignore
\ No newline at end of file
diff --git a/extensions/common/ace_common.cpp b/extensions/common/ace_common.cpp
index 6ccd690c3a..2f887450f2 100644
--- a/extensions/common/ace_common.cpp
+++ b/extensions/common/ace_common.cpp
@@ -1,4 +1,4 @@
-
-int test(int var) {
- return var;
+
+int test(int var) {
+ return var;
}
\ No newline at end of file
diff --git a/extensions/common/ace_common.h b/extensions/common/ace_common.h
index 4a8847b209..d20e16d06b 100644
--- a/extensions/common/ace_common.h
+++ b/extensions/common/ace_common.h
@@ -1,4 +1,4 @@
-#pragma once
-
-#include "targetver.h"
-
+#pragma once
+
+#include "targetver.h"
+
diff --git a/extensions/common/targetver.h b/extensions/common/targetver.h
index 781012c18f..91fa5cc012 100644
--- a/extensions/common/targetver.h
+++ b/extensions/common/targetver.h
@@ -1,8 +1,8 @@
-#pragma once
-
-#ifdef _WIN32
- #define WIN32_LEAN_AND_MEAN
- #include
-#else
-
+#pragma once
+
+#ifdef _WIN32
+ #define WIN32_LEAN_AND_MEAN
+ #include
+#else
+
#endif
\ No newline at end of file
diff --git a/extensions/fcs/CMakeLists.txt b/extensions/fcs/CMakeLists.txt
index 2b24542566..db26d85b2a 100644
--- a/extensions/fcs/CMakeLists.txt
+++ b/extensions/fcs/CMakeLists.txt
@@ -1,11 +1,11 @@
-set(ACE_EXTENSION_NAME "ace_fcs")
-
-file(GLOB SOURCES *.h *.hpp *.c *.cpp)
-add_library( ${ACE_EXTENSION_NAME} SHARED ${SOURCES})
-add_dependencies(${ACE_EXTENSION_NAME} ace_common)
-SET_TARGET_PROPERTIES(${ACE_EXTENSION_NAME} PROPERTIES PREFIX "")
-
-if(CMAKE_COMPILER_IS_GNUCXX)
- set_target_properties(${ACE_EXTENSION_NAME} PROPERTIES LINK_SEARCH_START_STATIC 1)
- set_target_properties(${ACE_EXTENSION_NAME} PROPERTIES LINK_SEARCH_END_STATIC 1)
+set(ACE_EXTENSION_NAME "ace_fcs")
+
+file(GLOB SOURCES *.h *.hpp *.c *.cpp)
+add_library( ${ACE_EXTENSION_NAME} SHARED ${SOURCES})
+add_dependencies(${ACE_EXTENSION_NAME} ace_common)
+SET_TARGET_PROPERTIES(${ACE_EXTENSION_NAME} PROPERTIES PREFIX "")
+
+if(CMAKE_COMPILER_IS_GNUCXX)
+ set_target_properties(${ACE_EXTENSION_NAME} PROPERTIES LINK_SEARCH_START_STATIC 1)
+ set_target_properties(${ACE_EXTENSION_NAME} PROPERTIES LINK_SEARCH_END_STATIC 1)
endif()
\ No newline at end of file