Skip to content

Commit

Permalink
AFRF WeaponSlotsInfo workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Whigital committed Jan 30, 2020
1 parent 8d557b8 commit 9f0b5eb
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion optionals/compat_rhs_afrf3/CfgWeapons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,10 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 670; // 2B14 Mortar Weight

};
displayName = ECSTRING(CSW,2b14_tube);
author = ECSTRING(common,ACETeam);
Expand All @@ -201,6 +203,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 550;
};
displayName = ECSTRING(CSW,nsv_gun);
Expand All @@ -225,6 +230,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 550;
};
displayName = ECSTRING(CSW,kord_gun);
Expand All @@ -248,6 +256,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 400; // https://odin.tradoc.army.mil/mediawiki/index.php/AGS-17_Russian_30mm_Automatic_Grenade_Launcher
};
displayName = ECSTRING(CSW,ags30_gun);
Expand All @@ -273,6 +284,9 @@ class CfgWeapons {
};
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 1000;
};
displayName = ECSTRING(csw,spg9_tube);
Expand Down Expand Up @@ -307,6 +321,9 @@ class CfgWeapons {
deploy = "rhs_Metis_9k115_2_msv";
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 300;
};
displayName = ECSTRING(csw,metis_tube);
Expand All @@ -325,6 +342,9 @@ class CfgWeapons {
deploy = "rhs_Kornet_9M133_2_msv";
};
class WeaponSlotsInfo: WeaponSlotsInfo {
class MuzzleSlot {
iconScale = 0.1;
};
mass = 600;
};
displayName = ECSTRING(csw,kornet_launcher);
Expand Down

0 comments on commit 9f0b5eb

Please sign in to comment.