fix(braf_air2) Naming clonvention for all classes and paths to use lowercase letters.
This commit is contained in:
@@ -6,7 +6,7 @@ class CfgMagazines
|
||||
{
|
||||
scope = 2;
|
||||
displayName = "7 Rounds PGM Hecate II";
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\UI\AMF_PERSEIS_II_MAG_ICO_CA.paa"; /// just some icon
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\ui\amf_perseis_ii_mag_ico_ca.paa"; /// just some icon
|
||||
ammo = "B_127x99_Ball";
|
||||
count = 7; /// 30 rounds is enough
|
||||
initSpeed = 780; /// standard muzzle speed
|
||||
@@ -18,7 +18,7 @@ class CfgMagazines
|
||||
|
||||
class 7Rnd_Perseis_II_mag_Tracer_yellow: 7Rnd_Perseis_II_mag /// a magazine full of tracer rounds
|
||||
{
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\UI\AMF_PERSEIS_II_MAG_YELLOW_ICO_CA.paa"; /// just some icon
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\ui\amf_perseis_ii_mag_yellow_ico_ca.paa"; /// just some icon
|
||||
ammo = "B_127x99_Ball_Tracer_Yellow";
|
||||
tracersEvery = 1; /// moar tracers
|
||||
lastRoundsTracer = 7; /// tracers everywhere
|
||||
@@ -29,7 +29,7 @@ class CfgMagazines
|
||||
};
|
||||
class 7Rnd_Perseis_II_mag_Tracer_green: 7Rnd_Perseis_II_mag /// a magazine full of tracer rounds
|
||||
{
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\UI\AMF_PERSEIS_II_MAG_GREEN_ICO_CA.paa"; /// just some icon
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\ui\amf_perseis_ii_mag_green_ico_ca.paa"; /// just some icon
|
||||
ammo = "B_127x99_Ball_Tracer_Green";
|
||||
tracersEvery = 1; /// moar tracers
|
||||
lastRoundsTracer = 7; /// tracers everywhere
|
||||
@@ -40,7 +40,7 @@ class CfgMagazines
|
||||
};
|
||||
class 7Rnd_Perseis_II_mag_Tracer_red: 7Rnd_Perseis_II_mag /// a magazine full of tracer rounds
|
||||
{
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\UI\AMF_PERSEIS_II_MAG_RED_ICO_CA.paa"; /// just some icon
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\ui\amf_perseis_ii_mag_red_ico_ca.paa"; /// just some icon
|
||||
ammo = "B_127x99_Ball_Tracer_Red";
|
||||
tracersEvery = 1; /// moar tracers
|
||||
lastRoundsTracer = 7; /// tracers everywhere
|
||||
|
||||
@@ -12,7 +12,7 @@ PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\Textures\MAT1_nohq.paa";
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\textures\mat1_nohq.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
@@ -48,7 +48,7 @@ class Stage3
|
||||
};
|
||||
class Stage4
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\Textures\MAT1_as.paa";
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\textures\mat1_as.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
@@ -60,7 +60,7 @@ class Stage4
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\Textures\MAT1_smdi.paa";
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\textures\mat1_smdi.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\Textures\MAT2_nohq.paa";
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\textures\mat2_nohq.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
@@ -48,7 +48,7 @@ class Stage3
|
||||
};
|
||||
class Stage4
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\Textures\MAT2_as.paa";
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\textures\mat2_as.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
@@ -60,7 +60,7 @@ class Stage4
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\Textures\MAT2_smdi.paa";
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\textures\mat2_smdi.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
bg_fnc_playweaponsound = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\fn_playweaponsound.sqf";
|
||||
bg_fnc_onFiredAction = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\fn_onFiredAction.sqf";
|
||||
bg_wepframe_fired_eh = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\fired.sqf";
|
||||
bg_fnc_block_reloadaction = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\fn_block_reloadaction.sqf";
|
||||
bg_fnc_playweaponsound = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\fn_playweaponsound.sqf";
|
||||
bg_fnc_onFiredAction = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\fn_onfiredaction.sqf";
|
||||
bg_wepframe_fired_eh = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\fired.sqf";
|
||||
bg_fnc_block_reloadaction = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\fn_block_reloadaction.sqf";
|
||||
[] spawn
|
||||
{
|
||||
"bg_wep_playsound" addPublicVariableEventHandler {_this spawn bg_fnc_playweaponsound};
|
||||
|
||||
@@ -5,6 +5,7 @@ class CfgPatches
|
||||
{
|
||||
class AMF_PERSEIS_II_POLY
|
||||
{
|
||||
author = "BRAF TEAM";
|
||||
units[] = {};
|
||||
weapons[] =
|
||||
{
|
||||
@@ -14,13 +15,14 @@ class CfgPatches
|
||||
{
|
||||
"A3_Weapons_F",
|
||||
"cba_main",
|
||||
"cba_xeh",
|
||||
"A3_Anims_F"};
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PreInit_EventHandlers
|
||||
{
|
||||
bg_wepframework_init = "call ('\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\XEH_INIT.sqf' call SLX_XEH_COMPILE)";
|
||||
bg_wepframework_init = "call ('\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\xeh_init.sqf' call slx_xeh_compile)";
|
||||
};
|
||||
|
||||
class Extended_FiredBIS_Eventhandlers
|
||||
@@ -36,7 +38,7 @@ class CfgSounds
|
||||
class AMF_Perseis_II_BOLT_SOUND
|
||||
{
|
||||
name = "AMF_Perseis_II_BOLT_SOUND";
|
||||
Sound[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\data\sounds\AMF_Perseis_II_Rechamber.wss", 1, 1, 15};
|
||||
Sound[] = {"\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\sounds\amf_perseis_ii_rechamber.wss", 1, 1, 15};
|
||||
titles[] = {};
|
||||
};
|
||||
};
|
||||
@@ -58,17 +60,17 @@ class CfgWeapons
|
||||
|
||||
ACE_barrelTwist = 381;
|
||||
ACE_barrelLength = 700;
|
||||
author = "Armada, Krogar & AMF Team";
|
||||
author = "BRAF TEAM";
|
||||
scope = 2;
|
||||
_generalMacro = "AMF_Perseis_II_02_F";
|
||||
model = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\AMF_Perseis_II_02_F.p3d";
|
||||
model = "\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\amf_perseis_ii_02_f.p3d";
|
||||
displayName = "PGM Hecate II (Polymere)";
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\UI\AMF_PERSEIS_II_ICO.paa";
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\ui\amf_perseis_ii_ico.paa";
|
||||
|
||||
deployedPivot = "bipod"; /// what point should be used to be on surface while unfolded
|
||||
hasBipod = true; /// bipod obviously has a bipod
|
||||
//soundBipodDown[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_BLU_down", db - 3, 1, 20}; /// what sound should be played during unfolding
|
||||
//soundBipodUp[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_BLU_up", db - 3, 1, 20}; /// what sound should be played during folding
|
||||
//soundBipodDown[] = {"a3\sounds_f_mark\arsenal\sfx\bipods\bipod_blu_down", db - 3, 1, 20}; /// what sound should be played during unfolding
|
||||
//soundBipodUp[] = {"a3\sounds_f_mark\arsenal\sfx\bipods\bipod_blu_up", db - 3, 1, 20}; /// what sound should be played during folding
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
@@ -112,7 +114,7 @@ class CfgWeapons
|
||||
};
|
||||
};
|
||||
|
||||
handAnim[] = {"OFP2_ManSkeleton", "\braf\braf_weapons_anim\animations\50cal_PGM_HecateII\Hecate_II_Anim_static.rtm"};
|
||||
handAnim[] = {"OFP2_ManSkeleton", "\braf\braf_weapons_anim\animations\50cal_pgm_hecateii\hecate_ii_anim_static.rtm"};
|
||||
|
||||
opticsPPEffects[] = {};
|
||||
opticsFlare = 1;
|
||||
@@ -128,69 +130,69 @@ class CfgWeapons
|
||||
};
|
||||
distanceZoomMin = 500;
|
||||
distanceZoomMax = 500;
|
||||
bullet1[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_01", 0.891251, 1, 25};
|
||||
bullet2[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_02", 0.891251, 1, 25};
|
||||
bullet3[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_03", 0.891251, 1, 25};
|
||||
bullet4[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_04", 0.891251, 1, 25};
|
||||
bullet5[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_01", 0.794328, 1, 25};
|
||||
bullet6[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_02", 0.794328, 1, 25};
|
||||
bullet7[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_03", 0.794328, 1, 25};
|
||||
bullet8[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_04", 0.794328, 1, 25};
|
||||
bullet9[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_01", 0.707946, 1, 25};
|
||||
bullet10[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_02", 0.707946, 1, 25};
|
||||
bullet11[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_03", 0.707946, 1, 25};
|
||||
bullet12[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_04", 0.707946, 1, 25};
|
||||
bullet1[] = {"a3\sounds_f\weapons\shells\7_62\metal_762_01", 0.891251, 1, 25};
|
||||
bullet2[] = {"a3\sounds_f\weapons\shells\7_62\metal_762_02", 0.891251, 1, 25};
|
||||
bullet3[] = {"a3\sounds_f\weapons\shells\7_62\metal_762_03", 0.891251, 1, 25};
|
||||
bullet4[] = {"a3\sounds_f\weapons\shells\7_62\metal_762_04", 0.891251, 1, 25};
|
||||
bullet5[] = {"a3\sounds_f\weapons\shells\7_62\dirt_762_01", 0.794328, 1, 25};
|
||||
bullet6[] = {"a3\sounds_f\weapons\shells\7_62\dirt_762_02", 0.794328, 1, 25};
|
||||
bullet7[] = {"a3\sounds_f\weapons\shells\7_62\dirt_762_03", 0.794328, 1, 25};
|
||||
bullet8[] = {"a3\sounds_f\weapons\shells\7_62\dirt_762_04", 0.794328, 1, 25};
|
||||
bullet9[] = {"a3\sounds_f\weapons\shells\7_62\grass_762_01", 0.707946, 1, 25};
|
||||
bullet10[] = {"a3\sounds_f\weapons\shells\7_62\grass_762_02", 0.707946, 1, 25};
|
||||
bullet11[] = {"a3\sounds_f\weapons\shells\7_62\grass_762_03", 0.707946, 1, 25};
|
||||
bullet12[] = {"a3\sounds_f\weapons\shells\7_62\grass_762_04", 0.707946, 1, 25};
|
||||
soundBullet[] = {"bullet1", 0.083, "bullet2", 0.083, "bullet3", 0.083, "bullet4", 0.083, "bullet5", 0.083, "bullet6", 0.083, "bullet7", 0.083, "bullet8", 0.083, "bullet9", 0.083, "bullet10", 0.083, "bullet11", 0.083, "bullet12", 0.083};
|
||||
modes[] = {"Single", "single_close_optics1", "single_medium_optics1", "single_far_optics1"};
|
||||
drySound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\M320\M320_dry", 0.501187, 1, 20};
|
||||
reloadMagazineSound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\M320\M320_reload", 1.0, 1, 10};
|
||||
soundBipodDeploy[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_deploy", 0.707946, 1, 20};
|
||||
soundBipodFold[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_fold", 0.707946, 1, 20};
|
||||
drySound[] = {"a3\sounds_f\arsenal\weapons\longrangerifles\m320\m320_dry", 0.501187, 1, 20};
|
||||
reloadMagazineSound[] = {"a3\sounds_f\arsenal\weapons\longrangerifles\m320\m320_reload", 1.0, 1, 10};
|
||||
soundBipodDeploy[] = {"a3\sounds_f_mark\arsenal\sfx\bipods\bipod_generic_deploy", 0.707946, 1, 20};
|
||||
soundBipodFold[] = {"a3\sounds_f_mark\arsenal\sfx\bipods\bipod_generic_fold", 0.707946, 1, 20};
|
||||
|
||||
class Single : Mode_SemiAuto
|
||||
{
|
||||
sounds[] = {"StandardSound"};
|
||||
class BaseSoundModeType
|
||||
{
|
||||
closure1[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\sounds\AMF_Perseis_II.wss", 1.0, 1, 30};
|
||||
closure2[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\sounds\AMF_Perseis_II.wss", 1.0, 1, 30};
|
||||
closure1[] = {"\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\sounds\amf_perseis_ii.wss", 1.0, 1, 30};
|
||||
closure2[] = {"\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\sounds\amf_perseis_ii.wss", 1.0, 1, 30};
|
||||
soundClosure[] = {"closure1", 0.5, "closure2", 0.5};
|
||||
};
|
||||
class StandardSound : BaseSoundModeType
|
||||
{
|
||||
begin1[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\sounds\AMF_Perseis_II.wss", 3.0118723, 1, 2200};
|
||||
begin2[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\sounds\AMF_Perseis_II.wss", 3.0118723, 1, 2200};
|
||||
begin3[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\sounds\AMF_Perseis_II.wss", 3.0118723, 1, 2200};
|
||||
begin1[] = {"\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\sounds\amf_perseis_ii.wss", 3.0118723, 1, 2200};
|
||||
begin2[] = {"\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\sounds\amf_perseis_ii.wss", 3.0118723, 1, 2200};
|
||||
begin3[] = {"\braf\braf_weapons_sniper_rifles\50cal_msr_hecateii\data\sounds\amf_perseis_ii.wss", 3.0118723, 1, 2200};
|
||||
soundBegin[] = {"begin1", 0.33, "begin2", 0.33, "begin2", 0.34};
|
||||
class SoundTails
|
||||
{
|
||||
class TailInterior
|
||||
{
|
||||
sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_02_MAR10\DMR_02_tail_interior", 2.2387211, 1, 2200};
|
||||
sound[] = {"a3\sounds_f_mark\arsenal\weapons\longrangerifles\dmr_02_mar10\dmr_02_tail_interior", 2.2387211, 1, 2200};
|
||||
frequency = 1;
|
||||
volume = "interior";
|
||||
};
|
||||
class TailTrees
|
||||
{
|
||||
sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_02_MAR10\DMR_02_tail_trees", 2.2387211, 1, 2200};
|
||||
sound[] = {"a3\sounds_f_mark\arsenal\weapons\longrangerifles\dmr_02_mar10\dmr_02_tail_trees", 2.2387211, 1, 2200};
|
||||
frequency = 1;
|
||||
volume = "(1-interior/1.4)*trees";
|
||||
};
|
||||
class TailForest
|
||||
{
|
||||
sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_02_MAR10\DMR_02_tail_forest", 2.2387211, 1, 2200};
|
||||
sound[] = {"a3\sounds_f_mark\arsenal\weapons\longrangerifles\dmr_02_mar10\dmr_02_tail_forest", 2.2387211, 1, 2200};
|
||||
frequency = 1;
|
||||
volume = "(1-interior/1.4)*forest";
|
||||
};
|
||||
class TailMeadows
|
||||
{
|
||||
sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_02_MAR10\DMR_02_tail_meadows", 2.2387211, 1, 2200};
|
||||
sound[] = {"a3\sounds_f_mark\arsenal\weapons\longrangerifles\dmr_02_mar10\dmr_02_tail_meadows", 2.2387211, 1, 2200};
|
||||
frequency = 1;
|
||||
volume = "(1-interior/1.4)*(meadows/2 max sea/2)";
|
||||
};
|
||||
class TailHouses
|
||||
{
|
||||
sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_02_MAR10\DMR_02_tail_houses", 2.2387211, 1, 2200};
|
||||
sound[] = {"a3\sounds_f_mark\arsenal\weapons\longrangerifles\dmr_02_mar10\dmr_02_tail_houses", 2.2387211, 1, 2200};
|
||||
frequency = 1;
|
||||
volume = "(1-interior/1.4)*houses";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user