Missile guidance for RHS hellfire and DAGR (#5444)

* rhs hellfire missileguidance

* tabs to spaces

* added support for -N and -M launcher, removed ir/radar locking

* added missing macro

* Switch to using pylon system
This commit is contained in:
Willard 2017-10-06 22:31:48 +02:00 committed by PabstMirror
parent 54c1e606ca
commit 51b1cd6023
2 changed files with 4 additions and 3 deletions

View File

@ -24,7 +24,7 @@ class CfgMagazines {
count = 1; count = 1;
mass = 85; mass = 85;
pylonWeapon = QGVAR(launcher); pylonWeapon = QGVAR(launcher);
hardpoints[] = {"B_MISSILE_PYLON", "SCALPEL_1RND_EJECTOR", "B_ASRRAM_EJECTOR", "UNI_SCALPEL", "CUP_NATO_HELO_SMALL", "CUP_NATO_HELO_LARGE"}; hardpoints[] = {"B_MISSILE_PYLON", "SCALPEL_1RND_EJECTOR", "B_ASRRAM_EJECTOR", "UNI_SCALPEL", "CUP_NATO_HELO_SMALL", "CUP_NATO_HELO_LARGE", "RHS_HP_MELB"};
model = "\A3\Weapons_F\DynamicLoadout\PylonPod_1x_Missile_AA_04_F.p3d"; model = "\A3\Weapons_F\DynamicLoadout\PylonPod_1x_Missile_AA_04_F.p3d";
}; };
class PylonRack_3Rnd_ACE_Hellfire_AGM114K: 6Rnd_ACE_Hellfire_AGM114K { // 3x Launcher Support Rack class PylonRack_3Rnd_ACE_Hellfire_AGM114K: 6Rnd_ACE_Hellfire_AGM114K { // 3x Launcher Support Rack
@ -41,7 +41,7 @@ class CfgMagazines {
count = 4; count = 4;
mass = 340; mass = 340;
pylonWeapon = QGVAR(launcher); pylonWeapon = QGVAR(launcher);
hardpoints[] = {"UNI_SCALPEL", "CUP_NATO_HELO_LARGE"}; hardpoints[] = {"UNI_SCALPEL", "CUP_NATO_HELO_LARGE", "RHS_HP_HELLFIRE_RACK"};
model = "\A3\Weapons_F\DynamicLoadout\PylonPod_4x_Missile_LG_scalpel_F.p3d"; model = "\A3\Weapons_F\DynamicLoadout\PylonPod_4x_Missile_LG_scalpel_F.p3d";
mirrorMissilesIndexes[] = {2, 1, 4, 3}; mirrorMissilesIndexes[] = {2, 1, 4, 3};
}; };

View File

@ -109,7 +109,6 @@ class CfgVehicles {
EGVAR(fastroping,enabled) = 1; EGVAR(fastroping,enabled) = 1;
EGVAR(fastroping,ropeOrigins)[] = {{1.166, 0.79, -0.01}, {-1.166, 0.79, -0.01}}; EGVAR(fastroping,ropeOrigins)[] = {{1.166, 0.79, -0.01}, {-1.166, 0.79, -0.01}};
}; };
class RHS_UH60_Base: Heli_Transport_01_base_F { class RHS_UH60_Base: Heli_Transport_01_base_F {
EGVAR(refuel,fuelCapacity) = 1360; EGVAR(refuel,fuelCapacity) = 1360;
}; };
@ -187,6 +186,7 @@ class CfgVehicles {
class RHS_AH1Z_base: Heli_Attack_01_base_F { class RHS_AH1Z_base: Heli_Attack_01_base_F {
EGVAR(refuel,fuelCapacity) = 1600; EGVAR(refuel,fuelCapacity) = 1600;
EGVAR(hellfire,addLaserDesignator) = 1;
}; };
class RHS_AH1Z: RHS_AH1Z_base { class RHS_AH1Z: RHS_AH1Z_base {
@ -198,6 +198,7 @@ class CfgVehicles {
}; };
class RHS_AH64_base: Heli_Attack_01_base_F { class RHS_AH64_base: Heli_Attack_01_base_F {
EGVAR(refuel,fuelCapacity) = 1420; EGVAR(refuel,fuelCapacity) = 1420;
EGVAR(hellfire,addLaserDesignator) = 1;
}; };
class RHS_AH64D: RHS_AH64_base { class RHS_AH64D: RHS_AH64_base {
class Turrets: Turrets { class Turrets: Turrets {