mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add Javelin CfgAmmo
Leave M_Titan_AT alone for A3 Vehicles / Mods that use it
This commit is contained in:
parent
cc7639ea22
commit
0452270380
18
addons/javelin/CfgMagazines.hpp
Normal file
18
addons/javelin/CfgMagazines.hpp
Normal 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 {
|
||||
//???
|
||||
// };
|
||||
};
|
@ -15,3 +15,4 @@ class CfgPatches {
|
||||
#include "CfgSounds.hpp"
|
||||
#include "CfgWeapons.hpp"
|
||||
#include "CfgVehicles.hpp"
|
||||
#include "CfgMagazines.hpp"
|
||||
|
@ -94,7 +94,9 @@ class CfgAmmo {
|
||||
};
|
||||
|
||||
// Titan
|
||||
class M_Titan_AT : MissileBase {
|
||||
class M_Titan_AT : MissileBase {};
|
||||
|
||||
class ACE_Javelin_FGM148: M_Titan_AT {
|
||||
irLock = 0;
|
||||
laserLock = 0;
|
||||
airLock = 0;
|
||||
@ -109,6 +111,8 @@ class CfgAmmo {
|
||||
//trackOversteer = 1;
|
||||
//trackLead = 0;
|
||||
|
||||
initTime = 2;
|
||||
|
||||
// Begin ACE guidance Configs
|
||||
class ADDON {
|
||||
enabled = 1;
|
||||
@ -137,4 +141,12 @@ class CfgAmmo {
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
Loading…
Reference in New Issue
Block a user