diff --git a/addons/spike/CfgMagazines.hpp b/addons/spike/CfgMagazines.hpp
index 19a75d8b89..1e7b389f33 100644
--- a/addons/spike/CfgMagazines.hpp
+++ b/addons/spike/CfgMagazines.hpp
@@ -4,9 +4,9 @@ class CfgMagazines {
author = "Brandon (TCVM)";
ammo = QGVAR(lr);
- displayName = "Spike AT";
- displayNameShort = "foo";
- mass = 1;
+ displayName = CSTRING(LR);
+ displayNameShort = CSTRING(LR_Short);
+ mass = 300;
};
};
diff --git a/addons/spike/CfgWeapons.hpp b/addons/spike/CfgWeapons.hpp
index bbfc51b3e9..6abf8d4168 100644
--- a/addons/spike/CfgWeapons.hpp
+++ b/addons/spike/CfgWeapons.hpp
@@ -1,9 +1,10 @@
-class Mode_SemiAuto;
class CfgWeapons {
- class launch_Titan_base;
- class launch_B_Titan_short_F;
+ class launch_Titan_short_base;
+ class launch_B_Titan_short_F: launch_Titan_short_base {
+ class Single;
+ };
class GVAR(base): launch_B_Titan_short_F {
- class Single: Mode_SemiAuto {
+ class Single: Single {
EGVAR(missileGuidance,attackProfile) = "SPIKE_TOP";
};
};
@@ -11,17 +12,18 @@ class CfgWeapons {
scope = 2;
GVAR(enabled) = 1;
weaponInfoType = "ACE_RscOptics_spike";
- //modelOptics = QPATHTOF(data\reticle_titan.p3d);
+ modelOptics = QPATHTOF(data\reticle_titan.p3d);
canLock = 0;
lockingTargetSound[] = {"",0,1};
lockedTargetSound[] = {"",0,1};
- displayName = "Spike AT";
- displayNameShort = "Spike AT";
+ displayName = CSTRING(LR);
+ displayNameShort = CSTRING(LR_Short);
magazines[] = {QGVAR(lr)};
+ magazineWell[] = {};
};
};
diff --git a/addons/spike/data/reticle_titan.p3d b/addons/spike/data/reticle_titan.p3d
new file mode 100644
index 0000000000..682296f0c8
Binary files /dev/null and b/addons/spike/data/reticle_titan.p3d differ
diff --git a/addons/spike/functions/fnc_getTargetPosition.sqf b/addons/spike/functions/fnc_getTargetPosition.sqf
index c07c28c7f0..2ba002a439 100644
--- a/addons/spike/functions/fnc_getTargetPosition.sqf
+++ b/addons/spike/functions/fnc_getTargetPosition.sqf
@@ -19,7 +19,7 @@
#define CHECK_DISTANCE 10
#define SEEKER_BIAS 50
#define SEEKER_GRID_RADIUS 2
-#define MAX_RANGE 5000
+#define MAX_RANGE 4000
params ["_origin", "_direction", "_designateInput", "_seekerTargetPos", "_seeker", ["_ignoreObject", objNull]];
scopeName "main";
diff --git a/addons/spike/stringtable.xml b/addons/spike/stringtable.xml
index 26da65b77f..2bc7af704d 100644
--- a/addons/spike/stringtable.xml
+++ b/addons/spike/stringtable.xml
@@ -25,5 +25,11 @@
MANUAL
+
+ Spike LR
+
+
+ LR
+