1
0
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:
PabstMirror 2015-05-25 05:34:07 -05:00
parent cc7639ea22
commit 0452270380
3 changed files with 44 additions and 13 deletions
addons

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

@ -14,4 +14,5 @@ class CfgPatches {
#include "RscInGameUI.hpp" #include "RscInGameUI.hpp"
#include "CfgSounds.hpp" #include "CfgSounds.hpp"
#include "CfgWeapons.hpp" #include "CfgWeapons.hpp"
#include "CfgVehicles.hpp" #include "CfgVehicles.hpp"
#include "CfgMagazines.hpp"

View File

@ -94,47 +94,59 @@ 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;
// Turn off arma crosshair-guidance // Turn off arma crosshair-guidance
manualControl = 0; manualControl = 0;
hit = 1400; // default: 800 hit = 1400; // default: 800
indirectHit = 20; indirectHit = 20;
indirectHitRange = 2; indirectHitRange = 2;
// ACE uses these values // ACE uses these values
//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;
minDeflection = 0.00005; // Minium flap deflection for guidance minDeflection = 0.00005; // Minium flap deflection for guidance
maxDeflection = 0.025; // Maximum flap deflection for guidance maxDeflection = 0.025; // Maximum flap deflection for guidance
incDeflection = 0.00005; // The incrmeent in which deflection adjusts. incDeflection = 0.00005; // The incrmeent in which deflection adjusts.
canVanillaLock = 0; canVanillaLock = 0;
// Guidance type for munitions // Guidance type for munitions
defaultSeekerType = "Optic"; defaultSeekerType = "Optic";
seekerTypes[] = { "Optic" }; seekerTypes[] = { "Optic" };
defaultSeekerLockMode = "LOBL"; defaultSeekerLockMode = "LOBL";
seekerLockModes[] = { "LOBL" }; seekerLockModes[] = { "LOBL" };
seekerAngle = 180; // Angle in front of the missile which can be searched seekerAngle = 180; // Angle in front of the missile which can be searched
seekerAccuracy = 1; // seeker accuracy multiplier seekerAccuracy = 1; // seeker accuracy multiplier
seekerMinRange = 0; seekerMinRange = 0;
seekerMaxRange = 2500; // Range from the missile which the seeker can visually search seekerMaxRange = 2500; // Range from the missile which the seeker can visually search
// Attack profile type selection // Attack profile type selection
defaultAttackProfile = "JAV_TOP"; defaultAttackProfile = "JAV_TOP";
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;
};
};
};