mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
49374feb2a
* NLAW Prototype * Make AI Compatible * Add Overfly Top Attack Mode * Limit Max Deflection * Base prediction on AI skill * Generic cycle attack profile key for missile guidance * Add hint for weapons without huds * Configure for attack cycle key * Finish OTA ammo effects * Cleanup * Arm at 20m * Disable Debug * No models for short lived sub-ammos * Fix Korean strings * Change AI randomization to use skillFinal * Add wiki doc for nlaw * Cleanup * Cleanup * Cleanup
20 lines
898 B
C++
20 lines
898 B
C++
class CfgWeapons {
|
|
class Launcher_Base_F;
|
|
class launch_NLAW_F: Launcher_Base_F {
|
|
ACE_UsedTube = "ACE_launch_NLAW_Used_F"; // The class name of the used tube.
|
|
magazines[] = {"ACE_PreloadedMissileDummy"}; // The dummy magazine
|
|
};
|
|
class ACE_launch_NLAW_Used_F: launch_NLAW_F { // the used tube should be a sub class of the disposable launcher
|
|
EGVAR(nlaw,enabled) = 0; // disable guidance for the disposabled tube
|
|
scope = 1;
|
|
ACE_isUsedLauncher = 1;
|
|
author = ECSTRING(common,ACETeam);
|
|
displayName = CSTRING(UsedTube);
|
|
descriptionShort = CSTRING(UsedTubeDescription);
|
|
magazines[] = {"ACE_FiredMissileDummy"}; // This will disable the used launcher class from being fired again.
|
|
//picture = ""; @todo
|
|
//model = ""; @todo
|
|
weaponPoolAvailable = 0;
|
|
};
|
|
};
|