Config changes

This commit is contained in:
Brandon Danyluk 2022-01-01 19:11:20 -07:00
parent d8554eba13
commit 745a47fb6e
5 changed files with 19 additions and 11 deletions

View File

@ -4,9 +4,9 @@ class CfgMagazines {
author = "Brandon (TCVM)"; author = "Brandon (TCVM)";
ammo = QGVAR(lr); ammo = QGVAR(lr);
displayName = "Spike AT"; displayName = CSTRING(LR);
displayNameShort = "foo"; displayNameShort = CSTRING(LR_Short);
mass = 1; mass = 300;
}; };
}; };

View File

@ -1,9 +1,10 @@
class Mode_SemiAuto;
class CfgWeapons { class CfgWeapons {
class launch_Titan_base; class launch_Titan_short_base;
class launch_B_Titan_short_F; class launch_B_Titan_short_F: launch_Titan_short_base {
class Single;
};
class GVAR(base): launch_B_Titan_short_F { class GVAR(base): launch_B_Titan_short_F {
class Single: Mode_SemiAuto { class Single: Single {
EGVAR(missileGuidance,attackProfile) = "SPIKE_TOP"; EGVAR(missileGuidance,attackProfile) = "SPIKE_TOP";
}; };
}; };
@ -11,17 +12,18 @@ class CfgWeapons {
scope = 2; scope = 2;
GVAR(enabled) = 1; GVAR(enabled) = 1;
weaponInfoType = "ACE_RscOptics_spike"; weaponInfoType = "ACE_RscOptics_spike";
//modelOptics = QPATHTOF(data\reticle_titan.p3d); modelOptics = QPATHTOF(data\reticle_titan.p3d);
canLock = 0; canLock = 0;
lockingTargetSound[] = {"",0,1}; lockingTargetSound[] = {"",0,1};
lockedTargetSound[] = {"",0,1}; lockedTargetSound[] = {"",0,1};
displayName = "Spike AT"; displayName = CSTRING(LR);
displayNameShort = "Spike AT"; displayNameShort = CSTRING(LR_Short);
magazines[] = {QGVAR(lr)}; magazines[] = {QGVAR(lr)};
magazineWell[] = {};
}; };
}; };

Binary file not shown.

View File

@ -19,7 +19,7 @@
#define CHECK_DISTANCE 10 #define CHECK_DISTANCE 10
#define SEEKER_BIAS 50 #define SEEKER_BIAS 50
#define SEEKER_GRID_RADIUS 2 #define SEEKER_GRID_RADIUS 2
#define MAX_RANGE 5000 #define MAX_RANGE 4000
params ["_origin", "_direction", "_designateInput", "_seekerTargetPos", "_seeker", ["_ignoreObject", objNull]]; params ["_origin", "_direction", "_designateInput", "_seekerTargetPos", "_seeker", ["_ignoreObject", objNull]];
scopeName "main"; scopeName "main";

View File

@ -25,5 +25,11 @@
<Key ID="STR_ACE_Spike_Manual"> <Key ID="STR_ACE_Spike_Manual">
<English>MANUAL</English> <English>MANUAL</English>
</Key> </Key>
<Key ID="STR_ACE_Spike_LR">
<English>Spike LR</English>
</Key>
<Key ID="STR_ACE_Spike_LR_Short">
<English>LR</English>
</Key>
</Package> </Package>
</Project> </Project>