This commit is the equivalent of a atomic bomb
This commit is contained in:
@@ -0,0 +1,465 @@
|
||||
class Braf_MD1_tactical_base_F: Rifle_Base_F
|
||||
{
|
||||
author="BRAF Team";
|
||||
_generalMacro="Braf_MD1_tactical_base_F";
|
||||
scope=0;
|
||||
displayName="MD1_tactical Base";
|
||||
magazines[]=
|
||||
{
|
||||
"braf_20Rnd_762x51"
|
||||
};
|
||||
magazineWell[]=
|
||||
{
|
||||
"BRAF_FAL_762"
|
||||
};
|
||||
reloadAction="braf_GestureReloadFAL";
|
||||
recoil="recoil_dmr_03";
|
||||
maxZeroing=1600;
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\braf\braf_weapons_anim\animations\762mm_FN_FAL\fnfal_vfg.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="smg";
|
||||
class Library
|
||||
{
|
||||
libTextDesc="IMBEL MD1 7.62mm Tactical modded Assault Rifle";
|
||||
};
|
||||
class WeaponSlotsInfo: WeaponSlotsInfo
|
||||
{
|
||||
mass=99.208;
|
||||
class MuzzleSlot: MuzzleSlot
|
||||
{
|
||||
linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
|
||||
compatibleItems[]={
|
||||
"braf_fal_bayonet"
|
||||
};
|
||||
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: asdg_UnderSlot
|
||||
{
|
||||
iconPosition[]={0.30000001,0.80000001};
|
||||
iconScale=0.30000001;
|
||||
};
|
||||
};
|
||||
muzzles[]=
|
||||
{
|
||||
"this",
|
||||
"RifleGrenade"
|
||||
};
|
||||
class RifleGrenade: UGL_F
|
||||
{
|
||||
displayName="Rifle Grenade";
|
||||
muzzleEnd="konec hlavne";
|
||||
muzzlePos="usti hlavne";
|
||||
recoil="sp_fwa_recoil_riflegrenade";
|
||||
magazines[]={};
|
||||
magazineWell[]=
|
||||
{
|
||||
"BRAF_RifleGrenade"
|
||||
};
|
||||
discreteDistanceCameraPoint[]=
|
||||
{
|
||||
"grenade_eye_25",
|
||||
"grenade_eye_50",
|
||||
"grenade_eye_75",
|
||||
"grenade_eye_100",
|
||||
"grenade_eye_125",
|
||||
"grenade_eye_150",
|
||||
"grenade_eye_200",
|
||||
"grenade_eye_250",
|
||||
"grenade_eye_300",
|
||||
"grenade_eye_300",
|
||||
"grenade_eye_300",
|
||||
"grenade_eye_300",
|
||||
"grenade_eye_300"
|
||||
};
|
||||
discreteDistance[]={25,50,75,100,125,150,200,250,300};
|
||||
discreteDistanceInitIndex=3;
|
||||
maxZeroing=300;
|
||||
zeroingSound[]=
|
||||
{
|
||||
"",
|
||||
1,
|
||||
1
|
||||
};
|
||||
memoryPointCamera="grenade_eye_50";
|
||||
cameraDir="grenade_aim_point";
|
||||
dispersion=0.0174533;
|
||||
class Single: Single
|
||||
{
|
||||
aiDispersionCoefX=1;
|
||||
aiDispersionCoefY=1;
|
||||
aiRateOfFireDistance=500;
|
||||
aiRateOfFireDispersion=0;
|
||||
aiRateOfFire=10;
|
||||
dispersion=0.0020000001;
|
||||
maxRange=250;
|
||||
maxRangeProbab=0.039999999;
|
||||
midRange=150;
|
||||
midRangeProbab=0.57999998;
|
||||
minRange=10;
|
||||
minRangeProbab=0.30000001;
|
||||
recoil="recoil_single_gm6";
|
||||
recoilProne="recoil_single_prone_gm6";
|
||||
class StandardSound
|
||||
{
|
||||
soundSetShot[]=
|
||||
{
|
||||
"Launcher_MRAWS_Shot_SoundSet",
|
||||
"Launcher_MRAWS_Tail_SoundSet"
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
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_MD1_tactical: Braf_MD1_tactical_base_F
|
||||
{
|
||||
author="BRAF Team";
|
||||
_generalMacro="Braf_MD1_tactical";
|
||||
scope=2;
|
||||
model="\braf\braf_weapons_assault_rifles\762mm_MD1_Tactical\MD1_tactical.p3d";
|
||||
dexterity=1.6799999;
|
||||
displayName="IMBEL M964 MD1 FAL PELOPES 7.62mm";
|
||||
picture="\braf\braf_weapons_assault_rifles\762mm_MD1_Tactical\ui\MD1_a1_pelo_ui.paa";
|
||||
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
|
||||
hiddenSelections[]=
|
||||
{
|
||||
"Camo1",
|
||||
"Camo2",
|
||||
"Camo3",
|
||||
"Camo4",
|
||||
"Camo5"
|
||||
};
|
||||
hiddenSelectionsTextures[]=
|
||||
{
|
||||
"\braf\braf_weapons_assault_rifles\762mm_FAL\Data\parafal_muzle.paa",
|
||||
"\braf\braf_weapons_assault_rifles\762mm_MD1_Tactical\Data\trilho_guardamao_co.paa",
|
||||
"\braf\braf_weapons_assault_rifles\762mm_FAL\Data\parafal_corpo.paa",
|
||||
"\braf\braf_weapons_assault_rifles\762mm_FAL\Data\trilho_superior.paa",
|
||||
"\braf\braf_weapons_assault_rifles\762mm_ParaFal\Data\Parafal_stock.paa"
|
||||
};
|
||||
descriptionShort="IMBEL MD1 Special Assault Rifle";
|
||||
inertia=0.80000001;
|
||||
aimTransitionSpeed=0.69999999;
|
||||
initSpeed=940;
|
||||
class WeaponSlotsInfo: WeaponSlotsInfo
|
||||
{
|
||||
mass=98.987549;
|
||||
};
|
||||
ace_overheating_mrbs=1200;
|
||||
ace_overheating_slowdownFactor=1;
|
||||
ace_overheating_allowSwapBarrel=1;
|
||||
ace_overheating_dispersion=0.75;
|
||||
ACE_barrelTwist=305;
|
||||
ACE_barrelLength=330;
|
||||
ACE_twistDirection=1;
|
||||
ace_railHeightAboveBore=3.5;
|
||||
ACE_clearJamAction="braf_GestureClear_barrel_FAL";
|
||||
class ItemInfo
|
||||
{
|
||||
priority=1;
|
||||
};
|
||||
};
|
||||
class Braf_MD1_tactical_Dot: Braf_MD1_tactical
|
||||
{
|
||||
author="BRAF Team";
|
||||
_generalMacro="Braf_MD1_tactical_Dot";
|
||||
class LinkedItems
|
||||
{
|
||||
class LinkedItemsOptic
|
||||
{
|
||||
slot="CowsSlot";
|
||||
item="optic_Holosight_blk_F";
|
||||
};
|
||||
class LinkedItemsAcc
|
||||
{
|
||||
slot="PointerSlot";
|
||||
item="acc_flashlight";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
BIN
braf_weapons_assault_rifles/762mm_MD1_Tactical/MD1_tactical.p3d
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_MD1_Tactical/MD1_tactical.p3d
LFS
Normal file
Binary file not shown.
@@ -0,0 +1,92 @@
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0.08,0.08,0.08,0.08};
|
||||
specularPower=44.099998;
|
||||
PixelShaderID="NormalMapSpecularDIMap";
|
||||
VertexShaderID="NormalMap";
|
||||
class Stage1
|
||||
{
|
||||
texture = "braf\braf_weapons_assault_rifles\762mm_MD1_Tactical\data\trilho_guardamao_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="#(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_MD1_Tactical\data\trilho_guardamao_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};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_assault_rifles/762mm_MD1_Tactical/data/trilho_guardamao_co.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_MD1_Tactical/data/trilho_guardamao_co.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_assault_rifles/762mm_MD1_Tactical/data/trilho_guardamao_nohq.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_MD1_Tactical/data/trilho_guardamao_nohq.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_assault_rifles/762mm_MD1_Tactical/data/trilho_guardamao_smdi.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_MD1_Tactical/data/trilho_guardamao_smdi.paa
LFS
Normal file
Binary file not shown.
444
braf_weapons_assault_rifles/762mm_MD1_Tactical/model.cfg
Normal file
444
braf_weapons_assault_rifles/762mm_MD1_Tactical/model.cfg
Normal file
@@ -0,0 +1,444 @@
|
||||
class CfgSkeletons
|
||||
{
|
||||
class Default
|
||||
{
|
||||
isDiscrete=1;
|
||||
skeletonInherit="";
|
||||
skeletonBones[]={};
|
||||
};
|
||||
class MD1_tactical_keleton: Default
|
||||
{
|
||||
skeletonBones[]=
|
||||
{
|
||||
"magazine", "",
|
||||
"grenademagazine", "",
|
||||
"bullet007", "",
|
||||
"bullet008", "",
|
||||
"charging_handle", "",
|
||||
"seletor", "",
|
||||
"Sling", "",
|
||||
"alsa", "",
|
||||
"gatilho", "",
|
||||
"zeroing", "",
|
||||
"zarelho", "",
|
||||
"zarelho_2", "",
|
||||
"stock", "",
|
||||
"granada", "",
|
||||
"Alca_mira", "",
|
||||
"Treme_mira", "Alca_mira",
|
||||
"trilho_frontal", "",
|
||||
"muzzleFlash", "",
|
||||
"optic_rail", "",
|
||||
|
||||
"zasleh", "",
|
||||
"bolt", "charging_handle"
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
class CfgModels
|
||||
{
|
||||
class Default
|
||||
{
|
||||
sectionsInherit="";
|
||||
sections[]={};
|
||||
skeletonName="";
|
||||
};
|
||||
class MD1_tactical: Default
|
||||
{
|
||||
sections[]=
|
||||
{
|
||||
"zasleh","muzzleFlash","magazine","selector","bolt","optic_rail","mira","zeroing","alsa","zarelho","trilho_frontal","granada","Sling","camo","camo1","camo2","camo3","camo4","camo5"
|
||||
};
|
||||
skeletonName="MD1_tactical_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 stock /// not in this model, but good to use
|
||||
{
|
||||
type = "rotation";
|
||||
source = "isselected";
|
||||
sourceAddress = "clamp";
|
||||
selection = "stock";
|
||||
axis = "stock_axis";
|
||||
minValue = 0;
|
||||
maxValue = "1";
|
||||
angle0 = "rad 180";
|
||||
angle1 = "0";
|
||||
};
|
||||
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=clamp;
|
||||
selection="seletor";
|
||||
animPeriod=0;
|
||||
axis="Selector_axis";
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
angle0= "rad -10";
|
||||
angle1="rad 840";
|
||||
};
|
||||
class grenade_shot
|
||||
{
|
||||
type="hide";
|
||||
source="isemptynoreload.1";
|
||||
selection="grenademagazine";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0.01;
|
||||
unHideValue=-1;
|
||||
};
|
||||
class grenade_hide
|
||||
{
|
||||
type="hide";
|
||||
source="weaponmuzzle";
|
||||
selection="grenademagazine";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0;
|
||||
unHideValue=0.01;
|
||||
};
|
||||
class grenade_magazine_hide
|
||||
{
|
||||
type="hide";
|
||||
source="reloadmagazine.1";
|
||||
selection="grenademagazine";
|
||||
sourceAddress="clamp";
|
||||
minPhase=0;
|
||||
maxPhase=1;
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
memory=0;
|
||||
hideValue=0.0001;
|
||||
unHideValue=0.99;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_assault_rifles/762mm_MD1_Tactical/ui/MD1_a1_pelo_ui.paa
LFS
Normal file
BIN
braf_weapons_assault_rifles/762mm_MD1_Tactical/ui/MD1_a1_pelo_ui.paa
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user