This commit is the equivalent of a atomic bomb
This commit is contained in:
@@ -0,0 +1,388 @@
|
||||
//GestureReloadMMG01 = "RifleReloadProneMMG01";
|
||||
class braf_mag_base_F: Rifle_Long_Base_F
|
||||
{
|
||||
author="Sztigran & AMF TEAM";
|
||||
_generalMacro="braf_mag_base_F";
|
||||
scope=0;
|
||||
displayName="mag Base";
|
||||
nameSound="Mgun";
|
||||
magazines[]=
|
||||
{
|
||||
"Braf_50Rnd_mag58_mag",
|
||||
"Braf_50Rnd_mag58_mag_Tracer_green",
|
||||
"Braf_50Rnd_mag58_mag_Tracer_red",
|
||||
"Braf_75Rnd_mag58_mag",
|
||||
"Braf_75Rnd_mag58_mag_Tracer_green",
|
||||
"Braf_75Rnd_mag58_mag_Tracer_red"
|
||||
};
|
||||
//magazineWell[]=
|
||||
//{
|
||||
// "BRAF_MAG_762"
|
||||
//};
|
||||
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_BLU_down",
|
||||
0.70794576,
|
||||
1,
|
||||
20
|
||||
};
|
||||
soundBipodUp[]=
|
||||
{
|
||||
"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_BLU_up",
|
||||
0.70794576,
|
||||
1,
|
||||
20
|
||||
};
|
||||
selectionFireAnim = "zasleh";
|
||||
deployedPivot="bipod";
|
||||
weaponInfoType = "sp_gpmg_animation";
|
||||
hasBipod=1;
|
||||
reloadAction="GestureReloadMMG01";
|
||||
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
|
||||
{
|
||||
positionName="ejectstart";
|
||||
directionName="ejectend";
|
||||
effectName="MachineGunEject1";
|
||||
};
|
||||
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 MAG 7.62mm";
|
||||
};
|
||||
class WeaponSlotsInfo: WeaponSlotsInfo
|
||||
{
|
||||
class CowsSlot: asdg_OpticRail1913_short
|
||||
{
|
||||
iconPosition[]={0.5,0.36000001};
|
||||
iconScale=0.15000001;
|
||||
};
|
||||
class MuzzleSlot
|
||||
{
|
||||
};
|
||||
class UnderBarrelSlot
|
||||
{
|
||||
};
|
||||
class PointerSlot: asdg_FrontSideRail
|
||||
{
|
||||
iconPosition[]={0.33000001,0.40000001};
|
||||
iconScale=0.2;
|
||||
};
|
||||
mass=260.14551;
|
||||
};
|
||||
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[]=
|
||||
{
|
||||
"A3\Sounds_F_Mark\arsenal\weapons\Machineguns\MMG_01_Navid\MMG_01_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[]=
|
||||
{
|
||||
"Zafir_Shot_SoundSet",
|
||||
"Zafir_Tail_SoundSet",
|
||||
"Zafir_InteriorTail_SoundSet"
|
||||
};
|
||||
};
|
||||
class SilencedSound: BaseSoundModeType
|
||||
{
|
||||
soundsetshot[]=
|
||||
{
|
||||
};
|
||||
};
|
||||
reloadTime=0.12;
|
||||
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_mag: braf_mag_base_F
|
||||
{
|
||||
author="Sztigran & AMF TEAM";
|
||||
_generalMacro="braf_mag";
|
||||
scope=2;
|
||||
model="\braf\braf_weapons_machine_guns\762mm_fn_mag\braf_mag58_01_f.p3d";
|
||||
dexterity=1.6799999;
|
||||
displayName="FN HERSTAL MAG 60.20 7.62mm";
|
||||
picture="\braf\braf_weapons_machine_guns\762mm_fn_mag\ui\mag_ui.paa";
|
||||
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
|
||||
descriptionShort="FN MAG Light Machine Gun";
|
||||
inertia=0.80000001;
|
||||
aimTransitionSpeed=0.69999999;
|
||||
initSpeed=940;
|
||||
class WeaponSlotsInfo: WeaponSlotsInfo
|
||||
{
|
||||
mass=260.14551;
|
||||
};
|
||||
ace_overheating_slowdownFactor=1;
|
||||
ACE_barrelTwist=304.79999;
|
||||
ACE_Overheating_Dispersion=1;
|
||||
ACE_barrelLength=630;
|
||||
ACE_twistDirection=1;
|
||||
ACE_overheating_allowSwapBarrel=1;
|
||||
ACE_overheating_mrbs=1750;
|
||||
ACE_clearJamAction="braf_GestureClear_barrel_FAL";
|
||||
class ItemInfo
|
||||
{
|
||||
priority=1;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
class StageTI
|
||||
{
|
||||
texture = "#(argb,8,8,3)color(1,0,0,0,TI)";
|
||||
};
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,0};
|
||||
specular[]={0.025,0.025,0.025,1};
|
||||
specularPower=80;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT1_nohq.paa";
|
||||
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[]={10,0,0};
|
||||
up[]={0,10,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\762mm_fn_mag\Data\Textures\MAT1_as.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT1_smdi.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage6
|
||||
{
|
||||
texture="#(ai,64,64,1)fresnel(0,0)";
|
||||
uvSource="none";
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture="a3\data_f\env_land_ca.paa";
|
||||
uvSource="none";
|
||||
};
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,82 @@
|
||||
class StageTI
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT1_CO.paa";
|
||||
};
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,0};
|
||||
specular[]={0.07,0.07,0.07,1};
|
||||
specularPower=80;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT1_nohq.paa";
|
||||
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[]={10,0,0};
|
||||
up[]={0,10,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\762mm_fn_mag\Data\Textures\MAT1_as.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT1_smdi.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage6
|
||||
{
|
||||
texture="#(ai,64,64,1)fresnel(0,0)";
|
||||
uvSource="none";
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture="a3\data_f\env_land_ca.paa";
|
||||
uvSource="none";
|
||||
};
|
||||
@@ -0,0 +1,82 @@
|
||||
class StageTI
|
||||
{
|
||||
texture = "#(argb,8,8,3)color(1,0,0,0,TI)";
|
||||
};
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,0};
|
||||
specular[]={0.025,0.025,0.025,1};
|
||||
specularPower=80;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT2_nohq.paa";
|
||||
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[]={10,0,0};
|
||||
up[]={0,10,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\762mm_fn_mag\Data\Textures\MAT2_as.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT2_smdi.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage6
|
||||
{
|
||||
texture="#(ai,64,64,1)fresnel(0,0)";
|
||||
uvSource="none";
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture="a3\data_f\env_land_ca.paa";
|
||||
uvSource="none";
|
||||
};
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,82 @@
|
||||
class StageTI
|
||||
{
|
||||
texture = "#(argb,8,8,3)color(1,0,0,0,TI)";
|
||||
};
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,0};
|
||||
specular[]={0.025,0.025,0.025,1};
|
||||
specularPower=80;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT3_nohq.paa";
|
||||
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[]={10,0,0};
|
||||
up[]={0,10,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\762mm_fn_mag\Data\Textures\MAT3_as.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT3_smdi.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage6
|
||||
{
|
||||
texture="#(ai,64,64,1)fresnel(0,0)";
|
||||
uvSource="none";
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture="a3\data_f\env_land_ca.paa";
|
||||
uvSource="none";
|
||||
};
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,82 @@
|
||||
class StageTI
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT3_CO.paa";
|
||||
};
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,0};
|
||||
specular[]={0.07,0.07,0.07,1};
|
||||
specularPower=80;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT3_nohq.paa";
|
||||
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[]={10,0,0};
|
||||
up[]={0,10,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\762mm_fn_mag\Data\Textures\MAT3_as.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture="braf\braf_weapons_machine_guns\762mm_fn_mag\Data\Textures\MAT3_smdi.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,1};
|
||||
};
|
||||
};
|
||||
class Stage6
|
||||
{
|
||||
texture="#(ai,64,64,1)fresnel(0,0)";
|
||||
uvSource="none";
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture="a3\data_f\env_land_ca.paa";
|
||||
uvSource="none";
|
||||
};
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,92 @@
|
||||
ambient[] = {1,1,1,1};
|
||||
diffuse[] = {0.7,0.7,0.7,1};
|
||||
forcedDiffuse[] = {0,0,0,1};
|
||||
emmisive[] = {0,0,0,0};
|
||||
specular[] = {0.05,0.05,0.05,1};
|
||||
specularPower = 60;
|
||||
PixelShaderID = "Super";
|
||||
VertexShaderID = "Super";
|
||||
class Stage1
|
||||
{
|
||||
texture = "braf\braf_weapons_machine_guns\762mm_fn_mag\Data\m240_nohq.paa";
|
||||
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,0.5,DT)";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,0};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage3
|
||||
{
|
||||
texture = "#(argb,8,8,3)color(0.0,0.0,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\762mm_fn_mag\Data\m240_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\762mm_fn_mag\Data\m240_smdi.paa";
|
||||
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(5.4,1.4)";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,0};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture = "a3\data_f\env_land_ca.paa";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1,0,0};
|
||||
up[] = {0,1,0};
|
||||
dir[] = {0,0,0};
|
||||
pos[] = {0,0,0};
|
||||
};
|
||||
};
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,853 @@
|
||||
class CfgSkeletons
|
||||
{
|
||||
class Default
|
||||
{
|
||||
isDiscrete=1;
|
||||
skeletonInherit="";
|
||||
skeletonBones[]={};
|
||||
};
|
||||
class braf_mag_100_keleton: Default
|
||||
{
|
||||
skeletonBones[]=
|
||||
{
|
||||
"magazine", "",
|
||||
"bipod_leg_l", "",
|
||||
"bipod_leg_r", "",
|
||||
"bipod_legs", "",
|
||||
"bipe", "",
|
||||
"feedtray_cover", "",
|
||||
"bullet001", "",
|
||||
"bullet002", "",
|
||||
"bullet003", "",
|
||||
"bullet004", "",
|
||||
"bullet005", "",
|
||||
"bullet006", "",
|
||||
"bullet007", "",
|
||||
"bullet008", "",
|
||||
"charging_handle", "",
|
||||
"selector", "",
|
||||
"Sling", "",
|
||||
"alsa", "",
|
||||
"zeroing", "",
|
||||
"zarelho", "",
|
||||
"granada", "",
|
||||
"mira", "",
|
||||
"trilho_frontal", "",
|
||||
"muzzleFlash", "",
|
||||
"optic_rail", "",
|
||||
|
||||
"zasleh", "",
|
||||
"bolt", "charging_handle"
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
class CfgModels
|
||||
{
|
||||
class Default
|
||||
{
|
||||
sectionsInherit="";
|
||||
sections[]={};
|
||||
skeletonName="";
|
||||
};
|
||||
class braf_mag_100: Default
|
||||
{
|
||||
sections[]=
|
||||
{
|
||||
"zasleh","muzzleFlash","magazine","selector","bolt","optic_rail","mira","zeroing","alsa","zarelho","trilho_frontal","granada","Sling","bipe"
|
||||
};
|
||||
skeletonName="braf_mag_100_keleton";
|
||||
sectionsInherit="";
|
||||
class Animations
|
||||
{
|
||||
class optic_rail
|
||||
{
|
||||
type="hide";
|
||||
source="hasOptics";
|
||||
selection="optic_rail";
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
hideValue=-1.0;
|
||||
unhideValue = 0.5;
|
||||
|
||||
|
||||
};
|
||||
class acessory_rail
|
||||
{
|
||||
type="hide";
|
||||
source="hasAccessory";
|
||||
selection="trilho_frontal";
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
hideValue=-1.0;
|
||||
unhideValue = 0.5;
|
||||
|
||||
|
||||
};
|
||||
//class Sling_hide
|
||||
//{
|
||||
// type="hide";
|
||||
// source="isSelected"; //bipod
|
||||
// selection="Sling";
|
||||
// minValue=0;
|
||||
// maxValue=1;
|
||||
// hideValue = 1.0;
|
||||
// unhideValue =-0.5;
|
||||
//};
|
||||
class ammo_belt
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="ammo_belt";
|
||||
sourceAddress="clamp";
|
||||
axis="ammo_belt";
|
||||
minPhase=0.3;
|
||||
maxPhase=1;
|
||||
minValue=0.3;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
angle0=-0.12;
|
||||
angle1=0.06;
|
||||
};
|
||||
class bullet001_reload_rot
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="bullet001";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet001_rot_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=0;
|
||||
};
|
||||
class bullet001_reload_move
|
||||
{
|
||||
type="translation";
|
||||
source="reload";
|
||||
selection="bullet001";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet001_move_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=1;
|
||||
};
|
||||
class bullet001_revolving_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet001";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0;
|
||||
unHideValue=0.065;
|
||||
};
|
||||
class bullet002_reload_rot
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="bullet002";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet002_rot_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=0;
|
||||
};
|
||||
class bullet002_reload_move
|
||||
{
|
||||
type="translation";
|
||||
source="reload";
|
||||
selection="bullet002";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet002_move_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=1;
|
||||
};
|
||||
class bullet002_revolving_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet002";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0;
|
||||
unHideValue=0.06;
|
||||
};
|
||||
class bullet003_reload_rot
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="bullet003";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet003_rot_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=0;
|
||||
};
|
||||
class bullet003_reload_move
|
||||
{
|
||||
type="translation";
|
||||
source="reload";
|
||||
selection="bullet003";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet003_move_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=1;
|
||||
};
|
||||
class bullet003_revolving_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet003";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0;
|
||||
unHideValue=0.055;
|
||||
};
|
||||
class bullet004_reload_rot
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="bullet004";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet004_rot_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=0;
|
||||
};
|
||||
class bullet004_reload_move
|
||||
{
|
||||
type="translation";
|
||||
source="reload";
|
||||
selection="bullet004";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet004_move_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=1;
|
||||
};
|
||||
class bullet004_revolving_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet004";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0;
|
||||
unHideValue=0.05;
|
||||
};
|
||||
class bullet005_reload_rot
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="bullet005";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet005_rot_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=0;
|
||||
};
|
||||
class bullet005_reload_move
|
||||
{
|
||||
type="translation";
|
||||
source="reload";
|
||||
selection="bullet005";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet005_move_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=1;
|
||||
};
|
||||
class bullet005_revolving_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet005";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0;
|
||||
unHideValue=0.045;
|
||||
};
|
||||
class bullet006_reload_rot
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="bullet006";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet006_rot_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=0.4014257;
|
||||
};
|
||||
class bullet006_reload_move
|
||||
{
|
||||
type="translation";
|
||||
source="reload";
|
||||
selection="bullet006";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet006_move_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=1;
|
||||
};
|
||||
class bullet006_revolving_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet006";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0;
|
||||
unHideValue=0.04;
|
||||
};
|
||||
class bullet007_reload_rot
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="bullet007";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet007_rot_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=0.2617994;
|
||||
};
|
||||
class bullet007_reload_move
|
||||
{
|
||||
type="translation";
|
||||
source="reload";
|
||||
selection="bullet007";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet007_move_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=1;
|
||||
};
|
||||
class bullet007_revolving_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet007";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0;
|
||||
unHideValue=0.035;
|
||||
};
|
||||
class bullet008_reload_rot
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="bullet008";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet008_rot_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=0.2617994;
|
||||
};
|
||||
class bullet008_reload_move
|
||||
{
|
||||
type="translation";
|
||||
source="reload";
|
||||
selection="bullet008";
|
||||
sourceAddress="clamp";
|
||||
axis="bullet008_move_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=1;
|
||||
};
|
||||
class bullet008_revolving_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet008";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0;
|
||||
unHideValue=0.03;
|
||||
};
|
||||
class magazine_hide
|
||||
{
|
||||
type="hide";
|
||||
source="reloadMagazine";
|
||||
selection="magazine";
|
||||
sourceAddress="clamp";
|
||||
axis="magazine_reload_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0.296;
|
||||
unHideValue=0.352;
|
||||
};
|
||||
class no_magazine
|
||||
{
|
||||
type="hide";
|
||||
source="hasMagazine";
|
||||
selection="magazine";
|
||||
sourceAddress="clamp";
|
||||
axis="magazine_reload_axis";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0.5;
|
||||
unHideValue=-1;
|
||||
};
|
||||
class magazine_out
|
||||
{
|
||||
type="translation";
|
||||
source="reloadMagazine";
|
||||
selection="magazine";
|
||||
sourceAddress="clamp";
|
||||
axis="magazine_reload_axis";
|
||||
minPhase=0.257;
|
||||
maxPhase=0.296;
|
||||
minValue=0.257;
|
||||
maxValue=0.296;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=0.8;
|
||||
};
|
||||
class magazine_in
|
||||
{
|
||||
type="translation";
|
||||
source="reloadMagazine";
|
||||
selection="magazine";
|
||||
sourceAddress="clamp";
|
||||
axis="magazine_reload_axis";
|
||||
minPhase=0.352;
|
||||
maxPhase=0.447;
|
||||
minValue=0.352;
|
||||
maxValue=0.447;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=-0.8;
|
||||
};
|
||||
class magazine_shake
|
||||
{
|
||||
type="rotationz";
|
||||
source="reload";
|
||||
selection="magazine";
|
||||
sourceAddress="mirror";
|
||||
axis="magazine";
|
||||
minPhase=0;
|
||||
maxPhase=0.5;
|
||||
minValue=0;
|
||||
maxValue=0.5;
|
||||
memory=0;
|
||||
angle0=-0.008726646;
|
||||
angle1=0.008726646;
|
||||
};
|
||||
class magazine_shake02
|
||||
{
|
||||
type="rotationx";
|
||||
source="reload";
|
||||
selection="magazine";
|
||||
sourceAddress="mirror";
|
||||
axis="magazine";
|
||||
minPhase=0;
|
||||
maxPhase=0.25;
|
||||
minValue=0;
|
||||
maxValue=0.25;
|
||||
memory=0;
|
||||
angle0=0.004363323;
|
||||
angle1=-0.004363323;
|
||||
};
|
||||
class magazine_shake03
|
||||
{
|
||||
type="rotationy";
|
||||
source="reload";
|
||||
selection="magazine";
|
||||
sourceAddress="mirror";
|
||||
axis="magazine";
|
||||
minPhase=0;
|
||||
maxPhase=0.5;
|
||||
minValue=0;
|
||||
maxValue=0.5;
|
||||
memory=0;
|
||||
angle0=0.005759587;
|
||||
angle1=-0.005759587;
|
||||
};
|
||||
class mira_shake
|
||||
{
|
||||
type="rotationz";
|
||||
source="reload";
|
||||
selection="mira";
|
||||
sourceAddress="mirror";
|
||||
axis="mira";
|
||||
minPhase=0;
|
||||
maxPhase=0.5;
|
||||
minValue=0;
|
||||
maxValue=0.5;
|
||||
memory=0;
|
||||
angle0=-0.008726646;
|
||||
angle1=0.008726646;
|
||||
};
|
||||
class mira_shake02
|
||||
{
|
||||
type="rotationx";
|
||||
source="reload";
|
||||
selection="mira";
|
||||
sourceAddress="mirror";
|
||||
axis="mira";
|
||||
minPhase=0;
|
||||
maxPhase=0.25;
|
||||
minValue=0;
|
||||
maxValue=0.25;
|
||||
memory=0;
|
||||
angle0=0.004363323;
|
||||
angle1=-0.004363323;
|
||||
};
|
||||
class mira_shake03
|
||||
{
|
||||
type="rotationy";
|
||||
source="reload";
|
||||
selection="mira";
|
||||
sourceAddress="mirror";
|
||||
axis="mira";
|
||||
minPhase=0;
|
||||
maxPhase=0.5;
|
||||
minValue=0;
|
||||
maxValue=0.5;
|
||||
memory=0;
|
||||
angle0=0.005759587;
|
||||
angle1=-0.005759587;
|
||||
};
|
||||
class feedtray_cover_up
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadMagazine";
|
||||
selection="feedtray_cover";
|
||||
sourceAddress="clamp";
|
||||
axis="feedtray_cover_axis";
|
||||
minPhase=0.063;
|
||||
maxPhase=0.115;
|
||||
minValue=0.063;
|
||||
maxValue=0.115;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=-1.57;
|
||||
};
|
||||
class feedtray_cover_down
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadMagazine";
|
||||
selection="feedtray_cover";
|
||||
sourceAddress="clamp";
|
||||
axis="feedtray_cover_axis";
|
||||
minPhase=0.694;
|
||||
maxPhase=0.731;
|
||||
minValue=0.694;
|
||||
maxValue=0.731;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=1.57;
|
||||
};
|
||||
class backsight_rotate
|
||||
{
|
||||
type="translation";
|
||||
source="zeroing";
|
||||
selection="mira";
|
||||
axis="mira_axis";
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
//hideValue=1;
|
||||
offset0=0;
|
||||
offset1="-0.8";
|
||||
|
||||
};
|
||||
class reload_ammobelt_hide
|
||||
{
|
||||
type="hide";
|
||||
source="reloadMagazine";
|
||||
selection="ammo_belt";
|
||||
sourceAddress="clamp";
|
||||
axis="ammo_belt";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0.173;
|
||||
unHideValue=0.575;
|
||||
};
|
||||
class reload_ammobelt_bottom_hide
|
||||
{
|
||||
type="hide";
|
||||
source="reloadMagazine";
|
||||
selection="ammo_belt";
|
||||
sourceAddress="clamp";
|
||||
axis="ammo_belt";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0.173;
|
||||
unHideValue=0.575;
|
||||
};
|
||||
class ammo_belt_rotation_out
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadMagazine";
|
||||
selection="ammo_belt";
|
||||
sourceAddress="clamp";
|
||||
axis="ammo_belt";
|
||||
minPhase=0.16;
|
||||
maxPhase=0.173;
|
||||
minValue=0.16;
|
||||
maxValue=0.173;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=1.047198;
|
||||
};
|
||||
class ammo_belt_rotation_in
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadMagazine";
|
||||
selection="ammo_belt";
|
||||
sourceAddress="clamp";
|
||||
axis="ammo_belt";
|
||||
minPhase=0.575;
|
||||
maxPhase=0.588;
|
||||
minValue=0.575;
|
||||
maxValue=0.588;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=-1.047198;
|
||||
};
|
||||
class charge1
|
||||
{
|
||||
type="translation";
|
||||
source="reloadMagazine";
|
||||
selection= "bolt";
|
||||
axis="bolt_axis";
|
||||
minPhase=0.865;
|
||||
maxPhase=0.889;
|
||||
minValue=0.865;
|
||||
maxValue=0.889;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=2;
|
||||
};
|
||||
class charge2
|
||||
{
|
||||
type="translation";
|
||||
source="reloadMagazine";
|
||||
selection= "bolt";
|
||||
axis="bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minPhase=0.896;
|
||||
maxPhase=0.904;
|
||||
minValue=0.896;
|
||||
maxValue=0.904;
|
||||
memory=0;
|
||||
offset0=0;
|
||||
offset1=-2;
|
||||
};
|
||||
class alsa
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="alsa";
|
||||
axis="alsa_axis";
|
||||
minValue=0;
|
||||
maxValue="0.5";
|
||||
angle0="rad 20";
|
||||
angle1="rad 0";
|
||||
};
|
||||
class alsa2
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="alsa";
|
||||
axis="alsa_axis";
|
||||
minValue=0.5;
|
||||
maxValue="0";
|
||||
angle0="rad 0";
|
||||
angle1="rad 20";
|
||||
};
|
||||
class zarelho
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="zarelho";
|
||||
axis="zarelho_axis";
|
||||
minValue=0;
|
||||
maxValue="0.5";
|
||||
angle0="50";
|
||||
angle1="0";
|
||||
};
|
||||
class zarelho2
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="zarelho";
|
||||
axis="zarelho_axis";
|
||||
minValue=0.5;
|
||||
maxValue="0";
|
||||
angle0="0";
|
||||
angle1="50";
|
||||
};
|
||||
class bipodleg_l_anim
|
||||
{
|
||||
type="rotation";
|
||||
source="bipod";
|
||||
selection="bipod_leg_l";
|
||||
sourceAddress="clamp";
|
||||
axis="bipod_leg_l_axis";
|
||||
minPhase=0;
|
||||
maxPhase=0.1;
|
||||
minValue=0;
|
||||
maxValue=0.1;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=-1.570796;
|
||||
};
|
||||
class bipodleg_r_anim
|
||||
{
|
||||
type="rotation";
|
||||
source="bipod";
|
||||
selection="bipod_leg_r";
|
||||
sourceAddress="clamp";
|
||||
axis="bipod_leg_r_axis";
|
||||
minPhase=0;
|
||||
maxPhase=0.1;
|
||||
minValue=0;
|
||||
maxValue=0.1;
|
||||
memory=0;
|
||||
angle0=0;
|
||||
angle1=1.570796;
|
||||
};
|
||||
class muzzleFlashROT
|
||||
{
|
||||
type="rotationX";
|
||||
source="ammoRandom"; //use ammo count as phase for animation
|
||||
sourceAddress="loop"; //loop when phase out of bounds
|
||||
selection="zasleh"; //selection we want to rotate
|
||||
axis=""; //no own axis - center of rotation is computed from selection
|
||||
centerFirstVertex=true; //use first vertex of selection as center of rotation
|
||||
minValue=0;
|
||||
maxValue=4; //rotation angle will be 360/4 = 90 degrees
|
||||
angle0="rad 0";
|
||||
angle1="rad 360";
|
||||
};
|
||||
class FireModeSwitch
|
||||
{
|
||||
type = "rotation";
|
||||
source="weaponMode";
|
||||
memory=1;
|
||||
selection="Selector";
|
||||
animPeriod=0;
|
||||
axis="Selector_axis";
|
||||
minValue=0.0;
|
||||
maxValue=1;
|
||||
minPhase=0.0;
|
||||
maxPhase=1;
|
||||
angle0= 0;
|
||||
angle1="rad 580";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
@@ -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_mag"];
|
||||
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_mag"];
|
||||
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_mag"];
|
||||
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];
|
||||
};
|
||||
};
|
||||
}];
|
||||
@@ -0,0 +1,83 @@
|
||||
this addEventHandler ["AnimChanged", {
|
||||
params ["_unit", "_anim"];
|
||||
private _currentWeapon = currentWeapon _unit;
|
||||
private _allowedWeapon = ["braf_mag"];
|
||||
|
||||
private _animstoadd = [
|
||||
"aidlppnemstpsraswrfldnon_ai",
|
||||
"aidlppnemstpsraswrfldnon_ai",
|
||||
"amovppnemrunslowwrfldf",
|
||||
"amovppnemrunslowwrfldb",
|
||||
"amovppnemstpsraswrfldnon"];
|
||||
|
||||
private _animstoremove = [
|
||||
"aidlpercmstpsraswrfldnon_ai",
|
||||
"aidlpknlmstpsraswrfldnon_ai",
|
||||
"amovpercmstpsraswrfldnon"];
|
||||
|
||||
private _attachment1 = "sp_acc_gpmg_deploybipod";
|
||||
private _attachment2 = "sp_acc_gpmg_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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user