Skip to content

Commit

Permalink
Merge pull request #2560 from acemod/lockingMissles
Browse files Browse the repository at this point in the history
#2349 - Don't disable locking for base RocketPods
  • Loading branch information
thojkooi committed Oct 11, 2015
2 parents 94ed78a + db41512 commit 8db8e87
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion addons/laser_selfdesignate/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class CfgWeapons {
// Disable locking unless newb mode
class LauncherCore;
class RocketPods: LauncherCore {
canLock = 1;
// canLock = 1;
};

class missiles_DAGR: RocketPods {
Expand Down
20 changes: 13 additions & 7 deletions addons/missileguidance/CfgAmmo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ enum {
class CfgAmmo {
class MissileBase;

class M_PG_AT : MissileBase {
class M_PG_AT: MissileBase {
model = "\A3\Weapons_F\Ammo\Rocket_01_fly_F";
proxyShape = "\A3\Weapons_F\Ammo\Rocket_01_F";

Expand Down Expand Up @@ -68,15 +68,18 @@ class CfgAmmo {
};
};

class ACE_Hydra70_DAGR : M_PG_AT {
class ACE_Hydra70_DAGR: M_PG_AT {
displayName = CSTRING(Hydra70_DAGR);
displayNameShort = CSTRING(Hydra70_DAGR_Short);

description = CSTRING(Hydra70_DAGR_Desc);
descriptionShort = CSTRING(Hydra70_DAGR_Desc);

//Explicity add guidance config
class ADDON: ADDON {};
};

class ACE_Hellfire_AGM114K : ACE_Hydra70_DAGR {
class ACE_Hellfire_AGM114K: ACE_Hydra70_DAGR {
displayName = CSTRING(Hellfire_AGM114K);
displayNameShort = CSTRING(Hellfire_AGM114K_Short);

Expand All @@ -91,10 +94,13 @@ class CfgAmmo {
indirectHit = 71;
indirectHitRange = 4.5;
effectsMissile = "missile2";

//Explicity add guidance config
class ADDON: ADDON {};
};

// Titan
class M_Titan_AT : MissileBase {};
class M_Titan_AT: MissileBase {};

class ACE_Javelin_FGM148: M_Titan_AT {
irLock = 0;
Expand Down Expand Up @@ -145,8 +151,8 @@ class CfgAmmo {
//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;
};

//Explicity add guidance config
class ADDON: ADDON {};
};
};
2 changes: 1 addition & 1 deletion addons/missileguidance/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class CfgWeapons {
class LauncherCore;

class RocketPods: LauncherCore {
canLock = 1;
// canLock = 1;
};
class missiles_DAGR : RocketPods {
canLock = 1;
Expand Down

0 comments on commit 8db8e87

Please sign in to comment.