Add Javelin CfgAmmo

Leave M_Titan_AT alone for A3 Vehicles / Mods that use it
This commit is contained in:
PabstMirror 2015-05-25 05:34:07 -05:00
parent cc7639ea22
commit 0452270380
3 changed files with 44 additions and 13 deletions

View File

@ -0,0 +1,18 @@
class CfgMagazines {
//Static Titan Magazine
class 5Rnd_GAT_missiles;
class 1Rnd_GAT_missiles: 5Rnd_GAT_missiles {
ammo = "ACE_Javelin_FGM148_static"; //from misssileGuidance, was "M_Titan_AT_static"
};
//Handheld Titan "AT" Magazine (Locking - "Anti-Tank")
class Titan_AA;
class Titan_AT: Titan_AA {
ammo = "ACE_Javelin_FGM148"; //from misssileGuidance, was "M_Titan_AT"
};
//Handheld Titan "AP" Magazine (SACLOS? "Anti-personal")
// class Titan_AP: Titan_AA {
//???
// };
};

View File

@ -15,3 +15,4 @@ class CfgPatches {
#include "CfgSounds.hpp" #include "CfgSounds.hpp"
#include "CfgWeapons.hpp" #include "CfgWeapons.hpp"
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
#include "CfgMagazines.hpp"

View File

@ -94,7 +94,9 @@ class CfgAmmo {
}; };
// Titan // Titan
class M_Titan_AT : MissileBase { class M_Titan_AT : MissileBase {};
class ACE_Javelin_FGM148: M_Titan_AT {
irLock = 0; irLock = 0;
laserLock = 0; laserLock = 0;
airLock = 0; airLock = 0;
@ -109,6 +111,8 @@ class CfgAmmo {
//trackOversteer = 1; //trackOversteer = 1;
//trackLead = 0; //trackLead = 0;
initTime = 2;
// Begin ACE guidance Configs // Begin ACE guidance Configs
class ADDON { class ADDON {
enabled = 1; enabled = 1;
@ -137,4 +141,12 @@ class CfgAmmo {
attackProfiles[] = { "JAV_TOP", "JAV_DIR" }; attackProfiles[] = { "JAV_TOP", "JAV_DIR" };
}; };
}; };
class ACE_Javelin_FGM148_static: ACE_Javelin_FGM148 {
//Take config changes from (M_Titan_AT_static: M_Titan_AT)
initTime = 0.25; //"How long (in seconds) the projectile waits before starting it's engine.", - but doesn't seem to do anything
effectsMissileInit = "RocketBackEffectsStaticRPG";
class ADDON: ADDON {
enabled = 1;
};
};
}; };