This commit is the equivalent of a atomic bomb

This commit is contained in:
2026-02-15 08:08:56 -03:00
commit e4ac56b038
6934 changed files with 916278 additions and 0 deletions

View File

@@ -0,0 +1,403 @@
class braf_Minimi_base_F: Rifle_Long_Base_F
{
author="NIArms Team";
_generalMacro="braf_Minimi_base_F";
scope=0;
displayName="Minimi Base";
magazines[]=
{
"200Rnd_556x45_Box_F",
"200Rnd_556x45_Box_Red_F",
"200Rnd_556x45_Box_Tracer_F",
"200Rnd_556x45_Box_Tracer_Red_F"
};
soundBipodDeploy[]=
{
"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_deploy",
0.70794576,
1,
20
};
soundBipodFold[]=
{
"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_fold",
0.70794576,
1,
20
};
soundBipodDown[]=
{
"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_down",
0.70794576,
1,
20
};
soundBipodUp[]=
{
"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_up",
0.70794576,
1,
20
};
deployedPivot="bipod";
weaponInfoType = "sp_minimi_animation";
hasBipod=1;
reloadAction="braf_GestureReload_minimi";
recoil="recoil_dmr_03";
maxZeroing=1600;
handAnim[]=
{
"OFP2_ManSkeleton",
"\A3\Weapons_F_Mark\Machineguns\MMG_01\data\Anim\mmg_01.rtm"
};
class GunParticles: GunParticles
{
class EjectEffect
{
positionName="Nabojnicestart";
directionName="Nabojniceend";
effectName="CaselessAmmoCloud";
};
class AmmoBeltEject
{
directionName="linkeject_end";
effectName="MachineGunEject2";
positionName="linkeject_start";
};
class SecondEffect
{
effectName="ShotUnderwater";
positionName="usti hlavne";
directionName="konec hlavne";
};
class RifleAmmoCloud
{
positionName="Nabojnicestart";
directionName="Nabojniceend";
effectName="CaselessAmmoCloud";
};
class SmokeEffect
{
positionName="usti hlavne";
directionName="usti hlavne";
effectName="RifleAssaultCloud";
};
};
overviewPicture="\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
cursor="mg";
class Library
{
libTextDesc="FN MINIMI Light Machine Gun";
};
class WeaponSlotsInfo: WeaponSlotsInfo
{
class MuzzleSlot: MuzzleSlot
{
linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
compatibleItems[]=
{
"muzzle_snds_M"
};
iconPosition[]={0.12,0.43099999};
iconScale=0.15000001;
};
class CowsSlot: asdg_OpticRail1913_short
{
iconPosition[]={0.5,0.36000001};
iconScale=0.15000001;
};
class PointerSlot: asdg_FrontSideRail
{
iconPosition[]={0.33000001,0.40000001};
iconScale=0.2;
};
class UnderBarrelSlot
{
};
};
distanceZoomMin=100;
distanceZoomMax=600;
changeFiremodeSound[]=
{
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Safety_02",
0.11220184,
1,
5
};
drySound[]=
{
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Dry",
0.25118864,
1,
20
};
reloadMagazineSound[]=
{
"braf\braf_weapons_machine_guns\556mm_FN_MINIMI\sound\saw_reload",
1,
1,
10
};
modes[]=
{
"manual",
"close",
"short",
"medium",
"far",
"far2"
};
bullet1[]=
{
"A3\sounds_f\weapons\shells\7_62\metal_762_01",
0.63095737,
1,
15
};
bullet2[]=
{
"A3\sounds_f\weapons\shells\7_62\metal_762_02",
0.63095737,
1,
15
};
bullet3[]=
{
"A3\sounds_f\weapons\shells\7_62\metal_762_03",
0.63095737,
1,
15
};
bullet4[]=
{
"A3\sounds_f\weapons\shells\7_62\metal_762_04",
0.63095737,
1,
15
};
bullet5[]=
{
"A3\sounds_f\weapons\shells\7_62\dirt_762_01",
0.63095737,
1,
15
};
bullet6[]=
{
"A3\sounds_f\weapons\shells\7_62\dirt_762_02",
0.63095737,
1,
15
};
bullet7[]=
{
"A3\sounds_f\weapons\shells\7_62\dirt_762_03",
0.63095737,
1,
15
};
bullet8[]=
{
"A3\sounds_f\weapons\shells\7_62\dirt_762_04",
0.63095737,
1,
15
};
bullet9[]=
{
"A3\sounds_f\weapons\shells\7_62\grass_762_01",
0.63095737,
1,
15
};
bullet10[]=
{
"A3\sounds_f\weapons\shells\7_62\grass_762_02",
0.63095737,
1,
15
};
bullet11[]=
{
"A3\sounds_f\weapons\shells\7_62\grass_762_03",
0.63095737,
1,
15
};
bullet12[]=
{
"A3\sounds_f\weapons\shells\7_62\grass_762_04",
0.63095737,
1,
15
};
soundBullet[]=
{
"bullet1",
0.082999997,
"bullet2",
0.082999997,
"bullet3",
0.082999997,
"bullet4",
0.082999997,
"bullet5",
0.082999997,
"bullet6",
0.082999997,
"bullet7",
0.082999997,
"bullet8",
0.082999997,
"bullet9",
0.082999997,
"bullet10",
0.082999997,
"bullet11",
0.082999997,
"bullet12",
0.082999997
};
class manual: Mode_FullAuto
{
class BaseSoundModeType;
class StandardSound: BaseSoundModeType
{
soundSetShot[]=
{
"SPAR02_Shot_SoundSet",
"SPAR02_Tail_SoundSet",
"SPAR02_InteriorTail_SoundSet"
};
};
class SilencedSound: BaseSoundModeType
{
SoundSetShot[]=
{
"SPAR02_silencerShot_SoundSet",
"SPAR02_silencerTail_SoundSet",
"SPAR02_silencerInteriorTail_SoundSet"
};
};
reloadTime=0.075;
dispersion=0.00073000003;
soundContinuous=0;
soundBurst=0;
};
class close: manual
{
burst=5;
aiRateOfFire=0.5;
aiRateOfFireDistance=50;
minRange=0;
minRangeProbab=0.050000001;
midRange=25;
midRangeProbab=0.69999999;
maxRange=50;
maxRangeProbab=0.039999999;
showToPlayer=0;
};
class short: close
{
burst=5;
aiRateOfFire=2;
aiRateOfFireDistance=200;
minRange=50;
minRangeProbab=0.050000001;
midRange=200;
midRangeProbab=0.69999999;
maxRange=400;
maxRangeProbab=0.039999999;
};
class medium: close
{
burst=3;
aiRateOfFire=4;
aiRateOfFireDistance=600;
aiRateOfFireDispersion=2;
minRange=400;
minRangeProbab=0.050000001;
midRange=600;
midRangeProbab=0.60000002;
maxRange=800;
maxRangeProbab=0.1;
};
class far: close
{
//requiredOpticType=1;
burst=3;
aiRateOfFire=6;
aiRateOfFireDistance=1000;
aiRateOfFireDispersion=3;
minRange=800;
minRangeProbab=0.039999999;
midRange=1000;
midRangeProbab=0.5;
maxRange=1200;
maxRangeProbab=0.0099999998;
};
class far2: far
{
//requiredOpticType=2;
autoFire=0;
burst=2;
aiRateOfFire=5;
aiRateOfFireDistance=1600;
aiRateOfFireDispersion=4;
minRange=1200;
minRangeProbab=0.050000001;
midRange=1600;
midRangeProbab=0.5;
maxRange=2000;
maxRangeProbab=0.0099999998;
};
aiDispersionCoefY=20;
aiDispersionCoefX=15;
};
class braf_Minimi: braf_Minimi_base_F
{
_generalMacro="braf_Minimi";
author="NIArms Team";
scope=2;
model="\braf\braf_weapons_machine_guns\556mm_FN_MINIMI\minimi_longer.p3d";
dexterity=1.6799999;
displayName="FN Minimi 5,56mm";
picture="\braf\braf_weapons_machine_guns\556mm_FN_MINIMI\ui\minimi_ui.paa";
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
descriptionShort="FN MINIMI Light Machine Gun";
inertia=0.80000001;
aimTransitionSpeed=0.69999999;
initSpeed=940;
class WeaponSlotsInfo: WeaponSlotsInfo
{
mass=156.528;
};
ace_overheating_slowdownFactor=1;
ACE_barrelTwist=178;
ACE_Overheating_Dispersion=1;
ACE_barrelLength=465;
ACE_twistDirection=1;
ACE_overheating_allowSwapBarrel=1;
ACE_overheating_mrbs=23000;
ACE_clearJamAction="braf_GestureClear_barrel_FAL";
class ItemInfo
{
priority=1;
};
};
class Braf_minimi_Scope: braf_Minimi
{
author="BRAF Team";
_generalMacro="Braf_Fal_hiaf_Scope";
class LinkedItems
{
class LinkedItemsOptic
{
slot="CowsSlot";
item="braf_Dot";
};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,78 @@
ambient[]={1.000000,1.000000,1.000000,1.000000};
diffuse[]={1.000000,1.000000,1.000000,1.000000};
forcedDiffuse[]={0.000000,0.000000,0.000000,0.000000};
emmisive[]={0.000000,0.000000,0.000000,1.000000};
specular[]={0.300000,0.300000,0.300000,1.000000};
specularPower=256.000000;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\m249_NOHQ.tga";
uvSource="tex";
class uvTransform
{
aside[]={1.000000,0.000000,0.000000};
up[]={0.000000,1.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};
class Stage2
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\Metal_rough_DT.tga";
uvSource="tex";
class uvTransform
{
aside[]={0.000000,9.000000,0.000000};
up[]={4.500000,0.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0)";
uvSource="tex";
class uvTransform
{
aside[]={1.000000,0.000000,0.000000};
up[]={0.000000,1.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};
class Stage4
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\m249_AS.tga";
uvSource="tex";
class uvTransform
{
aside[]={1.000000,0.000000,0.000000};
up[]={0.000000,1.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};
class Stage5
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\m249_SMDI.tga";
uvSource="tex";
class uvTransform
{
aside[]={1.000000,0.000000,0.000000};
up[]={0.000000,1.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};
class Stage6
{
texture="#(ai,64,64,1)fresnel(0.6,0.16)";
uvSource="none";
};
class Stage7
{
texture="a3\Data\env_land_co.tga";
uvSource="none";
};

Binary file not shown.

View File

@@ -0,0 +1,82 @@
class StageTI
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\assemblycover_ti_ca.tga";
};
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.5,0.5,0.5,1};
specularPower=62;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\Assemblycover_nohq.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
uvSource="tex";
class uvTransform
{
aside[]={4,0,0};
up[]={0,4,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\Assembly_as.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage5
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\assemblycover_smdi.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage6
{
texture="#(ai,64,64,1)fresnel(0.64,0.81)";
uvSource="none";
};
class Stage7
{
texture="a3\Data\env_land_co.tga";
uvSource="none";
};

View File

@@ -0,0 +1,82 @@
class StageTI
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\barrel_ti_ca.tga";
};
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.5,0.5,0.5,1};
specularPower=62;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\barrel_nohq.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
uvSource="tex";
class uvTransform
{
aside[]={4,0,0};
up[]={0,4,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\barrel_as.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage5
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\Barrel_smdi.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage6
{
texture="#(ai,64,64,1)fresnel(0.64,0.81)";
uvSource="none";
};
class Stage7
{
texture="a3\Data\env_land_co.tga";
uvSource="none";
};

View File

@@ -0,0 +1,96 @@
class StageTI
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\M249_TI_CA.tga";
};
ambient[]={1,1,1,1};
diffuse[]={0.1,0.1,0.1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.99990195,0.84415686,0.49121568,1};
specularPower=128;
PixelShaderID="super";
VertexShaderID="super";
class Stage1
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\m249_nohq.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
uvSource="tex";
class uvTransform
{
aside[]={4,0,0};
up[]={0,4,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0,MC)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\m249_as.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage5
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\m249_smdi.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,1};
pos[]={0,0,0};
};
};
class Stage6
{
texture="#(ai,64,64,1)fresnel(0.67,1.82)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,1};
pos[]={0,0,0};
};
};
class Stage7
{
texture="A3\data_f\env_chrome_co.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,1};
pos[]={0,0,0};
};
};

Binary file not shown.

View File

@@ -0,0 +1,82 @@
class StageTI
{
texture="#(argb,8,8,3)color(0.5,0,0,0.3,TI)";
};
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.5,0.5,0.5,1};
specularPower=62;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\fore_nohq.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\metal_detail_dt.tga";
uvSource="tex";
class uvTransform
{
aside[]={4,0,0};
up[]={0,4,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\fore_as.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage5
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\fore_smdi.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage6
{
texture="#(ai,64,64,1)fresnel(0.64,0.81)";
uvSource="none";
};
class Stage7
{
texture="a3\Data\env_land_co.tga";
uvSource="none";
};

View File

@@ -0,0 +1,82 @@
class StageTI
{
texture="#(argb,8,8,3)color(0.5,0,0,0.3,TI)";
};
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.5,0.5,0.5,1};
specularPower=62;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\misc_nohq.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\metal_detail_dt.tga";
uvSource="tex";
class uvTransform
{
aside[]={4,0,0};
up[]={0,4,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\misc_as.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage5
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\misc_smdi.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage6
{
texture="#(ai,64,64,1)fresnel(0.64,0.81)";
uvSource="none";
};
class Stage7
{
texture="a3\Data\env_land_co.tga";
uvSource="none";
};

Binary file not shown.

View File

@@ -0,0 +1,82 @@
class StageTI
{
texture="#(argb,8,8,3)color(0.5,0,0,0,TI)";
};
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.5,0.5,0.5,1};
specularPower=62;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\pouch_nohq.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\metal_detail_dt.tga";
uvSource="tex";
class uvTransform
{
aside[]={4,0,0};
up[]={0,4,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\pouch_as.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage5
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\pouch_smdi.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage6
{
texture="#(ai,64,64,1)fresnel(0.64,0.81)";
uvSource="none";
};
class Stage7
{
texture="a3\Data\env_land_co.tga";
uvSource="none";
};

View File

@@ -0,0 +1,82 @@
class StageTI
{
texture="#(argb,8,8,3)color(0.5,0,0,0,TI)";
};
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.5,0.5,0.5,1};
specularPower=62;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\rearsight_nohq.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\metal_detail_dt.tga";
uvSource="tex";
class uvTransform
{
aside[]={4,0,0};
up[]={0,4,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\rearsight_as.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage5
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\rearsight_smdi.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage6
{
texture="#(ai,64,64,1)fresnel(0.64,0.81)";
uvSource="none";
};
class Stage7
{
texture="a3\Data\env_land_co.tga";
uvSource="none";
};

Binary file not shown.

View File

@@ -0,0 +1,82 @@
class StageTI
{
texture="#(argb,8,8,3)color(0.5,0,0,0,TI)";
};
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.5,0.5,0.5,1};
specularPower=62;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\stock_nohq.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\metal_detail_dt.tga";
uvSource="tex";
class uvTransform
{
aside[]={4,0,0};
up[]={0,4,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\stock_as.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage5
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\stock_smdi.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage6
{
texture="#(ai,64,64,1)fresnel(0.64,0.81)";
uvSource="none";
};
class Stage7
{
texture="a3\Data\env_land_co.tga";
uvSource="none";
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,82 @@
class StageTI
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\reciever_ti_ca.tga";
};
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.5,0.5,0.5,1};
specularPower=62;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\reciever_minimi_nohq.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage2
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\metal_detail_dt.tga";
uvSource="tex";
class uvTransform
{
aside[]={4,0,0};
up[]={0,4,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\reciever_as.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage5
{
texture="braf\braf_weapons_machine_guns\556mm_FN_MINIMI\Data\Reciever_minimi_smdi.tga";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage6
{
texture="#(ai,64,64,1)fresnel(0.64,0.81)";
uvSource="none";
};
class Stage7
{
texture="a3\Data\env_land_co.tga";
uvSource="none";
};

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,71 @@
/* hint "Working woo!"; */
private _unit = missionNamespace getVariable ["bis_fnc_moduleRemoteControl_unit", player]; //Get player unit
if(!(local _unit))exitWith{};
_unit addEventHandler ["WeaponRested", { //Resting shows/hides link
params ["_unitResting", "_isRested"];
private _currentWeapon = currentWeapon _unitResting;
private _allowedWeapon = ["braf_Minimi"];
private _attachment = "sp_acc_gpmg_linkhide";
if (_currentWeapon in _allowedWeapon) then{
if(_isRested) then {
if (isWeaponRested _unitResting) then {
_unitResting addPrimaryWeaponItem _attachment; // Attachment hides link in model cfg
};
}else{
if (isWeaponDeployed _unitResting == false) then { //Only remove link attachment if we know user doesn't have bipod deployed
_unitResting removePrimaryWeaponItem _attachment;
};
};
} else { //Cleanup eventhandler if different weapon is being used
_unitResting spawn {
uiSleep 0.01;
_unitResting removeEventHandler ["WeaponRested", _thisEventHandler];
};
};
}];
_unit addEventHandler ["WeaponDeployed", { //Deploying plays animation for holding stock
params ["_unitDeploying", "_isDeployed"];
private _currentWeapon = currentWeapon _unitDeploying;
private _allowedWeapon = ["braf_Minimi"];
private _anim = "sp_GestureDeployedGPMG";
if (_currentWeapon in _allowedWeapon) then{
if(_isDeployed) then {
_unitDeploying playAction _anim;
}else{
_unitDeploying playAction "gestureNod";
};
} else { //Cleanup eventhandler if different weapon is being used
_unitDeploying spawn {
uiSleep 0.01;
_unitDeploying removeEventHandler ["WeaponDeployed", _thisEventHandler];
};
};
}];
_unit addEventHandler ["Take", { //When reloading, check if weapon is deployed and if so play animation for holding stock
params ["_unitTaking"];
private _currentWeapon = currentWeapon _unitTaking;
private _allowedWeapon = ["braf_Minimi"];
private _anim = "sp_GestureDeployedGPMG";
if (_currentWeapon in _allowedWeapon) then{
if(isWeaponDeployed _unitTaking) then {
_unitTaking playAction _anim;
};
} else { //Cleanup eventhandler if different weapon is being used
_unitTaking spawn {
uiSleep 0.01;
_unitTaking removeEventHandler ["Take", _thisEventHandler];
};
};
}];

View File

@@ -0,0 +1,83 @@
this addEventHandler ["AnimChanged", {
params ["_unit", "_anim"];
private _currentWeapon = currentWeapon _unit;
private _allowedWeapon = ["braf_minimi"];
private _animstoadd = [
"aidlppnemstpsraswrfldnon_ai",
"aidlppnemstpsraswrfldnon_ai",
"amovppnemrunslowwrfldf",
"amovppnemrunslowwrfldb",
"amovppnemstpsraswrfldnon"];
private _animstoremove = [
"aidlpercmstpsraswrfldnon_ai",
"aidlpknlmstpsraswrfldnon_ai",
"amovpercmstpsraswrfldnon"];
private _attachment1 = "sp_acc_minimi_deploybipod";
private _attachment2 = "sp_acc_minimi_linkhide";
if (_currentWeapon in _allowedWeapon) then{
if(_anim in _animstoadd) then {
hint format ["approved anim is %1", _anim];
copyToClipboard _anim;
_unit addPrimaryWeaponItem _attachment1;
_unit addPrimaryWeaponItem _attachment2;
}else{
//hint format ["new anim to add is %1", _anim];
//copyToClipboard _anim;
if (_anim in _animstoremove) then {
_unit removePrimaryWeaponItem _attachment1;
_unit removePrimaryWeaponItem _attachment2;
}
};
} else {
_unit spawn {
uiSleep 0.01;
_unit removeEventHandler ["AnimChanged", _thisEventHandler];
};
};
}];
AnimChanged
AnimDone
// player
private _animstoadd = [
"amovpercmrunslowwrfldf_amovppnemstpsraswrfldnon_end",
"amovpercmstpsraswrfldnon_amovppnemstpsraswrfldnon",
"amovpknlmstpsraswrfldnon_amovppnemstpsraswrfldnon",
"amovpknlmstpsraswrfldnon_amovppnemstpsraswrfldnon"];
private _animstoremove = [
"amovppnemstpsraswrfldnon_amovpknlmstpsraswrfldnon",
"amovppnemstpsraswrfldnon_amovpercmstpsraswrfldnon"];
private _animstoadd = [
"aidlppnemstpsraswrfldnon_ai",
"aidlppnemstpsraswrfldnon_ai"];
private _animstoremove = [
"aidlpercmstpsraswrfldnon_ai",
"aidlpknlmstpsraswrfldnon_ai"];
crouch to prone
aidlppnemstpsraswrfldnon_ai
stand to prone
aidlppnemstpsraswrfldnon_ai
prone to stand
aidlpercmstpsraswrfldnon_ai
prone to crouch
aidlpknlmstpsraswrfldnon_ai

Binary file not shown.