General - Format config class defines to coding guidelines (+tool) (#8520)

* General - Format config class defines to coding guidelines (+tool)

* Update tools/config_style_checker.py

Co-authored-by: jonpas <jonpas33@gmail.com>

* Update tools/config_style_checker.py

Co-authored-by: jonpas <jonpas33@gmail.com>

Co-authored-by: jonpas <jonpas33@gmail.com>
This commit is contained in:
PabstMirror
2021-10-15 13:47:05 -05:00
committed by GitHub
parent 9395068424
commit 916346ae59
63 changed files with 924 additions and 1044 deletions

View File

@ -47,7 +47,7 @@ class RscTitles {
sizeEx=0.027;
text="";
};
class RscProtractorMarker : RscProtractorBase {
class RscProtractorMarker: RscProtractorBase {
idc=132951;
};
};

View File

@ -492,7 +492,7 @@ class GVAR(display) {
x = QUOTE(safezoneX + safezoneW - 93 * GRID_W);
h = QUOTE(safezoneH - 28 * GRID_H);
};
class rightTabContentListnBox : RscListNBox {
class rightTabContentListnBox: RscListNBox {
idc = IDC_rightTabContentListnBox;
colorBackground[]={0,0,0,0};
colorSelectBackground[]={1,1,1,0.5};

View File

@ -1,4 +1,4 @@
class GVAR(customArsenalButton_Button) : RscButtonArsenal {
class GVAR(customArsenalButton_Button): RscButtonArsenal {
x = QUOTE(safezoneW + safezoneX - 10 * GRID_W);
y = QUOTE(safezoneY + 88 * GRID_H);
w = QUOTE(9 * GRID_W);
@ -10,7 +10,7 @@ class GVAR(customArsenalButton_Button) : RscButtonArsenal {
colorBackground[] = {0,0,0,0.5};
};
class GVAR(customArsenalButton_Background) : ctrlStaticBackground {
class GVAR(customArsenalButton_Background): ctrlStaticBackground {
x = QUOTE(safezoneW + safezoneX - 13 * GRID_W);
y = QUOTE(safezoneY + 88 * GRID_H);
w = QUOTE(12 * GRID_W);

View File

@ -126,7 +126,7 @@ class ATragMX_RscListBox {
thumb="\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
};
class ListScrollBar : ScrollBar {
class ListScrollBar: ScrollBar {
};
};
class ATragMX_RscListNBox: ATragMX_RscListBox {

View File

@ -114,7 +114,7 @@ class CfgAmmo {
caliber = 1.037; //~7mm RHA, ~22.4mm metal, probably still too high though as RHA is hardened.
};
class B_556x45_Ball : BulletBase {
class B_556x45_Ball: BulletBase {
airFriction=-0.00130094;
tracerScale = 1;
tracerStartTime=0.073; // M856 tracer burns out to 800m
@ -138,7 +138,7 @@ class CfgAmmo {
ACE_barrelLengths[] = {457.2}; // according with the SDAR barrel length: https://en.wikipedia.org/wiki/Kel-Tec_RFB
};
class ACE_556x45_Ball_Mk262 : B_556x45_Ball {
class ACE_556x45_Ball_Mk262: B_556x45_Ball {
airFriction=-0.00111805;
ACE_caliber=5.69;
ACE_bulletLength=23.012;
@ -152,7 +152,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={624, 816, 832, 838};
ACE_barrelLengths[]={190.5, 368.3, 457.2, 508.0};
};
class ACE_556x45_Ball_Mk318 : B_556x45_Ball {
class ACE_556x45_Ball_Mk318: B_556x45_Ball {
airFriction=-0.0012588;
ACE_caliber=5.69;
ACE_bulletLength=23.012;
@ -165,7 +165,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={780, 886, 950};
ACE_barrelLengths[]={254.0, 393.7, 508.0};
};
class ACE_556x45_Ball_M995_AP : B_556x45_Ball {
class ACE_556x45_Ball_M995_AP: B_556x45_Ball {
airFriction=-0.00126182;
caliber=1.6;
ACE_caliber=5.69;
@ -221,7 +221,7 @@ class CfgAmmo {
ACE_barrelLengths[] = {640};
};
class B_65x39_Caseless : BulletBase {
class B_65x39_Caseless: BulletBase {
airFriction=-0.00077363;
tracerScale = 1.1; //1.0;
ACE_caliber=6.706;
@ -236,11 +236,11 @@ class CfgAmmo {
ACE_barrelLengths[]={254.0, 406.4, 508.0, 609.6, 660.4, 762.0};
};
class B_65x39_Case_yellow;
class ACE_65x39_Caseless_Tracer_Dim : B_65x39_Case_yellow {
class ACE_65x39_Caseless_Tracer_Dim: B_65x39_Case_yellow {
nvgOnly = 1;
};
class B_65x39_Caseless_green;
class ACE_65x39_Caseless_green_Tracer_Dim : B_65x39_Caseless_green {
class ACE_65x39_Caseless_green_Tracer_Dim: B_65x39_Caseless_green {
nvgOnly = 1;
};
class ACE_65x47_Ball_Scenar: B_65x39_Caseless {
@ -277,7 +277,7 @@ class CfgAmmo {
class B_65x39_Minigun_Caseless: SubmunitionBullet {
tracerScale = 1.1; //1.0;
};
class B_762x51_Ball : BulletBase {
class B_762x51_Ball: BulletBase {
airFriction=-0.00103711;
tracerScale = 1.2; //0.6;
tracerStartTime=0.073; // Based on the British L5A1 which burns out to 1000m
@ -297,7 +297,7 @@ class CfgAmmo {
class ACE_B_762x51_Tracer_Dim: B_762x51_Tracer_Yellow {
nvgOnly = 1;
};
class ACE_762x51_Ball_M118LR : B_762x51_Ball {
class ACE_762x51_Ball_M118LR: B_762x51_Ball {
airFriction=-0.00085157;
caliber=1.8;
hit=16;
@ -314,7 +314,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={750, 780, 790, 794};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class ACE_762x51_Ball_Mk316_Mod_0 : B_762x51_Ball {
class ACE_762x51_Ball_Mk316_Mod_0: B_762x51_Ball {
airFriction=-0.00084311;
caliber=1.8;
hit=16;
@ -331,7 +331,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={775, 790, 805, 810};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class ACE_762x51_Ball_Mk319_Mod_0 : B_762x51_Ball {
class ACE_762x51_Ball_Mk319_Mod_0: B_762x51_Ball {
airFriction=-0.00104515;
caliber=1.5;
hit=14;
@ -348,7 +348,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={838, 892, 910};
ACE_barrelLengths[]={330.2, 406.4, 508.0};
};
class ACE_762x51_Ball_M993_AP : B_762x51_Ball {
class ACE_762x51_Ball_M993_AP: B_762x51_Ball {
airFriction=-0.0010939;
caliber=2.2;
hit=11;
@ -364,7 +364,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={875, 910, 930};
ACE_barrelLengths[]={330.2, 406.4, 508.0};
};
class ACE_762x51_Ball_Subsonic : B_762x51_Ball {
class ACE_762x51_Ball_Subsonic: B_762x51_Ball {
airFriction=-0.00060194;
caliber=1;
hit=6;
@ -380,7 +380,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={305, 325, 335, 340};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class ACE_762x67_Ball_Mk248_Mod_0 : B_762x51_Ball {
class ACE_762x67_Ball_Mk248_Mod_0: B_762x51_Ball {
airFriction=-0.00072468;
caliber=1.8;
hit=17;
@ -397,7 +397,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={865, 900, 924};
ACE_barrelLengths[]={508.0, 609.6, 660.4};
};
class ACE_762x67_Ball_Mk248_Mod_1 : B_762x51_Ball {
class ACE_762x67_Ball_Mk248_Mod_1: B_762x51_Ball {
airFriction=-0.00063027;
caliber=1.9;
hit=18;
@ -414,7 +414,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={847, 867, 877};
ACE_barrelLengths[]={508.0, 609.6, 660.4};
};
class ACE_762x67_Ball_Berger_Hybrid_OTM : B_762x51_Ball {
class ACE_762x67_Ball_Berger_Hybrid_OTM: B_762x51_Ball {
airFriction=-0.000546;
caliber=2.0;
hit=19;
@ -446,7 +446,7 @@ class CfgAmmo {
ACE_barrelLengths[]={406.4, 508.0, 604.5, 736.6};
};
class B_762x54_Tracer_Green;
class ACE_762x54_Ball_7T2 : B_762x54_Tracer_Green {
class ACE_762x54_Ball_7T2: B_762x54_Tracer_Green {
airFriction=-0.00103739;
typicalSpeed=800;
tracerStartTime=0.073; // Based on the 7T2 which burns three seconds
@ -475,7 +475,7 @@ class CfgAmmo {
ACE_muzzleVelocities[] = {658, 678, 723, 743, 753}; // at 21°C, at 15°C {650, 670, 715, 735, 745} according with the AKM,AK12,AK12U,RPK initSpeed
ACE_barrelLengths[] = {254, 314, 415, 520, 590}; // respectively {default / AK104,AK15K / AK47,AKM,AK103,AK15 / SKS / RPK}
};
class B_9x21_Ball : BulletBase {
class B_9x21_Ball: BulletBase {
airFriction=-0.00211064;
tracerScale = 0.5;
ACE_caliber=9.042;
@ -492,7 +492,7 @@ class CfgAmmo {
class B_9x21_Ball_Tracer_Green: B_9x21_Ball {
tracerScale = 0.5;
};
class ACE_9x19_Ball : B_9x21_Ball {
class ACE_9x19_Ball: B_9x21_Ball {
airFriction=-0.00201185;
ACE_caliber=9.017;
ACE_bulletLength=15.494;
@ -505,7 +505,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={340, 370, 400};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class B_93x64_Ball : BulletBase {
class B_93x64_Ball: BulletBase {
airFriction = -0.000808; // According with the G1 BC 0.515 and the SVDK muzzle velocity 780 m/s https://www.kalashnikov.ru/medialibrary/bd9/72_77.pdf#page=3
ACE_caliber = 9.28; // https://www.kalashnikov.ru/medialibrary/bd9/72_77.pdf#page=3
ACE_bulletLength = 35.56; // Average length from bullets with similar mass and BC
@ -519,7 +519,7 @@ class CfgAmmo {
ACE_muzzleVelocities[] = {768, 788, 798}; // Default values - 82 m/s at 21°C, at 15°C {760, 780, 790} according with the 10Rnd_93x64_DMR_05_Mag and the 150Rnd_93x64_Mag initSpeed
ACE_barrelLengths[] = {508.0, 620.0, 660.4};
};
class B_408_Ball : BulletBase {
class B_408_Ball: BulletBase {
timeToLive=10;
airFriction=-0.00046249;
tracerScale = 1.3;
@ -536,7 +536,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={867};
ACE_barrelLengths[]={736.6};
};
class ACE_408_Ball : BulletBase {
class ACE_408_Ball: BulletBase {
timeToLive=10;
airFriction=-0.00065414;
typicalSpeed=1067;
@ -554,7 +554,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={1067};
ACE_barrelLengths[]={736.6};
};
class B_338_Ball : BulletBase {
class B_338_Ball: BulletBase {
timeToLive=10;
airFriction=-0.00060841;
ACE_caliber=8.585;
@ -569,7 +569,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={880, 915, 925};
ACE_barrelLengths[]={508.0, 660.4, 711.2};
};
class B_338_NM_Ball : BulletBase {
class B_338_NM_Ball: BulletBase {
airFriction=-0.00053639;
ACE_caliber=8.585;
ACE_bulletLength=43.18;
@ -582,7 +582,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={790, 807, 820};
ACE_barrelLengths[]={508.0, 609.6, 660.4};
};
class ACE_338_Ball : B_338_Ball {
class ACE_338_Ball: B_338_Ball {
timeToLive=10;
airFriction=-0.00055706;
typicalSpeed=826;
@ -598,7 +598,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={800, 820, 826, 830};
ACE_barrelLengths[]={508.0, 609.6, 673.1, 711.2};
};
class ACE_338_Ball_API526 : B_338_Ball {
class ACE_338_Ball_API526: B_338_Ball {
timeToLive=10;
airFriction=-0.0006922;
caliber=2.8;
@ -619,7 +619,7 @@ class CfgAmmo {
class B_127x33_Ball: BulletBase {
tracerScale = 1.3; //1.2;
};
class B_127x54_Ball : BulletBase {
class B_127x54_Ball: BulletBase {
airFriction=-0.00019568;
tracerScale = 1.3;//
ACE_caliber=12.954;
@ -633,7 +633,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={300};
ACE_barrelLengths[]={436.88};
};
class B_127x99_Ball : BulletBase {
class B_127x99_Ball: BulletBase {
timeToLive=10;
airFriction=-0.00058679;
tracerScale = 1.3; //1.2;
@ -649,7 +649,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={900};
ACE_barrelLengths[]={736.6};
};
class ACE_127x99_API : B_127x99_Ball {
class ACE_127x99_API: B_127x99_Ball {
timeToLive=10;
airFriction=-0.00058679;
tracerScale = 1.3;//
@ -668,7 +668,7 @@ class CfgAmmo {
ACE_barrelLengths[]={736.6};
EGVAR(vehicle_damage,incendiary) = 1.0;
};
class ACE_127x99_Ball_AMAX : B_127x99_Ball {
class ACE_127x99_Ball_AMAX: B_127x99_Ball {
timeToLive=10;
airFriction=-0.00037397;
caliber=3.0;
@ -684,7 +684,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={860};
ACE_barrelLengths[]={736.6};
};
class B_127x108_Ball : BulletBase {
class B_127x108_Ball: BulletBase {
timeToLive=10;
airFriction=-0.00065098;
tracerScale = 1.3; //1.5;
@ -703,7 +703,7 @@ class CfgAmmo {
typicalSpeed = 820;
airFriction = -0.00065098;
};
class B_45ACP_Ball : BulletBase {
class B_45ACP_Ball: BulletBase {
airFriction=-0.00082143;
tracerScale = 0.6;
ACE_caliber=11.481;

View File

@ -671,7 +671,7 @@ class CfgMagazines {
initSpeed = 254;
};
class 6Rnd_45ACP_Cylinder : 11Rnd_45ACP_Mag {
class 6Rnd_45ACP_Cylinder: 11Rnd_45ACP_Mag {
initSpeed = 254;
};

View File

@ -92,8 +92,7 @@ class ACE_gui_backgroundBase {
text = "";
sizeEx = 0.032;
};
class ACE_gui_editBase
{
class ACE_gui_editBase {
type = 2;
x = 0;
y = 0;
@ -236,7 +235,7 @@ class ACE_gui_staticBase {
};
class RscListBox;
class ACE_gui_listBoxBase : RscListBox{
class ACE_gui_listBoxBase: RscListBox {
type = CT_LISTBOX;
style = ST_MULTI;
font = FONT_ACE;
@ -379,8 +378,7 @@ class ACE_gui_comboBoxBase: RscCombo {
soundExpand[] = {"\A3\ui_f\data\sound\RscCombo\soundExpand",0.1,1};
soundCollapse[] = {"\A3\ui_f\data\sound\RscCombo\soundCollapse",0.1,1};
maxHistoryDelay = 1.0;
class ScrollBar
{
class ScrollBar {
color[] = {0.3,0.3,0.3,0.6};
colorActive[] = {0.3,0.3,0.3,1};
colorDisabled[] = {0.3,0.3,0.3,0.3};
@ -485,8 +483,7 @@ onMouseButtonDblClick = "";
color[] = {0.30, 0.10, 0.90, 1.00};
size = 50;
};
class Legend
{
class Legend {
x = "SafeZoneX + ( ((safezoneW / safezoneH) min 1.2) / 40)";
y = "SafeZoneY + safezoneH - 4.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
w = "10 * ( ((safezoneW / safezoneH) min 1.2) / 40)";
@ -496,8 +493,7 @@ onMouseButtonDblClick = "";
colorBackground[] = {1,1,1,0.5};
color[] = {0,0,0,1};
};
class Task
{
class Task {
icon = "\A3\ui_f\data\map\mapcontrol\taskIcon_CA.paa";
iconCreated = "\A3\ui_f\data\map\mapcontrol\taskIconCreated_CA.paa";
iconCanceled = "\A3\ui_f\data\map\mapcontrol\taskIconCanceled_CA.paa";
@ -513,8 +509,7 @@ onMouseButtonDblClick = "";
coefMin = 1;
coefMax = 1;
};
class Waypoint
{
class Waypoint {
icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa";
color[] = {0,0,0,1};
size = 20;
@ -522,8 +517,7 @@ onMouseButtonDblClick = "";
coefMin = 0.900000;
coefMax = 4;
};
class WaypointCompleted
{
class WaypointCompleted {
icon = "\A3\ui_f\data\map\mapcontrol\waypointCompleted_ca.paa";
color[] = {0,0,0,1};
size = 20;
@ -531,8 +525,7 @@ onMouseButtonDblClick = "";
coefMin = 0.900000;
coefMax = 4;
};
class CustomMark
{
class CustomMark {
icon = "\A3\ui_f\data\map\mapcontrol\custommark_ca.paa";
size = 24;
importance = 1;
@ -540,8 +533,7 @@ onMouseButtonDblClick = "";
coefMax = 1;
color[] = {0,0,0,1};
};
class Command
{
class Command {
icon = "\A3\ui_f\data\map\mapcontrol\waypoint_ca.paa";
size = 18;
importance = 1;
@ -549,8 +541,7 @@ onMouseButtonDblClick = "";
coefMax = 1;
color[] = {1,1,1,1};
};
class Bush
{
class Bush {
icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
color[] = {0.45,0.64,0.33,0.4};
size = "14/2";
@ -558,8 +549,7 @@ onMouseButtonDblClick = "";
coefMin = 0.25;
coefMax = 4;
};
class Rock
{
class Rock {
icon = "\A3\ui_f\data\map\mapcontrol\rock_ca.paa";
color[] = {0.1,0.1,0.1,0.8};
size = 12;
@ -567,8 +557,7 @@ onMouseButtonDblClick = "";
coefMin = 0.25;
coefMax = 4;
};
class SmallTree
{
class SmallTree {
icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
color[] = {0.45,0.64,0.33,0.4};
size = 12;
@ -576,8 +565,7 @@ onMouseButtonDblClick = "";
coefMin = 0.25;
coefMax = 4;
};
class Tree
{
class Tree {
icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
color[] = {0.45,0.64,0.33,0.4};
size = 12;
@ -585,8 +573,7 @@ onMouseButtonDblClick = "";
coefMin = 0.25;
coefMax = 4;
};
class busstop
{
class busstop {
icon = "\A3\ui_f\data\map\mapcontrol\busstop_CA.paa";
size = 24;
importance = 1;
@ -594,8 +581,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class fuelstation
{
class fuelstation {
icon = "\A3\ui_f\data\map\mapcontrol\fuelstation_CA.paa";
size = 24;
importance = 1;
@ -603,8 +589,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class hospital
{
class hospital {
icon = "\A3\ui_f\data\map\mapcontrol\hospital_CA.paa";
size = 24;
importance = 1;
@ -612,8 +597,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class church
{
class church {
icon = "\A3\ui_f\data\map\mapcontrol\church_CA.paa";
size = 24;
importance = 1;
@ -621,8 +605,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class lighthouse
{
class lighthouse {
icon = "\A3\ui_f\data\map\mapcontrol\lighthouse_CA.paa";
size = 24;
importance = 1;
@ -630,8 +613,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class power
{
class power {
icon = "\A3\ui_f\data\map\mapcontrol\power_CA.paa";
size = 24;
importance = 1;
@ -639,8 +621,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class powersolar
{
class powersolar {
icon = "\A3\ui_f\data\map\mapcontrol\powersolar_CA.paa";
size = 24;
importance = 1;
@ -648,8 +629,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class powerwave
{
class powerwave {
icon = "\A3\ui_f\data\map\mapcontrol\powerwave_CA.paa";
size = 24;
importance = 1;
@ -657,8 +637,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class powerwind
{
class powerwind {
icon = "\A3\ui_f\data\map\mapcontrol\powerwind_CA.paa";
size = 24;
importance = 1;
@ -666,8 +645,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class quay
{
class quay {
icon = "\A3\ui_f\data\map\mapcontrol\quay_CA.paa";
size = 24;
importance = 1;
@ -675,8 +653,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class shipwreck
{
class shipwreck {
icon = "\A3\ui_f\data\map\mapcontrol\shipwreck_CA.paa";
size = 24;
importance = 1;
@ -684,8 +661,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class transmitter
{
class transmitter {
icon = "\A3\ui_f\data\map\mapcontrol\transmitter_CA.paa";
size = 24;
importance = 1;
@ -693,8 +669,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class watertower
{
class watertower {
icon = "\A3\ui_f\data\map\mapcontrol\watertower_CA.paa";
size = 24;
importance = 1;
@ -702,8 +677,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {1,1,1,1};
};
class Cross
{
class Cross {
icon = "\A3\ui_f\data\map\mapcontrol\Cross_CA.paa";
size = 24;
importance = 1;
@ -711,8 +685,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {0,0,0,1};
};
class Chapel
{
class Chapel {
icon = "\A3\ui_f\data\map\mapcontrol\Chapel_CA.paa";
size = 24;
importance = 1;
@ -720,8 +693,7 @@ onMouseButtonDblClick = "";
coefMax = 1.0;
color[] = {0,0,0,1};
};
class Bunker
{
class Bunker {
icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa";
size = 14;
importance = "1.5 * 14 * 0.05";
@ -729,8 +701,7 @@ onMouseButtonDblClick = "";
coefMax = 4;
color[] = {0,0,0,1};
};
class Fortress
{
class Fortress {
icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa";
size = 16;
importance = "2 * 16 * 0.05";
@ -738,8 +709,7 @@ onMouseButtonDblClick = "";
coefMax = 4;
color[] = {0,0,0,1};
};
class Fountain
{
class Fountain {
icon = "\A3\ui_f\data\map\mapcontrol\fountain_ca.paa";
size = 11;
importance = "1 * 12 * 0.05";
@ -747,8 +717,7 @@ onMouseButtonDblClick = "";
coefMax = 4;
color[] = {0,0,0,1};
};
class Ruin
{
class Ruin {
icon = "\A3\ui_f\data\map\mapcontrol\ruin_ca.paa";
size = 16;
importance = "1.2 * 16 * 0.05";
@ -756,8 +725,7 @@ onMouseButtonDblClick = "";
coefMax = 4;
color[] = {0,0,0,1};
};
class Stack
{
class Stack {
icon = "\A3\ui_f\data\map\mapcontrol\stack_ca.paa";
size = 20;
importance = "2 * 16 * 0.05";
@ -765,8 +733,7 @@ onMouseButtonDblClick = "";
coefMax = 4;
color[] = {0,0,0,1};
};
class Tourism
{
class Tourism {
icon = "\A3\ui_f\data\map\mapcontrol\tourism_ca.paa";
size = 16;
importance = "1 * 16 * 0.05";
@ -774,8 +741,7 @@ onMouseButtonDblClick = "";
coefMax = 4;
color[] = {0,0,0,1};
};
class ViewTower
{
class ViewTower {
icon = "\A3\ui_f\data\map\mapcontrol\viewtower_ca.paa";
size = 16;
importance = "2.5 * 16 * 0.05";

View File

@ -246,7 +246,7 @@ class CfgWeapons {
EGVAR(javelin,enabled) = 1; // needs to be explicitly enabled
magazineReloadTime = 0.5;
};
class GVAR(Titan_AA_Static) : missiles_titan_static {
class GVAR(Titan_AA_Static): missiles_titan_static {
magazineReloadTime = 0.5;
};

View File

@ -20,37 +20,37 @@ class CfgModels {
sections[] = {};
skeletonName = "";
};
class ACE_CSW_Tripod : Default {
class ACE_CSW_Tripod: Default {
sectionsInherit = "";
sections[] = {};
skeletonName = "ACE_CSW_Tripod_Skeleton";
};
class ACE_CSW_M3_Tripod : Default {
class ACE_CSW_M3_Tripod: Default {
sectionsInherit = "";
sections[] = {};
skeletonName = "ACE_CSW_M3_Tripod_Skeleton";
};
class ace_csw_tripod_ags30 : Default {
class ace_csw_tripod_ags30: Default {
sectionsInherit = "";
sections[] = {};
skeletonName = "ace_csw_tripod_ags30_Skeleton";
};
class ace_csw_tripod_kord : Default {
class ace_csw_tripod_kord: Default {
sectionsInherit = "";
sections[] = {};
skeletonName = "ace_csw_tripod_kord_Skeleton";
};
class ace_csw_tripod_m122 : Default {
class ace_csw_tripod_m122: Default {
sectionsInherit = "";
sections[] = {};
skeletonName = "ace_csw_tripod_m122_Skeleton";
};
class ace_csw_tripod_m220 : Default {
class ace_csw_tripod_m220: Default {
sectionsInherit = "";
sections[] = {};
skeletonName = "ace_csw_tripod_m220_Skeleton";
};
class ace_csw_tripod_spg9 : Default {
class ace_csw_tripod_spg9: Default {
sectionsInherit = "";
sections[] = {};
skeletonName = "ace_csw_tripod_spg9_Skeleton";

View File

@ -152,7 +152,7 @@ class DAGR_Menu {
"DAGR_MENU_SELECTION3", "DAGR_MENU_SELECTION4", "DAGR_MENU_Main_Text", "DAGR_MENU_PSELECTION1", "DAGR_MENU_PSELECTION2", "DAGR_MENU_PSELECTION3",
"DAGR_MENU_PSELECTION4", "DAGR_MENU_PSELECTION5", "DAGR_MENU_PSELECTION6","DAGR_MENU_PSELECTION7", "DAGR_MENU_PSELECTION8"};
class DAGR_MENU_UI : DAGR_Menu_Pic {
class DAGR_MENU_UI: DAGR_Menu_Pic {
idc = 266861;
x = 0.175;
y = -0.173;
@ -160,28 +160,28 @@ class DAGR_Menu {
sizeEx = 0.1;
};
class DAGR_PWR_Button : DAGR_Button {
class DAGR_PWR_Button: DAGR_Button {
idc = 266863;
action = QUOTE(GVAR(PWR) = true);
x = 0.40;
y = 0.65;
};
class DAGR_UP_Button : DAGR_Button {
class DAGR_UP_Button: DAGR_Button {
idc = 266864;
action = QUOTE(GVAR(UP) = true);
x = 0.50;
y = 0.675;
};
class DAGR_DOWN_Button : DAGR_Button {
class DAGR_DOWN_Button: DAGR_Button {
idc = 266865;
action = QUOTE(GVAR(DOWN) = true);
x = 0.50;
y = 0.81;
};
class DAGR_LEFT_Button : DAGR_Button {
class DAGR_LEFT_Button: DAGR_Button {
idc = 266866;
action = QUOTE(GVAR(LEFT) = true);
x = 0.40;
@ -190,7 +190,7 @@ class DAGR_Menu {
h = 0.07;
};
class DAGR_RIGHT_Button : DAGR_Button {
class DAGR_RIGHT_Button: DAGR_Button {
idc = 266867;
action = QUOTE(GVAR(RIGHT) = true);
x = 0.62;
@ -199,13 +199,13 @@ class DAGR_Menu {
h = 0.07;
};
class DAGR_NEXT_Button : DAGR_Button {
class DAGR_NEXT_Button: DAGR_Button {
idc = 266868;
x = 0.60;
y = 0.65;
};
class DAGR_SEL_Button : DAGR_Button {
class DAGR_SEL_Button: DAGR_Button {
idc = 266869;
action = QUOTE(GVAR(SEL) = true);
x = 0.54;
@ -214,7 +214,7 @@ class DAGR_Menu {
h = 0.06;
};
class DAGR_MENU_Button : DAGR_Button {
class DAGR_MENU_Button: DAGR_Button {
idc = 266870;
action = QUOTE(GVAR(MENU_B) = true);
x = 0.46;
@ -223,47 +223,47 @@ class DAGR_Menu {
h = 0.06;
};
class DAGR_F1_Button : DAGR_Button {
class DAGR_F1_Button: DAGR_Button {
idc = 266871;
action = QUOTE(GVAR(F1) = true);
x = 0.40;
y = 0.575;
};
class DAGR_F2_Button : DAGR_Button {
class DAGR_F2_Button: DAGR_Button {
idc = 266872;
action = QUOTE(GVAR(F2) = true);
x = 0.495;
y = 0.575;
};
class DAGR_F3_Button : DAGR_Button {
class DAGR_F3_Button: DAGR_Button {
idc = 266873;
action = QUOTE(GVAR(F3) = true);
x = 0.59;
y = 0.575;
};
class DAGR_F1_Text : DAGR_Menu_Text {
class DAGR_F1_Text: DAGR_Menu_Text {
idc = 266874;
x = 0.388;
y = 0.38;
text = "";
};
class DAGR_F2_Text : DAGR_Menu_Text {
class DAGR_F2_Text: DAGR_Menu_Text {
idc = 266875;
x = 0.506;
y = 0.38;
};
class DAGR_F3_Text : DAGR_Menu_Text {
class DAGR_F3_Text: DAGR_Menu_Text {
idc = 266876;
x = 0.612;
y = 0.38;
};
class DAGR_MENU_OPTION0 : DAGR_Menu_Text {
class DAGR_MENU_OPTION0: DAGR_Menu_Text {
idc = 2668777;
style = 0x02;
sizeEx = 0.035;
@ -271,7 +271,7 @@ class DAGR_Menu {
y = 0.19;
};
class DAGR_MENU_OPTION1 : DAGR_Menu_Text {
class DAGR_MENU_OPTION1: DAGR_Menu_Text {
idc = 2668778;
style = 0x02;
sizeEx = 0.035;
@ -279,7 +279,7 @@ class DAGR_Menu {
y = 0.225;
};
class DAGR_MENU_OPTION2 : DAGR_Menu_Text {
class DAGR_MENU_OPTION2: DAGR_Menu_Text {
idc = 2668779;
style = 0x02;
sizeEx = 0.035;
@ -287,7 +287,7 @@ class DAGR_Menu {
y = 0.26;
};
class DAGR_MENU_OPTION3 : DAGR_Menu_Text {
class DAGR_MENU_OPTION3: DAGR_Menu_Text {
idc = 2668780;
style = 0x02;
sizeEx = 0.035;
@ -295,14 +295,14 @@ class DAGR_Menu {
y = 0.295;
};
class DAGR_MENU_OPTION4 : DAGR_Menu_Text {
class DAGR_MENU_OPTION4: DAGR_Menu_Text {
idc = 2668781;
style = 0x02;
sizeEx = 0.035;
x = 0.43;
y = 0.33;
};
class DAGR_MENU_SELECTION0 : DAGR_Menu_Pic {
class DAGR_MENU_SELECTION0: DAGR_Menu_Pic {
idc = 2668783;
x = 0.42;
y = 0.246;
@ -311,7 +311,7 @@ class DAGR_Menu {
sizeEx = 0.05;
};
class DAGR_MENU_SELECTION1 : DAGR_Menu_Pic {
class DAGR_MENU_SELECTION1: DAGR_Menu_Pic {
idc = 2668784;
x = 0.42;
y = 0.281;
@ -320,7 +320,7 @@ class DAGR_Menu {
sizeEx = 0.05;
};
class DAGR_MENU_SELECTION2 : DAGR_Menu_Pic {
class DAGR_MENU_SELECTION2: DAGR_Menu_Pic {
idc = 2668785;
x = 0.42;
y = 0.316;
@ -329,7 +329,7 @@ class DAGR_Menu {
sizeEx = 0.05;
};
class DAGR_MENU_SELECTION3 : DAGR_Menu_Pic {
class DAGR_MENU_SELECTION3: DAGR_Menu_Pic {
idc = 2668786;
x = 0.42;
y = 0.351;
@ -338,7 +338,7 @@ class DAGR_Menu {
sizeEx = 0.05;
};
class DAGR_MENU_SELECTION4 : DAGR_Menu_Pic {
class DAGR_MENU_SELECTION4: DAGR_Menu_Pic {
idc = 2668787;
x = 0.42;
y = 0.386;
@ -347,7 +347,7 @@ class DAGR_Menu {
sizeEx = 0.05;
};
class DAGR_MENU_Main_Text : DAGR_Menu_Text {
class DAGR_MENU_Main_Text: DAGR_Menu_Text {
idc = 2668782;
style = ST_CENTER;
x = 0.38;
@ -358,7 +358,7 @@ class DAGR_Menu {
};
//Waypoint adding and modification digits underline
class DAGR_MENU_PSELECTION1 : DAGR_Menu_Pic {
class DAGR_MENU_PSELECTION1: DAGR_Menu_Pic {
idc = 2668788;
x = 0.465;
y = 0.352;
@ -366,7 +366,7 @@ class DAGR_Menu {
h = 0.003;
};
class DAGR_MENU_PSELECTION2 : DAGR_Menu_Pic {
class DAGR_MENU_PSELECTION2: DAGR_Menu_Pic {
idc = 2668789;
x = 0.475;
y = 0.352;
@ -374,7 +374,7 @@ class DAGR_Menu {
h = 0.003;
};
class DAGR_MENU_PSELECTION3 : DAGR_Menu_Pic {
class DAGR_MENU_PSELECTION3: DAGR_Menu_Pic {
idc = 2668790;
x = 0.485;
y = 0.352;
@ -382,7 +382,7 @@ class DAGR_Menu {
h = 0.003;
};
class DAGR_MENU_PSELECTION4 : DAGR_Menu_Pic {
class DAGR_MENU_PSELECTION4: DAGR_Menu_Pic {
idc = 2668791;
x = 0.495;
y = 0.352;
@ -390,7 +390,7 @@ class DAGR_Menu {
h = 0.003;
};
class DAGR_MENU_PSELECTION5 : DAGR_Menu_Pic {
class DAGR_MENU_PSELECTION5: DAGR_Menu_Pic {
idc = 2668792;
x = 0.505;
y = 0.352;
@ -398,7 +398,7 @@ class DAGR_Menu {
h = 0.003;
};
class DAGR_MENU_PSELECTION6 : DAGR_Menu_Pic {
class DAGR_MENU_PSELECTION6: DAGR_Menu_Pic {
idc = 2668793;
x = 0.515;
y = 0.352;
@ -406,7 +406,7 @@ class DAGR_Menu {
h = 0.003;
};
class DAGR_MENU_PSELECTION7 : DAGR_Menu_Pic {
class DAGR_MENU_PSELECTION7: DAGR_Menu_Pic {
idc = 2668794;
x = 0.525;
y = 0.352;
@ -414,7 +414,7 @@ class DAGR_Menu {
h = 0.003;
};
class DAGR_MENU_PSELECTION8 : DAGR_Menu_Pic {
class DAGR_MENU_PSELECTION8: DAGR_Menu_Pic {
idc = 2668795;
x = 0.535;
y = 0.352;

View File

@ -40,13 +40,13 @@ class RscTitles {
onLoad="uiNamespace setVariable ['DAGR_Display', _this select 0]";
controls[] = {"DAGR_UI", "DAGR_Grid", "DAGR_Speed", "DAGR_Elevation", "DAGR_Heading", "DAGR_Time", "DAGR_WP", "DAGR_Bearing", "DAGR_DIST"};
class DAGR_UI : DAGR_Pic {
class DAGR_UI: DAGR_Pic {
idc = 266856;
x = "(SafeZoneW + SafeZoneX) - 0.45";
y = "(SafeZoneH + SafeZoneY) - 0.47";
};
class DAGR_Grid : DAGR_Text {
class DAGR_Grid: DAGR_Text {
idc = 266851;
x = "(SafeZoneW + SafeZoneX) - 0.370";// 0.830
y = "(SafeZoneH + SafeZoneY)- 0.250";// 0.845
@ -54,39 +54,39 @@ class RscTitles {
h = 0.06;
sizeEx = 0.07;
};
class DAGR_Speed : DAGR_Text {
class DAGR_Speed: DAGR_Text {
idc = 266852;
x = "(SafeZoneW + SafeZoneX) - 0.388"; //0.812
y = "(SafeZoneH + SafeZoneY) - 0.181"; //0.914
};
class DAGR_Elevation : DAGR_Text {
class DAGR_Elevation: DAGR_Text {
idc = 266853;
x = "(SafeZoneW + SafeZoneX) - 0.270"; //0.930
y = "(SafeZoneH + SafeZoneY) - 0.181"; //0.914
};
class DAGR_Heading : DAGR_Text {
class DAGR_Heading: DAGR_Text {
idc = 266854;
x = "(SafeZoneW + SafeZoneX) - 0.413"; //0.787
y = "(SafeZoneH + SafeZoneY) - 0.1294"; //0.9656
};
class DAGR_Time : DAGR_Text {
class DAGR_Time: DAGR_Text {
idc = 266855;
x = "(SafeZoneW + SafeZoneX) - 0.275"; //0.925
y = "(SafeZoneH + SafeZoneY) - 0.129"; //0.965
};
class DAGR_WP : DAGR_Text {
class DAGR_WP: DAGR_Text {
idc = 266857;
x = "(SafeZoneW + SafeZoneX) - 0.235"; //0.965
y = "(SafeZoneH + SafeZoneY) - 0.181"; //0.914
};
class DAGR_Bearing : DAGR_Text {
class DAGR_Bearing: DAGR_Text {
idc = 266858;
x = "(SafeZoneW + SafeZoneX) - 0.413"; //0.787
y = "(SafeZoneH + SafeZoneY) - 0.181"; //0.914
};
class DAGR_DIST : DAGR_Text {
class DAGR_DIST: DAGR_Text {
idc = 266859;
x = "(SafeZoneW + SafeZoneX) - 0.265"; //0.935
y = "(SafeZoneH + SafeZoneY) - 0.129"; //0.965

View File

@ -1,5 +1,5 @@
#define ACE_DOGTAG_ITEM(DOGTAGBASE,DOGTAGID) \
class DOGTAGBASE##_##DOGTAGID : DOGTAGBASE { \
class DOGTAGBASE##_##DOGTAGID: DOGTAGBASE { \
author = ECSTRING(common,ACETeam); \
scope = 1; \
scopeArsenal = 0; \

View File

@ -72,7 +72,7 @@ class CfgAmmo {
};
};
class GVAR(super) : GVAR(dragonBase) {
class GVAR(super): GVAR(dragonBase) {
submunitionAmmo = QGVAR(penetrator_super);
submunitionDirectionType = "SubmunitionModelDirection";
submunitionInitSpeed = 1000;
@ -110,7 +110,7 @@ class CfgAmmo {
};
class ShellBase;
class GVAR(serviceCharge) : ShellBase {
class GVAR(serviceCharge): ShellBase {
hit = 1;
indirectHit = 2;
indirectHitRange = 1;

View File

@ -1,6 +1,6 @@
class CfgMagazines {
class 1Rnd_GAA_missiles;
class GVAR(super) : 1Rnd_GAA_missiles {
class GVAR(super): 1Rnd_GAA_missiles {
sound[] = {};
soundFly[] = {};
soundHit[] = {};

View File

@ -1,5 +1,5 @@
#define ACE_EXPLOSION_REFLECTION(range, hit)\
class ace_explosion_reflection_##range##_##hit : ace_explosion_reflection_base {\
class ace_explosion_reflection_##range##_##hit: ace_explosion_reflection_base {\
indirectHitRange = range;\
indirectHit = hit;\
dangerRadiusHit = range*3;\
@ -58,7 +58,7 @@ class ace_explosion_reflection_##range##_##hit : ace_explosion_reflection_base {
ACE_EXPLOSION_REFLECTION(range,490);\
ACE_EXPLOSION_REFLECTION(range,500)
class ace_explosion_reflection_base : Sh_120mm_HE {
class ace_explosion_reflection_base: Sh_120mm_HE {
CraterWaterEffects = "";
CraterEffects = "";
effectsMissile = "";

View File

@ -1,39 +1,32 @@
class CfgSounds
{
class kestrel4500_center_button_click
{
class CfgSounds {
class kestrel4500_center_button_click {
name="kestrel4500_center_button_click";
sound[]={PATHTOF(sound\kestrel_center_button_click.wav),1,1};
titles[]={};
};
class kestrel4500_top_button_click
{
class kestrel4500_top_button_click {
name="kestrel4500_top_button_click";
sound[]={PATHTOF(sound\kestrel_top_button_click.wav),1,1};
titles[]={};
};
class kestrel4500_right_button_click
{
class kestrel4500_right_button_click {
name="kestrel4500_right_button_click";
sound[]={PATHTOF(sound\kestrel_right_button_click.wav),1,1};
titles[]={};
};
class kestrel4500_bottom_button_click
{
class kestrel4500_bottom_button_click {
name="kestrel4500_bottom_button_click";
sound[]={PATHTOF(sound\kestrel_bottom_button_click.wav),1,1};
titles[]={};
};
class kestrel4500_left_button_click
{
class kestrel4500_left_button_click {
name="kestrel4500_left_button_click";
sound[]={PATHTOF(sound\kestrel_left_button_click.wav),1,1};
titles[]={};
};
class kestrel4500_exit_button_click
{
class kestrel4500_exit_button_click {
name="kestrel4500_exit_button_click";
sound[]={PATHTOF(sound\kestrel_exit_button_click.wav),1,1};
titles[]={};
};
};
};

View File

@ -1,7 +1,7 @@
class CfgWeapons {
class Binocular;
class Laserdesignator : Binocular {
class Laserdesignator: Binocular {
visionMode[] = {"Normal","NVG"};
};
};

View File

@ -112,13 +112,13 @@ class RscInGameUI {
h = "1.6 * (0.025 * SafezoneH)";
};
class ACE_LaserCode_Helper : RscMapControl {
class ACE_LaserCode_Helper: RscMapControl {
idc = -1;
onDraw = QUOTE(_this call FUNC(onLaserDesignatorDraw));
w = 0;
h = 0;
};
class ACE_LaserCode : RscText {
class ACE_LaserCode: RscText {
idc = 123001;
style = 0;
sizeEx = "0.038*SafezoneH";

View File

@ -1,11 +1,11 @@
class CfgAmmo {
class MissileCore;
class MissileBase : MissileCore {
class MissileBase: MissileCore {
class Components;
};
class Missile_AGM_02_F : MissileBase {};
class Missile_AGM_02_F: MissileBase {};
class GVAR(L) : Missile_AGM_02_F {
class GVAR(L): Missile_AGM_02_F {
author = "xrufix";
autoSeekTarget = 0;
irLock = 0;

View File

@ -1,19 +1,19 @@
class CfgMagazines {
class CA_Magazine;
class VehicleMagazine : CA_Magazine {};
class VehicleMagazine: CA_Magazine {};
class magazine_Missile_AGM_02_x1 : VehicleMagazine {};
class PylonMissile_Missile_AGM_02_x1 : magazine_Missile_AGM_02_x1 {};
class PylonMissile_Missile_AGM_02_x2 : magazine_Missile_AGM_02_x1 {};
class magazine_Missile_AGM_02_x1: VehicleMagazine {};
class PylonMissile_Missile_AGM_02_x1: magazine_Missile_AGM_02_x1 {};
class PylonMissile_Missile_AGM_02_x2: magazine_Missile_AGM_02_x1 {};
class 6Rnd_Missile_AGM_02_F : VehicleMagazine {};
class PylonRack_1Rnd_Missile_AGM_02_F : 6Rnd_Missile_AGM_02_F {};
class PylonRack_3Rnd_Missile_AGM_02_F : PylonRack_1Rnd_Missile_AGM_02_F{};
class 6Rnd_Missile_AGM_02_F: VehicleMagazine {};
class PylonRack_1Rnd_Missile_AGM_02_F: 6Rnd_Missile_AGM_02_F {};
class PylonRack_3Rnd_Missile_AGM_02_F: PylonRack_1Rnd_Missile_AGM_02_F{};
class PylonRack_Missile_AGM_02_x1 : magazine_Missile_AGM_02_x1 {};
class PylonRack_Missile_AGM_02_x2 : magazine_Missile_AGM_02_x1 {};
class PylonRack_Missile_AGM_02_x1: magazine_Missile_AGM_02_x1 {};
class PylonRack_Missile_AGM_02_x2: magazine_Missile_AGM_02_x1 {};
class GVAR(L_magazine_x1) : magazine_Missile_AGM_02_x1 {
class GVAR(L_magazine_x1): magazine_Missile_AGM_02_x1 {
ammo = QGVAR(L);
author = "xrufix";
descriptionShort = CSTRING(L_MAG_DESCR);
@ -21,7 +21,7 @@ class CfgMagazines {
displayNameShort = CSTRING(L_MAG_short);
};
class GVAR(L_pylonmissile_x1) : PylonMissile_Missile_AGM_02_x1 {
class GVAR(L_pylonmissile_x1): PylonMissile_Missile_AGM_02_x1 {
ammo = QGVAR(L);
author = "xrufix";
descriptionShort = CSTRING(L_MAG_DESCR);
@ -29,7 +29,7 @@ class CfgMagazines {
displayNameShort = CSTRING(L_MAG_short);
pylonWeapon = QGVAR(L_Launcher);
};
class GVAR(L_pylonmissile_x2) : PylonMissile_Missile_AGM_02_x2 {
class GVAR(L_pylonmissile_x2): PylonMissile_Missile_AGM_02_x2 {
ammo = QGVAR(L);
author = "xrufix";
descriptionShort = CSTRING(L_MAG_DESCR);
@ -38,7 +38,7 @@ class CfgMagazines {
pylonWeapon = QGVAR(L_Launcher);
};
class GVAR(L_pylonRack_1Rnd) : PylonRack_1Rnd_Missile_AGM_02_F {
class GVAR(L_pylonRack_1Rnd): PylonRack_1Rnd_Missile_AGM_02_F {
ammo = QGVAR(L);
author = "xrufix";
descriptionShort = CSTRING(L_MAG_DESCR);
@ -46,7 +46,7 @@ class CfgMagazines {
displayNameShort = CSTRING(L_MAG_short);
pylonWeapon = QGVAR(L_Launcher_Plane);
};
class GVAR(L_PylonRack_3Rnd) : PylonRack_3Rnd_Missile_AGM_02_F {
class GVAR(L_PylonRack_3Rnd): PylonRack_3Rnd_Missile_AGM_02_F {
ammo = QGVAR(L);
author = "xrufix";
descriptionShort = CSTRING(L_MAG_DESCR);
@ -55,7 +55,7 @@ class CfgMagazines {
pylonWeapon = QGVAR(L_Launcher_Plane);
};
class GVAR(L_PylonRack_x1) : PylonRack_Missile_AGM_02_x1 {
class GVAR(L_PylonRack_x1): PylonRack_Missile_AGM_02_x1 {
ammo = QGVAR(L);
author = "xrufix";
descriptionShort = CSTRING(L_MAG_DESCR);
@ -63,7 +63,7 @@ class CfgMagazines {
displayNameShort = CSTRING(L_MAG_short);
pylonWeapon = QGVAR(L_Launcher);
};
class GVAR(L_PylonRack_x2) : PylonRack_Missile_AGM_02_x2 {
class GVAR(L_PylonRack_x2): PylonRack_Missile_AGM_02_x2 {
ammo = QGVAR(L);
author = "xrufix";
descriptionShort = CSTRING(L_MAG_DESCR);
@ -74,12 +74,12 @@ class CfgMagazines {
// KH-25
class 4Rnd_Missile_AGM_01_F;
class PylonRack_1Rnd_Missile_AGM_01_F : 4Rnd_Missile_AGM_01_F {};
class magazine_Missile_AGM_KH25_x1 : VehicleMagazine {};
class PylonMissile_Missile_AGM_KH25_x1 : magazine_Missile_AGM_KH25_x1 {};
class PylonMissile_Missile_AGM_KH25_INT_x1 : PylonMissile_Missile_AGM_KH25_x1 {};
class PylonRack_1Rnd_Missile_AGM_01_F: 4Rnd_Missile_AGM_01_F {};
class magazine_Missile_AGM_KH25_x1: VehicleMagazine {};
class PylonMissile_Missile_AGM_KH25_x1: magazine_Missile_AGM_KH25_x1 {};
class PylonMissile_Missile_AGM_KH25_INT_x1: PylonMissile_Missile_AGM_KH25_x1 {};
class ace_kh25ml_pylonrack_x1 : PylonRack_1Rnd_Missile_AGM_01_F {
class ace_kh25ml_pylonrack_x1: PylonRack_1Rnd_Missile_AGM_01_F {
ammo = "ace_kh25ml";
author = "xrufix";
descriptionShort = CSTRING(KH25ML_MAG_DESCR);
@ -87,14 +87,14 @@ class CfgMagazines {
displayNameShort = CSTRING(L_MAG_short);
pylonWeapon = "ace_kh25ml_launcher";
};
class ace_kh25ml_magazine_x1 : magazine_Missile_AGM_KH25_x1 {
class ace_kh25ml_magazine_x1: magazine_Missile_AGM_KH25_x1 {
ammo = "ace_kh25ml";
author = "xrufix";
descriptionShort = CSTRING(KH25ML_MAG_DESCR);
displayName = CSTRING(KH25ML_MAG_x1);
displayNameShort = CSTRING(L_MAG_short);
};
class ace_kh25ml_pylonmissile_x1 : PylonMissile_Missile_AGM_KH25_x1 {
class ace_kh25ml_pylonmissile_x1: PylonMissile_Missile_AGM_KH25_x1 {
ammo = "ace_kh25ml";
author = "xrufix";
descriptionShort = CSTRING(KH25ML_MAG_DESCR);
@ -102,7 +102,7 @@ class CfgMagazines {
displayNameShort = CSTRING(L_MAG_short);
pylonWeapon = "ace_kh25ml_launcher";
};
class ace_kh25ml_pylonmissile_int_x1 : PylonMissile_Missile_AGM_KH25_INT_x1 {
class ace_kh25ml_pylonmissile_int_x1: PylonMissile_Missile_AGM_KH25_INT_x1 {
ammo = "ace_kh25ml";
author = "xrufix";
descriptionShort = CSTRING(KH25ML_MAG_DESCR);

View File

@ -1,12 +1,12 @@
class CfgWeapons {
class LauncherCore;
class RocketPods : LauncherCore {};
class weapon_AGM_65Launcher : RocketPods{};
class RocketPods: LauncherCore {};
class weapon_AGM_65Launcher: RocketPods{};
class MissileLauncher : LauncherCore {};
class Missile_AGM_02_Plane_CAS_01_F : MissileLauncher {};
class MissileLauncher: LauncherCore {};
class Missile_AGM_02_Plane_CAS_01_F: MissileLauncher {};
class GVAR(L_Launcher) : weapon_AGM_65Launcher {
class GVAR(L_Launcher): weapon_AGM_65Launcher {
author = "xrufix";
displayname = CSTRING(L);
magazines[] = {
@ -26,7 +26,7 @@ class CfgWeapons {
GVAR(enabled) = 1;
};
class GVAR(L_Launcher_Plane) : Missile_AGM_02_Plane_CAS_01_F {
class GVAR(L_Launcher_Plane): Missile_AGM_02_Plane_CAS_01_F {
author = "xrufix";
displayname = CSTRING(L);
magazines[] = {
@ -46,8 +46,8 @@ class CfgWeapons {
GVAR(enabled) = 1;
};
class weapon_AGM_KH25Launcher : MissileLauncher {};
class ace_kh25ml_launcher : weapon_AGM_KH25Launcher {
class weapon_AGM_KH25Launcher: MissileLauncher {};
class ace_kh25ml_launcher: weapon_AGM_KH25Launcher {
author = "xrufix";
displayName = CSTRING(KH25ML);
magazines[] = {

View File

@ -1,9 +1,9 @@
class CfgMagazines {
class CA_LauncherMagazine;
class Vorona_HEAT : CA_LauncherMagazine {
class Vorona_HEAT: CA_LauncherMagazine {
ammo = QGVAR(HEAT);
};
class Vorona_HE : Vorona_HEAT {
class Vorona_HE: Vorona_HEAT {
ammo = QGVAR(HE);
};
};

View File

@ -1,7 +1,7 @@
class CfgMagazines {
class 12Rnd_PG_missiles;
class 6Rnd_ACE_Hydra70_DAGR : 12Rnd_PG_missiles {
class 6Rnd_ACE_Hydra70_DAGR: 12Rnd_PG_missiles {
ammo = "ACE_Hydra70_DAGR";
count = 12;
displayName = "6 Round DAGR";
@ -10,14 +10,14 @@ class CfgMagazines {
weight = 36;
};
class 12Rnd_ACE_Hydra70_DAGR : 6Rnd_ACE_Hydra70_DAGR {
class 12Rnd_ACE_Hydra70_DAGR: 6Rnd_ACE_Hydra70_DAGR {
count = 12;
displayName = "16 Round DAGR";
displayNameShort = "16 Round DAGR";
descriptionShort = "16 Round DAGR";
weight = 72;
};
class 24Rnd_ACE_Hydra70_DAGR : 6Rnd_ACE_Hydra70_DAGR {
class 24Rnd_ACE_Hydra70_DAGR: 6Rnd_ACE_Hydra70_DAGR {
count = 24;
displayName = "24 Round DAGR";
displayNameShort = "24 Round DAGR";

View File

@ -1,16 +1,16 @@
class CfgWeapons {
class PistolCore;
class Pistol : PistolCore {
class Pistol: PistolCore {
//Closed Bolt (Closed Bolt will cook off if too hot)
//Pistols are nearly universally closed bolt.
GVAR(closedBolt) = 1;
};
class Pistol_Base_F : Pistol {};
class hgun_Pistol_heavy_02_F : Pistol_Base_F {
class Pistol_Base_F: Pistol {};
class hgun_Pistol_heavy_02_F: Pistol_Base_F {
GVAR(jamTypesAllowed) = ["Fire","Dud"];
};
class hgun_Pistol_Signal_F : Pistol_Base_F {
class hgun_Pistol_Signal_F: Pistol_Base_F {
GVAR(jamTypesAllowed) = ["Fire","Dud"];
};
@ -48,34 +48,34 @@ class CfgWeapons {
GVAR(allowSwapBarrel) = 1;
GVAR(dispersion) = 0.75;
};
class DMR_01_base_F : Rifle_Long_Base_F {
class DMR_01_base_F: Rifle_Long_Base_F {
GVAR(closedBolt) = 1;
};
class DMR_02_base_F : Rifle_Long_Base_F {
class DMR_02_base_F: Rifle_Long_Base_F {
GVAR(closedBolt) = 1;
};
class DMR_03_base_F : Rifle_Long_Base_F {
class DMR_03_base_F: Rifle_Long_Base_F {
GVAR(closedBolt) = 1;
};
class DMR_04_base_F : Rifle_Long_Base_F {
class DMR_04_base_F: Rifle_Long_Base_F {
GVAR(closedBolt) = 1;
};
class DMR_05_base_F : Rifle_Long_Base_F {
class DMR_05_base_F: Rifle_Long_Base_F {
GVAR(closedBolt) = 1;
};
class DMR_06_base_F : Rifle_Long_Base_F {
class DMR_06_base_F: Rifle_Long_Base_F {
GVAR(closedBolt) = 1;
};
class DMR_07_base_F : Rifle_Long_Base_F {
class DMR_07_base_F: Rifle_Long_Base_F {
GVAR(closedBolt) = 1;
};
class EBR_base_F : Rifle_Long_Base_F {
class EBR_base_F: Rifle_Long_Base_F {
GVAR(closedBolt) = 1;
};
class GM6_base_F : Rifle_Long_Base_F {
class GM6_base_F: Rifle_Long_Base_F {
GVAR(closedBolt) = 1;
};
class LRR_base_F : Rifle_Long_Base_F {
class LRR_base_F: Rifle_Long_Base_F {
GVAR(closedBolt) = 1;
};
class MMG_01_base_F: Rifle_Long_Base_F {
@ -93,7 +93,7 @@ class CfgWeapons {
class LMG_03_Base_F: Rifle_Long_Base_F {
GVAR(allowSwapBarrel) = 1;
};
class sgun_HunterShotgun_01_base_F : Rifle_Long_Base_F {
class sgun_HunterShotgun_01_base_F: Rifle_Long_Base_F {
GVAR(closedBolt) = 1;
GVAR(jamTypesAllowed) = ["Fire","Dud"];
};

View File

@ -54,7 +54,7 @@ class RangeCard_RscListNBox: RscListNBox {
colorDisabled[]={1,1,1,0.3};
};
class ListScrollBar : ScrollBar {
class ListScrollBar: ScrollBar {
};
};

View File

@ -453,19 +453,19 @@ class CfgMagazines {
class PylonRack_3Rnd_Missile_AGM_02_F: PylonRack_1Rnd_Missile_AGM_02_F {
displayName = "AGM-65 Maverick G 3x"; // [vanilla: Macer 3x - Missile_AGM_02_Plane_CAS_01_F]
};
class magazine_Missile_AGM_02_x1 : VehicleMagazine {
class magazine_Missile_AGM_02_x1: VehicleMagazine {
displayName = "AGM-65 Maverick G"; // [vanilla: Macer - Missile_AGM_02_Plane_CAS_01_F]
};
class PylonMissile_Missile_AGM_02_x1 : magazine_Missile_AGM_02_x1 {
class PylonMissile_Missile_AGM_02_x1: magazine_Missile_AGM_02_x1 {
displayName = "AGM-65 Maverick G"; // [vanilla: Macer - Missile_AGM_02_Plane_CAS_01_F]
};
class PylonMissile_Missile_AGM_02_x2 : magazine_Missile_AGM_02_x1 {
class PylonMissile_Missile_AGM_02_x2: magazine_Missile_AGM_02_x1 {
displayName = "AGM-65 Maverick G 2x"; // [vanilla: Macer 2x - Missile_AGM_02_Plane_CAS_01_F]
};
class PylonRack_Missile_AGM_02_x1 : magazine_Missile_AGM_02_x1 {
class PylonRack_Missile_AGM_02_x1: magazine_Missile_AGM_02_x1 {
displayName = "AGM-65 Maverick G"; // [vanilla: Macer - Missile_AGM_02_Plane_CAS_01_F]
};
class PylonRack_Missile_AGM_02_x2 : magazine_Missile_AGM_02_x1 {
class PylonRack_Missile_AGM_02_x2: magazine_Missile_AGM_02_x1 {
displayName = "AGM-65 Maverick G 2x"; // [vanilla: Macer 2x - Missile_AGM_02_Plane_CAS_01_F]
};
class 2Rnd_LG_scalpel;

View File

@ -183,14 +183,14 @@ class CfgVehicles {
};
class APC_Wheeled_02_base_F;
class O_APC_Wheeled_02_base_F : APC_Wheeled_02_base_F {
class O_APC_Wheeled_02_base_F: APC_Wheeled_02_base_F {
displayName = CSTRING(APC_Wheeled_02_rcws_Name);
};
class APC_Wheeled_02_base_v2_F;
class O_APC_Wheeled_02_rcws_v2_F : APC_Wheeled_02_base_v2_F {
class O_APC_Wheeled_02_rcws_v2_F: APC_Wheeled_02_base_v2_F {
displayName = CSTRING(APC_Wheeled_02_rcws_Name);
};
class O_T_APC_Wheeled_02_rcws_v2_ghex_F : APC_Wheeled_02_base_v2_F {
class O_T_APC_Wheeled_02_rcws_v2_ghex_F: APC_Wheeled_02_base_v2_F {
displayName = CSTRING(APC_Wheeled_02_rcws_Name);
};
@ -421,7 +421,7 @@ class CfgVehicles {
};
class Plane_Fighter_04_Base_F;
class I_Plane_Fighter_04_F : Plane_Fighter_04_Base_F {
class I_Plane_Fighter_04_F: Plane_Fighter_04_Base_F {
displayName = CSTRING(Plane_Fighter_04_Name);
};
@ -777,78 +777,78 @@ class CfgVehicles {
// Polaris DAGOR (Prowler)
class LSV_01_base_F;
class LSV_01_armed_base_F : LSV_01_base_F {
class LSV_01_armed_base_F: LSV_01_base_F {
displayName = CSTRING(lsv_01_armed);
};
class LSV_01_unarmed_base_F : LSV_01_base_F {
class LSV_01_unarmed_base_F: LSV_01_base_F {
displayName = CSTRING(lsv_01_unarmed);
};
class LSV_01_light_base_F : LSV_01_base_F {
class LSV_01_light_base_F: LSV_01_base_F {
displayName = CSTRING(lsv_01_light);
};
class LSV_01_AT_base_F : LSV_01_base_F {
class LSV_01_AT_base_F: LSV_01_base_F {
displayName = CSTRING(lsv_01_at);
};
// Light Strike Vehicle Mk. II (Qilin)
class LSV_02_base_F;
class LSV_02_armed_base_F : LSV_02_base_F {
class LSV_02_armed_base_F: LSV_02_base_F {
displayName = CSTRING(lsv_02_armed);
};
class LSV_02_unarmed_base_F : LSV_02_base_F {
class LSV_02_unarmed_base_F: LSV_02_base_F {
displayName = CSTRING(lsv_02_unarmed);
};
class LSV_02_AT_base_F : LSV_02_base_F {
class LSV_02_AT_base_F: LSV_02_base_F {
displayName = CSTRING(lsv_02_at);
};
// Rooikat 120 (Rhino MGS)
class AFV_Wheeled_01_base_F;
class B_AFV_Wheeled_01_cannon_F : AFV_Wheeled_01_base_F {
class B_AFV_Wheeled_01_cannon_F: AFV_Wheeled_01_base_F {
displayName = CSTRING(afv_wheeled_01);
};
class B_T_AFV_Wheeled_01_cannon_F : AFV_Wheeled_01_base_F {
class B_T_AFV_Wheeled_01_cannon_F: AFV_Wheeled_01_base_F {
displayName = CSTRING(afv_wheeled_01);
};
class AFV_Wheeled_01_up_base_F;
class B_AFV_Wheeled_01_up_cannon_F : AFV_Wheeled_01_up_base_F {
class B_AFV_Wheeled_01_up_cannon_F: AFV_Wheeled_01_up_base_F {
displayName = CSTRING(afv_wheeled_01_up);
};
class B_T_AFV_Wheeled_01_up_cannon_F : AFV_Wheeled_01_up_base_F {
class B_T_AFV_Wheeled_01_up_cannon_F: AFV_Wheeled_01_up_base_F {
displayName = CSTRING(afv_wheeled_01_up);
};
// T-14 Armata (T-140 Angara)
class MBT_04_cannon_base_F;
class O_MBT_04_cannon_F : MBT_04_cannon_base_F {
class O_MBT_04_cannon_F: MBT_04_cannon_base_F {
displayName = CSTRING(MBT_04_cannon);
};
class O_T_MBT_04_cannon_F : MBT_04_cannon_base_F {
class O_T_MBT_04_cannon_F: MBT_04_cannon_base_F {
displayName = CSTRING(MBT_04_cannon);
};
class MBT_04_command_base_F; // Keep "K" designation for command variant.
class O_MBT_04_command_F : MBT_04_command_base_F {
class O_MBT_04_command_F: MBT_04_command_base_F {
displayName = CSTRING(MBT_04_command);
};
class O_T_MBT_04_command_F : MBT_04_command_base_F {
class O_T_MBT_04_command_F: MBT_04_command_base_F {
displayName = CSTRING(MBT_04_command);
};
// Wiesel 2 (AWC 302 Nyx)
class LT_01_AA_base_F;
class I_LT_01_AA_F : LT_01_AA_base_F {
class I_LT_01_AA_F: LT_01_AA_base_F {
displayName = CSTRING(LT_01_AA);
};
class LT_01_AT_base_F;
class I_LT_01_AT_F : LT_01_AT_base_F {
class I_LT_01_AT_F: LT_01_AT_base_F {
displayName = CSTRING(LT_01_AT);
};
class LT_01_cannon_base_F;
class I_LT_01_cannon_F : LT_01_cannon_base_F {
class I_LT_01_cannon_F: LT_01_cannon_base_F {
displayName = CSTRING(LT_01_cannon);
};
class LT_01_scout_base_F;
class I_LT_01_scout_F : LT_01_scout_base_F {
class I_LT_01_scout_F: LT_01_scout_base_F {
displayName = CSTRING(LT_01_scout);
};

View File

@ -1,183 +1,183 @@
class CfgAmmo {
class BombCore;
class LaserBombCore : BombCore {
class LaserBombCore: BombCore {
GVAR(caliber) = 250; // Default caliber for bombs
};
class MissileCore;
class MissileBase : MissileCore {
class MissileBase: MissileCore {
GVAR(caliber) = 250; // Default caliber for missiles
};
class Missile_AA_04_F : MissileBase {
class Missile_AA_04_F: MissileBase {
GVAR(dummy) = QGVAR(Missile_AA_04_F);
};
class Missile_AA_03_F : Missile_AA_04_F {
class Missile_AA_03_F: Missile_AA_04_F {
GVAR(dummy) = QGVAR(Missile_AA_03_F);
};
class Rocket_04_HE_F : MissileBase {
class Rocket_04_HE_F: MissileBase {
GVAR(caliber) = 70;
GVAR(dummy) = QGVAR(Rocket_04_HE_F);
};
class Rocket_03_HE_F : Rocket_04_HE_F {
class Rocket_03_HE_F: Rocket_04_HE_F {
GVAR(dummy) = QGVAR(Rocket_03_HE_F);
};
class Rocket_04_AP_F : Rocket_04_HE_F {
class Rocket_04_AP_F: Rocket_04_HE_F {
GVAR(dummy) = QGVAR(Rocket_04_AP_F);
};
class Rocket_03_AP_F : Rocket_04_AP_F {
class Rocket_03_AP_F: Rocket_04_AP_F {
GVAR(dummy) = QGVAR(Rocket_03_AP_F);
};
class M_PG_AT : MissileBase {
class M_PG_AT: MissileBase {
GVAR(caliber) = 70;
GVAR(dummy) = QGVAR(M_PG_AT);
};
class Missile_AGM_02_F : MissileBase {
class Missile_AGM_02_F: MissileBase {
GVAR(dummy) = QGVAR(Missile_AGM_02_F);
};
class Missile_AGM_01_F : Missile_AGM_02_F {
class Missile_AGM_01_F: Missile_AGM_02_F {
GVAR(dummy) = QGVAR(Missile_AGM_01_F);
};
class RocketCore;
class RocketBase : RocketCore {
class RocketBase: RocketCore {
GVAR(caliber) = 70; // Default caliber for rockets
};
class R_80mm_HE : RocketBase {
class R_80mm_HE: RocketBase {
GVAR(caliber) = 80;
GVAR(dummy) = QGVAR(R_80mm_HE);
};
class R_60mm_HE : R_80mm_HE {
class R_60mm_HE: R_80mm_HE {
GVAR(caliber) = 60;
GVAR(dummy) = QGVAR(R_60mm_HE);
};
class BulletBase;
class B_19mm_HE : BulletBase {
class B_19mm_HE: BulletBase {
GVAR(caliber) = 19;
};
class B_20mm : BulletBase {
class B_20mm: BulletBase {
GVAR(caliber) = 20;
};
class B_20mm_AP: BulletBase {
GVAR(caliber) = 20;
};
class B_25mm : BulletBase {
class B_25mm: BulletBase {
GVAR(caliber) = 25;
};
class B_30mm_AP : BulletBase {
class B_30mm_AP: BulletBase {
GVAR(caliber) = 30;
};
class B_30mm_HE : B_19mm_HE {
class B_30mm_HE: B_19mm_HE {
GVAR(caliber) = 30;
};
class Gatling_30mm_HE_Plane_CAS_01_F : BulletBase {
class Gatling_30mm_HE_Plane_CAS_01_F: BulletBase {
GVAR(caliber) = 30;
};
class B_35mm_AA : BulletBase {
class B_35mm_AA: BulletBase {
GVAR(caliber) = 35;
};
class B_30mm_APFSDS;
class B_40mm_APFSDS : B_30mm_APFSDS {
class B_40mm_APFSDS: B_30mm_APFSDS {
GVAR(caliber) = 40;
};
class B_40mm_GPR : B_30mm_HE {
class B_40mm_GPR: B_30mm_HE {
GVAR(caliber) = 40;
};
class GrenadeBase;
class G_40mm_HE : GrenadeBase {
class G_40mm_HE: GrenadeBase {
GVAR(caliber) = 39;
};
class ShellBase;
class R_230mm_fly : ShellBase {
class R_230mm_fly: ShellBase {
GVAR(dummy) = QGVAR(R_230mm_fly);
};
class Sh_120mm_APFSDS : Shellbase {
class Sh_120mm_APFSDS: Shellbase {
GVAR(caliber) = 120;
};
class Sh_105mm_APFSDS : Sh_120mm_APFSDS {
class Sh_105mm_APFSDS: Sh_120mm_APFSDS {
GVAR(caliber) = 105;
};
class Sh_125mm_APFSDS : Sh_120mm_APFSDS {
class Sh_125mm_APFSDS: Sh_120mm_APFSDS {
GVAR(caliber) = 125;
};
class Sh_120mm_HE : ShellBase {
class Sh_120mm_HE: ShellBase {
GVAR(caliber) = 120;
};
class Sh_125mm_HE : Sh_120mm_HE {
class Sh_125mm_HE: Sh_120mm_HE {
GVAR(caliber) = 125;
};
class Sh_125mm_HEAT : Sh_125mm_HE {
class Sh_125mm_HEAT: Sh_125mm_HE {
GVAR(caliber) = 125;
};
class Sh_105mm_HEAT_MP : Sh_125mm_HEAT {
class Sh_105mm_HEAT_MP: Sh_125mm_HEAT {
GVAR(caliber) = 105;
};
class Sh_155mm_AMOS : ShellBase {
class Sh_155mm_AMOS: ShellBase {
GVAR(caliber) = 155;
};
class Sh_82mm_AMOS : Sh_155mm_AMOS {
class Sh_82mm_AMOS: Sh_155mm_AMOS {
GVAR(caliber) = 82;
};
class Sh_82mm_AMOS_LG;
class Sh_155mm_AMOS_LG : Sh_82mm_AMOS_LG {
class Sh_155mm_AMOS_LG: Sh_82mm_AMOS_LG {
GVAR(caliber) = 155;
};
class ShotDeployBase;
class Smoke_82mm_AMOS_White : ShotDeployBase {
class Smoke_82mm_AMOS_White: ShotDeployBase {
GVAR(caliber) = 82;
};
class FlareCore;
class Flare_82mm_AMOS_White : FlareCore {
class Flare_82mm_AMOS_White: FlareCore {
GVAR(caliber) = 82;
};
class SmokeLauncherAmmo : BulletBase {
class SmokeLauncherAmmo: BulletBase {
GVAR(caliber) = 250;
};
class CMflareAmmo : BulletBase {
class CMflareAmmo: BulletBase {
GVAR(caliber) = 39;
};
class SubmunitionBase;
class Sh_82mm_AMOS_guided : SubmunitionBase {
class Sh_82mm_AMOS_guided: SubmunitionBase {
GVAR(caliber) = 82;
};
class Sh_155mm_AMOS_guided : Sh_82mm_AMOS_guided {
class Sh_155mm_AMOS_guided: Sh_82mm_AMOS_guided {
GVAR(caliber) = 155;
};
class R_230mm_HE : SubmunitionBase {
class R_230mm_HE: SubmunitionBase {
GVAR(caliber) = 230;
};
class Mine_155mm_AMOS_range : SubmunitionBase {
class Mine_155mm_AMOS_range: SubmunitionBase {
GVAR(caliber) = 155;
};
class Cluster_155mm_AMOS : SubmunitionBase {
class Cluster_155mm_AMOS: SubmunitionBase {
GVAR(caliber) = 155;
};
class Smoke_120mm_AMOS_White : SubmunitionBase {
class Smoke_120mm_AMOS_White: SubmunitionBase {
GVAR(caliber) = 155;
};
class AT_Mine_155mm_AMOS_range : SubmunitionBase {
class AT_Mine_155mm_AMOS_range: SubmunitionBase {
GVAR(caliber) = 155;
};
class Bo_Mk82 : BombCore {
class Bo_Mk82: BombCore {
GVAR(dummy) = QGVAR(Bo_Mk82);
};

View File

@ -1,56 +1,56 @@
class CfgMagazines {
class CA_Magazine;
class 60Rnd_CMFlareMagazine : CA_Magazine {
class 60Rnd_CMFlareMagazine: CA_Magazine {
displayName = CSTRING(Mag_60Rnd_CMFlareMagazine);
};
class VehicleMagazine;
class SmokeLauncherMag : VehicleMagazine {
class SmokeLauncherMag: VehicleMagazine {
displayName = CSTRING(Mag_SmokeLauncherMag);
};
class SmokeLauncherMag_boat : VehicleMagazine {
class SmokeLauncherMag_boat: VehicleMagazine {
displayName = CSTRING(Mag_SmokeLauncherMag);
};
class 1000Rnd_Gatling_30mm_Plane_CAS_01_F : VehicleMagazine {
class 1000Rnd_Gatling_30mm_Plane_CAS_01_F: VehicleMagazine {
displayName = CSTRING(Mag_1000Rnd_Gatling_30mm_Plane_CAS_01_F);
};
class 500Rnd_Cannon_30mm_Plane_CAS_02_F : 1000Rnd_Gatling_30mm_Plane_CAS_01_F {
class 500Rnd_Cannon_30mm_Plane_CAS_02_F: 1000Rnd_Gatling_30mm_Plane_CAS_01_F {
displayName = CSTRING(Mag_500Rnd_Cannon_30mm_Plane_CAS_02_F);
};
class 2Rnd_Missile_AA_04_F : VehicleMagazine {
class 2Rnd_Missile_AA_04_F: VehicleMagazine {
displayName = CSTRING(Mag_2Rnd_Missile_AA_04_F);
};
class 2Rnd_Missile_AA_03_F : 2Rnd_Missile_AA_04_F {
class 2Rnd_Missile_AA_03_F: 2Rnd_Missile_AA_04_F {
displayName = CSTRING(Mag_2Rnd_Missile_AA_03_F);
};
class 6Rnd_Missile_AGM_02_F : VehicleMagazine {
class 6Rnd_Missile_AGM_02_F: VehicleMagazine {
displayName = CSTRING(Mag_6Rnd_Missile_AGM_02_F);
};
class 4Rnd_Missile_AGM_01_F : 6Rnd_Missile_AGM_02_F {
class 4Rnd_Missile_AGM_01_F: 6Rnd_Missile_AGM_02_F {
displayName = CSTRING(Mag_4Rnd_Missile_AGM_01_F);
};
class 7Rnd_Rocket_04_HE_F : VehicleMagazine {
class 7Rnd_Rocket_04_HE_F: VehicleMagazine {
displayName = CSTRING(Mag_7Rnd_Rocket_04_HE_F);
};
class 20Rnd_Rocket_03_HE_F : 7Rnd_Rocket_04_HE_F {
class 20Rnd_Rocket_03_HE_F: 7Rnd_Rocket_04_HE_F {
displayName = CSTRING(Mag_20Rnd_Rocket_03_HE_F);
};
class 7Rnd_Rocket_04_AP_F : 7Rnd_Rocket_04_HE_F {
class 7Rnd_Rocket_04_AP_F: 7Rnd_Rocket_04_HE_F {
displayName = CSTRING(Mag_7Rnd_Rocket_04_AP_F);
};
class 20Rnd_Rocket_03_AP_F : 7Rnd_Rocket_04_AP_F {
class 20Rnd_Rocket_03_AP_F: 7Rnd_Rocket_04_AP_F {
displayName = CSTRING(Mag_20Rnd_Rocket_03_AP_F);
};
class 4Rnd_Bomb_04_F : VehicleMagazine {
class 4Rnd_Bomb_04_F: VehicleMagazine {
displayName = CSTRING(Mag_4Rnd_Bomb_04_F);
};
class 2Rnd_Bomb_03_F : 4Rnd_Bomb_04_F {
class 2Rnd_Bomb_03_F: 4Rnd_Bomb_04_F {
displayName = CSTRING(Mag_2Rnd_Bomb_03_F);
};
};

View File

@ -1,6 +1,6 @@
class CfgActions {
class LoadMagazine;
class LoadEmptyMagazine : LoadMagazine {
class LoadEmptyMagazine: LoadMagazine {
showWindow = 0;
textDefault = "";
};

View File

@ -64,7 +64,7 @@ class CfgVehicles {
// team leader
class Man;
class CAManBase : Man {
class CAManBase: Man {
class ACE_SelfActions {
class ACE_MoveRallypoint {
displayName = CSTRING(Rallypoint_MoveRallypoint);

View File

@ -6,61 +6,61 @@ class CfgWeapons {
class ItemCore;
class InventoryOpticsItem_Base_F;
class optic_Yorris : ItemCore {
class optic_Yorris: ItemCore {
ACE_ScopeHeightAboveRail = 2.77224;
};
class optic_MRD : ItemCore {
class optic_MRD: ItemCore {
ACE_ScopeHeightAboveRail = 2.8;
};
class optic_Aco : ItemCore {
class optic_Aco: ItemCore {
ACE_ScopeHeightAboveRail = 3.69248;
};
class optic_ACO_grn : ItemCore {
class optic_ACO_grn: ItemCore {
ACE_ScopeHeightAboveRail = 3.69248;
};
class optic_ACO_grn_smg : ItemCore {
class optic_ACO_grn_smg: ItemCore {
ACE_ScopeHeightAboveRail = 3.69248;
};
class optic_ACO_smg : ItemCore {
class optic_ACO_smg: ItemCore {
ACE_ScopeHeightAboveRail = 3.69248;
};
class optic_Holosight : ItemCore {
class optic_Holosight: ItemCore {
ACE_ScopeHeightAboveRail = 4.66933;
};
class optic_Holosight_smg : ItemCore {
class optic_Holosight_smg: ItemCore {
ACE_ScopeHeightAboveRail = 4.66933;
};
class optic_Arco : ItemCore {
class optic_Arco: ItemCore {
ACE_ScopeHeightAboveRail = 4.89287;
};
class optic_ERCO_blk_F : optic_Arco {
class optic_ERCO_blk_F: optic_Arco {
ACE_ScopeHeightAboveRail = 3.48836;
};
class optic_Hamr : ItemCore {
class optic_Hamr: ItemCore {
ACE_ScopeHeightAboveRail = 4.48584;
};
class optic_MRCO : ItemCore {
class optic_MRCO: ItemCore {
ACE_ScopeHeightAboveRail = 3.88405;
};
class optic_Nightstalker : ItemCore {
class optic_Nightstalker: ItemCore {
ACE_ScopeHeightAboveRail = 5.54325;
ACE_ScopeAdjust_Vertical[] = {-4, 30};
ACE_ScopeAdjust_Horizontal[] = {-6, 6};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class NCTALKEP {
discreteDistance[] = {200};
@ -70,13 +70,13 @@ class CfgWeapons {
};
};
class optic_NVS : ItemCore {
class optic_NVS: ItemCore {
ACE_ScopeHeightAboveRail = 5.54325;
ACE_ScopeAdjust_Vertical[] = {-4, 30};
ACE_ScopeAdjust_Horizontal[] = {-6, 6};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class NVS {
discreteDistance[] = {300};
@ -86,13 +86,13 @@ class CfgWeapons {
};
};
class optic_TWS : ItemCore {
class optic_TWS: ItemCore {
ACE_ScopeHeightAboveRail = 5.52874;
ACE_ScopeAdjust_Vertical[] = {-4, 30};
ACE_ScopeAdjust_Horizontal[] = {-6, 6};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class TWS {
discreteDistance[] = {300};
@ -102,13 +102,13 @@ class CfgWeapons {
};
};
class optic_LRPS : ItemCore {
class optic_LRPS: ItemCore {
ACE_ScopeHeightAboveRail = 4.2098;
ACE_ScopeAdjust_Vertical[] = {0, 27};
ACE_ScopeAdjust_Horizontal[] = {-8, 8};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class Snip {
opticsZoomMin = 0.011;
@ -122,13 +122,13 @@ class CfgWeapons {
};
};
class optic_SOS : ItemCore {
class optic_SOS: ItemCore {
ACE_ScopeHeightAboveRail = 4.41328;
ACE_ScopeAdjust_Vertical[] = {-4, 30};
ACE_ScopeAdjust_Horizontal[] = {-6, 6};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class Snip {
discreteDistance[] = {100};
@ -138,13 +138,13 @@ class CfgWeapons {
};
};
class optic_DMS : ItemCore {
class optic_DMS: ItemCore {
ACE_ScopeHeightAboveRail = 3.86253;
ACE_ScopeAdjust_Vertical[] = {-4, 20};
ACE_ScopeAdjust_Horizontal[] = {-6, 6};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class Snip {
discreteDistance[] = {100};
@ -154,13 +154,13 @@ class CfgWeapons {
};
};
class optic_AMS_base : ItemCore {
class optic_AMS_base: ItemCore {
ACE_ScopeHeightAboveRail = 3.8933;
ACE_ScopeAdjust_Vertical[] = {0, 16};
ACE_ScopeAdjust_Horizontal[] = {-11, 11};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class AMS {
opticsZoomMin = 0.0285;
@ -174,13 +174,13 @@ class CfgWeapons {
};
};
class optic_KHS_base : ItemCore {
class optic_KHS_base: ItemCore {
ACE_ScopeHeightAboveRail = 4.30723;
ACE_ScopeAdjust_Vertical[] = {0, 19};
ACE_ScopeAdjust_Horizontal[] = {-9, 9};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class KHS {
opticsZoomMin = 0.026;
@ -194,13 +194,13 @@ class CfgWeapons {
};
};
class optic_KHS_old : ItemCore {
class optic_KHS_old: ItemCore {
ACE_ScopeHeightAboveRail = 4.30723;
ACE_ScopeAdjust_Vertical[] = {0, 19};
ACE_ScopeAdjust_Horizontal[] = {-9, 9};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class KHS {
opticsZoomMin = 0.026;

View File

@ -14,7 +14,7 @@ class RscTitles {
fadeout = 0;
name = QGVAR(Zeroing);
class controls {
class ACE_Scopes_Zeroing_BG : RscPicture {
class ACE_Scopes_Zeroing_BG: RscPicture {
idc = 11;
type = 0;
text = QPATHTOF(UI\scopes_bg.paa);
@ -31,7 +31,7 @@ class RscTitles {
w = 0.4 * safezoneW;
h = 0.3 * safezoneH;
};
class ACE_Scopes_Zeroing_Vertical : RscText {
class ACE_Scopes_Zeroing_Vertical: RscText {
idc = 12;
type = 0;
style = 2;
@ -48,7 +48,7 @@ class RscTitles {
w = 0.04 * safezoneW;
h = 0.025 * safezoneH;
};
class ACE_Scopes_Zeroing_Horizontal : RscText {
class ACE_Scopes_Zeroing_Horizontal: RscText {
idc = 13;
type = 0;
style = 2;

View File

@ -2,7 +2,7 @@ class CfgWeapons {
class ACE_ItemCore;
class CBA_MiscItem_ItemInfo;
class ACE_SpraypaintBlack : ACE_ItemCore {
class ACE_SpraypaintBlack: ACE_ItemCore {
author = "jokoho48";
displayname = CSTRING(spraypaintBlack);
descriptionShort = CSTRING(descSpraypaint);
@ -15,17 +15,17 @@ class CfgWeapons {
mass = 10;
};
};
class ACE_SpraypaintRed : ACE_SpraypaintBlack {
class ACE_SpraypaintRed: ACE_SpraypaintBlack {
displayname = CSTRING(spraypaintRed);
picture = QPATHTOF(UI\items\itemSpraypaintRed.paa);
hiddenSelectionsTextures[] = {QPATHTOF(data\spraycanRed_co.paa)};
};
class ACE_SpraypaintGreen : ACE_SpraypaintBlack {
class ACE_SpraypaintGreen: ACE_SpraypaintBlack {
displayname = CSTRING(spraypaintGreen);
picture = QPATHTOF(UI\items\itemSpraypaintGreen.paa);
hiddenSelectionsTextures[] = {QPATHTOF(data\spraycanGreen_co.paa)};
};
class ACE_SpraypaintBlue : ACE_SpraypaintBlack {
class ACE_SpraypaintBlue: ACE_SpraypaintBlack {
displayname = CSTRING(spraypaintBlue);
picture = QPATHTOF(UI\items\itemSpraypaintBlue.paa);
hiddenSelectionsTextures[] = {QPATHTOF(data\spraycanBlue_co.paa)};

View File

@ -79,7 +79,7 @@ class CfgVehicles {
};
};
class B_APC_Wheeled_01_base_F: APC_Wheeled_01_base_F {};
class B_APC_Wheeled_01_cannon_F : B_APC_Wheeled_01_base_F {
class B_APC_Wheeled_01_cannon_F: B_APC_Wheeled_01_base_F {
GVAR(hullDetonationProb) = 0.2;
GVAR(turretDetonationProb) = 0.2;
GVAR(engineDetonationProb) = 0;
@ -155,7 +155,7 @@ class CfgVehicles {
GVAR(canHaveFireRing) = 1;
};
class APC_Tracked_02_base_F : Tank_F {
class APC_Tracked_02_base_F: Tank_F {
GVAR(hullDetonationProb) = 0;
GVAR(turretDetonationProb) = 0;
GVAR(engineDetonationProb) = 0;
@ -171,7 +171,7 @@ class CfgVehicles {
};
GVAR(canHaveFireRing) = 1;
};
class O_APC_Tracked_02_base_F : APC_Tracked_02_base_F {};
class O_APC_Tracked_02_base_F: APC_Tracked_02_base_F {};
class O_APC_Tracked_02_AA_F: O_APC_Tracked_02_base_F {
GVAR(hullDetonationProb) = 0.4;
GVAR(turretDetonationProb) = 0.4;

View File

@ -24,4 +24,4 @@
#define EJECT_IF_DESTROYED_VEHICLES ["Boat_Transport_02_base_F", "Rubber_duck_base_F"]
#define CREATE_INCENDIARY_AMMO(ammo,base,inc) class ammo : base { GVAR(incendiary) = inc; }
#define CREATE_INCENDIARY_AMMO(ammo,base,inc) class ammo: base { GVAR(incendiary) = inc; }

View File

@ -233,14 +233,14 @@ class CfgVehicles {
};
// Tanks DLC Wiesel 2
class LT_01_base_F : Tank_F {
class Turrets : Turrets {
class MainTurret : MainTurret {};
class LT_01_base_F: Tank_F {
class Turrets: Turrets {
class MainTurret: MainTurret {};
};
};
class LT_01_cannon_base_F : LT_01_base_F {
class Turrets : Turrets {
class MainTurret : MainTurret {
class LT_01_cannon_base_F: LT_01_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
weapons[] = {
"SmokeLauncher",
"ACE_LMG_coax_ext_MG3",
@ -251,8 +251,8 @@ class CfgVehicles {
};
// Tanks DLC Rooikat 120
class AFV_Wheeled_01_base_F : wheeled_APC_F {
class Turrets : Turrets {
class AFV_Wheeled_01_base_F: wheeled_APC_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
weapons[] = {"ACE_cannon_120mm_GT12","ACE_LMG_coax_DenelMG4"};
magazines[] = {"12Rnd_120mm_APFSDS_shells_Tracer_Red","8Rnd_120mm_HE_shells_Tracer_Red","8Rnd_120mm_HEAT_MP_T_Red","4Rnd_120mm_LG_cannon_missiles","200Rnd_762x51_Belt_T_Red","200Rnd_762x51_Belt_T_Red","200Rnd_762x51_Belt_T_Red","200Rnd_762x51_Belt_T_Red"};
@ -261,19 +261,19 @@ class CfgVehicles {
};
// Tanks DLC Armata
class MBT_04_base_F : Tank_F {
class Turrets : Turrets {
class MainTurret : MainTurret {
class Turrets : Turrets {
class MBT_04_base_F: Tank_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
class Turrets: Turrets {
class CommanderOptics: CommanderOptics {};
};
};
};
};
class MBT_04_cannon_base_F : MBT_04_base_F {
class Turrets : Turrets {
class MainTurret : MainTurret {
class Turrets : Turrets {
class MBT_04_cannon_base_F: MBT_04_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
class Turrets: Turrets {
class CommanderOptics: CommanderOptics {
weapons[] = {"ACE_HMG_127_KORD","SmokeLauncher"};
};

View File

@ -10,7 +10,7 @@ class CfgWeapons {
class ACE_LMG_coax_MAG58_mem3: LMG_coax {};
class ACE_LMG_coax_ext_MAG58: LMG_coax_ext {};
class ACE_LMG_coax_ext_MG3: LMG_coax_ext {};
class ACE_LMG_coax_DenelMG4 : LMG_coax {};
class ACE_LMG_coax_DenelMG4: LMG_coax {};
class LMG_Minigun: LMG_RCWS {
// Add the following: "2000Rnd_762x51_Belt_T_Green","2000Rnd_762x51_Belt_T_Red","2000Rnd_762x51_Belt_T_Yellow","5000Rnd_762x51_Belt","5000Rnd_762x51_Yellow_Belt"
@ -28,16 +28,16 @@ class CfgWeapons {
};
};
class HMG_127_APC : HMG_127 {};
class ACE_HMG_127_KORD : HMG_127_APC {};
class HMG_127_APC: HMG_127 {};
class ACE_HMG_127_KORD: HMG_127_APC {};
// Tanks DLC: weapons for Wiesel and Rooikat
class CannonCore;
class autocannon_Base_F : CannonCore {};
class cannon_20mm : autocannon_Base_F {};
class ACE_cannon_20mm_Rh202 : cannon_20mm {};
class autocannon_Base_F: CannonCore {};
class cannon_20mm: autocannon_Base_F {};
class ACE_cannon_20mm_Rh202: cannon_20mm {};
class cannon_120mm : CannonCore {};
class ACE_cannon_120mm_GT12 : cannon_120mm {};
class cannon_120mm: CannonCore {};
class ACE_cannon_120mm_GT12: cannon_120mm {};
};

View File

@ -24,7 +24,7 @@ class RscTitles {
onUnload = "with uiNameSpace do { ACE_RscYardage450 = displayNull; };";
class Controls {
class ACE_Yardage450_RscTarget : ACE_Yardage450_RscText {
class ACE_Yardage450_RscTarget: ACE_Yardage450_RscText {
idc = 720041;
style = ST_CENTER;
x = "0.5 - (0.18 * SafeZoneH)";
@ -34,7 +34,7 @@ class RscTitles {
sizeEx = "0.05 * SafeZoneH";
text = "TARGET ACQUIRED";
};
class ACE_Yardage450_RscLaser : ACE_Yardage450_RscTarget {
class ACE_Yardage450_RscLaser: ACE_Yardage450_RscTarget {
idc = 720042;
x = "0.5 - (0.14 * SafeZoneH)";
y = "0.5 - (0.18 * SafeZoneH)";
@ -45,7 +45,7 @@ class RscTitles {
colorBackground[] = {0, 0, 0, 1};
text = "LASER";
};
class ACE_Yardage450_RscRange : ACE_Yardage450_RscTarget {
class ACE_Yardage450_RscRange: ACE_Yardage450_RscTarget {
idc = 720043;
style = ST_RIGHT;
x = "0.5 - (0.02 * SafeZoneH)";
@ -55,7 +55,7 @@ class RscTitles {
sizeEx = "0.06 * SafeZoneH";
text = "---";
};
class ACE_Yardage450_RscMeters : ACE_Yardage450_RscLaser {
class ACE_Yardage450_RscMeters: ACE_Yardage450_RscLaser {
idc = 720044;
x = "0.5 + (0.06 * SafeZoneH)";
y = "0.5 + (0.19 * SafeZoneH)";
@ -64,7 +64,7 @@ class RscTitles {
sizeEx = "0.018 * SafeZoneH";
text = "METERS";
};
class ACE_Yardage450_RscYards : ACE_Yardage450_RscMeters {
class ACE_Yardage450_RscYards: ACE_Yardage450_RscMeters {
idc = 720045;
y = "0.5 + (0.21 * SafeZoneH)";
w = "0.0417 * SafeZoneH";

View File

@ -32,7 +32,7 @@ class CfgWeapons {
```cpp
class CfgWeapons {
class Pistol_Base_F;
class MyRevolver : Pistol_Base_F {
class MyRevolver: Pistol_Base_F {
ace_overheating_jamTypesAllowed = ["Fire","Dud"]; //Allowed and default values are ["Eject", "Extract", "Feed", "Fire", "Dud"]. In the example here a revolver does not eject, extract, or feed on each shot to those values are removed.
};
```
@ -52,11 +52,11 @@ class CfgWeapons {
class CfgWeapons {
class Rifle_Long_Base_F ;
class MySniper : Rifle_Long_Base_F {
class MySniper: Rifle_Long_Base_F {
ace_overheating_closedBolt = 1; // Closed bolt, can cook off from barrel heat.
};
class MyMG : Rifle_Long_Base_F {
class MyMG: Rifle_Long_Base_F {
ace_overheating_closedBolt = 0; // Open bolt, can only cook off on failure to fire type jams.
};
};

View File

@ -1,7 +1,7 @@
class CfgAmmo
{
class BulletBase;
class B_556x45_Ball : BulletBase {
class B_556x45_Ball: BulletBase {
airFriction=-0.001265;
hit=8;
typicalSpeed=750;
@ -16,7 +16,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900};
ACE_barrelLengths[]={210.82, 238.76, 269.24, 299.72, 330.2, 360.68, 391.16, 419.1, 449.58, 480.06, 508.0, 609.6};
};
class ACE_556x45_Ball_Mk262 : B_556x45_Ball {
class ACE_556x45_Ball_Mk262: B_556x45_Ball {
airFriction=-0.001125;
caliber=0.6;
deflecting=18;
@ -33,7 +33,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={624, 816, 832, 838};
ACE_barrelLengths[]={190.5, 368.3, 457.2, 508.0};
};
class ACE_556x45_Ball_Mk318 : B_556x45_Ball {
class ACE_556x45_Ball_Mk318: B_556x45_Ball {
airFriction=-0.001120;
caliber=0.6;
deflecting=18;
@ -54,7 +54,7 @@ class CfgAmmo
class ACE_B_556x45_Ball_Tracer_Dim: B_556x45_Ball_Tracer_Red {
nvgOnly = 1;
};
class ACE_545x39_Ball_7N6M : B_556x45_Ball {
class ACE_545x39_Ball_7N6M: B_556x45_Ball {
airFriction=-0.001162;
caliber=0.5;
deflecting=18;
@ -72,7 +72,7 @@ class CfgAmmo
ACE_barrelLengths[]={254.0, 414.02, 508.0};
};
class B_556x45_Ball_Tracer_Yellow;
class ACE_545x39_Ball_7T3M : B_556x45_Ball_Tracer_Yellow {
class ACE_545x39_Ball_7T3M: B_556x45_Ball_Tracer_Yellow {
airFriction=-0.001162;
caliber=0.5;
deflecting=18;
@ -113,7 +113,7 @@ class CfgAmmo
ACE_muzzleVelocities[] = {903}; // at 21°C, at 15°C 895 m/s according with the 20Rnd_650x39_Cased_Mag_F initSpeep
ACE_barrelLengths[] = {640};
};
class B_65x39_Caseless : BulletBase {
class B_65x39_Caseless: BulletBase {
airFriction=-0.000785;
typicalSpeed=800;
ACE_caliber=6.706;
@ -128,11 +128,11 @@ class CfgAmmo
ACE_barrelLengths[]={254.0, 406.4, 508.0, 609.6, 660.4, 762.0};
};
class B_65x39_Case_yellow;
class ACE_65x39_Caseless_Tracer_Dim : B_65x39_Case_yellow {
class ACE_65x39_Caseless_Tracer_Dim: B_65x39_Case_yellow {
nvgOnly = 1;
};
class B_65x39_Caseless_green;
class ACE_65x39_Caseless_green_Tracer_Dim : B_65x39_Caseless_green {
class ACE_65x39_Caseless_green_Tracer_Dim: B_65x39_Caseless_green {
nvgOnly = 1;
};
class ACE_65x47_Ball_Scenar: B_65x39_Caseless
@ -150,7 +150,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={730, 760, 790, 820, 830};
ACE_barrelLengths[]={254.0, 406.4, 508.0, 609.6, 660.4};
};
class B_762x51_Ball : BulletBase {
class B_762x51_Ball: BulletBase {
airFriction=-0.001035;
typicalSpeed=833;
hit=9;
@ -169,7 +169,7 @@ class CfgAmmo
class ACE_B_762x51_Tracer_Dim: B_762x51_Tracer_Yellow {
nvgOnly = 1;
};
class ACE_762x51_Ball_M118LR : B_762x51_Ball {
class ACE_762x51_Ball_M118LR: B_762x51_Ball {
airFriction=-0.0008525;
caliber=1.05;
hit=16;
@ -185,7 +185,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={750, 780, 790, 794};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class ACE_762x51_Ball_Mk319_Mod_0 : B_762x51_Ball {
class ACE_762x51_Ball_Mk319_Mod_0: B_762x51_Ball {
airFriction=-0.00103;
caliber=0.85;
hit=14;
@ -201,7 +201,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={838, 892, 910};
ACE_barrelLengths[]={330.2, 406.4, 508.0};
};
class ACE_762x51_Ball_Subsonic : B_762x51_Ball {
class ACE_762x51_Ball_Subsonic: B_762x51_Ball {
airFriction=-0.000535;
caliber=0.5;
hit=6;
@ -217,7 +217,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={305, 325, 335, 340};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class ACE_762x67_Ball_Mk248_Mod_0 : B_762x51_Ball {
class ACE_762x67_Ball_Mk248_Mod_0: B_762x51_Ball {
airFriction=-0.000830;
caliber=1.08;
hit=17;
@ -233,7 +233,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={865, 900, 924};
ACE_barrelLengths[]={508.0, 609.6, 660.4};
};
class ACE_762x67_Ball_Mk248_Mod_1 : B_762x51_Ball {
class ACE_762x67_Ball_Mk248_Mod_1: B_762x51_Ball {
airFriction=-0.000815;
caliber=1.12;
hit=18;
@ -249,7 +249,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={847, 867, 877};
ACE_barrelLengths[]={508.0, 609.6, 660.4};
};
class ACE_762x67_Ball_Berger_Hybrid_OTM : B_762x51_Ball {
class ACE_762x67_Ball_Berger_Hybrid_OTM: B_762x51_Ball {
airFriction=-0.00076;
caliber=1.15;
hit=19;
@ -279,7 +279,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={700, 800, 820, 833};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class ACE_762x54_Ball_7N14 : B_762x51_Ball {
class ACE_762x54_Ball_7N14: B_762x51_Ball {
airFriction=-0.001023;
caliber=0.95;
hit=15;
@ -296,7 +296,7 @@ class CfgAmmo
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class B_762x54_Tracer_Green;
class ACE_762x54_Ball_7T2 : B_762x54_Tracer_Green {
class ACE_762x54_Ball_7T2: B_762x54_Tracer_Green {
airFriction=-0.001023;
caliber=0.9;
hit=15;
@ -312,7 +312,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={680, 750, 798, 800};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class ACE_762x35_Ball : B_762x51_Ball {
class ACE_762x35_Ball: B_762x51_Ball {
airFriction=-0.000821;
caliber=0.9;
hit=11;
@ -328,7 +328,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={620, 655, 675};
ACE_barrelLengths[]={228.6, 406.4, 508.0};
};
class ACE_762x39_Ball : B_762x51_Ball {
class ACE_762x39_Ball: B_762x51_Ball {
airFriction=-0.0015168;
hit=12;
typicalSpeed=716;
@ -343,7 +343,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={650, 716, 750};
ACE_barrelLengths[]={254.0, 414.02, 508.0};
};
class ACE_762x39_Ball_57N231P : B_762x51_Tracer_Yellow {
class ACE_762x39_Ball_57N231P: B_762x51_Tracer_Yellow {
airFriction=-0.0015168;
hit=12;
typicalSpeed=716;
@ -358,7 +358,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={650, 716, 750};
ACE_barrelLengths[]={254.0, 414.02, 508.0};
};
class B_9x21_Ball : BulletBase {
class B_9x21_Ball: BulletBase {
airFriction=-0.00125;
typicalSpeed=390;
hit=6;
@ -373,7 +373,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={440, 460, 480};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class ACE_9x18_Ball_57N181S : B_9x21_Ball {
class ACE_9x18_Ball_57N181S: B_9x21_Ball {
hit=5;
airFriction=-0.001234;
typicalSpeed=298;
@ -388,7 +388,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={298, 330, 350};
ACE_barrelLengths[]={96.52, 127.0, 228.6};
};
class ACE_9x19_Ball : B_9x21_Ball {
class ACE_9x19_Ball: B_9x21_Ball {
airFriction=-0.001234;
typicalSpeed=370;
hit=6;
@ -403,7 +403,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={340, 370, 400};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class ACE_10x25_Ball : B_9x21_Ball {
class ACE_10x25_Ball: B_9x21_Ball {
airFriction=-0.00168;
typicalSpeed=425;
hit=7;
@ -433,7 +433,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={282, 300, 320};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class ACE_303_Ball : ACE_762x51_Ball_M118LR {
class ACE_303_Ball: ACE_762x51_Ball_M118LR {
airFriction=-0.00083;
typicalSpeed=761;
ACE_caliber=7.899;
@ -447,7 +447,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={748, 761, 765};
ACE_barrelLengths[]={508.0, 609.6, 660.4};
};
class B_93x64_Ball : BulletBase {
class B_93x64_Ball: BulletBase {
airFriction=-0.00106;
typicalSpeed=880;
ACE_caliber=9.296;
@ -462,7 +462,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={850, 870, 880};
ACE_barrelLengths[]={508.0, 620.014, 660.4};
};
class B_93x64_Ball_ace_3_13 : BulletBase {
class B_93x64_Ball_ace_3_13: BulletBase {
airFriction = -0.000808; // According with the G1 BC 0.515 and the SVDK muzzle velocity 780 m/s https://www.kalashnikov.ru/medialibrary/bd9/72_77.pdf#page=3
ACE_caliber = 9.28; // https://www.kalashnikov.ru/medialibrary/bd9/72_77.pdf#page=3
ACE_bulletLength = 35.56; // Average length from bullets with similar mass and BC
@ -476,7 +476,7 @@ class CfgAmmo
ACE_muzzleVelocities[] = {768, 788, 798}; // Default values - 82 m/s at 21°C, at 15°C {760, 780, 790} according with the 10Rnd_93x64_DMR_05_Mag and the 150Rnd_93x64_Mag initSpeed
ACE_barrelLengths[] = {508.0, 620.0, 660.4};
};
class B_408_Ball : BulletBase {
class B_408_Ball: BulletBase {
timeToLive=10;
airFriction=-0.000395;
typicalSpeed=910;
@ -492,7 +492,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={910};
ACE_barrelLengths[]={736.6};
};
class ACE_106x83mm_Ball : B_408_Ball {
class ACE_106x83mm_Ball: B_408_Ball {
timeToLive=10;
ACE_caliber=10.566;
ACE_bulletLength=53.061;
@ -505,7 +505,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={960};
ACE_barrelLengths[]={736.6};
};
class B_338_Ball : BulletBase {
class B_338_Ball: BulletBase {
timeToLive=10;
airFriction=-0.000606;
typicalSpeed=915;
@ -520,7 +520,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={880, 915, 925};
ACE_barrelLengths[]={508.0, 660.4, 711.2};
};
class B_338_NM_Ball : BulletBase {
class B_338_NM_Ball: BulletBase {
airFriction=-0.000537;
typicalSpeed=820;
ACE_caliber=8.585;
@ -534,7 +534,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={790, 807, 820};
ACE_barrelLengths[]={508.0, 609.6, 660.4};
};
class ACE_338_Ball : B_338_Ball {
class ACE_338_Ball: B_338_Ball {
timeToLive=10;
airFriction=-0.000535;
caliber=1.55;
@ -550,7 +550,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={800, 820, 826, 830};
ACE_barrelLengths[]={508.0, 609.6, 673.1, 711.2};
};
class ACE_338_Ball_API526 : B_338_Ball {
class ACE_338_Ball_API526: B_338_Ball {
timeToLive=10;
airFriction=-0.000673;
caliber=2.4;
@ -566,7 +566,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={880, 915, 925};
ACE_barrelLengths[]={508.0, 660.4, 711.2};
};
class B_127x54_Ball : BulletBase {
class B_127x54_Ball: BulletBase {
airFriction=-0.00014;
typicalSpeed=300;
ACE_caliber=12.954;
@ -580,7 +580,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={300};
ACE_barrelLengths[]={436.88};
};
class B_127x99_Ball : BulletBase {
class B_127x99_Ball: BulletBase {
timeToLive=10;
airFriction=-0.0006;
typicalSpeed=853;
@ -595,7 +595,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={853};
ACE_barrelLengths[]={736.6};
};
class ACE_127x99_Ball_AMAX : B_127x99_Ball {
class ACE_127x99_Ball_AMAX: B_127x99_Ball {
timeToLive=10;
airFriction=-0.000374;
typicalSpeed=860;
@ -610,7 +610,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={860};
ACE_barrelLengths[]={736.6};
};
class B_127x108_Ball : BulletBase {
class B_127x108_Ball: BulletBase {
timeToLive=10;
airFriction=-0.00064;
typicalSpeed=820;
@ -651,7 +651,7 @@ class CfgAmmo
ACE_barrelLengths[] = {264, 407};
airFriction = -0.002619; // default BI value -0.001412
};
class B_45ACP_Ball : BulletBase {
class B_45ACP_Ball: BulletBase {
airFriction=-0.0007182;
typicalSpeed=250;
ACE_caliber=11.481;
@ -666,7 +666,7 @@ class CfgAmmo
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class TMR_B_762x51_M118LR : B_762x51_Ball
class TMR_B_762x51_M118LR: B_762x51_Ball
{
ACE_caliber=7.823;
ACE_bulletLength=31.496;
@ -889,7 +889,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={730, 750, 760};
ACE_barrelLengths[]={203.2, 254.0, 304.8};
};
class RH_556x45_B_M855A1 : B_556x45_Ball
class RH_556x45_B_M855A1: B_556x45_Ball
{
ACE_caliber=5.69;
ACE_bulletLength=23.012;
@ -902,7 +902,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900};
ACE_barrelLengths[]={210.82, 238.76, 269.24, 299.72, 330.2, 360.68, 391.16, 419.1, 449.58, 480.06, 508.0, 609.6};
};
class RH_556x45_B_Mk262 : B_556x45_Ball
class RH_556x45_B_Mk262: B_556x45_Ball
{
ACE_caliber=5.69;
ACE_bulletLength=23.012;
@ -915,7 +915,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={624, 816, 832, 838};
ACE_barrelLengths[]={190.5, 368.3, 457.2, 508.0};
};
class RH_556x45_B_Mk318 : B_556x45_Ball
class RH_556x45_B_Mk318: B_556x45_Ball
{
ACE_caliber=5.69;
ACE_bulletLength=23.012;
@ -993,7 +993,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={300, 320, 340};
ACE_barrelLengths[]={228.6, 406.4, 508.0};
};
class RH_762x51_B_M80A1 : B_762x51_Ball
class RH_762x51_B_M80A1: B_762x51_Ball
{
ACE_caliber=7.823;
ACE_bulletLength=28.956;
@ -1006,7 +1006,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={700, 800, 820, 833, 845};
ACE_barrelLengths[]={254.0, 406.4, 508.0, 609.6, 660.4};
};
class RH_762x51_B_Mk316LR : B_762x51_Ball
class RH_762x51_B_Mk316LR: B_762x51_Ball
{
ACE_caliber=7.823;
ACE_bulletLength=31.496;
@ -1019,7 +1019,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={750, 780, 790, 794};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class RH_762x51_B_Mk319 : B_762x51_Ball
class RH_762x51_B_Mk319: B_762x51_Ball
{
ACE_caliber=7.823;
ACE_bulletLength=27.28;
@ -1244,7 +1244,7 @@ class CfgAmmo
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class M_mas_545x39_Ball_7N6M : BulletBase
class M_mas_545x39_Ball_7N6M: BulletBase
{
ACE_caliber=5.588;
ACE_bulletLength=21.59;
@ -1257,7 +1257,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={780, 880, 920};
ACE_barrelLengths[]={254.0, 414.02, 508.0};
};
class M_mas_545x39_Ball_7T3M : BulletBase
class M_mas_545x39_Ball_7T3M: BulletBase
{
ACE_caliber=5.588;
ACE_bulletLength=21.59;
@ -1270,7 +1270,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={785, 883, 925};
ACE_barrelLengths[]={254.0, 414.02, 508.0};
};
class B_mas_556x45_Ball_Mk262 : B_556x45_Ball
class B_mas_556x45_Ball_Mk262: B_556x45_Ball
{
ACE_caliber=5.69;
ACE_bulletLength=23.012;
@ -1283,7 +1283,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={624, 816, 832, 838};
ACE_barrelLengths[]={190.5, 368.3, 457.2, 508.0};
};
class B_mas_9x18_Ball_57N181S : BulletBase
class B_mas_9x18_Ball_57N181S: BulletBase
{
ACE_caliber=9.271;
ACE_bulletLength=15.494;
@ -1374,7 +1374,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={650, 716, 750};
ACE_barrelLengths[]={254.0, 414.02, 508.0};
};
class B_mas_762x51_Ball_M118LR : B_762x51_Ball
class B_mas_762x51_Ball_M118LR: B_762x51_Ball
{
ACE_caliber=7.823;
ACE_bulletLength=31.496;
@ -1387,7 +1387,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={750, 780, 790, 794};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class B_mas_762x67_Ball_Mk248_Mod_0 : B_762x51_Ball
class B_mas_762x67_Ball_Mk248_Mod_0: B_762x51_Ball
{
ACE_caliber=7.823;
ACE_bulletLength=34.366;
@ -1400,7 +1400,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={865, 900, 924};
ACE_barrelLengths[]={508.0, 609.6, 660.4};
};
class B_mas_762x67_Ball_Mk248_Mod_1 : B_762x51_Ball
class B_mas_762x67_Ball_Mk248_Mod_1: B_762x51_Ball
{
ACE_caliber=7.823;
ACE_bulletLength=37.821;
@ -1413,7 +1413,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={820, 867, 900};
ACE_barrelLengths[]={508.0, 609.6, 660.4};
};
class B_mas_762x67_Ball_Berger_Hybrid_OTM : B_762x51_Ball
class B_mas_762x67_Ball_Berger_Hybrid_OTM: B_762x51_Ball
{
ACE_caliber=7.823;
ACE_bulletLength=40.691;
@ -1426,7 +1426,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={800, 853, 884};
ACE_barrelLengths[]={508.0, 609.6, 660.4};
};
class B_mas_762x54_Ball : BulletBase
class B_mas_762x54_Ball: BulletBase
{
ACE_caliber=7.925;
ACE_bulletLength=28.956;
@ -1439,7 +1439,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={700, 800, 820, 833};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class B_mas_762x54_Ball_T : BulletBase
class B_mas_762x54_Ball_T: BulletBase
{
ACE_caliber=7.925;
ACE_bulletLength=28.956;
@ -1452,7 +1452,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={680, 750, 798, 800};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class BWA3_B_762x51_Ball_LR : BulletBase
class BWA3_B_762x51_Ball_LR: BulletBase
{
ACE_caliber=7.823;
ACE_bulletLength=31.496;
@ -1465,7 +1465,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={750, 780, 790, 794};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class BWA3_B_762x51_Ball_SD : BulletBase
class BWA3_B_762x51_Ball_SD: BulletBase
{
ACE_caliber=7.823;
ACE_bulletLength=31.496;
@ -1479,7 +1479,7 @@ class CfgAmmo
ACE_barrelLengths[]={406.4, 609.6};
};
class BWA3_B_46x30_Ball : BulletBase
class BWA3_B_46x30_Ball: BulletBase
{
ACE_caliber=4.902;
ACE_bulletLength=13.005;
@ -1493,7 +1493,7 @@ class CfgAmmo
ACE_barrelLengths[]={101.6, 177.8, 228.6, 304.8};
};
class Trixie_338_Ball : BulletBase
class Trixie_338_Ball: BulletBase
{
ACE_caliber=8.585;
ACE_bulletLength=43.18;
@ -1506,7 +1506,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={820, 826, 830};
ACE_barrelLengths[]={609.6, 673.1, 711.2};
};
class Trixie_303_Ball : BulletBase
class Trixie_303_Ball: BulletBase
{
ACE_caliber=7.899;
ACE_bulletLength=31.166;
@ -1520,7 +1520,7 @@ class CfgAmmo
ACE_barrelLengths[]={508.0, 609.6, 660.4};
};
class rhs_ammo_556x45_Mk318_Ball : BulletBase
class rhs_ammo_556x45_Mk318_Ball: BulletBase
{
ACE_caliber=5.69;
ACE_bulletLength=23.012;
@ -1533,7 +1533,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={780, 886, 950};
ACE_barrelLengths[]={254.0, 393.7, 508.0};
};
class rhs_ammo_556x45_Mk262_Ball : BulletBase
class rhs_ammo_556x45_Mk262_Ball: BulletBase
{
ACE_caliber=5.69;
ACE_bulletLength=23.012;
@ -1546,7 +1546,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={624, 816, 832, 838};
ACE_barrelLengths[]={190.5, 368.3, 457.2, 508.0};
};
class rhsammo_762x51_Ball : BulletBase
class rhsammo_762x51_Ball: BulletBase
{
ACE_caliber=7.823;
ACE_bulletLength=28.956;
@ -1559,7 +1559,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={700, 800, 820, 833, 845};
ACE_barrelLengths[]={254.0, 406.4, 508.0, 609.6, 660.4};
};
class rhs_B_545x39_Ball : BulletBase
class rhs_B_545x39_Ball: BulletBase
{
ACE_caliber=5.588;
ACE_bulletLength=21.59;
@ -1572,7 +1572,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={780, 880, 920};
ACE_barrelLengths[]={254.0, 414.02, 508.0};
};
class rhs_B_545x39_Ball_Tracer_Green : BulletBase
class rhs_B_545x39_Ball_Tracer_Green: BulletBase
{
ACE_caliber=5.588;
ACE_bulletLength=21.59;
@ -1585,7 +1585,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={785, 883, 925};
ACE_barrelLengths[]={254.0, 414.02, 508.0};
};
class rhs_ammo_762x51_M118_Special_Ball : BulletBase
class rhs_ammo_762x51_M118_Special_Ball: BulletBase
{
ACE_caliber=7.823;
ACE_bulletLength=31.496;
@ -1598,7 +1598,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={750, 780, 790, 794};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class rhs_B_762x54_Ball : BulletBase
class rhs_B_762x54_Ball: BulletBase
{
ACE_caliber=7.925;
ACE_bulletLength=28.956;
@ -1611,7 +1611,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={700, 800, 820, 833};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class rhs_B_762x54_Ball_Tracer_Green : BulletBase
class rhs_B_762x54_Ball_Tracer_Green: BulletBase
{
ACE_caliber=7.925;
ACE_bulletLength=28.956;
@ -1624,7 +1624,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={680, 750, 798, 800};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class rhs_B_762x39_Ball : BulletBase
class rhs_B_762x39_Ball: BulletBase
{
ACE_caliber=7.823;
ACE_bulletLength=28.956;
@ -1637,7 +1637,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={650, 716, 750};
ACE_barrelLengths[]={254.0, 414.02, 508.0};
};
class rhs_B_762x39_Tracer : BulletBase
class rhs_B_762x39_Tracer: BulletBase
{
ACE_caliber=7.823;
ACE_bulletLength=28.956;
@ -1650,7 +1650,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={650, 716, 750};
ACE_barrelLengths[]={254.0, 414.02, 508.0};
};
class rhs_ammo_762x51_M80_Ball : BulletBase
class rhs_ammo_762x51_M80_Ball: BulletBase
{
ACE_caliber=7.823;
ACE_bulletLength=28.956;
@ -1663,7 +1663,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={700, 800, 820, 833, 845};
ACE_barrelLengths[]={254.0, 406.4, 508.0, 609.6, 660.4};
};
class rhsusf_B_300winmag : BulletBase
class rhsusf_B_300winmag: BulletBase
{
ACE_caliber=7.823;
ACE_bulletLength=37.821;

File diff suppressed because it is too large Load Diff

View File

@ -350,8 +350,7 @@ class CfgVehicles {
EGVAR(fastroping,enabled) = 0;
class UserActions {
class openDoor_L
{
class openDoor_L {
displayNameDefault = "Open left Door";
displayName = "Open left Door";
position = "";
@ -361,16 +360,14 @@ class CfgVehicles {
statement = "this animateDoor ['door_2_1_source',1]";
};
class openDoor_R: openDoor_L
{
class openDoor_R: openDoor_L {
displayNameDefault = "Open right Door";
displayName = "Open right Door";
condition = QUOTE((this animationSourcePhase 'door_2_2_unhide' > 0.5) && (this doorPhase 'door_2_2_source' < 0.5) && {alive this} && {!(this getVariable [ARR_2(QUOTE(QEGVAR(fastroping,doorsLocked)),false)])});
statement = "this animateDoor ['door_2_2_source',1]";
};
class closeDoor_L
{
class closeDoor_L {
displayNameDefault = "Close left Door";
displayName = "Close left Door";
position = "";
@ -380,8 +377,7 @@ class CfgVehicles {
statement = "this animateDoor ['door_2_1_source',0]";
};
class closeDoor_R: closeDoor_L
{
class closeDoor_R: closeDoor_L {
displayNameDefault = "Close right Door";
displayName = "Close right Door";
condition = QUOTE((this animationSourcePhase 'door_2_2_unhide' > 0.5) && (this doorPhase 'door_2_2_source' > 0.5) && {alive this} && {!(this getVariable [ARR_2(QUOTE(QEGVAR(fastroping,doorsLocked)),false)])});

View File

@ -13,7 +13,7 @@ class CfgWeapons {
class R3F_Famas_F1_M203: R3F_Famas_F1 {
muzzles[] = {"this","Lance_Grenades"};
};
class R3F_Famas_surb: R3F_Famas_F1 { // R3F FAMAS Surbaissé, should be FAMAS Valorisé : http://narval34.free.fr/fiche_tech_famas.pdf
class R3F_Famas_surb: R3F_Famas_F1 { // R3F FAMAS Surbaissé, should be FAMAS Valorisé: http://narval34.free.fr/fiche_tech_famas.pdf
ACE_RailHeightAboveBore = 5.08219;
ACE_barrelTwist = 177.8; // 1:7" FAMAS Valorisé
ACE_barrelLength = 450.0; // 3D model with Beretta barrel : FAMAS Valorisé

View File

@ -5,7 +5,7 @@ class CfgWeapons {
/* Scopes */
class InventoryOpticsItem_Base_F;
class RH_shortdot : ItemCore {
class RH_shortdot: ItemCore {
ACE_ScopeHeightAboveRail = 4.40511;
/* // This would require MOA turrets
ACE_ScopeAdjust_Vertical[] = { -1, 25 };
@ -15,13 +15,13 @@ class CfgWeapons {
*/
};
class RH_accupoint : ItemCore {
class RH_accupoint: ItemCore {
ACE_ScopeHeightAboveRail = 3.726;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class Accupoint {
discreteDistance[] = { 100 };
@ -31,13 +31,13 @@ class CfgWeapons {
};
};
class RH_m3lr : ItemCore {
class RH_m3lr: ItemCore {
ACE_ScopeHeightAboveRail = 3.5751;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class m3lr {
discreteDistance[] = { 100 };
@ -47,13 +47,13 @@ class CfgWeapons {
};
};
class RH_leu_mk4 : ItemCore {
class RH_leu_mk4: ItemCore {
ACE_ScopeHeightAboveRail = 4.64216;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class mk4 {
discreteDistance[] = { 100 };
@ -63,13 +63,13 @@ class CfgWeapons {
};
};
class RH_c79 : ItemCore {
class RH_c79: ItemCore {
ACE_ScopeHeightAboveRail = 4.16731;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class c79scope {
discreteDistance[] = { 100 };
@ -79,13 +79,13 @@ class CfgWeapons {
};
};
class RH_c79_2d : ItemCore {
class RH_c79_2d: ItemCore {
ACE_ScopeHeightAboveRail = 4.16731;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class c79scope {
discreteDistance[] = { 100 };
@ -95,13 +95,13 @@ class CfgWeapons {
};
};
class RH_anpvs10 : ItemCore {
class RH_anpvs10: ItemCore {
ACE_ScopeHeightAboveRail = 2.64379;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class pvs10 {
discreteDistance[] = { 100 };
@ -111,13 +111,13 @@ class CfgWeapons {
};
};
class RH_pas13cm : ItemCore {
class RH_pas13cm: ItemCore {
ACE_ScopeHeightAboveRail = 10.601;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class MTWS {
discreteDistance[] = { 100 };
@ -127,13 +127,13 @@ class CfgWeapons {
};
};
class RH_pas13cmg : ItemCore {
class RH_pas13cmg: ItemCore {
ACE_ScopeHeightAboveRail = 10.601;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class MTWSmg {
discreteDistance[] = { 100 };
@ -143,13 +143,13 @@ class CfgWeapons {
};
};
class RH_pas13ch : ItemCore {
class RH_pas13ch: ItemCore {
ACE_ScopeHeightAboveRail = 10.6017;
ACE_ScopeAdjust_Vertical[] = { -4, 30 };
ACE_ScopeAdjust_Horizontal[] = { -6, 6 };
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class HTWS {
discreteDistance[] = { 100 };

View File

@ -1,9 +1,6 @@
class CfgAmmo
{
class CfgAmmo {
class BulletBase;
class RH_50_AE_Ball: BulletBase
{
class RH_50_AE_Ball: BulletBase {
ACE_caliber=12.7;
ACE_bulletLength=28.194;
ACE_bulletMass=21.06;
@ -15,8 +12,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={360, 398, 420};
ACE_barrelLengths[]={101.6, 152.4, 228.6};
};
class RH_454_Casull: BulletBase
{
class RH_454_Casull: BulletBase {
ACE_caliber=11.481;
ACE_bulletLength=22.733;
ACE_bulletMass=21.06;
@ -28,8 +24,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={450, 490, 500};
ACE_barrelLengths[]={101.6, 190.5, 228.6};
};
class RH_32ACP: BulletBase
{
class RH_32ACP: BulletBase {
ACE_caliber=7.938;
ACE_bulletLength=15.494;
ACE_bulletMass=4.212;
@ -41,8 +36,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={282, 300, 320};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class RH_45ACP: BulletBase
{
class RH_45ACP: BulletBase {
ACE_caliber=11.481;
ACE_bulletLength=17.272;
ACE_bulletMass=14.904;
@ -54,8 +48,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={230, 250, 285};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class RH_B_40SW: BulletBase
{
class RH_B_40SW: BulletBase {
ACE_caliber=10.16;
ACE_bulletLength=11.354;
ACE_bulletMass=8.748;
@ -67,8 +60,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={360, 380, 400};
ACE_barrelLengths[]={101.6, 152.4, 228.6};
};
class RH_44mag_ball: BulletBase
{
class RH_44mag_ball: BulletBase {
ACE_caliber=10.897;
ACE_bulletLength=20.422;
ACE_bulletMass=12.96;
@ -80,8 +72,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={360, 390, 420};
ACE_barrelLengths[]={101.6, 190.5, 228.6};
};
class RH_357mag_ball: BulletBase
{
class RH_357mag_ball: BulletBase {
ACE_caliber=9.068;
ACE_bulletLength=13.741;
ACE_bulletMass=8.1;
@ -93,8 +84,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={490, 510, 535};
ACE_barrelLengths[]={101.6, 152.4, 228.6};
};
class RH_762x25: BulletBase
{
class RH_762x25: BulletBase {
ACE_caliber=7.874;
ACE_bulletLength=13.856;
ACE_bulletMass=5.5728;
@ -106,8 +96,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={360, 380, 400};
ACE_barrelLengths[]={101.6, 152.4, 228.6};
};
class RH_9x18_Ball: BulletBase
{
class RH_9x18_Ball: BulletBase {
ACE_caliber=9.271;
ACE_bulletLength=15.494;
ACE_bulletMass=6.00048;
@ -119,8 +108,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={298, 330, 350};
ACE_barrelLengths[]={96.52, 127.0, 228.6};
};
class RH_B_9x19_Ball: BulletBase
{
class RH_B_9x19_Ball: BulletBase {
ACE_caliber=9.017;
ACE_bulletLength=15.494;
ACE_bulletMass=8.0352;
@ -132,8 +120,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={340, 370, 400};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class RH_B_22LR_SD: BulletBase
{
class RH_B_22LR_SD: BulletBase {
ACE_caliber=5.664;
ACE_bulletLength=11.43;
ACE_bulletMass=2.4624;
@ -145,8 +132,7 @@ class CfgAmmo
ACE_muzzleVelocities[]={330, 340, 360};
ACE_barrelLengths[]={101.6, 152.4, 228.6};
};
class RH_57x28mm: BulletBase
{
class RH_57x28mm: BulletBase {
ACE_caliber=5.69;
ACE_bulletLength=12.573;
ACE_bulletMass=1.8144;
@ -158,4 +144,4 @@ class CfgAmmo
ACE_muzzleVelocities[]={550, 625, 720};
ACE_barrelLengths[]={101.6, 152.4, 262.89};
};
};
};

View File

@ -1,140 +1,112 @@
class CfgWeapons
{
class CfgWeapons {
class Pistol_Base_F;
class RH_Pistol_Base_F;
class RH_deagle: RH_Pistol_Base_F
{
class RH_deagle: RH_Pistol_Base_F {
ACE_barrelTwist=482.6;
ACE_barrelLength=152.4;
};
class RH_mateba: Pistol_Base_F
{
class RH_mateba: Pistol_Base_F {
ACE_barrelTwist=355.6;
ACE_barrelLength=152.4;
};
class RH_mp412: Pistol_Base_F
{
class RH_mp412: Pistol_Base_F {
ACE_barrelTwist=254.0;
ACE_barrelLength=152.4;
};
class RH_python: Pistol_Base_F
{
class RH_python: Pistol_Base_F {
ACE_barrelTwist=355.6;
ACE_barrelLength=152.4;
};
class RH_bull: RH_python
{
class RH_bull: RH_python {
ACE_barrelTwist=609.6;
ACE_barrelLength=165.1;
};
class RH_ttracker: Pistol_Base_F
{
class RH_ttracker: Pistol_Base_F {
ACE_barrelTwist=304.8;
ACE_barrelLength=101.6;
};
class RH_cz75: RH_Pistol_Base_F
{
class RH_cz75: RH_Pistol_Base_F {
ACE_barrelTwist=246.38;
ACE_barrelLength=119.38;
};
class RH_p226: RH_Pistol_Base_F
{
class RH_p226: RH_Pistol_Base_F {
ACE_barrelTwist=248.92;
ACE_barrelLength=111.76;
};
class RH_sw659: RH_Pistol_Base_F
{
class RH_sw659: RH_Pistol_Base_F {
ACE_barrelTwist=248.92;
ACE_barrelLength=188.976;
};
class RH_usp: RH_Pistol_Base_F
{
class RH_usp: RH_Pistol_Base_F {
ACE_barrelTwist=406.4;
ACE_barrelLength=112.014;
};
class RH_uspm: RH_Pistol_Base_F
{
class RH_uspm: RH_Pistol_Base_F {
ACE_barrelTwist=406.4;
ACE_barrelLength=152.4;
};
class RH_kimber: RH_Pistol_Base_F
{
class RH_kimber: RH_Pistol_Base_F {
ACE_barrelTwist=406.4;
ACE_barrelLength=127.0;
};
class RH_m1911: RH_Pistol_Base_F
{
class RH_m1911: RH_Pistol_Base_F {
ACE_barrelTwist=406.4;
ACE_barrelLength=127.0;
};
class RH_tt33: RH_Pistol_Base_F
{
class RH_tt33: RH_Pistol_Base_F {
ACE_barrelTwist=240.03;
ACE_barrelLength=116.84;
};
class RH_mak: RH_Pistol_Base_F
{
class RH_mak: RH_Pistol_Base_F {
ACE_barrelTwist=240.03;
ACE_barrelLength=93.472;
};
class RH_mk2: RH_Pistol_Base_F
{
class RH_mk2: RH_Pistol_Base_F {
ACE_barrelTwist=406.4;
ACE_barrelLength=101.6;
};
class RH_m9: RH_Pistol_Base_F
{
class RH_m9: RH_Pistol_Base_F {
ACE_barrelTwist=248.92;
ACE_barrelLength=124.46;
};
class RH_g18: RH_Pistol_Base_F
{
class RH_g18: RH_Pistol_Base_F {
ACE_barrelTwist=248.92;
ACE_barrelLength=114.046;
};
class RH_g17: RH_Pistol_Base_F
{
class RH_g17: RH_Pistol_Base_F {
ACE_barrelTwist=248.92;
ACE_barrelLength=114.046;
};
class RH_g19: RH_Pistol_Base_F
{
class RH_g19: RH_Pistol_Base_F {
ACE_barrelTwist=248.92;
ACE_barrelLength=101.6;
};
class RH_gsh18: RH_Pistol_Base_F
{
class RH_gsh18: RH_Pistol_Base_F {
ACE_barrelTwist=248.92;
ACE_barrelLength=104.14;
};
class RH_fnp45: RH_Pistol_Base_F
{
class RH_fnp45: RH_Pistol_Base_F {
ACE_barrelTwist=406.4;
ACE_barrelLength=114.3;
};
class RH_fn57: RH_fnp45
{
class RH_fn57: RH_fnp45 {
ACE_barrelTwist=231.14;
ACE_barrelLength=121.92;
};
class RH_vp70: RH_Pistol_Base_F
{
class RH_vp70: RH_Pistol_Base_F {
ACE_barrelTwist=248.92;
ACE_barrelLength=116.84;
};
class RH_vz61: RH_Pistol_Base_F
{
class RH_vz61: RH_Pistol_Base_F {
ACE_barrelTwist=406.4;
ACE_barrelLength=114.3;
};
class RH_tec9: RH_Pistol_Base_F
{
class RH_tec9: RH_Pistol_Base_F {
ACE_barrelTwist=248.92;
ACE_barrelLength=127.0;
};
class RH_muzi: RH_Pistol_Base_F
{
class RH_muzi: RH_Pistol_Base_F {
ACE_barrelTwist=248.92;
ACE_barrelLength=127.0;
};
};
};

View File

@ -8,8 +8,7 @@ class CfgAmmo {
class B_65x39_Caseless;
class B_762x51_Ball;
class RH_9x19_B_M822: BulletBase
{
class RH_9x19_B_M822: BulletBase {
ACE_caliber=9.017;
ACE_bulletLength=15.494;
ACE_bulletMass=8.0352;
@ -21,8 +20,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={340, 370, 400};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class RH_9x19_B_HP: BulletBase
{
class RH_9x19_B_HP: BulletBase {
ACE_caliber=9.017;
ACE_bulletLength=15.494;
ACE_bulletMass=8.0352;
@ -34,8 +32,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={340, 370, 400};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class RH_9x19_B_HPSB: BulletBase
{
class RH_9x19_B_HPSB: BulletBase {
ACE_caliber=9.017;
ACE_bulletLength=15.316;
ACE_bulletMass=9.5256;
@ -47,8 +44,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={295, 310, 330};
ACE_barrelLengths[]={101.6, 127.0, 228.6};
};
class RH_556x45_B_M855A1: B_556x45_Ball
{
class RH_556x45_B_M855A1: B_556x45_Ball {
ACE_caliber=5.69;
ACE_bulletLength=23.012;
ACE_bulletMass=4.0176;
@ -60,8 +56,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={723, 764, 796, 825, 843, 866, 878, 892, 906, 915, 922, 900};
ACE_barrelLengths[]={210.82, 238.76, 269.24, 299.72, 330.2, 360.68, 391.16, 419.1, 449.58, 480.06, 508.0, 609.6};
};
class RH_556x45_B_Mk318: B_556x45_Ball
{
class RH_556x45_B_Mk318: B_556x45_Ball {
ACE_caliber=5.69;
ACE_bulletLength=23.012;
ACE_bulletMass=4.0176;
@ -73,8 +68,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={780, 886, 950};
ACE_barrelLengths[]={254.0, 393.7, 508.0};
};
class RH_556x45_B_Mk262: B_556x45_Ball
{
class RH_556x45_B_Mk262: B_556x45_Ball {
ACE_caliber=5.69;
ACE_bulletLength=23.012;
ACE_bulletMass=4.9896;
@ -86,8 +80,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={624, 816, 832, 838};
ACE_barrelLengths[]={190.5, 368.3, 457.2, 508.0};
};
class RH_68x43_B_FMJ: B_65x39_Caseless
{
class RH_68x43_B_FMJ: B_65x39_Caseless {
ACE_caliber=7.036;
ACE_bulletLength=24.359;
ACE_bulletMass=7.452;
@ -99,8 +92,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={713, 785, 810, 850};
ACE_barrelLengths[]={304.8, 406.4, 508.0, 609.6};
};
class RH_68x43_B_Match: B_65x39_Caseless
{
class RH_68x43_B_Match: B_65x39_Caseless {
ACE_caliber=7.036;
ACE_bulletLength=31.75;
ACE_bulletMass=8.748;
@ -112,8 +104,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={700, 732, 750, 780};
ACE_barrelLengths[]={304.8, 406.4, 508.0, 609.6};
};
class RH_762x35_B_FMJ: B_65x39_Caseless
{
class RH_762x35_B_FMJ: B_65x39_Caseless {
ACE_caliber=7.823;
ACE_bulletLength=28.397;
ACE_bulletMass=9.5256;
@ -125,8 +116,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={559, 609, 625};
ACE_barrelLengths[]={152.4, 406.4, 508.0};
};
class RH_762x35_B_Match: B_65x39_Caseless
{
class RH_762x35_B_Match: B_65x39_Caseless {
ACE_caliber=7.823;
ACE_bulletLength=29.286;
ACE_bulletMass=8.1;
@ -138,8 +128,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={572, 676, 700};
ACE_barrelLengths[]={152.4, 406.4, 508.0};
};
class RH_762x35_B_MSB: B_65x39_Caseless
{
class RH_762x35_B_MSB: B_65x39_Caseless {
ACE_caliber=7.823;
ACE_bulletLength=37.821;
ACE_bulletMass=14.256;
@ -151,8 +140,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={300, 320, 340};
ACE_barrelLengths[]={228.6, 406.4, 508.0};
};
class RH_762x51_B_M80A1: B_762x51_Ball
{
class RH_762x51_B_M80A1: B_762x51_Ball {
ACE_caliber=7.823;
ACE_bulletLength=28.956;
ACE_bulletMass=9.4608;
@ -164,8 +152,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={700, 800, 820, 833, 845};
ACE_barrelLengths[]={254.0, 406.4, 508.0, 609.6, 660.4};
};
class RH_762x51_B_Mk316LR: B_762x51_Ball
{
class RH_762x51_B_Mk316LR: B_762x51_Ball {
ACE_caliber=7.823;
ACE_bulletLength=31.496;
ACE_bulletMass=11.34;
@ -177,8 +164,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={775, 790, 805, 810};
ACE_barrelLengths[]={406.4, 508.0, 609.6, 660.4};
};
class RH_762x51_B_Mk319: B_762x51_Ball
{
class RH_762x51_B_Mk319: B_762x51_Ball {
ACE_caliber=7.823;
ACE_bulletLength=31.496;
ACE_bulletMass=8.424;
@ -190,8 +176,7 @@ class CfgAmmo {
ACE_muzzleVelocities[]={838, 892, 910};
ACE_barrelLengths[]={330.2, 406.4, 508.0};
};
class RH_762x51_B_LFMJSB: B_762x51_Ball
{
class RH_762x51_B_LFMJSB: B_762x51_Ball {
ACE_caliber=7.823;
ACE_bulletLength=34.036;
ACE_bulletMass=12.96;

View File

@ -1,130 +1,103 @@
class CfgWeapons
{
class CfgWeapons {
class Rifle_Base_F;
class RH_ar10: Rifle_Base_F
{
class RH_ar10: Rifle_Base_F {
ACE_barrelTwist=285.75;
ACE_barrelLength=528.32;
};
class RH_m110: Rifle_Base_F
{
class RH_m110: Rifle_Base_F {
ACE_barrelTwist=254.0;
ACE_barrelLength=508.0;
};
class RH_Mk11: RH_m110
{
class RH_Mk11: RH_m110 {
ACE_barrelTwist=285.75;
ACE_barrelLength=609.6;
};
class RH_SR25EC: RH_m110
{
class RH_SR25EC: RH_m110 {
ACE_barrelTwist=285.75;
ACE_barrelLength=508.0;
};
class RH_m4: Rifle_Base_F
{
class RH_m4: Rifle_Base_F {
ACE_barrelTwist=177.8;
ACE_barrelLength=368.3;
};
class RH_M4_ris: RH_m4
{
class RH_M4_ris: RH_m4 {
ACE_barrelTwist=177.8;
ACE_barrelLength=368.3;
};
class RH_M4A1_ris: RH_M4_ris
{
class RH_M4A1_ris: RH_M4_ris {
ACE_barrelTwist=177.8;
ACE_barrelLength=368.3;
};
class RH_M4m: RH_M4A1_ris
{
class RH_M4m: RH_M4A1_ris {
ACE_barrelTwist=177.8;
ACE_barrelLength=266.7;
};
class RH_M4sbr: RH_M4A1_ris
{
class RH_M4sbr: RH_M4A1_ris {
ACE_barrelTwist=177.8;
ACE_barrelLength=266.7;
};
class RH_hb: Rifle_Base_F
{
class RH_hb: Rifle_Base_F {
ACE_barrelTwist=203.2;
ACE_barrelLength=152.4;
};
class RH_hb_b: RH_hb
{
class RH_hb_b: RH_hb {
ACE_barrelTwist=203.2;
ACE_barrelLength=152.4;
};
class RH_sbr9: Rifle_Base_F
{
class RH_sbr9: Rifle_Base_F {
ACE_barrelTwist=246.38;
ACE_barrelLength=228.6;
};
class RH_M4A6: RH_M4A1_ris
{
class RH_M4A6: RH_M4A1_ris {
ACE_barrelTwist=254.0;
ACE_barrelLength=368.3;
};
class RH_M16a1: RH_m4
{
class RH_M16a1: RH_m4 {
ACE_barrelTwist=355.6;
ACE_barrelLength=508.0;
};
class RH_M16A2: RH_m4
{
class RH_M16A2: RH_m4 {
ACE_barrelTwist=177.8;
ACE_barrelLength=508.0;
};
class RH_M16A4 : RH_M4_ris
{
class RH_M16A4: RH_M4_ris {
ACE_barrelTwist=177.8;
ACE_barrelLength=508.0;
};
class RH_M16A3: RH_M16A4
{
class RH_M16A3: RH_M16A4 {
ACE_barrelTwist=177.8;
ACE_barrelLength=508.0;
};
class RH_M16A4_m: RH_M16A4
{
class RH_M16A4_m: RH_M16A4 {
ACE_barrelTwist=177.8;
ACE_barrelLength=508.0;
};
class RH_M16A6: RH_M16A4
{
class RH_M16A6: RH_M16A4 {
ACE_barrelTwist=177.8;
ACE_barrelLength=508.0;
};
class RH_Mk12mod1: RH_M16A4
{
class RH_Mk12mod1: RH_M16A4 {
ACE_barrelTwist=177.8;
ACE_barrelLength=457.2;
};
class RH_SAMR: RH_Mk12mod1
{
class RH_SAMR: RH_Mk12mod1 {
ACE_barrelTwist=195.58;
ACE_barrelLength=508.0;
};
class RH_Hk416: RH_M4A1_ris
{
class RH_Hk416: RH_M4A1_ris {
ACE_barrelTwist=177.8;
ACE_barrelLength=368.3;
};
class RH_Hk416s: RH_M4sbr
{
class RH_Hk416s: RH_M4sbr {
ACE_barrelTwist=177.8;
ACE_barrelLength=264.16;
};
class RH_Hk416c: RH_M4sbr
{
class RH_Hk416c: RH_M4sbr {
ACE_barrelTwist=177.8;
ACE_barrelLength=228.6;
};
class RH_M27IAR: RH_Mk12mod1
{
class RH_M27IAR: RH_Mk12mod1 {
ACE_barrelTwist=177.8;
ACE_barrelLength=419.1;
};
};
};

View File

@ -1,15 +1,13 @@
class BulletBase;
class RH_B_6x35: BulletBase
{
ACE_caliber=5.69;
ACE_bulletLength=11.303;
ACE_bulletMass=4.212;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.26};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={730, 750, 760};
ACE_barrelLengths[]={203.2, 254.0, 304.8};
};
class RH_B_6x35: BulletBase {
ACE_caliber=5.69;
ACE_bulletLength=11.303;
ACE_bulletMass=4.212;
ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
ACE_ballisticCoefficients[]={0.26};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={730, 750, 760};
ACE_barrelLengths[]={203.2, 254.0, 304.8};
};

View File

@ -1,9 +1,6 @@
class CfgWeapons
{
class CfgWeapons {
class Rifle_Base_F;
class RH_PDW: Rifle_Base_F
{
class RH_PDW: Rifle_Base_F {
ACE_barrelTwist=177.8;
ACE_barrelLength=254.0;
};

View File

@ -11,7 +11,7 @@ class cfgMagazines {
class rhs_mag_127x108mm_150: rhs_mag_127x108mm_50 {
ace_isbelt = 0;
};
class rhs_mag_127x108mm_1470 : rhs_mag_127x108mm_50 {
class rhs_mag_127x108mm_1470: rhs_mag_127x108mm_50 {
ace_isbelt = 0;
};
class RHS_mag_VOG30_30: VehicleMagazine {

View File

@ -24,8 +24,7 @@ class CfgVehicles {
class Wheeled_APC_F: Car_F {
class NewTurret;
class Turrets {
class MainTurret: NewTurret
{
class MainTurret: NewTurret {
class ViewOptics;
};
};

View File

@ -58,7 +58,7 @@ class CfgWeapons {
ACE_RailHeightAboveBore = 4.3348;
};
class rhs_weap_rpk_base;
class rhs_weap_rpk74_base : rhs_weap_rpk_base {
class rhs_weap_rpk74_base: rhs_weap_rpk_base {
ACE_barrelLength = 590.00;
ACE_barrelTwist = 195.072;
};

View File

@ -107,11 +107,11 @@ class CfgWeapons {
ACE_barrelLength = 610.0;
};
class rhs_weap_Izh18 : Rifle_Base_F {
class rhs_weap_Izh18: Rifle_Base_F {
ace_overheating_jamTypesAllowed = ["Fire","Dud"];
};
class rhs_weap_m79 : Rifle_Base_F {
class rhs_weap_m79: Rifle_Base_F {
ace_overheating_jamTypesAllowed = ["Fire","Dud"];
};

View File

@ -273,7 +273,7 @@ class CfgVehicles {
class Wheeled_APC_F;
class APC_Tracked_03_base_F;
class RHS_M2A2_Base : APC_Tracked_03_base_F {
class RHS_M2A2_Base: APC_Tracked_03_base_F {
EGVAR(refuel,fuelCapacity) = 746;
EGVAR(vehicle_damage,canHaveFireRing) = 1;
EGVAR(vehicle_damage,hullDetonationProb) = 0.2;
@ -284,7 +284,7 @@ class CfgVehicles {
EGVAR(vehicle_damage,engineFireProb) = 0.8;
EGVAR(vehicle_damage,detonationDuringFireProb) = 0.5;
};
class rhsusf_M1117_base : Wheeled_APC_F {
class rhsusf_M1117_base: Wheeled_APC_F {
EGVAR(vehicle_damage,hullDetonationProb) = 0.2;
EGVAR(vehicle_damage,turretDetonationProb) = 0.2;
EGVAR(vehicle_damage,engineDetonationProb) = 0;
@ -302,7 +302,7 @@ class CfgVehicles {
EGVAR(vehicle_damage,engineFireProb) = 0.7;
EGVAR(vehicle_damage,detonationDuringFireProb) = 0.5;
};
class rhsusf_m1a1tank_base : MBT_01_base_F {
class rhsusf_m1a1tank_base: MBT_01_base_F {
EGVAR(refuel,fuelCapacity) = 1909;
EGVAR(vehicle_damage,hullDetonationProb) = 0;
EGVAR(vehicle_damage,turretDetonationProb) = 0;

View File

@ -157,7 +157,7 @@ class CfgWeapons {
ACE_twistDirection = 0;
ACE_barrelLength = 508.0;
};
class rhs_weap_m32_Base_F : Rifle_Base_F {
class rhs_weap_m32_Base_F: Rifle_Base_F {
ace_overheating_jamTypesAllowed = ["Fire","Dud"];
};
class SMG_02_base_F;

View File

@ -3,12 +3,12 @@ class CfgWeapons {
class ItemCore;
class InventoryOpticsItem_Base_F;
class iansky_nfbeast : ItemCore {
class iansky_nfbeast: ItemCore {
ACE_ScopeAdjust_Vertical[] = { -0.9, 34 };
ACE_ScopeAdjust_Horizontal[] = { -11, 11 };
ACE_ScopeAdjust_VerticalIncrement = 0.2;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo : InventoryOpticsItem_Base_F {
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class NF25_MILDOT {
discreteDistance[] = { 100 };

View File

@ -16,7 +16,7 @@ class vn_wheeled_m151_base: vn_wheeled_car_base {
};
// ZIL-157
class vn_wheeled_z157_base : vn_wheeled_truck_base {
class vn_wheeled_z157_base: vn_wheeled_truck_base {
EGVAR(refuel,fuelCapacity) = 150;
};
class vn_wheeled_z157_fuel_base: vn_wheeled_z157_base {

View File

@ -88,14 +88,14 @@ class CfgAmmo {
class B_338_Ball: BulletBase {model = PATHTOF(ace_TracerRed2.p3d);}; //Replaces \A3\Weapons_f\Data\bullettracer\tracer_red
class B_338_NM_Ball: BulletBase {model = PATHTOF(ace_TracerRed2.p3d);}; //Replaces \A3\Weapons_f\Data\bullettracer\tracer_red
class ACE_338_NM_Ball_green : B_338_NM_Ball {model = PATHTOF(ace_TracerGreen2.p3d);};
class ACE_338_NM_Ball_yellow : B_338_NM_Ball {model = PATHTOF(ace_TracerYellow2.p3d);};
class ACE_338_NM_Ball_green: B_338_NM_Ball {model = PATHTOF(ace_TracerGreen2.p3d);};
class ACE_338_NM_Ball_yellow: B_338_NM_Ball {model = PATHTOF(ace_TracerYellow2.p3d);};
class B_127x54_Ball: BulletBase {model = PATHTOF(ace_TracerGreen2.p3d);}; //Replaces \A3\Weapons_f\Data\bullettracer\tracer_green
class B_93x64_Ball: BulletBase {model = PATHTOF(ace_TracerGreen2.p3d);}; //Replaces \A3\Weapons_f\Data\bullettracer\tracer_green
class ACE_93x64_Ball_tracer_red : B_93x64_Ball {model = PATHTOF(ace_TracerRed2.p3d);};
class ACE_93x64_Ball_tracer_yellow : B_93x64_Ball {model = PATHTOF(ace_TracerYellow2.p3d);};
class ACE_93x64_Ball_tracer_red: B_93x64_Ball {model = PATHTOF(ace_TracerRed2.p3d);};
class ACE_93x64_Ball_tracer_yellow: B_93x64_Ball {model = PATHTOF(ace_TracerYellow2.p3d);};
//Autocannon
class B_19mm_HE: BulletBase {model = PATHTOF(ace_TracerWhite2.p3d);}; //Replaces \A3\Weapons_f\Data\bullettracer\tracer_white

View File

@ -5,34 +5,34 @@ class CfgMagazines {
// 5.56mm
class 150Rnd_556x45_Drum_Mag_F;
class ACE_150Rnd_556x45_Drum_green : 150Rnd_556x45_Drum_Mag_F {
class ACE_150Rnd_556x45_Drum_green: 150Rnd_556x45_Drum_Mag_F {
ammo = "B_556x45_Ball_tracer_green";
STRINGS(150Rnd_556x45_Drum_green);
};
class ACE_150Rnd_556x45_Drum_yellow : 150Rnd_556x45_Drum_Mag_F {
class ACE_150Rnd_556x45_Drum_yellow: 150Rnd_556x45_Drum_Mag_F {
ammo = "B_556x45_Ball_tracer_yellow";
STRINGS(150Rnd_556x45_Drum_yellow);
};
class 150Rnd_556x45_Drum_Mag_tracer_F;
class ACE_150Rnd_556x45_Drum_tracer_green : 150Rnd_556x45_Drum_Mag_tracer_F {
class ACE_150Rnd_556x45_Drum_tracer_green: 150Rnd_556x45_Drum_Mag_tracer_F {
ammo = "B_556x45_Ball_tracer_green";
STRINGS(150Rnd_556x45_Drum_tracer_green);
descriptionShort = CSTRING(150Rnd_556x45_Drum_tracer_green_description);
};
class ACE_150Rnd_556x45_Drum_tracer_yellow : 150Rnd_556x45_Drum_Mag_tracer_F {
class ACE_150Rnd_556x45_Drum_tracer_yellow: 150Rnd_556x45_Drum_Mag_tracer_F {
ammo = "B_556x45_Ball_tracer_yellow";
STRINGS(150Rnd_556x45_Drum_tracer_yellow);
descriptionShort = CSTRING(150Rnd_556x45_Drum_tracer_green_description);
};
class 200Rnd_556x45_Box_F;
class ACE_200Rnd_556x45_Box_green : 200Rnd_556x45_Box_F {
class ACE_200Rnd_556x45_Box_green: 200Rnd_556x45_Box_F {
ammo = "B_556x45_Ball_tracer_green";
STRINGS(200Rnd_556x45_Box_green);
};
class 200Rnd_556x45_Box_tracer_F;
class ACE_200Rnd_556x45_Box_tracer_green : 200Rnd_556x45_Box_tracer_F {
class ACE_200Rnd_556x45_Box_tracer_green: 200Rnd_556x45_Box_tracer_F {
ammo = "B_556x45_Ball_tracer_green";
STRINGS(200Rnd_556x45_Box_tracer_green);
descriptionShort = CSTRING(200Rnd_556x45_Box_tracer_green_description);
@ -40,44 +40,44 @@ class CfgMagazines {
// 5.8mm
class 30Rnd_580x42_Mag_F;
class ACE_30Rnd_580x42_Mag_red : 30Rnd_580x42_Mag_F {
class ACE_30Rnd_580x42_Mag_red: 30Rnd_580x42_Mag_F {
ammo = "ACE_580x42_Ball_tracer_red";
STRINGS(30Rnd_580x42_Mag_red);
};
class ACE_30Rnd_580x42_Mag_yellow : 30Rnd_580x42_Mag_F {
class ACE_30Rnd_580x42_Mag_yellow: 30Rnd_580x42_Mag_F {
ammo = "ACE_580x42_Ball_tracer_yellow";
STRINGS(30Rnd_580x42_Mag_yellow);
};
class 30Rnd_580x42_Mag_tracer_F;
class ACE_30Rnd_580x42_Mag_tracer_red : 30Rnd_580x42_Mag_tracer_F {
class ACE_30Rnd_580x42_Mag_tracer_red: 30Rnd_580x42_Mag_tracer_F {
ammo = "ACE_580x42_Ball_tracer_red";
STRINGS(30Rnd_580x42_Mag_tracer_red);
descriptionShort = CSTRING(30Rnd_580x42_Mag_tracer_red_description);
};
class ACE_30Rnd_580x42_Mag_tracer_yellow : 30Rnd_580x42_Mag_tracer_F {
class ACE_30Rnd_580x42_Mag_tracer_yellow: 30Rnd_580x42_Mag_tracer_F {
ammo = "ACE_580x42_Ball_tracer_yellow";
STRINGS(30Rnd_580x42_Mag_tracer_yellow);
descriptionShort = CSTRING(30Rnd_580x42_Mag_tracer_yellow_description);
};
class 100Rnd_580x42_Mag_F;
class ACE_100Rnd_580x42_Drum_red : 100Rnd_580x42_Mag_F {
class ACE_100Rnd_580x42_Drum_red: 100Rnd_580x42_Mag_F {
ammo = "ACE_580x42_Ball_tracer_red";
STRINGS(100Rnd_580x42_Drum_red);
};
class ACE_100Rnd_580x42_Drum_yellow : 100Rnd_580x42_Mag_F {
class ACE_100Rnd_580x42_Drum_yellow: 100Rnd_580x42_Mag_F {
ammo = "ACE_580x42_Ball_tracer_yellow";
STRINGS(100Rnd_580x42_Drum_yellow);
};
class 100Rnd_580x42_Mag_tracer_F;
class ACE_100Rnd_580x42_Drum_tracer_red : 100Rnd_580x42_Mag_tracer_F {
class ACE_100Rnd_580x42_Drum_tracer_red: 100Rnd_580x42_Mag_tracer_F {
ammo = "ACE_580x42_Ball_tracer_red";
STRINGS(100Rnd_580x42_Drum_tracer_red);
descriptionShort = CSTRING(100Rnd_580x42_Drum_tracer_red_description);
};
class ACE_100Rnd_580x42_Drum_tracer_yellow : 100Rnd_580x42_Mag_tracer_F {
class ACE_100Rnd_580x42_Drum_tracer_yellow: 100Rnd_580x42_Mag_tracer_F {
ammo = "ACE_580x42_Ball_tracer_yellow";
STRINGS(100Rnd_580x42_Drum_tracer_yellow);
descriptionShort = CSTRING(100Rnd_580x42_Drum_tracer_yellow_description);
@ -85,25 +85,25 @@ class CfgMagazines {
// 6.5mm Caseless MX
class 30Rnd_65x39_caseless_mag;
class ACE_30Rnd_65x39_mx_green : 30Rnd_65x39_caseless_mag {
class ACE_30Rnd_65x39_mx_green: 30Rnd_65x39_caseless_mag {
ammo = "B_65x39_Caseless_green";
STRINGS(30Rnd_65x39_mx_green);
descriptionShort = CSTRING(30Rnd_65x39_mx_green_description);
};
class ACE_30Rnd_65x39_mx_yellow : 30Rnd_65x39_caseless_mag {
class ACE_30Rnd_65x39_mx_yellow: 30Rnd_65x39_caseless_mag {
ammo = "B_65x39_Caseless_yellow";
STRINGS(30Rnd_65x39_mx_yellow);
descriptionShort = CSTRING(30Rnd_65x39_mx_yellow_description);
};
class 30Rnd_65x39_caseless_mag_tracer;
class ACE_30Rnd_65x39_mx_tracer_green : 30Rnd_65x39_caseless_mag_tracer {
class ACE_30Rnd_65x39_mx_tracer_green: 30Rnd_65x39_caseless_mag_tracer {
ammo = "B_65x39_Caseless_green";
picture = "a3\weapons_f\Data\UI\m_30stanag_caseless_green_CA.paa";
STRINGS(30Rnd_65x39_mx_tracer_green);
descriptionShort = CSTRING(30Rnd_65x39_mx_tracer_green_description);
};
class ACE_30Rnd_65x39_mx_tracer_yellow : 30Rnd_65x39_caseless_mag_tracer {
class ACE_30Rnd_65x39_mx_tracer_yellow: 30Rnd_65x39_caseless_mag_tracer {
ammo = "B_65x39_Caseless_yellow";
picture = "a3\weapons_f\Data\UI\m_30stanag_caseless_yellow_CA.paa";
STRINGS(30Rnd_65x39_mx_tracer_yellow);
@ -111,23 +111,23 @@ class CfgMagazines {
};
class 100Rnd_65x39_caseless_mag;
class ACE_100Rnd_65x39_mx_green : 100Rnd_65x39_caseless_mag {
class ACE_100Rnd_65x39_mx_green: 100Rnd_65x39_caseless_mag {
ammo = "B_65x39_Caseless_green";
STRINGS(100Rnd_65x39_mx_green);
};
class ACE_100Rnd_65x39_mx_yellow : 100Rnd_65x39_caseless_mag {
class ACE_100Rnd_65x39_mx_yellow: 100Rnd_65x39_caseless_mag {
ammo = "B_65x39_Caseless_yellow";
STRINGS(100Rnd_65x39_mx_yellow);
};
class 100Rnd_65x39_caseless_mag_tracer;
class ACE_100Rnd_65x39_mx_tracer_green : 100Rnd_65x39_caseless_mag_tracer {
class ACE_100Rnd_65x39_mx_tracer_green: 100Rnd_65x39_caseless_mag_tracer {
ammo = "B_65x39_Caseless_green";
picture = "a3\weapons_f\Data\UI\M_100Rnd_65x39_green_CA.paa";
STRINGS(100Rnd_65x39_mx_tracer_green);
descriptionShort = CSTRING(100Rnd_65x39_mx_tracer_green_description);
};
class ACE_100Rnd_65x39_mx_tracer_yellow : 100Rnd_65x39_caseless_mag_tracer {
class ACE_100Rnd_65x39_mx_tracer_yellow: 100Rnd_65x39_caseless_mag_tracer {
ammo = "B_65x39_Caseless_yellow";
picture = "a3\weapons_f\Data\UI\M_100Rnd_65x39_yellow_CA.paa";
STRINGS(100Rnd_65x39_mx_tracer_yellow);
@ -136,23 +136,23 @@ class CfgMagazines {
// 6.5mm Caseless Katiba
class 30Rnd_65x39_caseless_green;
class ACE_30Rnd_65x39_katiba_red : 30Rnd_65x39_caseless_green {
class ACE_30Rnd_65x39_katiba_red: 30Rnd_65x39_caseless_green {
ammo = "B_65x39_Caseless";
STRINGS(30Rnd_65x39_katiba_red);
};
class ACE_30Rnd_65x39_katiba_yellow : 30Rnd_65x39_caseless_green {
class ACE_30Rnd_65x39_katiba_yellow: 30Rnd_65x39_caseless_green {
ammo = "B_65x39_Caseless_yellow";
STRINGS(30Rnd_65x39_katiba_yellow);
};
class 30Rnd_65x39_caseless_green_mag_Tracer;
class ACE_30Rnd_65x39_katiba_tracer_red : 30Rnd_65x39_caseless_green_mag_Tracer {
class ACE_30Rnd_65x39_katiba_tracer_red: 30Rnd_65x39_caseless_green_mag_Tracer {
ammo = "B_65x39_Caseless";
picture = "a3\weapons_f\Data\UI\m_20stanag_red_CA.paa";
STRINGS(30Rnd_65x39_katiba_tracer_red);
descriptionShort = CSTRING(30Rnd_65x39_katiba_tracer_red_description);
};
class ACE_30Rnd_65x39_katiba_tracer_yellow : 30Rnd_65x39_caseless_green_mag_Tracer {
class ACE_30Rnd_65x39_katiba_tracer_yellow: 30Rnd_65x39_caseless_green_mag_Tracer {
ammo = "B_65x39_Caseless_yellow";
picture = "a3\weapons_f\Data\UI\m_20stanag_yellow_CA.paa";
STRINGS(30Rnd_65x39_katiba_tracer_yellow);
@ -161,25 +161,25 @@ class CfgMagazines {
// 6.5mm Cased
class 200Rnd_65x39_cased_Box;
class ACE_200Rnd_65x39_cased_Box_green : 200Rnd_65x39_cased_Box {
class ACE_200Rnd_65x39_cased_Box_green: 200Rnd_65x39_cased_Box {
ammo = "B_65x39_Case_green";
STRINGS(200Rnd_65x39_cased_Box_green);
descriptionShort = CSTRING(200Rnd_65x39_cased_Box_green_description);
};
class ACE_200Rnd_65x39_cased_Box_red : 200Rnd_65x39_cased_Box {
class ACE_200Rnd_65x39_cased_Box_red: 200Rnd_65x39_cased_Box {
ammo = "B_65x39_Case";
STRINGS(200Rnd_65x39_cased_Box_red);
descriptionShort = CSTRING(200Rnd_65x39_cased_Box_red_description);
};
class 200Rnd_65x39_cased_Box_tracer;
class ACE_200Rnd_65x39_cased_Box_tracer_green : 200Rnd_65x39_cased_Box_tracer {
class ACE_200Rnd_65x39_cased_Box_tracer_green: 200Rnd_65x39_cased_Box_tracer {
ammo = "B_65x39_Case_green";
picture = "a3\weapons_f\Data\UI\M_200Rnd_65x39_green_CA.paa";
STRINGS(200Rnd_65x39_cased_Box_tracer_green);
descriptionShort = CSTRING(200Rnd_65x39_cased_Box_tracer_green_description);
};
class ACE_200Rnd_65x39_cased_Box_tracer_red : 200Rnd_65x39_cased_Box_tracer {
class ACE_200Rnd_65x39_cased_Box_tracer_red: 200Rnd_65x39_cased_Box_tracer {
ammo = "B_65x39_Case";
picture = "a3\weapons_f\Data\UI\M_200Rnd_65x39_red_CA.paa";
STRINGS(200Rnd_65x39_cased_Box_tracer_red);
@ -188,12 +188,12 @@ class CfgMagazines {
// 7.62x51 (NATO)
class ACE_20Rnd_762x51_Mag_tracer;
class ACE_20Rnd_762x51_Mag_tracer_green : ACE_20Rnd_762x51_Mag_tracer {
class ACE_20Rnd_762x51_Mag_tracer_green: ACE_20Rnd_762x51_Mag_tracer {
ammo = "B_762x51_tracer_green";
STRINGS(20Rnd_762x51_Mag_tracer_green);
descriptionShort = CSTRING(20Rnd_762x51_Mag_tracer_green_description);
};
class ACE_20Rnd_762x51_Mag_tracer_yellow : ACE_20Rnd_762x51_Mag_tracer {
class ACE_20Rnd_762x51_Mag_tracer_yellow: ACE_20Rnd_762x51_Mag_tracer {
ammo = "B_762x51_tracer_yellow";
STRINGS(20Rnd_762x51_Mag_tracer_yellow);
descriptionShort = CSTRING(20Rnd_762x51_Mag_tracer_green_description);
@ -201,22 +201,22 @@ class CfgMagazines {
// 7.62x54 (Russian)
class 150Rnd_762x54_Box;
class ACE_150Rnd_762x54_Box_red : 150Rnd_762x54_Box {
class ACE_150Rnd_762x54_Box_red: 150Rnd_762x54_Box {
ammo = "B_762x54_tracer_red";
STRINGS(150Rnd_762x54_Box_red);
};
class ACE_150Rnd_762x54_Box_yellow : 150Rnd_762x54_Box {
class ACE_150Rnd_762x54_Box_yellow: 150Rnd_762x54_Box {
ammo = "B_762x54_tracer_yellow";
STRINGS(150Rnd_762x54_Box_yellow);
};
class 150Rnd_762x54_Box_tracer;
class ACE_150Rnd_762x54_Box_tracer_red : 150Rnd_762x54_Box_tracer {
class ACE_150Rnd_762x54_Box_tracer_red: 150Rnd_762x54_Box_tracer {
ammo = "B_762x54_tracer_red";
STRINGS(150Rnd_762x54_Box_tracer_red);
descriptionShort = CSTRING(150Rnd_762x54_Box_tracer_red_description);
};
class ACE_150Rnd_762x54_Box_tracer_yellow : 150Rnd_762x54_Box_tracer {
class ACE_150Rnd_762x54_Box_tracer_yellow: 150Rnd_762x54_Box_tracer {
ammo = "B_762x54_tracer_yellow";
STRINGS(150Rnd_762x54_Box_tracer_yellow);
descriptionShort = CSTRING(150Rnd_762x54_Box_tracer_yellow_description);
@ -224,22 +224,22 @@ class CfgMagazines {
// 9.3x64
class 150Rnd_93x64_Mag;
class ACE_150Rnd_93x64_Mag_red : 150Rnd_93x64_Mag {
class ACE_150Rnd_93x64_Mag_red: 150Rnd_93x64_Mag {
ammo = "ACE_93x64_Ball_tracer_red";
STRINGS(150Rnd_93x64_Mag_red);
};
class ACE_150Rnd_93x64_Mag_yellow : 150Rnd_93x64_Mag {
class ACE_150Rnd_93x64_Mag_yellow: 150Rnd_93x64_Mag {
ammo = "ACE_93x64_Ball_tracer_yellow";
STRINGS(150Rnd_93x64_Mag_yellow);
};
// .338 NM
class 130Rnd_338_Mag;
class ACE_130Rnd_338_Mag_green : 130Rnd_338_Mag {
class ACE_130Rnd_338_Mag_green: 130Rnd_338_Mag {
ammo = "ACE_338_NM_Ball_green";
STRINGS(130Rnd_338_Mag_green);
};
class ACE_130Rnd_338_Mag_yellow : 130Rnd_338_Mag {
class ACE_130Rnd_338_Mag_yellow: 130Rnd_338_Mag {
ammo = "ACE_338_NM_Ball_yellow";
STRINGS(130Rnd_338_Mag_yellow);
};

View File

@ -4,7 +4,7 @@ class CfgSkeletons {
skeletonInherit = "";
skeletonBones[] = {};
};
class ACE_Tracer_Skeleton : Default {};
class ACE_Tracer_Skeleton: Default {};
class ACE_Tracer_Skeleton_Default: ACE_Tracer_Skeleton { // BWC
skeletonInherit = "ACE_Tracer_Skeleton";
skeletonBones[]= {

View File

@ -16,6 +16,10 @@ def check_config_style(filepath):
def popClosing():
closing << closingStack.pop()
reIsClass = re.compile(r'^\s*class(.*)')
reBadColon = re.compile(r'\s*class (.*) :')
reClassSingleLine = re.compile(r'\s*class (.*)[{;]')
with open(filepath, 'r', encoding='utf-8', errors='ignore') as file:
content = file.read()
@ -118,6 +122,17 @@ def check_config_style(filepath):
if brackets_list.count('{') != brackets_list.count('}'):
print("ERROR: A possible missing curly brace {{ or }} in file {0} {{ = {1} }} = {2}".format(filepath,brackets_list.count('{'),brackets_list.count('}')))
bad_count_file += 1
file.seek(0)
for lineNumber, line in enumerate(file.readlines()):
if reIsClass.match(line):
if reBadColon.match(line):
print(f"WARNING: bad class colon {filepath} Line number: {lineNumber}")
# bad_count_file += 1
if not reClassSingleLine.match(line):
print(f"WARNING: bad class braces placement {filepath} Line number: {lineNumber+1}")
# bad_count_file += 1
return bad_count_file
def main():