This commit is the equivalent of a atomic bomb
This commit is contained in:
390
braf_weapons_assault_rifles/762mm_FAP/762mm_FAP.hpp
Normal file
390
braf_weapons_assault_rifles/762mm_FAP/762mm_FAP.hpp
Normal file
@@ -0,0 +1,390 @@
|
||||
class braf_FAP_base_F: Rifle_Long_Base_F
|
||||
{
|
||||
author="BRAF Team";
|
||||
_generalMacro="braf_FAP_base_F";
|
||||
scope=0;
|
||||
displayName="FAP Base";
|
||||
nameSound="Mgun";
|
||||
magazines[]=
|
||||
{
|
||||
"braf_20Rnd_762x51"
|
||||
};
|
||||
magazineWell[]=
|
||||
{
|
||||
"BRAF_FAL_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_generic_down",
|
||||
0.70794576,
|
||||
1,
|
||||
20
|
||||
};
|
||||
soundBipodUp[]=
|
||||
{
|
||||
"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_up",
|
||||
0.70794576,
|
||||
1,
|
||||
20
|
||||
};
|
||||
deployedPivot="bipod";
|
||||
hasBipod=1;
|
||||
reloadAction="braf_GestureReloadFAL";
|
||||
recoil="recoil_dmr_03";
|
||||
maxZeroing=1600;
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\braf\braf_weapons_anim\animations\762mm_FN_FAL\fal_handanim.rtm"
|
||||
};
|
||||
overviewPicture="\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
|
||||
discreteDistanceInitIndex=2;
|
||||
discreteDistance[]={100,200,300,400,500,600};
|
||||
discreteDistanceCameraPoint[]=
|
||||
{
|
||||
"eye",
|
||||
"eye_200m",
|
||||
"eye_300m",
|
||||
"eye_400m",
|
||||
"eye_500m",
|
||||
"eye_600m"
|
||||
};
|
||||
cameraDir="eye_look";
|
||||
cursor="mg";
|
||||
class Library
|
||||
{
|
||||
libTextDesc="IMBEL FAP 7.62mm";
|
||||
};
|
||||
class WeaponSlotsInfo: WeaponSlotsInfo
|
||||
{
|
||||
class CowsSlot
|
||||
{
|
||||
};
|
||||
class MuzzleSlot
|
||||
{
|
||||
};
|
||||
class UnderBarrelSlot
|
||||
{
|
||||
};
|
||||
class PointerSlot
|
||||
{
|
||||
};
|
||||
mass=112.436;
|
||||
};
|
||||
distanceZoomMin=300;
|
||||
distanceZoomMax=300;
|
||||
changeFiremodeSound[]=
|
||||
{
|
||||
"braf\braf_weapons_sound\weapons\weap_fireselctor.ogg",
|
||||
5,
|
||||
1,
|
||||
5
|
||||
};
|
||||
drySound[]=
|
||||
{
|
||||
"braf\braf_weapons_sound\weapons\weap_trigger_empty.ogg",
|
||||
3,
|
||||
1,
|
||||
10
|
||||
};
|
||||
reloadMagazineSound[]=
|
||||
{
|
||||
"braf\braf_weapons_sound\weapons\FAL\fal_reload.ogg",
|
||||
1,
|
||||
1,
|
||||
10
|
||||
};
|
||||
modes[]=
|
||||
{
|
||||
"Single",
|
||||
"FullAuto",
|
||||
"single_close",
|
||||
"single_medium",
|
||||
"single_far",
|
||||
"fullauto_medium"
|
||||
};
|
||||
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 Single: Mode_SemiAuto
|
||||
{
|
||||
class BaseSoundModeType;
|
||||
class StandardSound: BaseSoundModeType
|
||||
{
|
||||
soundSetShot[]=
|
||||
{
|
||||
"DMR03_Shot_SoundSet",
|
||||
"DMR03_tail_SoundSet",
|
||||
"DMR03_InteriorTail_SoundSet"
|
||||
};
|
||||
};
|
||||
class SilencedSound: BaseSoundModeType
|
||||
{
|
||||
SoundSetShot[]=
|
||||
{
|
||||
"DMR03_silencerShot_SoundSet",
|
||||
"DMR03_silencerTail_SoundSet",
|
||||
"DMR03_silencerInteriorTail_SoundSet"
|
||||
};
|
||||
};
|
||||
reloadTime=0.1;
|
||||
dispersion=0.00057999999;
|
||||
initSpeed=940;
|
||||
recoil="recoil_single_ebr";
|
||||
recoilProne="recoil_single_prone_ebr";
|
||||
minRange=2;
|
||||
minRangeProbab=0.30000001;
|
||||
midRange=350;
|
||||
midRangeProbab=0.69999999;
|
||||
maxRange=500;
|
||||
maxRangeProbab=0.050000001;
|
||||
};
|
||||
class FullAuto: Mode_FullAuto
|
||||
{
|
||||
class BaseSoundModeType;
|
||||
class StandardSound: BaseSoundModeType
|
||||
{
|
||||
soundSetShot[]=
|
||||
{
|
||||
"DMR03_Shot_SoundSet",
|
||||
"DMR03_tail_SoundSet",
|
||||
"DMR03_InteriorTail_SoundSet"
|
||||
};
|
||||
};
|
||||
class SilencedSound: BaseSoundModeType
|
||||
{
|
||||
SoundSetShot[]=
|
||||
{
|
||||
"DMR03_silencerShot_SoundSet",
|
||||
"DMR03_silencerTail_SoundSet",
|
||||
"DMR03_silencerInteriorTail_SoundSet"
|
||||
};
|
||||
};
|
||||
reloadTime=0.1;
|
||||
dispersion=0.00057999999;
|
||||
recoil="recoil_auto_ebr";
|
||||
recoilProne="recoil_auto_prone_ebr";
|
||||
minRange=0;
|
||||
minRangeProbab=0.89999998;
|
||||
midRange=15;
|
||||
midRangeProbab=0.69999999;
|
||||
maxRange=30;
|
||||
maxRangeProbab=0.050000001;
|
||||
aiRateOfFire=1e-006;
|
||||
};
|
||||
class single_close: Single
|
||||
{
|
||||
//requiredOpticType=1;
|
||||
showToPlayer=0;
|
||||
minRange=2;
|
||||
minRangeProbab=0.050000001;
|
||||
midRange=300;
|
||||
midRangeProbab=0.80000001;
|
||||
maxRange=500;
|
||||
maxRangeProbab=0.0099999998;
|
||||
aiRateOfFire=2;
|
||||
aiRateOfFireDistance=300;
|
||||
};
|
||||
class single_medium: single_close
|
||||
{
|
||||
minRange=300;
|
||||
minRangeProbab=0.050000001;
|
||||
midRange=500;
|
||||
midRangeProbab=0.69999999;
|
||||
maxRange=700;
|
||||
maxRangeProbab=0.050000001;
|
||||
aiRateOfFire=2;
|
||||
aiRateOfFireDistance=500;
|
||||
};
|
||||
class single_far: single_medium
|
||||
{
|
||||
//requiredOpticType=2;
|
||||
minRange=300;
|
||||
minRangeProbab=0.050000001;
|
||||
midRange=700;
|
||||
midRangeProbab=0.5;
|
||||
maxRange=2000;
|
||||
maxRangeProbab=0.050000001;
|
||||
aiRateOfFire=4;
|
||||
aiRateOfFireDistance=600;
|
||||
};
|
||||
class fullauto_medium: FullAuto
|
||||
{
|
||||
showToPlayer=0;
|
||||
burst=3;
|
||||
minRange=2;
|
||||
minRangeProbab=0.5;
|
||||
midRange=50;
|
||||
midRangeProbab=0.69999999;
|
||||
maxRange=100;
|
||||
maxRangeProbab=0.050000001;
|
||||
aiRateOfFire=2;
|
||||
};
|
||||
aiDispersionCoefY=3;
|
||||
aiDispersionCoefX=2;
|
||||
};
|
||||
class Braf_FAP: braf_FAP_base_F
|
||||
{
|
||||
author="BRAF Team";
|
||||
_generalMacro="Braf_FAP";
|
||||
scope=2;
|
||||
model="\braf\braf_weapons_assault_rifles\762mm_FAP\FAP.p3d";
|
||||
dexterity=1.6799999;
|
||||
displayName="IMBEL FAP 7.62mm";
|
||||
picture="\braf\braf_weapons_assault_rifles\762mm_FAP\ui\FAP_UI.paa";
|
||||
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
|
||||
hiddenSelections[]=
|
||||
{
|
||||
"Camo1",
|
||||
"Camo3",
|
||||
"Camo4"
|
||||
};
|
||||
hiddenSelectionsTextures[]=
|
||||
{
|
||||
"\braf\braf_weapons_assault_rifles\762mm_FAL\Data\parafal_muzle.paa",
|
||||
"\braf\braf_weapons_assault_rifles\762mm_FAL\Data\parafal_corpo.paa",
|
||||
"\braf\braf_weapons_assault_rifles\762mm_FAL\Data\fal_coronha.paa"
|
||||
};
|
||||
descriptionShort="FN FAP Autorifle";
|
||||
inertia=0.80000001;
|
||||
aimTransitionSpeed=0.69999999;
|
||||
initSpeed=940;
|
||||
class WeaponSlotsInfo: WeaponSlotsInfo
|
||||
{
|
||||
mass=112.436;
|
||||
};
|
||||
ace_overheating_mrbs=1500;
|
||||
ace_overheating_slowdownFactor=1;
|
||||
ace_overheating_allowSwapBarrel=1;
|
||||
ace_overheating_dispersion=0.75;
|
||||
ACE_barrelTwist=305;
|
||||
ACE_barrelLength=533;
|
||||
ACE_twistDirection=1;
|
||||
ACE_clearJamAction="braf_GestureClear_barrel_FAL";
|
||||
class ItemInfo
|
||||
{
|
||||
priority=1;
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_assault_rifles/762mm_FAP/FAP.p3d
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/FAP.p3d
LFS
Normal file
Binary file not shown.
92
braf_weapons_assault_rifles/762mm_FAP/bipod/UTG.rvmat
Normal file
92
braf_weapons_assault_rifles/762mm_FAP/bipod/UTG.rvmat
Normal file
@@ -0,0 +1,92 @@
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={0.69999999,0.69999999,0.69999999,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={1,1,1,1};
|
||||
specularPower=80;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_assault_rifles\762mm_FAP\bipod\UTG_bipod_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[]={4,0,0};
|
||||
up[]={0,4,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage3
|
||||
{
|
||||
texture="#(argb,8,8,3)color(0.5,0.5,0.5,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="#(argb,8,8,3)color(1,1,1,1,AS)";
|
||||
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_assault_rifles\762mm_FAP\bipod\UTG_bipod_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)fresnelGlass()";
|
||||
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_land_co.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_assault_rifles/762mm_FAP/bipod/utg_bipod_co.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/bipod/utg_bipod_co.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_assault_rifles/762mm_FAP/bipod/utg_bipod_nohq.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/bipod/utg_bipod_nohq.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_assault_rifles/762mm_FAP/bipod/utg_bipod_smdi.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/bipod/utg_bipod_smdi.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_assault_rifles/762mm_FAP/data/ForeGrip-Izzy_co.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/data/ForeGrip-Izzy_co.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_assault_rifles/762mm_FAP/data/corpo_fap_fap_fap.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/data/corpo_fap_fap_fap.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_assault_rifles/762mm_FAP/data/foregrip-izzy_smdi.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/data/foregrip-izzy_smdi.paa
LFS
Normal file
Binary file not shown.
@@ -0,0 +1,78 @@
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={0.40000001,0.40000001,0.40000001,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0.12,0.12,0.12,1};
|
||||
specularPower=110;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="#(argb,8,8,3)color(0.5,0.5,1,1,NOHQ)";
|
||||
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_assault_rifles\762mm_FAP\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,MC)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage4
|
||||
{
|
||||
texture="#(argb,8,8,3)color(1,1,1,1,AS)";
|
||||
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_assault_rifles\762mm_FAP\data\ForeGrip-Izzy_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(2.1,0.5)";
|
||||
uvSource="none";
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture="a3\Data\env_land_co.tga";
|
||||
uvSource="none";
|
||||
};
|
||||
BIN
braf_weapons_assault_rifles/762mm_FAP/data/frontsight-1_co.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/data/frontsight-1_co.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_assault_rifles/762mm_FAP/data/generic_smdi.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/data/generic_smdi.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_assault_rifles/762mm_FAP/data/metal_detail_dt.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/data/metal_detail_dt.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_assault_rifles/762mm_FAP/data/metal_rough_dt.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/data/metal_rough_dt.paa
LFS
Normal file
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0.090000004,0.090000004,0.090000004,1};
|
||||
specularPower=35;
|
||||
PixelShaderID="Normal";
|
||||
VertexShaderID="Basic";
|
||||
78
braf_weapons_assault_rifles/762mm_FAP/data/nomap_metal.rvmat
Normal file
78
braf_weapons_assault_rifles/762mm_FAP/data/nomap_metal.rvmat
Normal file
@@ -0,0 +1,78 @@
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={0.40000001,0.40000001,0.40000001,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0.12,0.12,0.12,1};
|
||||
specularPower=128;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="#(argb,8,8,3)color(0.5,0.5,1,1,NOHQ)";
|
||||
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_assault_rifles\762mm_FAP\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,MC)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage4
|
||||
{
|
||||
texture="#(argb,8,8,3)color(1,1,1,1,AS)";
|
||||
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_assault_rifles\762mm_FAP\data\generic_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(5.4,1.4)";
|
||||
uvSource="none";
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture="a3\Data\env_land_co.tga";
|
||||
uvSource="none";
|
||||
};
|
||||
468
braf_weapons_assault_rifles/762mm_FAP/model.cfg
Normal file
468
braf_weapons_assault_rifles/762mm_FAP/model.cfg
Normal file
@@ -0,0 +1,468 @@
|
||||
class CfgSkeletons
|
||||
{
|
||||
class Default
|
||||
{
|
||||
isDiscrete=1;
|
||||
skeletonInherit="";
|
||||
skeletonBones[]={};
|
||||
};
|
||||
class FAP_keleton: Default
|
||||
{
|
||||
skeletonBones[]=
|
||||
{
|
||||
"bipod_legs", "",
|
||||
"bipod_leg_l", "bipod_legs",
|
||||
"bipod_leg_r", "bipod_legs",
|
||||
|
||||
"bipe", "",
|
||||
"magazine", "",
|
||||
"bullet007", "",
|
||||
"bullet008", "",
|
||||
"charging_handle", "",
|
||||
"seletor", "",
|
||||
"Sling", "",
|
||||
"alsa", "",
|
||||
"gatilho", "",
|
||||
"zeroing", "",
|
||||
"zarelho", "",
|
||||
"zarelho_2", "",
|
||||
"granada", "",
|
||||
"Alca_mira", "",
|
||||
"Treme_mira", "Alca_mira",
|
||||
"trilho_frontal", "",
|
||||
"muzzleFlash", "",
|
||||
"optic_rail", "",
|
||||
|
||||
"zasleh", "",
|
||||
"bolt", "charging_handle"
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
class CfgModels
|
||||
{
|
||||
class Default
|
||||
{
|
||||
sectionsInherit="";
|
||||
sections[]={};
|
||||
skeletonName="";
|
||||
};
|
||||
class fap: Default
|
||||
{
|
||||
sections[]=
|
||||
{
|
||||
"zasleh","muzzleFlash","magazine","selector","bolt","optic_rail","mira","zeroing","alsa","zarelho","trilho_frontal","granada","Sling","camo","camo1","camo2","camo3","camo4","camo5"
|
||||
};
|
||||
skeletonName="FAP_keleton";
|
||||
sectionsInherit="";
|
||||
class Animations
|
||||
{
|
||||
class trigger /// not in this model, but good to use
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reload";
|
||||
sourceAddress = "clamp";
|
||||
selection = "gatilho";
|
||||
axis = "trigger_axis";
|
||||
minValue = 0;
|
||||
maxValue = "1";
|
||||
angle0 = "0";
|
||||
angle1 = "rad -30";
|
||||
};
|
||||
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_revolving_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet008";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0;
|
||||
unHideValue=0.035;
|
||||
};
|
||||
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 magazine_gl_reload_hide
|
||||
{
|
||||
type="hide";
|
||||
source="reloadMagazine.1";
|
||||
selection="granada";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0.22695;
|
||||
unHideValue=0.496454;
|
||||
};
|
||||
class grenade_fired
|
||||
{
|
||||
type="hide";
|
||||
source="revolving.1";
|
||||
selection="granada";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=-1;
|
||||
unHideValue=0.5;
|
||||
};
|
||||
class reload_magazine_hide
|
||||
{
|
||||
type="hide";
|
||||
source="reloadMagazine";
|
||||
selection="magazine";
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
hideValue=0.1503759;
|
||||
unhideValue=0.7293233082;
|
||||
|
||||
|
||||
};
|
||||
class unloaded_magazine_hide
|
||||
{
|
||||
type = "hide";
|
||||
source = "hasMagazine";
|
||||
selection = "magazine";
|
||||
hideValue = 0.1;
|
||||
};
|
||||
class reload_magazine_hinge
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadMagazine";
|
||||
selection="magazine";
|
||||
minValue=0.1503759;
|
||||
maxValue=0.1879699;
|
||||
axis="magazine_axis";
|
||||
angle0="rad 0";
|
||||
angle1="rad 30";
|
||||
};
|
||||
class reload_magazine_hinge2
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadMagazine";
|
||||
selection="magazine";
|
||||
minValue=0.7518;
|
||||
maxValue=0.7744360;
|
||||
axis="magazine_axis";
|
||||
angle0="rad 0";
|
||||
angle1="rad -30";
|
||||
};
|
||||
class backsight_rotate
|
||||
{
|
||||
type="translation";
|
||||
source="zeroing";
|
||||
selection="treme_mira";
|
||||
axis="vibra_axis";
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
//hideValue=1;
|
||||
offset0=0;
|
||||
offset1="-0.8";
|
||||
|
||||
};
|
||||
//class charge1
|
||||
//{
|
||||
//type="translation";
|
||||
//source="reloadMagazine";
|
||||
//selection= "charging_handle";
|
||||
//axis="bolt_axis";
|
||||
//begin = "bolt_axis_end";
|
||||
//end = "bolt_axis_begin";
|
||||
//memory = 1;
|
||||
//minValue=0.76875;
|
||||
//maxValue=0.79375;
|
||||
//offset0="0";
|
||||
//offset1="1";
|
||||
//};
|
||||
//class charge2
|
||||
//{
|
||||
//type="translation";
|
||||
//source="reloadMagazine";
|
||||
//selection= "charging_handle";
|
||||
//axis="bolt_axis";
|
||||
//begin = "bolt_axis_end";
|
||||
//end = "bolt_axis_begin";
|
||||
//memory = 1;
|
||||
//minValue=0.80625;
|
||||
//maxValue=0.825;
|
||||
//offset0="0";
|
||||
//offset1="-1";
|
||||
//};
|
||||
class bolt
|
||||
{
|
||||
type="translation";
|
||||
source="reload";
|
||||
selection="bolt";
|
||||
axis="bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
memory = 1;
|
||||
minValue=0;
|
||||
maxValue="0.5";
|
||||
offset0="0";
|
||||
offset1="1";
|
||||
};
|
||||
class bolt_2: bolt
|
||||
{
|
||||
minValue = 0;
|
||||
maxValue = 0.5;
|
||||
offset0 = 0;
|
||||
offset1 = 0.14;
|
||||
};
|
||||
class bolt_empty: bolt{
|
||||
source = "isEmptyNoReload";
|
||||
minValue = 0;
|
||||
maxValue = 1;
|
||||
offset0 = 0;
|
||||
offset1 = 1;
|
||||
};
|
||||
class bolt_reload_move_1: bolt_empty {
|
||||
source="reloadMagazine"; // z: should work like that only if weapon is empty
|
||||
minValue=0;
|
||||
maxValue=0.00001;
|
||||
};
|
||||
class bolt_reload_move_2: bolt_reload_move_1 {
|
||||
source="reloadMagazine"; // z: should work like that only if weapon is empty
|
||||
minValue=0.78;
|
||||
maxValue=0.80;
|
||||
offset1 = -1;
|
||||
};
|
||||
class alsa_shake
|
||||
{
|
||||
type="rotationX";
|
||||
source="reload";
|
||||
selection="alsa";
|
||||
sourceAddress="mirror";
|
||||
axis="alsa_axis";
|
||||
minPhase=0;
|
||||
maxPhase=0.5;
|
||||
minValue=0;
|
||||
maxValue=0.5;
|
||||
memory=0;
|
||||
angle0=-0.008726646;
|
||||
angle1=0.2;
|
||||
};
|
||||
class mira_shake
|
||||
{
|
||||
type="rotationz";
|
||||
source="reload";
|
||||
selection="Treme_mira";
|
||||
sourceAddress="mirror";
|
||||
axis="vibra_axis";
|
||||
minPhase=0;
|
||||
maxPhase=0.5;
|
||||
minValue=0;
|
||||
maxValue=0.5;
|
||||
memory=0;
|
||||
angle0=-0.05;
|
||||
angle1=0.05;
|
||||
};
|
||||
class mira_shake2
|
||||
{
|
||||
type="rotationX";
|
||||
source="reload";
|
||||
selection="alca_mira";
|
||||
sourceAddress="mirror";
|
||||
axis="vibra_axis";
|
||||
minPhase=0;
|
||||
maxPhase=0.5;
|
||||
minValue=0;
|
||||
maxValue=0.5;
|
||||
memory=0;
|
||||
angle0=0.00;
|
||||
angle1=-0.05;
|
||||
};
|
||||
//class mira_shake03
|
||||
//{
|
||||
// type="rotationy";
|
||||
// source="reload";
|
||||
// selection="alca_mira";
|
||||
// sourceAddress="mirror";
|
||||
// axis="vibra_axis";
|
||||
// minPhase=0;
|
||||
// maxPhase=0.5;
|
||||
// minValue=0;
|
||||
// maxValue=0.5;
|
||||
// memory=0;
|
||||
// angle0=0.005759587;
|
||||
// angle1=-0.005759587;
|
||||
//};
|
||||
class zarelho
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="zarelho";
|
||||
axis="zarelho_axis";
|
||||
minValue=-1;
|
||||
maxValue="1";
|
||||
angle0="rad -50";
|
||||
angle1="rad 50";
|
||||
};
|
||||
class zarelho_2
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="zarelho_2";
|
||||
axis="zarelho_2_axis";
|
||||
minValue=-1;
|
||||
maxValue="1";
|
||||
angle0="rad -50";
|
||||
angle1="rad 50";
|
||||
};
|
||||
class bipod_legs_shake
|
||||
{
|
||||
type="rotationz";
|
||||
source="reload";
|
||||
selection="bipod_legs";
|
||||
sourceAddress="mirror";
|
||||
axis="bipe_axis";
|
||||
minPhase=0;
|
||||
maxPhase=0.5;
|
||||
minValue=0;
|
||||
maxValue=0.5;
|
||||
memory=0;
|
||||
angle0=-0.05;
|
||||
angle1=0.05;
|
||||
};
|
||||
class bipod_legs_shake02
|
||||
{
|
||||
type="rotationx";
|
||||
source="reload";
|
||||
selection="bipod_legs";
|
||||
sourceAddress="mirror";
|
||||
axis="bipe_axis";
|
||||
minPhase=0;
|
||||
maxPhase=0.25;
|
||||
minValue=0;
|
||||
maxValue=0.25;
|
||||
memory=0;
|
||||
angle0=0.05;
|
||||
angle1=-0.05;
|
||||
};
|
||||
class bipod_legs_shake03
|
||||
{
|
||||
type="rotationy";
|
||||
source="reload";
|
||||
selection="bipod_legs";
|
||||
sourceAddress="mirror";
|
||||
axis="bipe_axis";
|
||||
minPhase=0;
|
||||
maxPhase=0.5;
|
||||
minValue=0;
|
||||
maxValue=0.5;
|
||||
memory=0;
|
||||
angle0=0.05;
|
||||
angle1=-0.05;
|
||||
};
|
||||
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 = "rotationY";
|
||||
// source="weaponMode";
|
||||
// memory=true;
|
||||
// selection="seletor";
|
||||
// animPeriod=0;
|
||||
// axis="selector_axis";
|
||||
// minValue=0;
|
||||
// maxValue=1;
|
||||
// angle0= "rad -10";
|
||||
// angle1="rad 840";
|
||||
//};
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_assault_rifles/762mm_FAP/ui/fap_ui.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_FAP/ui/fap_ui.paa
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user