mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
split flashhiders and uniform/vest nerfs from ballistics
This commit is contained in:
parent
9d687b9b3e
commit
7071f34131
@ -4,15 +4,7 @@
|
||||
count = COUNT; \
|
||||
}
|
||||
|
||||
#define MACRO_ADDITEM(ITEM,COUNT) class _xx_##ITEM { \
|
||||
name = #ITEM; \
|
||||
count = COUNT; \
|
||||
}
|
||||
|
||||
class CfgVehicles {
|
||||
#include <FixUniforms.hpp>
|
||||
#include <FixHelmets.hpp>
|
||||
|
||||
class NATO_Box_Base;
|
||||
class Box_NATO_Wps_F: NATO_Box_Base {
|
||||
class TransportMagazines {
|
||||
@ -35,12 +27,6 @@ class CfgVehicles {
|
||||
};
|
||||
|
||||
class Box_NATO_Support_F: NATO_Box_Base {
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_H,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_B,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_01,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_02,5);
|
||||
};
|
||||
class TransportMagazines {
|
||||
MACRO_ADDMAGAZINE(ACE_30Rnd_65x39_caseless_mag_SD,6);
|
||||
MACRO_ADDMAGAZINE(ACE_30Rnd_556x45_Stanag_SD,3);
|
||||
@ -77,12 +63,6 @@ class CfgVehicles {
|
||||
};
|
||||
|
||||
class Box_East_Support_F: EAST_Box_Base {
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_H,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_B,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_01,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_02,5);
|
||||
};
|
||||
class TransportMagazines {
|
||||
MACRO_ADDMAGAZINE(ACE_30Rnd_65x39_caseless_green_mag_SD,6);
|
||||
MACRO_ADDMAGAZINE(ACE_30Rnd_556x45_Stanag_SD,3);
|
||||
@ -117,13 +97,6 @@ class CfgVehicles {
|
||||
};
|
||||
|
||||
class Box_IND_Support_F: IND_Box_Base {
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_H,1);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_B,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_L,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_01,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_02,5);
|
||||
};
|
||||
class TransportMagazines {
|
||||
MACRO_ADDMAGAZINE(ACE_30Rnd_556x45_Stanag_SD,6);
|
||||
};
|
||||
@ -186,13 +159,6 @@ class CfgVehicles {
|
||||
MACRO_ADDMAGAZINE(ACE_20Rnd_762x51_Mag_SD,2);
|
||||
MACRO_ADDMAGAZINE(ACE_20Rnd_762x51_Mag_AP,2);*/
|
||||
};
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_H,2);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_B,2);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_L,2);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_01,2);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_02,2);
|
||||
};
|
||||
};
|
||||
|
||||
class Sign_F;
|
||||
|
@ -539,249 +539,4 @@ class CfgWeapons {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
/* Flash suppressors */
|
||||
|
||||
class ACE_muzzle_mzls_H: ItemCore {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_H";
|
||||
htMin = 1;
|
||||
htMax = 600;
|
||||
afMax = 0;
|
||||
mfMax = 0;
|
||||
mFact = 1;
|
||||
tBody = 100;
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_muzzle_mzls_H";
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F";
|
||||
|
||||
class ItemInfo: InventoryMuzzleItem_Base_F {
|
||||
mass = 8;
|
||||
soundTypeIndex = 0;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
|
||||
class MagazineCoef {
|
||||
initSpeed = 1.0;
|
||||
};
|
||||
|
||||
class AmmoCoef {
|
||||
hit = 1.0;
|
||||
visibleFire = 0.5;
|
||||
audibleFire = 1.0;
|
||||
visibleFireTime = 0.5;
|
||||
audibleFireTime = 1.0;
|
||||
cost = 1.0;
|
||||
typicalSpeed = 1.0;
|
||||
airFriction = 1.0;
|
||||
};
|
||||
|
||||
class MuzzleCoef {
|
||||
dispersionCoef = "0.9f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "0.5f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
|
||||
inertia = 0.2;
|
||||
};
|
||||
|
||||
class ACE_muzzle_mzls_B: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_B";
|
||||
displayName = "$STR_ACE_muzzle_mzls_B";
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F";
|
||||
|
||||
class ItemInfo: ItemInfo {
|
||||
mass = 6;
|
||||
soundTypeIndex = 0;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
|
||||
class MagazineCoef {
|
||||
initSpeed = 1.0;
|
||||
};
|
||||
|
||||
class AmmoCoef {
|
||||
hit = 1.0;
|
||||
visibleFire = 0.5;
|
||||
audibleFire = 1.0;
|
||||
visibleFireTime = 0.5;
|
||||
audibleFireTime = 1.0;
|
||||
cost = 1.0;
|
||||
typicalSpeed = 1.0;
|
||||
airFriction = 1.0;
|
||||
};
|
||||
|
||||
class MuzzleCoef {
|
||||
dispersionCoef = "0.9f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "0.5f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
|
||||
inertia = 0.2;
|
||||
};
|
||||
|
||||
class ACE_muzzle_mzls_L: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_L";
|
||||
displayName = "$STR_ACE_muzzle_mzls_L";
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_l_F";
|
||||
|
||||
class ItemInfo: ItemInfo {
|
||||
mass = 6;
|
||||
soundTypeIndex = 0;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
|
||||
class MagazineCoef {
|
||||
initSpeed = 1.0;
|
||||
};
|
||||
|
||||
class AmmoCoef {
|
||||
hit = 1.0;
|
||||
visibleFire = 0.5;
|
||||
audibleFire = 1.0;
|
||||
visibleFireTime = 0.5;
|
||||
audibleFireTime = 1.0;
|
||||
cost = 1.0;
|
||||
typicalSpeed = 1.0;
|
||||
airFriction = 1.0;
|
||||
};
|
||||
|
||||
class MuzzleCoef {
|
||||
dispersionCoef = "0.9f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "0.5f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
|
||||
inertia = 0.1;
|
||||
};
|
||||
|
||||
class ACE_muzzle_mzls_smg_01: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_smg_01";
|
||||
displayName = "$STR_ACE_muzzle_mzls_smg_01";
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F"; //"\A3\weapons_f\acc\acca_mzls_smg_01_F";
|
||||
|
||||
class ItemInfo: ItemInfo {
|
||||
mass = 6;
|
||||
soundTypeIndex = 0;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
|
||||
class MagazineCoef {
|
||||
initSpeed = 1.0;
|
||||
};
|
||||
|
||||
class AmmoCoef {
|
||||
hit = 1.0;
|
||||
visibleFire = 0.5;
|
||||
audibleFire = 1.0;
|
||||
visibleFireTime = 0.5;
|
||||
audibleFireTime = 1.0;
|
||||
cost = 1.0;
|
||||
typicalSpeed = 1.0;
|
||||
airFriction = 1.0;
|
||||
};
|
||||
|
||||
class MuzzleCoef {
|
||||
dispersionCoef = "0.9f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "0.5f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
|
||||
inertia = 0.1;
|
||||
};
|
||||
|
||||
class ACE_muzzle_mzls_smg_02: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_smg_02";
|
||||
displayName = "$STR_ACE_muzzle_mzls_smg_02";
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F"; //"\A3\weapons_f\acc\acca_mzls_smg_01_F";
|
||||
|
||||
class ItemInfo: ItemInfo {
|
||||
mass = 6;
|
||||
soundTypeIndex = 0;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
|
||||
class MagazineCoef {
|
||||
initSpeed = 1.0;
|
||||
};
|
||||
|
||||
class AmmoCoef {
|
||||
hit = 1.0;
|
||||
visibleFire = 0.5;
|
||||
audibleFire = 1.0;
|
||||
visibleFireTime = 0.5;
|
||||
audibleFireTime = 1.0;
|
||||
cost = 1.0;
|
||||
typicalSpeed = 1.0;
|
||||
airFriction = 1.0;
|
||||
};
|
||||
|
||||
class MuzzleCoef {
|
||||
dispersionCoef = "0.9f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "0.5f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
|
||||
inertia = 0.1;
|
||||
};
|
||||
|
||||
|
||||
/* Vests */
|
||||
|
||||
#include <FixVests.hpp>
|
||||
};
|
||||
|
@ -3,7 +3,7 @@
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
units[] = {"ACE_TargetWall"};
|
||||
weapons[] = {"ACE_muzzle_mzls_H","ACE_muzzle_mzls_B","ACE_muzzle_mzls_L","ACE_muzzle_mzls_smg_01","ACE_muzzle_mzls_smg_02"};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_common"};
|
||||
author[] = {"TaoSensai","commy2"};
|
||||
|
@ -486,66 +486,5 @@
|
||||
<Russian>Калибр: 7.62x51mm M118LR<br />Патронов: 20<br />Тип: M14</Russian>
|
||||
<Italian>Calibro: 7.62x51mm M118LR<br />Munizioni:20<br />In uso su: M14</Italian>
|
||||
</Key>
|
||||
<!-- Flash suppressors -->
|
||||
<Key ID="STR_ACE_muzzle_mzls_H">
|
||||
<English>Flash Suppressor (6.5 mm)</English>
|
||||
<Hungarian>Lángrejtő (6,5 mm)</Hungarian>
|
||||
<German>Mündungsfeuerdämpfer (6,5 mm)</German>
|
||||
<Italian>Soppressore di fiamma (6.5mm)</Italian>
|
||||
<Portuguese>Supressor de Clarão (6,5mm)</Portuguese>
|
||||
<Polish>Tłumik płomieni (6,5 mm)</Polish>
|
||||
<Czech>Tlumič záblesku (6,5 mm)</Czech>
|
||||
<French>Cache-flamme (6,5 mm)</French>
|
||||
<Russian>Пламегаситель (6,5 мм)</Russian>
|
||||
<Spanish>Supresor (6,5 mm)</Spanish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_muzzle_mzls_B">
|
||||
<English>Flash Suppressor (7.62 mm)</English>
|
||||
<Hungarian>Lángrejtő (7,62 mm)</Hungarian>
|
||||
<German>Mündungsfeuerdämpfer (7,62 mm)</German>
|
||||
<Italian>Soppressore di fiamma (7.62mm)</Italian>
|
||||
<Portuguese>Supressor de Clarão (7,62mm)</Portuguese>
|
||||
<Polish>Tłumik płomieni (7,62 mm)</Polish>
|
||||
<Czech>Tlumič záblesku (7,62 mm)</Czech>
|
||||
<French>Cache-flamme (7,62 mm)</French>
|
||||
<Russian>Пламегаситель (7,62 мм)</Russian>
|
||||
<Spanish>Supresor (7,62 mm)</Spanish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_muzzle_mzls_L">
|
||||
<English>Flash Suppressor (5.56 mm)</English>
|
||||
<Hungarian>Lángrejtő (5,56 mm)</Hungarian>
|
||||
<German>Mündungsfeuerdämpfer (5,56 mm)</German>
|
||||
<Italian>Soppressore di fiamma (5.56mm)</Italian>
|
||||
<Portuguese>Supressor de Clarão (5,56mm)</Portuguese>
|
||||
<Polish>Tłumik płomieni (5,56 mm)</Polish>
|
||||
<Czech>Tlumič záblesku (5,56 mm)</Czech>
|
||||
<French>Cache-flamme (5,56 mm)</French>
|
||||
<Russian>Пламегаситель (5,56 мм)</Russian>
|
||||
<Spanish>Supresor (5,56 mm)</Spanish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_muzzle_mzls_smg_01">
|
||||
<English>Flash Suppressor (.45 ACP)</English>
|
||||
<Hungarian>Lángrejtő (.45 ACP)</Hungarian>
|
||||
<German>Mündungsfeuerdämpfer (.45 ACP)</German>
|
||||
<Italian>Soppressore di fiamma (.45 ACP)</Italian>
|
||||
<Portuguese>Supressor de Clarão (.45 ACP)</Portuguese>
|
||||
<Polish>Tłumik płomieni (.45 ACP)</Polish>
|
||||
<Czech>Tlumič záblesku (.45 ACP)</Czech>
|
||||
<French>Cache-flamme (.45 ACP)</French>
|
||||
<Russian>Пламегаситель (.45 ACP)</Russian>
|
||||
<Spanish>Supresor (.45 ACP)</Spanish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_muzzle_mzls_smg_02">
|
||||
<English>Flash Suppressor (9 mm)</English>
|
||||
<Hungarian>Lángrejtő (9 mm)</Hungarian>
|
||||
<German>Mündungsfeuerdämpfer (9 mm)</German>
|
||||
<Italian>Soppressore di fiamma (9 mm)</Italian>
|
||||
<Portuguese>Supressor de Clarão (9mm)</Portuguese>
|
||||
<Polish>Tłumik płomieni (9 mm)</Polish>
|
||||
<Czech>Tlumič záblesku (9 mm)</Czech>
|
||||
<French>Cache-flamme (9 mm)</French>
|
||||
<Russian>Пламегаситель (9 мм)</Russian>
|
||||
<Spanish>Supresor (9 mm)</Spanish>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
1
addons/flashsuppressors/$PBOPREFIX$
Normal file
1
addons/flashsuppressors/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\flashsuppressors
|
48
addons/flashsuppressors/CfgVehicles.hpp
Normal file
48
addons/flashsuppressors/CfgVehicles.hpp
Normal file
@ -0,0 +1,48 @@
|
||||
|
||||
#define MACRO_ADDITEM(ITEM,COUNT) class _xx_##ITEM { \
|
||||
name = #ITEM; \
|
||||
count = COUNT; \
|
||||
}
|
||||
|
||||
class CfgVehicles {
|
||||
class NATO_Box_Base;
|
||||
class Box_NATO_Support_F: NATO_Box_Base {
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_H,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_B,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_01,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_02,5);
|
||||
};
|
||||
};
|
||||
|
||||
class EAST_Box_Base;
|
||||
class Box_East_Support_F: EAST_Box_Base {
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_H,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_B,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_01,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_02,5);
|
||||
};
|
||||
};
|
||||
|
||||
class IND_Box_Base;
|
||||
class Box_IND_Support_F: IND_Box_Base {
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_H,1);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_B,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_L,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_01,5);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_02,5);
|
||||
};
|
||||
};
|
||||
|
||||
class ACE_Box_Misc: Box_NATO_Support_F {
|
||||
class TransportItems {
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_H,2);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_B,2);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_L,2);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_01,2);
|
||||
MACRO_ADDITEM(ACE_muzzle_mzls_smg_02,2);
|
||||
};
|
||||
};
|
||||
};
|
242
addons/flashsuppressors/CfgWeapons.hpp
Normal file
242
addons/flashsuppressors/CfgWeapons.hpp
Normal file
@ -0,0 +1,242 @@
|
||||
|
||||
class CfgWeapons {
|
||||
class ItemCore;
|
||||
class InventoryMuzzleItem_Base_F;
|
||||
|
||||
class ACE_muzzle_mzls_H: ItemCore {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_H";
|
||||
htMin = 1;
|
||||
htMax = 600;
|
||||
afMax = 0;
|
||||
mfMax = 0;
|
||||
mFact = 1;
|
||||
tBody = 100;
|
||||
scope = 2;
|
||||
displayName = "$STR_ACE_muzzle_mzls_H";
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F";
|
||||
|
||||
class ItemInfo: InventoryMuzzleItem_Base_F {
|
||||
mass = 8;
|
||||
soundTypeIndex = 0;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
|
||||
class MagazineCoef {
|
||||
initSpeed = 1.0;
|
||||
};
|
||||
|
||||
class AmmoCoef {
|
||||
hit = 1.0;
|
||||
visibleFire = 0.5;
|
||||
audibleFire = 1.0;
|
||||
visibleFireTime = 0.5;
|
||||
audibleFireTime = 1.0;
|
||||
cost = 1.0;
|
||||
typicalSpeed = 1.0;
|
||||
airFriction = 1.0;
|
||||
};
|
||||
|
||||
class MuzzleCoef {
|
||||
dispersionCoef = "0.9f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "0.5f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
|
||||
inertia = 0.2;
|
||||
};
|
||||
|
||||
class ACE_muzzle_mzls_B: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_B";
|
||||
displayName = "$STR_ACE_muzzle_mzls_B";
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_h_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F";
|
||||
|
||||
class ItemInfo: ItemInfo {
|
||||
mass = 6;
|
||||
soundTypeIndex = 0;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
|
||||
class MagazineCoef {
|
||||
initSpeed = 1.0;
|
||||
};
|
||||
|
||||
class AmmoCoef {
|
||||
hit = 1.0;
|
||||
visibleFire = 0.5;
|
||||
audibleFire = 1.0;
|
||||
visibleFireTime = 0.5;
|
||||
audibleFireTime = 1.0;
|
||||
cost = 1.0;
|
||||
typicalSpeed = 1.0;
|
||||
airFriction = 1.0;
|
||||
};
|
||||
|
||||
class MuzzleCoef {
|
||||
dispersionCoef = "0.9f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "0.5f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
|
||||
inertia = 0.2;
|
||||
};
|
||||
|
||||
class ACE_muzzle_mzls_L: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_L";
|
||||
displayName = "$STR_ACE_muzzle_mzls_L";
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_l_F";
|
||||
|
||||
class ItemInfo: ItemInfo {
|
||||
mass = 6;
|
||||
soundTypeIndex = 0;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
|
||||
class MagazineCoef {
|
||||
initSpeed = 1.0;
|
||||
};
|
||||
|
||||
class AmmoCoef {
|
||||
hit = 1.0;
|
||||
visibleFire = 0.5;
|
||||
audibleFire = 1.0;
|
||||
visibleFireTime = 0.5;
|
||||
audibleFireTime = 1.0;
|
||||
cost = 1.0;
|
||||
typicalSpeed = 1.0;
|
||||
airFriction = 1.0;
|
||||
};
|
||||
|
||||
class MuzzleCoef {
|
||||
dispersionCoef = "0.9f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "0.5f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
|
||||
inertia = 0.1;
|
||||
};
|
||||
|
||||
class ACE_muzzle_mzls_smg_01: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_smg_01";
|
||||
displayName = "$STR_ACE_muzzle_mzls_smg_01";
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F"; //"\A3\weapons_f\acc\acca_mzls_smg_01_F";
|
||||
|
||||
class ItemInfo: ItemInfo {
|
||||
mass = 6;
|
||||
soundTypeIndex = 0;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
|
||||
class MagazineCoef {
|
||||
initSpeed = 1.0;
|
||||
};
|
||||
|
||||
class AmmoCoef {
|
||||
hit = 1.0;
|
||||
visibleFire = 0.5;
|
||||
audibleFire = 1.0;
|
||||
visibleFireTime = 0.5;
|
||||
audibleFireTime = 1.0;
|
||||
cost = 1.0;
|
||||
typicalSpeed = 1.0;
|
||||
airFriction = 1.0;
|
||||
};
|
||||
|
||||
class MuzzleCoef {
|
||||
dispersionCoef = "0.9f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "0.5f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
|
||||
inertia = 0.1;
|
||||
};
|
||||
|
||||
class ACE_muzzle_mzls_smg_02: ACE_muzzle_mzls_H {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
_generalMacro = "ACE_muzzle_mzls_smg_02";
|
||||
displayName = "$STR_ACE_muzzle_mzls_smg_02";
|
||||
picture = "\A3\weapons_F\Data\UI\gear_acca_mzls_l_ca.paa";
|
||||
model = "\A3\weapons_f\acc\acca_mzls_H_F"; //"\A3\weapons_f\acc\acca_mzls_smg_01_F";
|
||||
|
||||
class ItemInfo: ItemInfo {
|
||||
mass = 6;
|
||||
soundTypeIndex = 0;
|
||||
muzzleEnd = "zaslehPoint";
|
||||
alternativeFire = "Zasleh2";
|
||||
|
||||
class MagazineCoef {
|
||||
initSpeed = 1.0;
|
||||
};
|
||||
|
||||
class AmmoCoef {
|
||||
hit = 1.0;
|
||||
visibleFire = 0.5;
|
||||
audibleFire = 1.0;
|
||||
visibleFireTime = 0.5;
|
||||
audibleFireTime = 1.0;
|
||||
cost = 1.0;
|
||||
typicalSpeed = 1.0;
|
||||
airFriction = 1.0;
|
||||
};
|
||||
|
||||
class MuzzleCoef {
|
||||
dispersionCoef = "0.9f";
|
||||
artilleryDispersionCoef = "1.0f";
|
||||
fireLightCoef = "0.5f";
|
||||
recoilCoef = "1.0f";
|
||||
recoilProneCoef = "1.0f";
|
||||
minRangeCoef = "1.0f";
|
||||
minRangeProbabCoef = "1.0f";
|
||||
midRangeCoef = "1.0f";
|
||||
midRangeProbabCoef = "1.0f";
|
||||
maxRangeCoef = "1.0f";
|
||||
maxRangeProbabCoef = "1.0f";
|
||||
};
|
||||
};
|
||||
|
||||
inertia = 0.1;
|
||||
};
|
||||
};
|
16
addons/flashsuppressors/config.cpp
Normal file
16
addons/flashsuppressors/config.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
units[] = {};
|
||||
weapons[] = {"ACE_muzzle_mzls_H","ACE_muzzle_mzls_B","ACE_muzzle_mzls_L","ACE_muzzle_mzls_smg_01","ACE_muzzle_mzls_smg_02"};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_common"};
|
||||
author[] = {"TaoSensai","commy2"};
|
||||
authorUrl = "https://github.com/Taosenai/tmr";
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgVehicles.hpp"
|
||||
#include "CfgWeapons.hpp"
|
6
addons/flashsuppressors/newclasses.txt
Normal file
6
addons/flashsuppressors/newclasses.txt
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
ACE_muzzle_mzls_H
|
||||
ACE_muzzle_mzls_B
|
||||
ACE_muzzle_mzls_L
|
||||
ACE_muzzle_mzls_smg_01
|
||||
ACE_muzzle_mzls_smg_02
|
12
addons/flashsuppressors/script_component.hpp
Normal file
12
addons/flashsuppressors/script_component.hpp
Normal file
@ -0,0 +1,12 @@
|
||||
#define COMPONENT flashsuppressors
|
||||
#include "\z\ace\addons\main\script_mod.hpp"
|
||||
|
||||
#ifdef DEBUG_ENABLED_FLASHSUPPRESSORS
|
||||
#define DEBUG_MODE_FULL
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_ENABLED_FLASHSUPPRESSORS
|
||||
#define DEBUG_SETTINGS DEBUG_ENABLED_FLASHSUPPRESSORS
|
||||
#endif
|
||||
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
66
addons/flashsuppressors/stringtable.xml
Normal file
66
addons/flashsuppressors/stringtable.xml
Normal file
@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Edited with tabler - 2014-12-15 -->
|
||||
<Project name="ACE">
|
||||
<Package name="FlashSuppressors">
|
||||
<Key ID="STR_ACE_muzzle_mzls_H">
|
||||
<English>Flash Suppressor (6.5 mm)</English>
|
||||
<Hungarian>Lángrejtő (6,5 mm)</Hungarian>
|
||||
<German>Mündungsfeuerdämpfer (6,5 mm)</German>
|
||||
<Italian>Soppressore di fiamma (6.5mm)</Italian>
|
||||
<Portuguese>Supressor de Clarão (6,5mm)</Portuguese>
|
||||
<Polish>Tłumik płomieni (6,5 mm)</Polish>
|
||||
<Czech>Tlumič záblesku (6,5 mm)</Czech>
|
||||
<French>Cache-flamme (6,5 mm)</French>
|
||||
<Russian>Пламегаситель (6,5 мм)</Russian>
|
||||
<Spanish>Supresor (6,5 mm)</Spanish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_muzzle_mzls_B">
|
||||
<English>Flash Suppressor (7.62 mm)</English>
|
||||
<Hungarian>Lángrejtő (7,62 mm)</Hungarian>
|
||||
<German>Mündungsfeuerdämpfer (7,62 mm)</German>
|
||||
<Italian>Soppressore di fiamma (7.62mm)</Italian>
|
||||
<Portuguese>Supressor de Clarão (7,62mm)</Portuguese>
|
||||
<Polish>Tłumik płomieni (7,62 mm)</Polish>
|
||||
<Czech>Tlumič záblesku (7,62 mm)</Czech>
|
||||
<French>Cache-flamme (7,62 mm)</French>
|
||||
<Russian>Пламегаситель (7,62 мм)</Russian>
|
||||
<Spanish>Supresor (7,62 mm)</Spanish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_muzzle_mzls_L">
|
||||
<English>Flash Suppressor (5.56 mm)</English>
|
||||
<Hungarian>Lángrejtő (5,56 mm)</Hungarian>
|
||||
<German>Mündungsfeuerdämpfer (5,56 mm)</German>
|
||||
<Italian>Soppressore di fiamma (5.56mm)</Italian>
|
||||
<Portuguese>Supressor de Clarão (5,56mm)</Portuguese>
|
||||
<Polish>Tłumik płomieni (5,56 mm)</Polish>
|
||||
<Czech>Tlumič záblesku (5,56 mm)</Czech>
|
||||
<French>Cache-flamme (5,56 mm)</French>
|
||||
<Russian>Пламегаситель (5,56 мм)</Russian>
|
||||
<Spanish>Supresor (5,56 mm)</Spanish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_muzzle_mzls_smg_01">
|
||||
<English>Flash Suppressor (.45 ACP)</English>
|
||||
<Hungarian>Lángrejtő (.45 ACP)</Hungarian>
|
||||
<German>Mündungsfeuerdämpfer (.45 ACP)</German>
|
||||
<Italian>Soppressore di fiamma (.45 ACP)</Italian>
|
||||
<Portuguese>Supressor de Clarão (.45 ACP)</Portuguese>
|
||||
<Polish>Tłumik płomieni (.45 ACP)</Polish>
|
||||
<Czech>Tlumič záblesku (.45 ACP)</Czech>
|
||||
<French>Cache-flamme (.45 ACP)</French>
|
||||
<Russian>Пламегаситель (.45 ACP)</Russian>
|
||||
<Spanish>Supresor (.45 ACP)</Spanish>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_muzzle_mzls_smg_02">
|
||||
<English>Flash Suppressor (9 mm)</English>
|
||||
<Hungarian>Lángrejtő (9 mm)</Hungarian>
|
||||
<German>Mündungsfeuerdämpfer (9 mm)</German>
|
||||
<Italian>Soppressore di fiamma (9 mm)</Italian>
|
||||
<Portuguese>Supressor de Clarão (9mm)</Portuguese>
|
||||
<Polish>Tłumik płomieni (9 mm)</Polish>
|
||||
<Czech>Tlumič záblesku (9 mm)</Czech>
|
||||
<French>Cache-flamme (9 mm)</French>
|
||||
<Russian>Пламегаситель (9 мм)</Russian>
|
||||
<Spanish>Supresor (9 mm)</Spanish>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
1
addons/protection/$PBOPREFIX$
Normal file
1
addons/protection/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
||||
z\ace\addons\protection
|
5
addons/protection/CfgVehicles.hpp
Normal file
5
addons/protection/CfgVehicles.hpp
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
class CfgVehicles {
|
||||
#include <FixUniforms.hpp>
|
||||
#include <FixHelmets.hpp>
|
||||
};
|
4
addons/protection/CfgWeapons.hpp
Normal file
4
addons/protection/CfgWeapons.hpp
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
class CfgWeapons {
|
||||
#include <FixVests.hpp>
|
||||
};
|
16
addons/protection/config.cpp
Normal file
16
addons/protection/config.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
class CfgPatches {
|
||||
class ADDON {
|
||||
units[] = {};
|
||||
weapons[] = {};
|
||||
requiredVersion = REQUIRED_VERSION;
|
||||
requiredAddons[] = {"ace_common"};
|
||||
author[] = {"TaoSensai","commy2"};
|
||||
authorUrl = "https://github.com/Taosenai/tmr";
|
||||
VERSION_CONFIG;
|
||||
};
|
||||
};
|
||||
|
||||
#include "CfgVehicles.hpp"
|
||||
#include "CfgWeapons.hpp"
|
12
addons/protection/script_component.hpp
Normal file
12
addons/protection/script_component.hpp
Normal file
@ -0,0 +1,12 @@
|
||||
#define COMPONENT protection
|
||||
#include "\z\ace\addons\main\script_mod.hpp"
|
||||
|
||||
#ifdef DEBUG_ENABLED_PROTECTION
|
||||
#define DEBUG_MODE_FULL
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG_ENABLED_PROTECTION
|
||||
#define DEBUG_SETTINGS DEBUG_ENABLED_PROTECTION
|
||||
#endif
|
||||
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
Loading…
Reference in New Issue
Block a user