This commit is the equivalent of a atomic bomb
This commit is contained in:
339
braf_weapons_sniper_rifles/308_AGLC/308_AGLC.hpp
Normal file
339
braf_weapons_sniper_rifles/308_AGLC/308_AGLC.hpp
Normal file
@@ -0,0 +1,339 @@
|
||||
class braf_aglc_base: Rifle_Base_F
|
||||
{
|
||||
author="BRAF Team";
|
||||
_generalMacro="braf_aglc_base";
|
||||
scope=0;
|
||||
displayName="aglc Base";
|
||||
magazines[]=
|
||||
{
|
||||
"braf_5Rnd_308",
|
||||
"braf_5Rnd_308_Red"
|
||||
};
|
||||
magazineWell[]=
|
||||
{
|
||||
"CBA_3006_Spring"
|
||||
};
|
||||
reloadAction="HLC_GestureReloadM1903A1_UN";
|
||||
recoil="recoil_dmr_02";
|
||||
maxZeroing=1600;
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\A3\Weapons_F_Mark\LongRangeRifles\DMR_06\data\Anim\DMR_06.rtm"
|
||||
};
|
||||
overviewPicture="\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
|
||||
discreteDistanceInitIndex=0;
|
||||
discreteDistance[]={100,200,300,400,500,600};
|
||||
discreteDistanceCameraPoint[]=
|
||||
{
|
||||
"eye"
|
||||
};
|
||||
cameraDir="look";
|
||||
cursor="srifle";
|
||||
class Library
|
||||
{
|
||||
libTextDesc="Marksmanship Rifle";
|
||||
};
|
||||
class WeaponSlotsInfo: WeaponSlotsInfo
|
||||
{
|
||||
class CowsSlot: asdg_OpticRail1913_short
|
||||
{
|
||||
iconPosition[]={0.5,0.36000001};
|
||||
iconScale=0.15000001;
|
||||
};
|
||||
class MuzzleSlot
|
||||
{
|
||||
};
|
||||
class UnderBarrelSlot: asdg_UnderSlot
|
||||
{
|
||||
iconPosition[]={0.30000001,0.80000001};
|
||||
iconScale=0.30000001;
|
||||
};
|
||||
class PointerSlot: PointerSlot
|
||||
{
|
||||
compatibleItems[]=
|
||||
{
|
||||
"braf_aglc_pouch"
|
||||
};
|
||||
iconPosition[]={0.33000001,0.40000001};
|
||||
iconScale=0.2;
|
||||
};
|
||||
};
|
||||
distanceZoomMin=300;
|
||||
distanceZoomMax=300;
|
||||
changeFiremodeSound[]=
|
||||
{
|
||||
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Safety_02",
|
||||
0.11220184,
|
||||
1,
|
||||
5
|
||||
};
|
||||
drySound[]=
|
||||
{
|
||||
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Dry",
|
||||
0.25118864,
|
||||
1,
|
||||
20
|
||||
};
|
||||
reloadMagazineSound[]=
|
||||
{
|
||||
"braf\braf_weapons_sniper_rifles\308_AGLC\sound\1903A1Unertl_reload",
|
||||
1,
|
||||
1,
|
||||
10
|
||||
};
|
||||
modes[]=
|
||||
{
|
||||
"Single"
|
||||
};
|
||||
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
|
||||
{
|
||||
sounds[]=
|
||||
{
|
||||
"StandardSound",
|
||||
"SilencedSound"
|
||||
};
|
||||
class BaseSoundModeType;
|
||||
class StandardSound: BaseSoundModeType
|
||||
{
|
||||
soundSetShot[]=
|
||||
{
|
||||
"50cal_Type115_Shot_SoundSet",
|
||||
"50cal_Type115_Tail_SoundSet",
|
||||
"50cal_Type115_interiorTail_SoundSet"
|
||||
};
|
||||
};
|
||||
class SilencedSound: BaseSoundModeType
|
||||
{
|
||||
soundsetshot[]=
|
||||
{
|
||||
"50cal_Type115_Shot_SoundSet",
|
||||
"50cal_Type115_Tail_SoundSet",
|
||||
"50cal_Type115_interiorTail_SoundSet"
|
||||
};
|
||||
};
|
||||
reloadTime=2.3;
|
||||
dispersion=0.00060999999;
|
||||
};
|
||||
model="\braf\braf_weapons_sniper_rifles\308_AGLC\aglc.p3d";
|
||||
descriptionShort="IMBEL AGLC .308 Lapua Marksman Rifle";
|
||||
inertia=0.40000001;
|
||||
class CBA_weaponEvents
|
||||
{
|
||||
handAction="HLC_GestureRechamberM1903A1_UN";
|
||||
sound="hlc_bolt_1903";
|
||||
soundLocation="RightHandMiddle1";
|
||||
delay = 0.02;
|
||||
onEmpty=0;
|
||||
hasOptic=1;
|
||||
cartridgeType = "FxCartridge_762";
|
||||
cartridgeEjectPosition[] = {0.005,0.01,0.1};
|
||||
cartridgeEjectVelocity[] = {0,1.2,0.5};
|
||||
cartridgeEjectDelay = 0.543;
|
||||
soundEmpty="";
|
||||
soundLocationEmpty="";
|
||||
};
|
||||
magazineReloadSwitchPhase=0.5625;
|
||||
class EventHandlers
|
||||
{
|
||||
fired="_this call CBA_fnc_weaponEvents";
|
||||
};
|
||||
class ItemInfo
|
||||
{
|
||||
priority=1;
|
||||
};
|
||||
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
|
||||
dexterity=1.6799999;
|
||||
hiddenSelections[]=
|
||||
{
|
||||
"Camo"
|
||||
};
|
||||
};
|
||||
class Braf_aglc_camo: braf_aglc_base
|
||||
{
|
||||
author = "BRAF Team";
|
||||
_generalMacro="Braf_aglc_camo";
|
||||
scope=2;
|
||||
displayName="IMBEL AGLC .308 (Camo)";
|
||||
picture="\braf\braf_weapons_sniper_rifles\308_AGLC\ui\aglc_camo.paa";
|
||||
hiddenSelectionsTextures[]=
|
||||
{
|
||||
"braf\braf_weapons_sniper_rifles\308_AGLC\data\AGLC_CO_CAMO.paa"
|
||||
};
|
||||
};
|
||||
class Braf_aglc_marro: braf_aglc_base
|
||||
{
|
||||
author = "BRAF Team";
|
||||
_generalMacro="Braf_aglc_marro";
|
||||
scope=2;
|
||||
displayName="IMBEL AGLC .308 (Brown)";
|
||||
picture="\braf\braf_weapons_sniper_rifles\308_AGLC\ui\aglc_marrom.paa";
|
||||
hiddenSelectionsTextures[]=
|
||||
{
|
||||
"braf\braf_weapons_sniper_rifles\308_AGLC\data\AGLC_CO_MARRO.paa"
|
||||
};
|
||||
|
||||
};
|
||||
class Braf_aglc_preto: braf_aglc_base
|
||||
{
|
||||
author = "BRAF Team";
|
||||
_generalMacro="Braf_aglc_preto";
|
||||
scope=2;
|
||||
displayName="IMBEL AGLC .308 (Black)";
|
||||
picture="\braf\braf_weapons_sniper_rifles\308_AGLC\ui\aglc_preto.paa";
|
||||
hiddenSelectionsTextures[]=
|
||||
{
|
||||
"braf\braf_weapons_sniper_rifles\308_AGLC\data\AGLC_CO_PRETO.paa"
|
||||
};
|
||||
};
|
||||
class Braf_aglc_scope : Braf_aglc_marro
|
||||
{
|
||||
author = "BRAF Team";
|
||||
scope=1;
|
||||
_generalMacro="Braf_aglc_scope";
|
||||
class LinkedItems
|
||||
{
|
||||
class LinkedItemsOptic //Attach Mira
|
||||
{
|
||||
slot = "CowsSlot";
|
||||
item = "optic_LRPS";
|
||||
};
|
||||
};
|
||||
};
|
||||
class Braf_aglc_scope_preto : Braf_aglc_preto {
|
||||
scope=1;
|
||||
author = "BRAF Team";
|
||||
_generalMacro="Braf_aglc_scope";
|
||||
class LinkedItems
|
||||
{
|
||||
class LinkedItemsOptic //Attach Mira
|
||||
{
|
||||
slot = "CowsSlot";
|
||||
item = "optic_LRPS";
|
||||
};
|
||||
};
|
||||
};
|
||||
class Braf_aglc_scope_camo : Braf_aglc_camo {
|
||||
scope=1;
|
||||
author = "BRAF Team";
|
||||
_generalMacro="Braf_aglc_scope";
|
||||
class LinkedItems
|
||||
{
|
||||
class LinkedItemsOptic //Attach Mira
|
||||
{
|
||||
slot = "CowsSlot";
|
||||
item = "optic_LRPS";
|
||||
};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_sniper_rifles/308_AGLC/aglc.p3d
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/aglc.p3d
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/data/300wm_smdi.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/data/300wm_smdi.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_AS.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_AS.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_CO_CAMO.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_CO_CAMO.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_CO_MARRO.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_CO_MARRO.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_CO_PRETO.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_CO_PRETO.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_NOHQ.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_NOHQ.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_SMDI.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/data/AGLC_SMDI.paa
LFS
Normal file
Binary file not shown.
92
braf_weapons_sniper_rifles/308_AGLC/data/aglc.rvmat
Normal file
92
braf_weapons_sniper_rifles/308_AGLC/data/aglc.rvmat
Normal file
@@ -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_sniper_rifles\308_AGLC\data\AGLC_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_sniper_rifles\308_AGLC\data\AGLC_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_sniper_rifles\308_AGLC\data\AGLC_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};
|
||||
};
|
||||
};
|
||||
78
braf_weapons_sniper_rifles/308_AGLC/data/bullet.rvmat
Normal file
78
braf_weapons_sniper_rifles/308_AGLC/data/bullet.rvmat
Normal file
@@ -0,0 +1,78 @@
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={0.30000001,0.30000001,0.30000001,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0.99999982,0.95699984,0.80700004,1};
|
||||
specularPower=200;
|
||||
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="#(argb,8,8,3)color(0.5,0.5,0.5,0)";
|
||||
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)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage4
|
||||
{
|
||||
texture="#(rgb,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_sniper_rifles\308_AGLC\data\300wm_smdi.tga";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage6
|
||||
{
|
||||
texture="#(ai,64,64,1)fresnel(0.6,0.16)";
|
||||
uvSource="none";
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture="a3\Data\env_land_co.tga";
|
||||
uvSource="none";
|
||||
};
|
||||
92
braf_weapons_sniper_rifles/308_AGLC/data/cartucheira.rvmat
Normal file
92
braf_weapons_sniper_rifles/308_AGLC/data/cartucheira.rvmat
Normal file
@@ -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.22,0.22,0.22,1};
|
||||
specularPower=40;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture = "braf\braf_weapons_sniper_rifles\308_AGLC\data\AGLC_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_sniper_rifles\308_AGLC\data\AGLC_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_sniper_rifles\308_AGLC\data\AGLC_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(1,0.1)";
|
||||
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_sniper_rifles/308_AGLC/data/ui/camo.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/data/ui/camo.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/data/ui/marrom.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/data/ui/marrom.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/data/ui/preto.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/data/ui/preto.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/data/ui/verde.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/data/ui/verde.paa
LFS
Normal file
Binary file not shown.
505
braf_weapons_sniper_rifles/308_AGLC/model.cfg
Normal file
505
braf_weapons_sniper_rifles/308_AGLC/model.cfg
Normal file
@@ -0,0 +1,505 @@
|
||||
class CfgSkeletons
|
||||
{
|
||||
class Default {
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "";
|
||||
skeletonBones[] = {};
|
||||
};
|
||||
class AGLGSkeleton: Default
|
||||
{
|
||||
skeletonBones[]=
|
||||
{
|
||||
"Bolt_piece2", "",
|
||||
"bipod_pivot", "",
|
||||
"Bolt_piece1", "Bolt_piece2",
|
||||
"Striker_assy", "Bolt_piece2",
|
||||
"Striker", "Bolt_piece2",
|
||||
"flashgrip", "",
|
||||
"Magazine", "",
|
||||
"Ferrolho", "",
|
||||
"casing", "Bolt_piece2",
|
||||
"Bullet1", "Magazine",
|
||||
"Bullet2", "Magazine",
|
||||
"Bullet3", "Magazine",
|
||||
"Bullet4", "Magazine",
|
||||
"Bullet5", "Magazine",
|
||||
"follower", "",
|
||||
"Trigger", "",
|
||||
"zasleh","",
|
||||
"bipod_rail",""
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CfgModels
|
||||
{
|
||||
class Default {
|
||||
selections[] = {};
|
||||
selectionsInherit = "";
|
||||
skeletonName = "";
|
||||
};
|
||||
|
||||
class aglgm: Default
|
||||
{
|
||||
sections[]=
|
||||
{
|
||||
"zasleh","Magazine","Bolt_piece2","Trigger","MAin","reciever","Stock","Camo"
|
||||
};
|
||||
skeletonName="AGLGSkeleton";
|
||||
sectionsInherit = "";
|
||||
class Animations
|
||||
{
|
||||
class bipod_rail
|
||||
{
|
||||
type="hide";
|
||||
source="hasUnderbarrel";
|
||||
selection="bipod_rail";
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
hideValue=1.0;
|
||||
unhideValue = -0.5;
|
||||
};
|
||||
class muzzleflash_hide
|
||||
{
|
||||
type="hide";
|
||||
source="hasSuppressor";
|
||||
selection="zasleh";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.01;
|
||||
};
|
||||
class railgrip_hide
|
||||
{
|
||||
type="hide";
|
||||
source="hasAccessory";
|
||||
selection="flashgrip";
|
||||
minValue = 0;
|
||||
maxvalue = 0.5;
|
||||
hideValue = 0;
|
||||
unhidevalue = 0.5;
|
||||
};
|
||||
|
||||
class bullet1_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet1";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.9;
|
||||
};
|
||||
class bullet2_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet2";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.8;
|
||||
};
|
||||
class bullet3_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet3";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.6;
|
||||
};
|
||||
class bullet4_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet4";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.4;
|
||||
};
|
||||
class bullet5_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet5";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.2;
|
||||
};
|
||||
class casing_hide
|
||||
{
|
||||
type="hide";
|
||||
source="isEmpty";
|
||||
selection="casing";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.01;
|
||||
};
|
||||
class bullet1_reload
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletlift_axis";
|
||||
minValue = 0.44;
|
||||
maxValue = 0.5;
|
||||
offset0 = -1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
minValue = 0.44;
|
||||
maxValue = 0.5;
|
||||
offset0 = -1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload_reset
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletlift_axis";
|
||||
minValue = 0.01;
|
||||
maxValue = 0.02;
|
||||
offset0 = 1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload2_reset
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
minValue = 0.01;
|
||||
maxValue = 0.02;
|
||||
offset0 = 1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload3
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.46;
|
||||
maxValue = 0.48;
|
||||
angle0=0;
|
||||
angle1="rad -10";
|
||||
};
|
||||
class bullet1_reload4
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.485;
|
||||
maxValue = 0.49;
|
||||
angle0=0;
|
||||
angle1="rad 10";
|
||||
};
|
||||
class bolt1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Ferrolho";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue=0.3;
|
||||
maxValue=0.36;
|
||||
offset0 = "0";
|
||||
offset1 = 0.05;
|
||||
};
|
||||
|
||||
class bolt2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Ferrolho";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.44;
|
||||
maxValue = 0.51; //0.09; //"1";
|
||||
offset0 = "0";
|
||||
offset1 = 0.95;
|
||||
};
|
||||
class casing_hide_rechamber
|
||||
{
|
||||
type="hide";
|
||||
source = "reload";
|
||||
selection="casing";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue =0.01;
|
||||
unhideValue =0.625;
|
||||
};
|
||||
|
||||
class bolt3
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Ferrolho";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.62;
|
||||
maxValue = 0.7; //0.09; //"1";
|
||||
offset0 = "0";
|
||||
offset1 = -0.95;
|
||||
};
|
||||
|
||||
class bolt4
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Ferrolho";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue=0.74;
|
||||
maxValue=0.78;
|
||||
offset0 = "0";
|
||||
offset1 = -0.05;
|
||||
};
|
||||
class follower
|
||||
{
|
||||
type = "translation";
|
||||
source = "revolving";
|
||||
selection = "follower";
|
||||
memory=1;
|
||||
axis = "follower_axis";
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
offset0 = 1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class striker1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "striker";
|
||||
memory=1;
|
||||
axis = "striker_axis";
|
||||
minValue=0.76;
|
||||
maxValue=0.8;
|
||||
offset0 = 1;
|
||||
offset1 = 0;
|
||||
};
|
||||
|
||||
class Boltturn1
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="Ferrolho";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.3;
|
||||
maxValue=0.36;
|
||||
angle0=0;
|
||||
angle1="rad -90";
|
||||
|
||||
};
|
||||
class Boltturn2
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="Ferrolho";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.74;
|
||||
maxValue=0.78;
|
||||
angle0=0;
|
||||
angle1="rad 90";
|
||||
};
|
||||
class Mag_bolt_rot1
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadmagazine";
|
||||
selection="Ferrolho";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.04888888888888888888888888888889;
|
||||
maxValue=0.05777777777777777777777777777778;
|
||||
angle0=0;
|
||||
angle1="rad -90";
|
||||
|
||||
};
|
||||
class Mag_bolt_rot2
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadmagazine";
|
||||
selection="Ferrolho";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.85333333333333333333333333333333;
|
||||
maxValue=0.86666666666666666666666666666667;
|
||||
angle0=0;
|
||||
angle1="rad 90";
|
||||
};
|
||||
|
||||
class Mag_striker_trans1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "Ferrolho";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.06666666666666666666666666666667;
|
||||
maxValue = 0.08444444444444444444444444444444;
|
||||
offset0 = "0";
|
||||
offset1 = 1;
|
||||
};
|
||||
class Mag_striker_trans3
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "Bolt_piece2";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.82666666666666666666666666666667;
|
||||
maxValue = 0.85333333333333333333333333333333;
|
||||
offset0 = "0";
|
||||
offset1 = -1;
|
||||
};
|
||||
class mag_bullet1_reload
|
||||
{
|
||||
type = "translation";
|
||||
source ="reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletlift_axis";
|
||||
minValue = 0.82666666666666666666666666666667;
|
||||
maxValue = 0.83555555555555555555555555555556;
|
||||
offset0 = 0;
|
||||
offset1 = -1;
|
||||
};
|
||||
class mag_bullet1_reload2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
minValue = 0.82666666666666666666666666666667;
|
||||
maxValue = 0.85333333333333333333333333333333;
|
||||
offset0 = 0;
|
||||
offset1 = -1;
|
||||
};
|
||||
class mag_bullet1_reload3
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.82666666666666666666666666666667;
|
||||
maxValue = 0.83555555555555555555555555555556;
|
||||
angle0=0;
|
||||
angle1="rad -10";
|
||||
};
|
||||
class mag_bullet1_reload4
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.83555555555555555555555555555556;
|
||||
maxValue = 0.85333333333333333333333333333333;
|
||||
angle0=0;
|
||||
angle1="rad 10";
|
||||
};
|
||||
class casing_hide_reload
|
||||
{
|
||||
type="hide";
|
||||
source = "reloadmagazine";
|
||||
selection="casing";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue =0.08444444444444444444444444444444;
|
||||
unhideValue =0.999;
|
||||
};
|
||||
class bullet1_hide_reload
|
||||
{
|
||||
type="hide";
|
||||
source = "reloadmagazine";
|
||||
selection="Bullet1";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue =0.0001;
|
||||
unhideValue =0.7466;
|
||||
};
|
||||
class bullet2_hide_reload
|
||||
{
|
||||
type="hide";
|
||||
source = "reloadmagazine";
|
||||
selection="Bullet2";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue =0.0001;
|
||||
unhideValue =0.66666666666666666666666666666667;
|
||||
};
|
||||
class bullet3_hide_reload
|
||||
{
|
||||
type="hide";
|
||||
source = "reloadmagazine";
|
||||
selection="Bullet3";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue =0.0001;
|
||||
unhideValue =0.56888888888888888888888888888889;
|
||||
};
|
||||
class bullet4_hide_reload
|
||||
{
|
||||
type="hide";
|
||||
source = "reloadmagazine";
|
||||
selection="Bullet4";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue =0.0001;
|
||||
unhideValue =0.46222222222222222222222222222222;
|
||||
};
|
||||
class bullet5_hide_reload
|
||||
{
|
||||
type="hide";
|
||||
source = "reloadmagazine";
|
||||
selection="Bullet5";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue =0.0001;
|
||||
unhideValue =0.35111111111111111111111111111111;
|
||||
};
|
||||
class unloaded_magazine_hide
|
||||
{
|
||||
type = "hide";
|
||||
source = "hasMagazine";
|
||||
selection = "Magazine";
|
||||
hideValue = 0.1;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
class aglc: aglgm {};
|
||||
};
|
||||
BIN
braf_weapons_sniper_rifles/308_AGLC/pounch/aglc_pouch.p3d
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/pounch/aglc_pouch.p3d
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/pounch/cartucheira.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/pounch/cartucheira.paa
LFS
Normal file
Binary file not shown.
47
braf_weapons_sniper_rifles/308_AGLC/pounch/config.cpp
Normal file
47
braf_weapons_sniper_rifles/308_AGLC/pounch/config.cpp
Normal file
@@ -0,0 +1,47 @@
|
||||
class CfgPatches
|
||||
{
|
||||
class Braf_acc
|
||||
{
|
||||
addonRootClass = "braf_weapons_attach";
|
||||
units[] = {};
|
||||
weapons[] = {"braf_aglc_pouch"};
|
||||
requiredVersion = 0.1;
|
||||
requiredAddons[] = {"A3_Data_F"};
|
||||
};
|
||||
};
|
||||
|
||||
class SlotInfo;
|
||||
class PointerSlot;
|
||||
class PointerSlot_Rail : PointerSlot
|
||||
{
|
||||
linkProxy = "a3\data_f\proxies\weapon_slots\side.p3d";
|
||||
displayName = "$STR_A3_PointerSlot0";
|
||||
class compatibleItems
|
||||
{
|
||||
braf_aglc_pouch = 1;
|
||||
};
|
||||
};
|
||||
|
||||
class cfgWeapons
|
||||
{
|
||||
class ItemCore;
|
||||
class InventoryFlashLightItem_Base_F;
|
||||
class braf_aglc_pouch : ItemCore
|
||||
{
|
||||
author = "BRAF Team";
|
||||
_generalMacro = "braf_aglc_pouch";
|
||||
scope = 2;
|
||||
inertia = 0.1;
|
||||
displayName = "AGLC Buttstock Pouch";
|
||||
picture = "braf\braf_weapons_sniper_rifles\308_AGLC\pounch\cartucheira.paa";
|
||||
model = "braf\braf_weapons_sniper_rifles\308_AGLC\pounch\aglc_pouch.p3d";
|
||||
descriptionShort = "AGLC Buttstocj Pouch for .308 rounds";
|
||||
class ItemInfo : InventoryFlashLightItem_Base_F
|
||||
{
|
||||
mass = 9.9;
|
||||
class FlashLight
|
||||
{
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_sniper_rifles/308_AGLC/sound/1903A1Unertl_reload.ogg
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/sound/1903A1Unertl_reload.ogg
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/sound/1903A1Unertl_reload.wss
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/sound/1903A1Unertl_reload.wss
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/sound/1903A1_rechamber.ogg
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/sound/1903A1_rechamber.ogg
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/sound/1903A1_rechamber.wss
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/sound/1903A1_rechamber.wss
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/ui/aglc_camo.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/ui/aglc_camo.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/ui/aglc_cartucheira.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/ui/aglc_cartucheira.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/ui/aglc_marrom.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/ui/aglc_marrom.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/ui/aglc_preto.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/ui/aglc_preto.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_AGLC/ui/aglc_verde.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_AGLC/ui/aglc_verde.paa
LFS
Normal file
Binary file not shown.
293
braf_weapons_sniper_rifles/308_MSR/308_MSR.hpp
Normal file
293
braf_weapons_sniper_rifles/308_MSR/308_MSR.hpp
Normal file
@@ -0,0 +1,293 @@
|
||||
class braf_msr_308_base: Rifle_Base_F
|
||||
{
|
||||
author="BRAF Team";
|
||||
_generalMacro="braf_msr_308_base";
|
||||
scope=1;
|
||||
displayName="msr Base";
|
||||
magazines[]=
|
||||
{
|
||||
"braf_msr_10Rnd_308",
|
||||
"braf_msr_10Rnd_308_red"
|
||||
};
|
||||
magazineWell[]=
|
||||
{
|
||||
"CBA_300WM_AI"
|
||||
};
|
||||
reloadAction="HLC_GestureReloadAWM";
|
||||
recoil="recoil_dmr_02";
|
||||
maxZeroing=1600;
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\braf\braf_weapons_anim\animations\308_MSR\MSR_hand_anim.rtm"
|
||||
};
|
||||
overviewPicture="\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
|
||||
discreteDistanceInitIndex=0;
|
||||
discreteDistance[]={100,200,300,400,500,600};
|
||||
discreteDistanceCameraPoint[]=
|
||||
{
|
||||
"mira"
|
||||
};
|
||||
cameraDir="look";
|
||||
cursor="srifle";
|
||||
class Library
|
||||
{
|
||||
libTextDesc="Special Porpuse Marksmanship Rifle";
|
||||
};
|
||||
class WeaponSlotsInfo: WeaponSlotsInfo
|
||||
{
|
||||
class MuzzleSlot: asdg_MuzzleSlot
|
||||
{
|
||||
linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
|
||||
compatibleItems[]=
|
||||
{
|
||||
"braf_msr_silencer"
|
||||
};
|
||||
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;
|
||||
};
|
||||
};
|
||||
distanceZoomMin=300;
|
||||
distanceZoomMax=300;
|
||||
changeFiremodeSound[]=
|
||||
{
|
||||
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Safety_02",
|
||||
0.11220184,
|
||||
1,
|
||||
5
|
||||
};
|
||||
drySound[]=
|
||||
{
|
||||
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Dry",
|
||||
0.25118864,
|
||||
1,
|
||||
20
|
||||
};
|
||||
reloadMagazineSound[]=
|
||||
{
|
||||
"braf\braf_weapons_sniper_rifles\308_MSR\sound\AWC_reload",
|
||||
1,
|
||||
1,
|
||||
10
|
||||
};
|
||||
modes[]=
|
||||
{
|
||||
"Single"
|
||||
};
|
||||
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
|
||||
{
|
||||
sounds[]=
|
||||
{
|
||||
"StandardSound",
|
||||
"SilencedSound"
|
||||
};
|
||||
class BaseSoundModeType;
|
||||
class StandardSound: BaseSoundModeType
|
||||
{
|
||||
soundSetShot[]=
|
||||
{
|
||||
"50cal_Type115_Shot_SoundSet",
|
||||
"50cal_Type115_Tail_SoundSet",
|
||||
"50cal_Type115_interiorTail_SoundSet"
|
||||
};
|
||||
};
|
||||
class SilencedSound: BaseSoundModeType
|
||||
{
|
||||
soundsetshot[]=
|
||||
{
|
||||
"DMR03_silencerShot_SoundSet",
|
||||
"DMR03_silencerTail_SoundSet",
|
||||
"DMR03_silencerInteriorTail_SoundSet"
|
||||
};
|
||||
};
|
||||
reloadTime=2.3;
|
||||
dispersion=0.00060999999;
|
||||
};
|
||||
};
|
||||
class Braf_msr_308: braf_msr_308_base
|
||||
{
|
||||
author="BRAF Team";
|
||||
_generalMacro="Braf_msr_308";
|
||||
scope=2;
|
||||
model="\braf\braf_weapons_sniper_rifles\308_MSR\MSR.p3d";
|
||||
dexterity=1.6799999;
|
||||
displayName="Remington MSR .308 (Tan)";
|
||||
picture="\braf\braf_weapons_sniper_rifles\308_MSR\ui\msr_308_ui_tan.paa";
|
||||
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
|
||||
hiddenSelections[]=
|
||||
{
|
||||
"Camo"
|
||||
};
|
||||
hiddenSelectionsTextures[]=
|
||||
{
|
||||
"\braf\braf_weapons_sniper_rifles\308_MSR\data\MSR_CO.paa"
|
||||
};
|
||||
descriptionShort="$STR_A3_CfgWeapons_srifle_DMR_03_F1";
|
||||
inertia=0.40000001;
|
||||
class CBA_weaponEvents
|
||||
{
|
||||
handAction="HLC_GestureRechamberAWM";
|
||||
sound="hlc_bolt_AWM";
|
||||
soundLocation="RightHandMiddle1";
|
||||
delay=0.02;
|
||||
onEmpty=0;
|
||||
};
|
||||
magazineReloadSwitchPhase=0.5;
|
||||
class EventHandlers
|
||||
{
|
||||
fired="_this call CBA_fnc_weaponEvents";
|
||||
};
|
||||
class WeaponSlotsInfo: WeaponSlotsInfo
|
||||
{
|
||||
mass=115;
|
||||
};
|
||||
class ItemInfo
|
||||
{
|
||||
priority=1;
|
||||
};
|
||||
};
|
||||
class Braf_msr_308_scope : Braf_msr_308
|
||||
{
|
||||
author="BRAF Team";
|
||||
_generalMacro="Braf_msr_308_scope";
|
||||
class LinkedItems
|
||||
{
|
||||
class LinkedItemsOptic //Attach Mira
|
||||
{
|
||||
slot = "CowsSlot";
|
||||
item = "optic_LRPS";
|
||||
};
|
||||
class LinkedItemsMuzzle //Attach para o Cano
|
||||
{
|
||||
slot = "MuzzleSlot";
|
||||
item = "braf_msr_silencer";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
BIN
braf_weapons_sniper_rifles/308_MSR/MSR.p3d
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_MSR/MSR.p3d
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_MSR/data/MSR_AS.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_MSR/data/MSR_AS.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_MSR/data/MSR_CO.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_MSR/data/MSR_CO.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_MSR/data/MSR_NOHQ.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_MSR/data/MSR_NOHQ.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_MSR/data/MSR_SMDI.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_MSR/data/MSR_SMDI.paa
LFS
Normal file
Binary file not shown.
94
braf_weapons_sniper_rifles/308_MSR/data/msr.rvmat
Normal file
94
braf_weapons_sniper_rifles/308_MSR/data/msr.rvmat
Normal file
@@ -0,0 +1,94 @@
|
||||
ambient[] = {1.0,1.0,1.0,1};
|
||||
diffuse[] = {1.0,1.0,1.0,1};
|
||||
forcedDiffuse[] = {0,0,0,0};
|
||||
emmisive[] = {0,0,0,1};
|
||||
specular[] = {0.128,0.127,0.125,1};
|
||||
specularPower = 30;
|
||||
PixelShaderID = "Super";
|
||||
VertexShaderID = "Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\308_MSR\data\MSR_NOHQ.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,1};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
Filter="Anizotropic";
|
||||
};
|
||||
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.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="braf\braf_weapons_sniper_rifles\308_MSR\data\MSR_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_sniper_rifles\308_MSR\data\MSR_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,16,2,2)fresnel(0.45,0.25)";
|
||||
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";
|
||||
useWorldEnvMap = "true";
|
||||
uvSource = "tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[] = {1.0,0.0,0.0};
|
||||
up[] = {0.0,1.0,0.0};
|
||||
dir[] = {0.0,0.0,0.0};
|
||||
pos[] = {0.0,0.0,0.0};
|
||||
};
|
||||
};
|
||||
576
braf_weapons_sniper_rifles/308_MSR/model.cfg
Normal file
576
braf_weapons_sniper_rifles/308_MSR/model.cfg
Normal file
@@ -0,0 +1,576 @@
|
||||
class CfgSkeletons
|
||||
{
|
||||
class Default {
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "";
|
||||
skeletonBones[] = {};
|
||||
};
|
||||
class MSRSkeleton: Default
|
||||
{
|
||||
skeletonBones[]=
|
||||
{
|
||||
"Bolt", "",
|
||||
"bipod_pivot", "",
|
||||
"bipodleg_r", "bipod_pivot",
|
||||
"bipodleg_l", "bipod_pivot",
|
||||
"bipodfoot_l", "bipodleg_l",
|
||||
"bipodfoot_r", "bipodleg_r",
|
||||
"Bolthandle", "Bolt",
|
||||
"Magazine", "",
|
||||
"casing", "Bolt",
|
||||
"Bullet1", "Magazine",
|
||||
"Bullet2", "Magazine",
|
||||
"Bullet3", "Magazine",
|
||||
"Bullet4", "Magazine",
|
||||
"Bullet5", "Magazine",
|
||||
"ironsights", "",
|
||||
"Striker", "Bolthandle",
|
||||
"Trigger", "",
|
||||
"zasleh",""
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CfgModels
|
||||
{
|
||||
class Default {
|
||||
selections[] = {};
|
||||
selectionsInherit = "";
|
||||
skeletonName = "";
|
||||
};
|
||||
|
||||
class msr: Default
|
||||
{
|
||||
sections[]=
|
||||
{
|
||||
"zasleh","Magazine","Bolt","Trigger","camo","camo2","camo3"
|
||||
};
|
||||
skeletonName="MSRSkeleton";
|
||||
sectionsInherit = "";
|
||||
class Animations
|
||||
{
|
||||
class muzzleflash_hide
|
||||
{
|
||||
type="hide";
|
||||
source="hasSuppressor";
|
||||
selection="zasleh";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.01;
|
||||
};
|
||||
class bullet1_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet1";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.9;
|
||||
};
|
||||
class bullet2_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet2";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.8;
|
||||
};
|
||||
class bullet3_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet3";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.6;
|
||||
};
|
||||
class bullet4_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet4";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.4;
|
||||
};
|
||||
class bullet5_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet5";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.2;
|
||||
};
|
||||
class casing_hide
|
||||
{
|
||||
type="hide";
|
||||
source="isEmpty";
|
||||
selection="casing";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.01;
|
||||
};
|
||||
class bullet1_reload
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletlift_axis";
|
||||
minValue = 0.48;
|
||||
maxValue = 0.5;
|
||||
offset0 = -1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
minValue = 0.46;
|
||||
maxValue = 0.54;
|
||||
offset0 = -1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload_reset
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletlift_axis";
|
||||
minValue = 0.01;
|
||||
maxValue = 0.02;
|
||||
offset0 = 1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload2_reset
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
minValue = 0.01;
|
||||
maxValue = 0.02;
|
||||
offset0 = 1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload3
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.49;
|
||||
maxValue = 0.50;
|
||||
angle0=0;
|
||||
angle1="rad -10";
|
||||
};
|
||||
class bullet1_reload4
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.51;
|
||||
maxValue = 0.53;
|
||||
angle0=0;
|
||||
angle1="rad 10";
|
||||
};
|
||||
class bolt1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.4;
|
||||
maxValue = 0.46; //0.09; //"1";
|
||||
offset0 = "0";
|
||||
offset1 = 0.05;
|
||||
};
|
||||
|
||||
class bolt2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.46;
|
||||
maxValue = 0.54; //0.09; //"1";
|
||||
offset0 = "0";
|
||||
offset1 = 0.95;
|
||||
};
|
||||
class casing_hide_rechamber
|
||||
{
|
||||
type="hide";
|
||||
source = "reload";
|
||||
selection="casing";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue =0.01;
|
||||
unhideValue =0.66;
|
||||
};
|
||||
|
||||
class bolt3
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.66;
|
||||
maxValue = 0.72; //0.09; //"1";
|
||||
offset0 = "0";
|
||||
offset1 = -0.95;
|
||||
};
|
||||
|
||||
class bolt4
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.76;
|
||||
maxValue = 0.78; //0.09; //"1";
|
||||
offset0 = "0";
|
||||
offset1 = -0.05;
|
||||
};
|
||||
class striker1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "striker";
|
||||
memory=1;
|
||||
axis = "striker_axis";
|
||||
minValue=0.99;
|
||||
maxValue=1;
|
||||
offset0 = "0";
|
||||
offset1 = 1;
|
||||
};
|
||||
class striker2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "striker";
|
||||
memory=1;
|
||||
axis = "striker_axis";
|
||||
minValue=0.76;
|
||||
maxValue=0.8;
|
||||
offset0 = "0";
|
||||
offset1 = -1;
|
||||
};
|
||||
class Boltturn1
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="BoltHandle";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.4;
|
||||
maxValue=0.46;
|
||||
angle0=0;
|
||||
angle1="rad -60";
|
||||
|
||||
};
|
||||
class Boltturn2
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="BoltHandle";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.76;
|
||||
maxValue=0.8;
|
||||
angle0=0;
|
||||
angle1="rad 60";
|
||||
};
|
||||
class Mag_bolt_rot1
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadmagazine";
|
||||
selection="BoltHandle";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.70072992;
|
||||
maxValue=0.71532846;
|
||||
angle0=0;
|
||||
angle1="rad -90";
|
||||
|
||||
};
|
||||
class Mag_bolt_rot2
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadmagazine";
|
||||
selection="BoltHandle";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.82481751;
|
||||
maxValue=0.84671532;
|
||||
angle0=0;
|
||||
angle1="rad 90";
|
||||
};
|
||||
|
||||
class Mag_striker_trans1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.70802919;
|
||||
maxValue = 0.71532846;
|
||||
offset0 = "0";
|
||||
offset1 = "0.05";
|
||||
};
|
||||
class Mag_striker_trans1a
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.7299270;
|
||||
maxValue = 0.75182481;
|
||||
offset0 = "0";
|
||||
offset1 = "0.95";
|
||||
};
|
||||
|
||||
class Mag_striker_trans2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.79562043;
|
||||
maxValue = 0.82481751;
|
||||
offset0 = "0";
|
||||
offset1 = -0.95;
|
||||
};
|
||||
class Mag_striker_trans3
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.82481751;
|
||||
maxValue = 0.84671532;
|
||||
offset0 = "0";
|
||||
offset1 = -0.05;
|
||||
};
|
||||
class mag_bullet1_reload
|
||||
{
|
||||
type = "translation";
|
||||
source ="reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletlift_axis";
|
||||
minValue = 0.8;
|
||||
maxValue = 0.81;
|
||||
offset0 = 0;
|
||||
offset1 = -1;
|
||||
};
|
||||
class mag_bullet1_reload2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
minValue = 0.798;
|
||||
maxValue = 0.82481751;
|
||||
offset0 = 0;
|
||||
offset1 = -1;
|
||||
};
|
||||
class mag_bullet1_reload3
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.798;
|
||||
maxValue = 0.8;
|
||||
angle0=0;
|
||||
angle1="rad -10";
|
||||
};
|
||||
class mag_bullet1_reload4
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.805;
|
||||
maxValue = 0.81;
|
||||
angle0=0;
|
||||
angle1="rad 10";
|
||||
};
|
||||
class casing_hide_reload
|
||||
{
|
||||
type="hide";
|
||||
source = "reloadmagazine";
|
||||
selection="casing";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue =0.75182481;
|
||||
unhideValue =0.999;
|
||||
};
|
||||
class Magmagazine_out
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "magazine";
|
||||
memory=1;
|
||||
axis = "magazine_axis";
|
||||
minValue = 0.1459854;
|
||||
maxValue = 0.16788321;
|
||||
offset0 = "0";
|
||||
offset1 = "1";
|
||||
};
|
||||
|
||||
class magazine_in1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "magazine";
|
||||
memory=1;
|
||||
axis = "magazine_axis";
|
||||
minValue = 0.5109489;
|
||||
maxValue = 0.53284671;
|
||||
offset0 = "0";
|
||||
offset1 = -0.5;
|
||||
};
|
||||
class magazine_in2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "magazine";
|
||||
memory=1;
|
||||
axis = "magazine_axis";
|
||||
minValue = 0.55474452;
|
||||
maxValue = 0.57664233;
|
||||
offset0 = "0";
|
||||
offset1 = -0.5;
|
||||
};
|
||||
class magazine_hide
|
||||
{
|
||||
type="hide";
|
||||
source="reloadMagazine";
|
||||
selection="Magazine";
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
hideValue=0.16788321;
|
||||
unhideValue=0.50364963;
|
||||
};
|
||||
|
||||
class unloaded_magazine_hide {
|
||||
type = "hide";
|
||||
source = "hasMagazine";
|
||||
selection = "Magazine";
|
||||
hideValue = 0.1;
|
||||
};
|
||||
class toprail_hide
|
||||
{
|
||||
type="hide";
|
||||
source="hasOptics";
|
||||
selection="ironsights";
|
||||
minValue = 0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.5;
|
||||
};
|
||||
class legspivot
|
||||
{
|
||||
type = rotation;
|
||||
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
|
||||
sourceAddress = clamp;
|
||||
selection = "bipod_pivot";
|
||||
axis = "bipod_axis1";
|
||||
minValue = 0;
|
||||
maxValue = 1;
|
||||
angle0 = (rad -90);
|
||||
angle1 = (rad 0);
|
||||
};
|
||||
class bipodranslate
|
||||
{
|
||||
type = translation;
|
||||
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
|
||||
sourceAddress = clamp;
|
||||
selection = "bipod_pivot";
|
||||
axis = "bipod_axis2";
|
||||
minValue = 0;
|
||||
maxValue = 0.2;
|
||||
offset0 = "0";
|
||||
offset1 = "-1";
|
||||
};
|
||||
class bipodranslate2
|
||||
{
|
||||
type = translation;
|
||||
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
|
||||
sourceAddress = clamp;
|
||||
selection = "bipod_pivot";
|
||||
axis = "bipod_axis2";
|
||||
minValue = 0.2;
|
||||
maxValue = 1;
|
||||
offset0 = "0";
|
||||
offset1 = "1";
|
||||
};
|
||||
class legsL
|
||||
{
|
||||
type = rotation;
|
||||
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
|
||||
sourceAddress = clamp;
|
||||
selection = "Bipodleg_L";
|
||||
axis = "bipod_axis2";
|
||||
minValue = 0.2;
|
||||
maxValue = 1;
|
||||
angle0 = (rad 25);
|
||||
angle1 = rad 0;
|
||||
};
|
||||
class legsR
|
||||
{
|
||||
type = rotation;
|
||||
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
|
||||
sourceAddress = clamp;
|
||||
selection = "bipodleg_R";
|
||||
axis = "bipod_axis2";
|
||||
minValue = 0.2;
|
||||
maxValue = 1;
|
||||
angle0 = (rad -25);
|
||||
angle1 = rad 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_sniper_rifles/308_MSR/sound/AWC_reload.ogg
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_MSR/sound/AWC_reload.ogg
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_MSR/sound/AWC_reload.wss
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_MSR/sound/AWC_reload.wss
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_MSR/sound/AWM_rechamber.ogg
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_MSR/sound/AWM_rechamber.ogg
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_MSR/sound/AWM_rechamber.wss
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_MSR/sound/AWM_rechamber.wss
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/308_MSR/ui/msr_308_ui_tan.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/308_MSR/ui/msr_308_ui_tan.paa
LFS
Normal file
Binary file not shown.
271
braf_weapons_sniper_rifles/338_MSR/338_MSR.hpp
Normal file
271
braf_weapons_sniper_rifles/338_MSR/338_MSR.hpp
Normal file
@@ -0,0 +1,271 @@
|
||||
class braf_msr_338_base: Rifle_Base_F
|
||||
{
|
||||
author="BRAF Team";
|
||||
_generalMacro="braf_msr_338_base";
|
||||
scope=0;
|
||||
displayName="msr Base";
|
||||
magazines[]=
|
||||
{
|
||||
"braf_msr_5Rnd_338",
|
||||
"braf_msr_5Rnd_338_red"
|
||||
};
|
||||
magazineWell[]=
|
||||
{
|
||||
"CBA_300WM_AI"
|
||||
};
|
||||
hiddenSelections[]=
|
||||
{
|
||||
"Camo"
|
||||
};
|
||||
reloadAction="HLC_GestureReloadAWM";
|
||||
recoil="recoil_dmr_02";
|
||||
maxZeroing=1600;
|
||||
handAnim[]=
|
||||
{
|
||||
"OFP2_ManSkeleton",
|
||||
"\braf\braf_weapons_anim\animations\308_MSR\MSR_hand_anim.rtm"
|
||||
};
|
||||
class CBA_weaponEvents
|
||||
{
|
||||
handAction="HLC_GestureRechamberAWM";
|
||||
sound="hlc_bolt_AWM";
|
||||
soundLocation="RightHandMiddle1";
|
||||
delay=0.02;
|
||||
onEmpty=0;
|
||||
};
|
||||
class EventHandlers
|
||||
{
|
||||
fired="_this call CBA_fnc_weaponEvents";
|
||||
};
|
||||
overviewPicture="\A3\Data_F_Mark\Images\watermarkInfo_page07_ca.paa";
|
||||
discreteDistanceInitIndex=0;
|
||||
discreteDistance[]={100,200,300,400,500,600};
|
||||
discreteDistanceCameraPoint[]=
|
||||
{
|
||||
"mira"
|
||||
};
|
||||
cameraDir="look";
|
||||
cursor="srifle";
|
||||
class Library
|
||||
{
|
||||
libTextDesc="Remington MSR .338 (Tan)";
|
||||
};
|
||||
class WeaponSlotsInfo: WeaponSlotsInfo
|
||||
{
|
||||
mass=125;
|
||||
class MuzzleSlot: asdg_MuzzleSlot
|
||||
{
|
||||
linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
|
||||
compatibleItems[]=
|
||||
{
|
||||
"braf_msr_silencer",
|
||||
};
|
||||
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;
|
||||
};
|
||||
};
|
||||
distanceZoomMin=300;
|
||||
distanceZoomMax=300;
|
||||
changeFiremodeSound[]=
|
||||
{
|
||||
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Safety_02",
|
||||
0.11220184,
|
||||
1,
|
||||
5
|
||||
};
|
||||
drySound[]=
|
||||
{
|
||||
"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_03_MkI_EMR\DMR_03_Dry",
|
||||
0.25118864,
|
||||
1,
|
||||
20
|
||||
};
|
||||
reloadMagazineSound[]=
|
||||
{
|
||||
"braf\braf_weapons_sniper_rifles\308_MSR\sound\AWC_reload",
|
||||
1,
|
||||
1,
|
||||
10
|
||||
};
|
||||
modes[]=
|
||||
{
|
||||
"Single"
|
||||
};
|
||||
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
|
||||
{
|
||||
sounds[]=
|
||||
{
|
||||
"StandardSound",
|
||||
"SilencedSound"
|
||||
};
|
||||
class BaseSoundModeType;
|
||||
class StandardSound: BaseSoundModeType
|
||||
{
|
||||
soundSetShot[]=
|
||||
{
|
||||
"50cal_Type115_Shot_SoundSet",
|
||||
"50cal_Type115_Tail_SoundSet",
|
||||
"50cal_Type115_interiorTail_SoundSet"
|
||||
};
|
||||
};
|
||||
class SilencedSound: BaseSoundModeType
|
||||
{
|
||||
soundsetshot[]=
|
||||
{
|
||||
"DMR03_silencerShot_SoundSet",
|
||||
"DMR03_silencerTail_SoundSet",
|
||||
"DMR03_silencerInteriorTail_SoundSet"
|
||||
};
|
||||
};
|
||||
reloadTime=2.3;
|
||||
dispersion=0.00060999999;
|
||||
};
|
||||
class ItemInfo
|
||||
{
|
||||
priority=1;
|
||||
};
|
||||
magazineReloadSwitchPhase=0.5;
|
||||
inertia=0.40000001;
|
||||
dexterity=1.8;
|
||||
model="\braf\braf_weapons_sniper_rifles\338_MSR\338_MSR.p3d";
|
||||
UiPicture="\A3\weapons_f\data\UI\icon_regular_CA.paa";
|
||||
descriptionShort="$STR_A3_CfgWeapons_srifle_DMR_03_F1";
|
||||
};
|
||||
class braf_msr_338: braf_msr_338_base
|
||||
{
|
||||
author="BRAF Team";
|
||||
_generalMacro="Braf_msr_338";
|
||||
scope=2;
|
||||
displayName="Remington MSR .338 (Tan)";
|
||||
picture="\braf\braf_weapons_sniper_rifles\308_MSR\ui\msr_308_ui_tan.paa";
|
||||
hiddenSelectionsTextures[]=
|
||||
{
|
||||
"\braf\braf_weapons_sniper_rifles\308_MSR\data\MSR_CO.paa"
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_sniper_rifles/338_MSR/338_MSR.p3d
LFS
Normal file
BIN
braf_weapons_sniper_rifles/338_MSR/338_MSR.p3d
LFS
Normal file
Binary file not shown.
576
braf_weapons_sniper_rifles/338_MSR/model.cfg
Normal file
576
braf_weapons_sniper_rifles/338_MSR/model.cfg
Normal file
@@ -0,0 +1,576 @@
|
||||
class CfgSkeletons
|
||||
{
|
||||
class Default {
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "";
|
||||
skeletonBones[] = {};
|
||||
};
|
||||
class MSRSkeleton: Default
|
||||
{
|
||||
skeletonBones[]=
|
||||
{
|
||||
"Bolt", "",
|
||||
"bipod_pivot", "",
|
||||
"bipodleg_r", "bipod_pivot",
|
||||
"bipodleg_l", "bipod_pivot",
|
||||
"bipodfoot_l", "bipodleg_l",
|
||||
"bipodfoot_r", "bipodleg_r",
|
||||
"Bolthandle", "Bolt",
|
||||
"Magazine", "",
|
||||
"casing", "Bolt",
|
||||
"Bullet1", "Magazine",
|
||||
"Bullet2", "Magazine",
|
||||
"Bullet3", "Magazine",
|
||||
"Bullet4", "Magazine",
|
||||
"Bullet5", "Magazine",
|
||||
"ironsights", "",
|
||||
"Striker", "Bolthandle",
|
||||
"Trigger", "",
|
||||
"zasleh",""
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CfgModels
|
||||
{
|
||||
class Default {
|
||||
selections[] = {};
|
||||
selectionsInherit = "";
|
||||
skeletonName = "";
|
||||
};
|
||||
|
||||
class 338_MSR: Default
|
||||
{
|
||||
sections[]=
|
||||
{
|
||||
"zasleh","Magazine","Bolt","Trigger","camo","camo2","camo3"
|
||||
};
|
||||
skeletonName="MSRSkeleton";
|
||||
sectionsInherit = "";
|
||||
class Animations
|
||||
{
|
||||
class muzzleflash_hide
|
||||
{
|
||||
type="hide";
|
||||
source="hasSuppressor";
|
||||
selection="zasleh";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.01;
|
||||
};
|
||||
class bullet1_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet1";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.9;
|
||||
};
|
||||
class bullet2_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet2";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.8;
|
||||
};
|
||||
class bullet3_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet3";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.6;
|
||||
};
|
||||
class bullet4_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet4";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.4;
|
||||
};
|
||||
class bullet5_hide
|
||||
{
|
||||
type="hide";
|
||||
source="revolving";
|
||||
selection="bullet5";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.00;
|
||||
unhideValue = 0.2;
|
||||
};
|
||||
class casing_hide
|
||||
{
|
||||
type="hide";
|
||||
source="isEmpty";
|
||||
selection="casing";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.01;
|
||||
};
|
||||
class bullet1_reload
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletlift_axis";
|
||||
minValue = 0.48;
|
||||
maxValue = 0.5;
|
||||
offset0 = -1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
minValue = 0.46;
|
||||
maxValue = 0.54;
|
||||
offset0 = -1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload_reset
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletlift_axis";
|
||||
minValue = 0.01;
|
||||
maxValue = 0.02;
|
||||
offset0 = 1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload2_reset
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
minValue = 0.01;
|
||||
maxValue = 0.02;
|
||||
offset0 = 1;
|
||||
offset1 = 0;
|
||||
};
|
||||
class bullet1_reload3
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.49;
|
||||
maxValue = 0.50;
|
||||
angle0=0;
|
||||
angle1="rad -10";
|
||||
};
|
||||
class bullet1_reload4
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reload";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.51;
|
||||
maxValue = 0.53;
|
||||
angle0=0;
|
||||
angle1="rad 10";
|
||||
};
|
||||
class bolt1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.4;
|
||||
maxValue = 0.46; //0.09; //"1";
|
||||
offset0 = "0";
|
||||
offset1 = 0.05;
|
||||
};
|
||||
|
||||
class bolt2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.46;
|
||||
maxValue = 0.54; //0.09; //"1";
|
||||
offset0 = "0";
|
||||
offset1 = 0.95;
|
||||
};
|
||||
class casing_hide_rechamber
|
||||
{
|
||||
type="hide";
|
||||
source = "reload";
|
||||
selection="casing";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue =0.01;
|
||||
unhideValue =0.66;
|
||||
};
|
||||
|
||||
class bolt3
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.66;
|
||||
maxValue = 0.72; //0.09; //"1";
|
||||
offset0 = "0";
|
||||
offset1 = -0.95;
|
||||
};
|
||||
|
||||
class bolt4
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.76;
|
||||
maxValue = 0.78; //0.09; //"1";
|
||||
offset0 = "0";
|
||||
offset1 = -0.05;
|
||||
};
|
||||
class striker1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "striker";
|
||||
memory=1;
|
||||
axis = "striker_axis";
|
||||
minValue=0.99;
|
||||
maxValue=1;
|
||||
offset0 = "0";
|
||||
offset1 = 1;
|
||||
};
|
||||
class striker2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reload";
|
||||
selection = "striker";
|
||||
memory=1;
|
||||
axis = "striker_axis";
|
||||
minValue=0.76;
|
||||
maxValue=0.8;
|
||||
offset0 = "0";
|
||||
offset1 = -1;
|
||||
};
|
||||
class Boltturn1
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="BoltHandle";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.4;
|
||||
maxValue=0.46;
|
||||
angle0=0;
|
||||
angle1="rad -60";
|
||||
|
||||
};
|
||||
class Boltturn2
|
||||
{
|
||||
type="rotation";
|
||||
source="reload";
|
||||
selection="BoltHandle";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.76;
|
||||
maxValue=0.8;
|
||||
angle0=0;
|
||||
angle1="rad 60";
|
||||
};
|
||||
class Mag_bolt_rot1
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadmagazine";
|
||||
selection="BoltHandle";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.70072992;
|
||||
maxValue=0.71532846;
|
||||
angle0=0;
|
||||
angle1="rad -90";
|
||||
|
||||
};
|
||||
class Mag_bolt_rot2
|
||||
{
|
||||
type="rotation";
|
||||
source="reloadmagazine";
|
||||
selection="BoltHandle";
|
||||
axis="bolt_axis";
|
||||
memory=1;
|
||||
minValue=0.82481751;
|
||||
maxValue=0.84671532;
|
||||
angle0=0;
|
||||
angle1="rad 90";
|
||||
};
|
||||
|
||||
class Mag_striker_trans1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.70802919;
|
||||
maxValue = 0.71532846;
|
||||
offset0 = "0";
|
||||
offset1 = "0.05";
|
||||
};
|
||||
class Mag_striker_trans1a
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.7299270;
|
||||
maxValue = 0.75182481;
|
||||
offset0 = "0";
|
||||
offset1 = "0.95";
|
||||
};
|
||||
|
||||
class Mag_striker_trans2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.79562043;
|
||||
maxValue = 0.82481751;
|
||||
offset0 = "0";
|
||||
offset1 = -0.95;
|
||||
};
|
||||
class Mag_striker_trans3
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "Bolt";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
begin = "bolt_axis_end";
|
||||
end = "bolt_axis_begin";
|
||||
minValue = 0.82481751;
|
||||
maxValue = 0.84671532;
|
||||
offset0 = "0";
|
||||
offset1 = -0.05;
|
||||
};
|
||||
class mag_bullet1_reload
|
||||
{
|
||||
type = "translation";
|
||||
source ="reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletlift_axis";
|
||||
minValue = 0.8;
|
||||
maxValue = 0.81;
|
||||
offset0 = 0;
|
||||
offset1 = -1;
|
||||
};
|
||||
class mag_bullet1_reload2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bolt_axis";
|
||||
minValue = 0.798;
|
||||
maxValue = 0.82481751;
|
||||
offset0 = 0;
|
||||
offset1 = -1;
|
||||
};
|
||||
class mag_bullet1_reload3
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.798;
|
||||
maxValue = 0.8;
|
||||
angle0=0;
|
||||
angle1="rad -10";
|
||||
};
|
||||
class mag_bullet1_reload4
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reloadmagazine";
|
||||
selection = "bullet5";
|
||||
memory=1;
|
||||
axis = "bulletrot_axis";
|
||||
minValue = 0.805;
|
||||
maxValue = 0.81;
|
||||
angle0=0;
|
||||
angle1="rad 10";
|
||||
};
|
||||
class casing_hide_reload
|
||||
{
|
||||
type="hide";
|
||||
source = "reloadmagazine";
|
||||
selection="casing";
|
||||
minValue = 0.0;
|
||||
maxvalue = 1;
|
||||
hideValue =0.75182481;
|
||||
unhideValue =0.999;
|
||||
};
|
||||
class Magmagazine_out
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "magazine";
|
||||
memory=1;
|
||||
axis = "magazine_axis";
|
||||
minValue = 0.1459854;
|
||||
maxValue = 0.16788321;
|
||||
offset0 = "0";
|
||||
offset1 = "1";
|
||||
};
|
||||
|
||||
class magazine_in1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "magazine";
|
||||
memory=1;
|
||||
axis = "magazine_axis";
|
||||
minValue = 0.5109489;
|
||||
maxValue = 0.53284671;
|
||||
offset0 = "0";
|
||||
offset1 = -0.5;
|
||||
};
|
||||
class magazine_in2
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadmagazine";
|
||||
selection = "magazine";
|
||||
memory=1;
|
||||
axis = "magazine_axis";
|
||||
minValue = 0.55474452;
|
||||
maxValue = 0.57664233;
|
||||
offset0 = "0";
|
||||
offset1 = -0.5;
|
||||
};
|
||||
class magazine_hide
|
||||
{
|
||||
type="hide";
|
||||
source="reloadMagazine";
|
||||
selection="Magazine";
|
||||
minValue=0;
|
||||
maxValue=1;
|
||||
hideValue=0.16788321;
|
||||
unhideValue=0.50364963;
|
||||
};
|
||||
|
||||
class unloaded_magazine_hide {
|
||||
type = "hide";
|
||||
source = "hasMagazine";
|
||||
selection = "Magazine";
|
||||
hideValue = 0.1;
|
||||
};
|
||||
class toprail_hide
|
||||
{
|
||||
type="hide";
|
||||
source="hasOptics";
|
||||
selection="ironsights";
|
||||
minValue = 0;
|
||||
maxvalue = 1;
|
||||
hideValue = 0.5;
|
||||
};
|
||||
class legspivot
|
||||
{
|
||||
type = rotation;
|
||||
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
|
||||
sourceAddress = clamp;
|
||||
selection = "bipod_pivot";
|
||||
axis = "bipod_axis1";
|
||||
minValue = 0;
|
||||
maxValue = 1;
|
||||
angle0 = (rad -90);
|
||||
angle1 = (rad 0);
|
||||
};
|
||||
class bipodranslate
|
||||
{
|
||||
type = translation;
|
||||
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
|
||||
sourceAddress = clamp;
|
||||
selection = "bipod_pivot";
|
||||
axis = "bipod_axis2";
|
||||
minValue = 0;
|
||||
maxValue = 0.2;
|
||||
offset0 = "0";
|
||||
offset1 = "-1";
|
||||
};
|
||||
class bipodranslate2
|
||||
{
|
||||
type = translation;
|
||||
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
|
||||
sourceAddress = clamp;
|
||||
selection = "bipod_pivot";
|
||||
axis = "bipod_axis2";
|
||||
minValue = 0.2;
|
||||
maxValue = 1;
|
||||
offset0 = "0";
|
||||
offset1 = "1";
|
||||
};
|
||||
class legsL
|
||||
{
|
||||
type = rotation;
|
||||
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
|
||||
sourceAddress = clamp;
|
||||
selection = "Bipodleg_L";
|
||||
axis = "bipod_axis2";
|
||||
minValue = 0.2;
|
||||
maxValue = 1;
|
||||
angle0 = (rad 25);
|
||||
angle1 = rad 0;
|
||||
};
|
||||
class legsR
|
||||
{
|
||||
type = rotation;
|
||||
source = bipod; /// this one is for an attachment, weapon itself would have just bipod
|
||||
sourceAddress = clamp;
|
||||
selection = "bipodleg_R";
|
||||
axis = "bipod_axis2";
|
||||
minValue = 0.2;
|
||||
maxValue = 1;
|
||||
angle0 = (rad -25);
|
||||
angle1 = rad 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/AMF_Perseis_II_02_F.p3d
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/AMF_Perseis_II_02_F.p3d
LFS
Normal file
Binary file not shown.
@@ -0,0 +1,53 @@
|
||||
class CfgMagazines
|
||||
{
|
||||
class Default;
|
||||
class CA_Magazine;
|
||||
class 7Rnd_Perseis_II_mag: CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
displayName = "7 Rounds PGM Hecate II";
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\UI\AMF_PERSEIS_II_MAG_ICO_CA.paa"; /// just some icon
|
||||
ammo = "B_127x99_Ball";
|
||||
count = 7; /// 30 rounds is enough
|
||||
initSpeed = 780; /// standard muzzle speed
|
||||
tracersEvery = 0; /// disable tracers by default
|
||||
lastRoundsTracer = 4; /// tracers to track low ammo
|
||||
descriptionShort = "Used to shoot PGM Hecate II bullets"; /// on mouse-over in Inventory
|
||||
magazineGroup[] = {"Perseis_II_mag_group"}; /// all magazines in the same group may be used in weapon that has the group defined as compatible
|
||||
};
|
||||
|
||||
class 7Rnd_Perseis_II_mag_Tracer_yellow: 7Rnd_Perseis_II_mag /// a magazine full of tracer rounds
|
||||
{
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\UI\AMF_PERSEIS_II_MAG_YELLOW_ICO_CA.paa"; /// just some icon
|
||||
ammo = "B_127x99_Ball_Tracer_Yellow";
|
||||
tracersEvery = 1; /// moar tracers
|
||||
lastRoundsTracer = 7; /// tracers everywhere
|
||||
displayName = "7 Rounds PGM Hecate II Yellow tracer";
|
||||
descriptionShort = "Used to shoot PGM Hecate II tracer bullets";
|
||||
displaynameshort = "Tracers";
|
||||
magazineGroup[] = {"Perseis_II_mag_group"};
|
||||
};
|
||||
class 7Rnd_Perseis_II_mag_Tracer_green: 7Rnd_Perseis_II_mag /// a magazine full of tracer rounds
|
||||
{
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\UI\AMF_PERSEIS_II_MAG_GREEN_ICO_CA.paa"; /// just some icon
|
||||
ammo = "B_127x99_Ball_Tracer_Green";
|
||||
tracersEvery = 1; /// moar tracers
|
||||
lastRoundsTracer = 7; /// tracers everywhere
|
||||
displayName = "7 Rounds PGM Hecate II Green tracer";
|
||||
descriptionShort = "Used to shoot PGM Hecate II tracer bullets";
|
||||
displaynameshort = "Tracers";
|
||||
magazineGroup[] = {"Perseis_II_mag_group"};
|
||||
};
|
||||
class 7Rnd_Perseis_II_mag_Tracer_red: 7Rnd_Perseis_II_mag /// a magazine full of tracer rounds
|
||||
{
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\UI\AMF_PERSEIS_II_MAG_RED_ICO_CA.paa"; /// just some icon
|
||||
ammo = "B_127x99_Ball_Tracer_Red";
|
||||
tracersEvery = 1; /// moar tracers
|
||||
lastRoundsTracer = 7; /// tracers everywhere
|
||||
displayName = "7 Rounds PGM Hecate II Red tracer";
|
||||
descriptionShort = "Used to shoot PGM Hecate II tracer bullets";
|
||||
displaynameshort = "Tracers";
|
||||
magazineGroup[] = {"Perseis_II_mag_group"};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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,1};
|
||||
specular[]={0.029,0.029,0.029,1};
|
||||
specularPower=80w;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\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_sniper_rifles\50cal_MSR_HecateII\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_sniper_rifles\50cal_MSR_HecateII\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(1.3,7)";
|
||||
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,1};
|
||||
specular[]={0.029,0.029,0.029,1};
|
||||
specularPower=80w;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\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_sniper_rifles\50cal_MSR_HecateII\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_sniper_rifles\50cal_MSR_HecateII\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(1.3,7)";
|
||||
uvSource="none";
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture="a3\data_f\env_land_ca.paa";
|
||||
uvSource="none";
|
||||
};
|
||||
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT1_AS.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT1_AS.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT1_CO.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT1_CO.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT1_NOHQ.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT1_NOHQ.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT1_SMDI.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT1_SMDI.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT2_AS.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT2_AS.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT2_CO.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT2_CO.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT2_NOHQ.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT2_NOHQ.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT2_SMDI.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT2_SMDI.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT3_AS.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT3_AS.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT3_CO.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT3_CO.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT3_NOHQ.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT3_NOHQ.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT3_SMDI.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/Textures/MAT3_SMDI.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/UI/AMF_PERSEIS_II_ICO.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/UI/AMF_PERSEIS_II_ICO.paa
LFS
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/sounds/AMF_PERSEIS_II.ogg
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/sounds/AMF_PERSEIS_II.ogg
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/sounds/AMF_PERSEIS_II.wss
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/sounds/AMF_PERSEIS_II.wss
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/sounds/AMF_PERSEIS_II_OLD.wss
LFS
Normal file
BIN
braf_weapons_sniper_rifles/50cal_MSR_HecateII/Data/sounds/AMF_PERSEIS_II_OLD.wss
LFS
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
bg_fnc_playweaponsound = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\fn_playweaponsound.sqf";
|
||||
bg_fnc_onFiredAction = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\fn_onFiredAction.sqf";
|
||||
bg_wepframe_fired_eh = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\fired.sqf";
|
||||
bg_fnc_block_reloadaction = compile preprocessFileLineNumbers "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\fn_block_reloadaction.sqf";
|
||||
[] spawn
|
||||
{
|
||||
"bg_wep_playsound" addPublicVariableEventHandler {_this spawn bg_fnc_playweaponsound};
|
||||
};
|
||||
@@ -0,0 +1,103 @@
|
||||
#define true 1
|
||||
#define false 0
|
||||
|
||||
#define VSoft 0
|
||||
#define VArmor 1
|
||||
#define VAir 2
|
||||
|
||||
// type scope
|
||||
#define private 0
|
||||
#define protected 1
|
||||
#define public 2
|
||||
|
||||
#define CanSeeRadar 1
|
||||
#define CanSeeEye 2
|
||||
#define CanSeeOptics 4
|
||||
#define CanSeeEar 8
|
||||
#define CanSeeCompass 16
|
||||
#define CanSeeRadarC CanSeeRadar+CanSeeCompass
|
||||
#define CanSeeAll 31
|
||||
#define CanSeePeripheral 32
|
||||
|
||||
//lock acquiring
|
||||
#define manualLA 0
|
||||
#define automaticLA 1
|
||||
|
||||
//lockable target type
|
||||
#define lockGroundTT 0
|
||||
#define lockAirGroundTT 1
|
||||
#define lockAirTT 2
|
||||
#define lockGround 0
|
||||
#define lockAirGround 1
|
||||
#define lockAir 2
|
||||
|
||||
//missile lock type
|
||||
#define fireAndForgetLT 0
|
||||
#define keepLockedLT 1
|
||||
#define manualLT 2
|
||||
|
||||
#define SPEED_STATIC 1e10
|
||||
|
||||
#define LockNo 0
|
||||
#define LockCadet 1
|
||||
#define LockYes 2
|
||||
|
||||
#define StabilizedInAxesNone 0
|
||||
#define StabilizedInAxisX 1
|
||||
#define StabilizedInAxisY 2
|
||||
#define StabilizedInAxesBoth 3
|
||||
#define StabilizedInAxesXYZ 4
|
||||
|
||||
#define CM_none 0
|
||||
#define CM_Lock_Visual 1
|
||||
#define CM_Lock_IR 2
|
||||
#define CM_Lock_Laser 4
|
||||
#define CM_Lock_Radar 8
|
||||
#define CM_Missile 16
|
||||
|
||||
|
||||
#define CMImmunity_GOOD 0.9
|
||||
#define CMImmunity_MIDDLE 0.65
|
||||
#define CMImmunity_BAD 0.5
|
||||
|
||||
#define mag_xx(a,b) class _xx_##a {magazine = a; count = b;}
|
||||
#define weap_xx(a,b) class _xx_##a {weapon = a; count = b;}
|
||||
#define item_xx(a,b) class _xx_##a {name = a; count = b;}
|
||||
#define bag_xx(a,b) class _xx_##a {backpack = a; count = b;}
|
||||
|
||||
#define DEFAULT_SLOT 0
|
||||
#define MUZZLE_SLOT 101
|
||||
#define OPTICS_SLOT 201
|
||||
#define FLASHLIGHT_SLOT 301
|
||||
#define NVG_SLOT 602
|
||||
#define GOGGLE_SLOT 603
|
||||
#define HEADGEAR_SLOT 605
|
||||
#define UNIFORM_SLOT 801
|
||||
|
||||
#define HMD_SLOT 616
|
||||
#define BINOCULAR_SLOT 617
|
||||
#define MEDIKIT_SLOT 619
|
||||
#define RADIO_SLOT 611
|
||||
|
||||
#define VEST_SLOT 701
|
||||
#define BACKPACK_SLOT 901
|
||||
|
||||
#define LOAD(weight,capacity) maximumLoad = ##capacity##; \
|
||||
mass = ##weight##;
|
||||
|
||||
#define HeadArmourCoef 2.5
|
||||
#define BodyArmourCoef 10
|
||||
#define HandArmourCoef 5
|
||||
#define LegArmourCoef 5
|
||||
|
||||
#define AIAmmoUsageNone 0
|
||||
#define AIAmmoUsageLight 1
|
||||
#define AIAmmoUsageMarking 2
|
||||
#define AIAmmoUsageConcealment 4
|
||||
#define AIAmmoUsageCountermeasures 8
|
||||
#define AIAmmoUsageMine 16
|
||||
#define AIAmmoUsageUnderwater 32
|
||||
#define AIAmmoUsageOffensiveInf 64
|
||||
#define AIAmmoUsageOffensiveVeh 128
|
||||
#define AIAmmoUsageOffensiveAir 256
|
||||
#define AIAmmoUsageOffensiveArmour 512
|
||||
250
braf_weapons_sniper_rifles/50cal_MSR_HecateII/config.cpp
Normal file
250
braf_weapons_sniper_rifles/50cal_MSR_HecateII/config.cpp
Normal file
@@ -0,0 +1,250 @@
|
||||
#include "CfgMagazines.hpp"
|
||||
#include "basicdefines_A3.hpp"
|
||||
|
||||
class CfgPatches
|
||||
{
|
||||
class AMF_PERSEIS_II_POLY
|
||||
{
|
||||
units[] = {};
|
||||
weapons[] =
|
||||
{
|
||||
"AMF_Perseis_II_02_F"};
|
||||
requiredVersion = 0.1;
|
||||
requiredAddons[] =
|
||||
{
|
||||
"A3_Weapons_F",
|
||||
"cba_main",
|
||||
"A3_Anims_F"};
|
||||
};
|
||||
};
|
||||
|
||||
class Extended_PreInit_EventHandlers
|
||||
{
|
||||
bg_wepframework_init = "call ('\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\XEH_INIT.sqf' call SLX_XEH_COMPILE)";
|
||||
};
|
||||
|
||||
class Extended_FiredBIS_Eventhandlers
|
||||
{
|
||||
class CAManBase
|
||||
{
|
||||
bg_wepframe_fired = "_this call bg_wepframe_fired_eh";
|
||||
};
|
||||
};
|
||||
|
||||
class CfgSounds
|
||||
{
|
||||
class AMF_Perseis_II_BOLT_SOUND
|
||||
{
|
||||
name = "AMF_Perseis_II_BOLT_SOUND";
|
||||
Sound[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\data\sounds\AMF_Perseis_II_Rechamber.wss", 1, 1, 15};
|
||||
titles[] = {};
|
||||
};
|
||||
};
|
||||
|
||||
class Mode_SemiAuto;
|
||||
class CowsSlot;
|
||||
|
||||
class CfgWeapons
|
||||
{
|
||||
|
||||
class Rifle_Base_F;
|
||||
class Rifle_Long_Base_F : Rifle_Base_F
|
||||
{
|
||||
class WeaponSlotsInfo;
|
||||
};
|
||||
|
||||
class AMF_Perseis_II_02_F : Rifle_Long_Base_F
|
||||
{
|
||||
|
||||
ACE_barrelTwist = 381;
|
||||
ACE_barrelLength = 700;
|
||||
author = "Armada, Krogar & AMF Team";
|
||||
scope = 2;
|
||||
_generalMacro = "AMF_Perseis_II_02_F";
|
||||
model = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\AMF_Perseis_II_02_F.p3d";
|
||||
displayName = "PGM Hecate II (Polymere)";
|
||||
picture = "\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\UI\AMF_PERSEIS_II_ICO.paa";
|
||||
|
||||
deployedPivot = "bipod"; /// what point should be used to be on surface while unfolded
|
||||
hasBipod = true; /// bipod obviously has a bipod
|
||||
//soundBipodDown[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_BLU_down", db - 3, 1, 20}; /// what sound should be played during unfolding
|
||||
//soundBipodUp[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_BLU_up", db - 3, 1, 20}; /// what sound should be played during folding
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
"7Rnd_Perseis_II_mag",
|
||||
"7Rnd_Perseis_II_mag_Tracer_yellow",
|
||||
"7Rnd_Perseis_II_mag_Tracer_green",
|
||||
"7Rnd_Perseis_II_mag_Tracer_red"};
|
||||
cursor = "srifle";
|
||||
class Library
|
||||
{
|
||||
libTextDesc = "AMF PGM Hecate II Poly";
|
||||
};
|
||||
inertia = 1.2;
|
||||
dexterity = 1.0;
|
||||
reloadAction = "GestureReloadLRR";
|
||||
recoil = "recoil_m320";
|
||||
maxZeroing = 2400;
|
||||
initSpeed = 780;
|
||||
descriptionShort = "AMF PGM Hecate II Polymere";
|
||||
|
||||
class WeaponSlotsInfo : WeaponSlotsInfo
|
||||
{
|
||||
mass = 320;
|
||||
class CowsSlot : CowsSlot
|
||||
{
|
||||
};
|
||||
};
|
||||
class ItemInfo
|
||||
{
|
||||
priority = 1;
|
||||
};
|
||||
class bg_weaponparameters
|
||||
{
|
||||
class onFired_Action
|
||||
{
|
||||
HandAction = "AMF_Perseis_II_Gesture_Rechamber";
|
||||
Actiondelay = 0.02;
|
||||
Sound = "AMF_Perseis_II_BOLT_SOUND";
|
||||
Sound_Location = "RightHandMiddle1";
|
||||
hasOptic = 0;
|
||||
};
|
||||
};
|
||||
|
||||
handAnim[] = {"OFP2_ManSkeleton", "\braf\braf_weapons_anim\animations\50cal_PGM_HecateII\Hecate_II_Anim_static.rtm"};
|
||||
|
||||
opticsPPEffects[] = {};
|
||||
opticsFlare = 1;
|
||||
opticsDisablePeripherialVision = 1;
|
||||
class GunParticles
|
||||
{
|
||||
class FirstEffect
|
||||
{
|
||||
effectName = "SniperCloud";
|
||||
positionName = "Usti hlavne";
|
||||
directionName = "Konec hlavne";
|
||||
};
|
||||
};
|
||||
distanceZoomMin = 500;
|
||||
distanceZoomMax = 500;
|
||||
bullet1[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_01", 0.891251, 1, 25};
|
||||
bullet2[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_02", 0.891251, 1, 25};
|
||||
bullet3[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_03", 0.891251, 1, 25};
|
||||
bullet4[] = {"A3\sounds_f\weapons\shells\7_62\metal_762_04", 0.891251, 1, 25};
|
||||
bullet5[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_01", 0.794328, 1, 25};
|
||||
bullet6[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_02", 0.794328, 1, 25};
|
||||
bullet7[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_03", 0.794328, 1, 25};
|
||||
bullet8[] = {"A3\sounds_f\weapons\shells\7_62\dirt_762_04", 0.794328, 1, 25};
|
||||
bullet9[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_01", 0.707946, 1, 25};
|
||||
bullet10[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_02", 0.707946, 1, 25};
|
||||
bullet11[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_03", 0.707946, 1, 25};
|
||||
bullet12[] = {"A3\sounds_f\weapons\shells\7_62\grass_762_04", 0.707946, 1, 25};
|
||||
soundBullet[] = {"bullet1", 0.083, "bullet2", 0.083, "bullet3", 0.083, "bullet4", 0.083, "bullet5", 0.083, "bullet6", 0.083, "bullet7", 0.083, "bullet8", 0.083, "bullet9", 0.083, "bullet10", 0.083, "bullet11", 0.083, "bullet12", 0.083};
|
||||
modes[] = {"Single", "single_close_optics1", "single_medium_optics1", "single_far_optics1"};
|
||||
drySound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\M320\M320_dry", 0.501187, 1, 20};
|
||||
reloadMagazineSound[] = {"A3\Sounds_F\arsenal\weapons\LongRangeRifles\M320\M320_reload", 1.0, 1, 10};
|
||||
soundBipodDeploy[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_deploy", 0.707946, 1, 20};
|
||||
soundBipodFold[] = {"A3\Sounds_F_Mark\arsenal\sfx\bipods\Bipod_generic_fold", 0.707946, 1, 20};
|
||||
|
||||
class Single : Mode_SemiAuto
|
||||
{
|
||||
sounds[] = {"StandardSound"};
|
||||
class BaseSoundModeType
|
||||
{
|
||||
closure1[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\sounds\AMF_Perseis_II.wss", 1.0, 1, 30};
|
||||
closure2[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\sounds\AMF_Perseis_II.wss", 1.0, 1, 30};
|
||||
soundClosure[] = {"closure1", 0.5, "closure2", 0.5};
|
||||
};
|
||||
class StandardSound : BaseSoundModeType
|
||||
{
|
||||
begin1[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\sounds\AMF_Perseis_II.wss", 3.0118723, 1, 2200};
|
||||
begin2[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\sounds\AMF_Perseis_II.wss", 3.0118723, 1, 2200};
|
||||
begin3[] = {"\braf\braf_weapons_sniper_rifles\50cal_MSR_HecateII\Data\sounds\AMF_Perseis_II.wss", 3.0118723, 1, 2200};
|
||||
soundBegin[] = {"begin1", 0.33, "begin2", 0.33, "begin2", 0.34};
|
||||
class SoundTails
|
||||
{
|
||||
class TailInterior
|
||||
{
|
||||
sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_02_MAR10\DMR_02_tail_interior", 2.2387211, 1, 2200};
|
||||
frequency = 1;
|
||||
volume = "interior";
|
||||
};
|
||||
class TailTrees
|
||||
{
|
||||
sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_02_MAR10\DMR_02_tail_trees", 2.2387211, 1, 2200};
|
||||
frequency = 1;
|
||||
volume = "(1-interior/1.4)*trees";
|
||||
};
|
||||
class TailForest
|
||||
{
|
||||
sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_02_MAR10\DMR_02_tail_forest", 2.2387211, 1, 2200};
|
||||
frequency = 1;
|
||||
volume = "(1-interior/1.4)*forest";
|
||||
};
|
||||
class TailMeadows
|
||||
{
|
||||
sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_02_MAR10\DMR_02_tail_meadows", 2.2387211, 1, 2200};
|
||||
frequency = 1;
|
||||
volume = "(1-interior/1.4)*(meadows/2 max sea/2)";
|
||||
};
|
||||
class TailHouses
|
||||
{
|
||||
sound[] = {"A3\Sounds_F_Mark\arsenal\weapons\LongRangeRifles\DMR_02_MAR10\DMR_02_tail_houses", 2.2387211, 1, 2200};
|
||||
frequency = 1;
|
||||
volume = "(1-interior/1.4)*houses";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
reloadTime = 2;
|
||||
dispersion = 0.00011;
|
||||
recoil = "recoil_single_dmr";
|
||||
recoilProne = "recoil_single_prone_dmr";
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.3;
|
||||
midRange = 350;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 500;
|
||||
maxRangeProbab = 0.05;
|
||||
};
|
||||
class single_close_optics1 : Single
|
||||
{
|
||||
requiredOpticType = 1;
|
||||
showToPlayer = 0;
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.05;
|
||||
midRange = 300;
|
||||
midRangeProbab = 0.8;
|
||||
maxRange = 500;
|
||||
maxRangeProbab = 0.01;
|
||||
aiRateOfFire = 2;
|
||||
aiRateOfFireDistance = 300;
|
||||
};
|
||||
class single_medium_optics1 : single_close_optics1
|
||||
{
|
||||
minRange = 300;
|
||||
minRangeProbab = 0.05;
|
||||
midRange = 500;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 700;
|
||||
maxRangeProbab = 0.05;
|
||||
aiRateOfFire = 2;
|
||||
aiRateOfFireDistance = 500;
|
||||
};
|
||||
class single_far_optics1 : single_medium_optics1
|
||||
{
|
||||
requiredOpticType = 2;
|
||||
minRange = 300;
|
||||
minRangeProbab = 0.05;
|
||||
midRange = 700;
|
||||
midRangeProbab = 0.5;
|
||||
maxRange = 1000;
|
||||
maxRangeProbab = 0.05;
|
||||
aiRateOfFire = 4;
|
||||
aiRateOfFireDistance = 600;
|
||||
};
|
||||
aiDispersionCoefY = 3;
|
||||
aiDispersionCoefX = 2;
|
||||
};
|
||||
};
|
||||
43
braf_weapons_sniper_rifles/50cal_MSR_HecateII/fired.sqf
Normal file
43
braf_weapons_sniper_rifles/50cal_MSR_HecateII/fired.sqf
Normal file
@@ -0,0 +1,43 @@
|
||||
private ["_unit","_weapon","_param","_mode"];
|
||||
_unit = _this select 0;
|
||||
_weapon = _this select 1;
|
||||
_mode = _this select 3;
|
||||
_param = (configFile >> "CfgWeapons" >> _weapon >> "bg_weaponparameters");
|
||||
|
||||
if (isClass _param) then
|
||||
{
|
||||
if (isClass (_param >> "onFired_Action")) then
|
||||
{
|
||||
private ["_HandAction","_Actiondelay","_Sound","_Sound_Location","_hasOptic","_reloadDelay","_weaponConfig","_speed"];
|
||||
_HandAction = (_param >> "onFired_Action" >> "HandAction") call BIS_fnc_getCfgData;
|
||||
_Actiondelay = (_param >> "onFired_Action" >> "Actiondelay") call BIS_fnc_getCfgData;
|
||||
_Sound = (_param >> "onFired_Action" >> "Sound") call BIS_fnc_getCfgData;
|
||||
_Sound_Location = (_param >> "onFired_Action" >> "Sound_Location") call BIS_fnc_getCfgData;
|
||||
_hasOptic = (_param >> "onFired_Action" >> "hasOptic") call BIS_fnc_getCfgData;
|
||||
if (_mode == _weapon) then
|
||||
{
|
||||
_weaponConfig = (configFile >> "CfgWeapons" >> _weapon);
|
||||
_speed = getnumber (_weaponConfig >> "reloadTime");
|
||||
_reloadDelay = _speed + 0.15;
|
||||
}
|
||||
else
|
||||
{
|
||||
_weaponConfig = (configFile >> "CfgWeapons" >> _weapon >> _mode);
|
||||
_speed = getnumber (_weaponConfig >> "reloadTime");
|
||||
_reloadDelay = _speed + 0.15;
|
||||
};
|
||||
|
||||
|
||||
[_unit,_weapon,_HandAction,_Actiondelay,_Sound,_Sound_Location,_hasOptic,_reloadDelay] spawn bg_fnc_onFiredAction;
|
||||
};
|
||||
if (isClass (_param >> "onEmpty")) then
|
||||
{
|
||||
if (_unit ammo _weapon == 0) then
|
||||
{
|
||||
_Sound = (_param >> "onEmpty" >> "Sound") call BIS_fnc_getCfgData;
|
||||
_Sound_Location = (_param >> "onEmpty" >> "Sound_Location") call BIS_fnc_getCfgData;
|
||||
|
||||
[_unit,_Sound,_Sound_Location] spawn bg_fnc_playweaponsound;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,28 @@
|
||||
disableSerialization;
|
||||
|
||||
if (_this) then
|
||||
{
|
||||
if (isNil {uiNamespace getVariable "bg_reloadblock"}) then
|
||||
{
|
||||
_blockReload = ([] call BIS_fnc_displayMission) displayAddEventHandler
|
||||
[
|
||||
"KeyDown",
|
||||
{
|
||||
_reloadKeys = actionKeys "ReloadMagazine";
|
||||
|
||||
if ((_this select 1) in _reloadKeys) then {true};
|
||||
}
|
||||
];
|
||||
|
||||
uiNamespace setVariable ["bg_reloadblock", _blockReload];
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
if !(isNil {uiNamespace getVariable "bg_reloadblock"}) then
|
||||
{
|
||||
([] call BIS_fnc_displayMission) displayRemoveEventHandler ['KeyDown', (uiNamespace getVariable "bg_reloadblock")];
|
||||
uiNamespace setVariable ["bg_reloadblock", nil];
|
||||
bg_reloadblock = nil;
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,59 @@
|
||||
private ["_unit","_weapon","_param","_HandAction","_Actiondelay","_Sound","_Sound_Location","_hasOptic","_acc","_reloadDelay"];
|
||||
_unit = _this select 0;
|
||||
_weapon = _this select 1;
|
||||
_HandAction = _this select 2;
|
||||
_Actiondelay = _this select 3;
|
||||
_Sound = _this select 4;
|
||||
_Sound_Location = _this select 5;
|
||||
_hasOptic = (_this select 6 == 1);
|
||||
_acc = _unit weaponAccessories _weapon;
|
||||
_reloadDelay = _this select 7;
|
||||
|
||||
if (_acc select 2 != "") then
|
||||
{
|
||||
_hasOptic = true;
|
||||
};
|
||||
|
||||
|
||||
if (!local _unit && _hasOptic) exitwith {};
|
||||
|
||||
if (_unit ammo _weapon !=0) then
|
||||
{
|
||||
if (!isDedicated && _hasOptic && player == _unit) then
|
||||
{
|
||||
if (cameraview == "GUNNER") then
|
||||
{
|
||||
true call bg_fnc_block_reloadaction;
|
||||
};
|
||||
while {cameraview == "GUNNER"} do
|
||||
{
|
||||
_unit setWeaponReloadingTime [_unit,_weapon,1];
|
||||
sleep 0.001;
|
||||
};
|
||||
sleep _Actiondelay;
|
||||
[_unit,_Sound,_Sound_Location] spawn bg_fnc_playweaponsound;
|
||||
bg_wep_playsound = [_unit,_Sound,_Sound_Location];
|
||||
publicVariable "bg_wep_playsound";
|
||||
_unit playAction _HandAction;
|
||||
true call bg_fnc_block_reloadaction;
|
||||
sleep _reloadDelay;
|
||||
false call bg_fnc_block_reloadaction;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
sleep _Actiondelay;
|
||||
[_unit,_Sound,_Sound_Location] spawn bg_fnc_playweaponsound;
|
||||
if (local _unit) then
|
||||
{
|
||||
_unit playAction _HandAction;
|
||||
if (_unit == player) then
|
||||
{
|
||||
true call bg_fnc_block_reloadaction;
|
||||
sleep _reloadDelay;
|
||||
false call bg_fnc_block_reloadaction;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
@@ -0,0 +1,24 @@
|
||||
private ["_unit","_arg","_sound","_Sound_Location"];
|
||||
if (typename (_this select 1) == "array") then
|
||||
{
|
||||
_arg = _this select 1;
|
||||
_unit = _arg select 0;
|
||||
_sound = _arg select 1;
|
||||
_Sound_Location = _arg select 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
_unit = _this select 0;
|
||||
_sound = _this select 1;
|
||||
_Sound_Location = _this select 2;
|
||||
};
|
||||
if (isnil "_sound" || _sound == "") exitwith {}; // No sound set, don't play anything.
|
||||
if (isNil "_unit") exitwith {false}; //Rarely happens that _unit stops existing
|
||||
|
||||
_rhand = _unit selectionPosition _Sound_Location;
|
||||
_posStart = _unit modeltoworld _rhand;
|
||||
_obj = "#particlesource" createVehicleLocal _posStart;
|
||||
_obj attachto [_unit,_rhand];
|
||||
_obj say3d _sound;
|
||||
sleep 10;
|
||||
deleteVehicle _obj;
|
||||
291
braf_weapons_sniper_rifles/50cal_MSR_HecateII/model.cfg
Normal file
291
braf_weapons_sniper_rifles/50cal_MSR_HecateII/model.cfg
Normal file
@@ -0,0 +1,291 @@
|
||||
class CfgSkeletons
|
||||
{
|
||||
class Default
|
||||
{
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "";
|
||||
skeletonBones[] = {};
|
||||
};
|
||||
class AMF_Perseis_II_skeleton_poly : Default
|
||||
{
|
||||
isDiscrete=0;
|
||||
skeletonInherit="";
|
||||
skeletonBones[]=
|
||||
{
|
||||
"magazine", "",
|
||||
"muzzleflash", "",
|
||||
"bolt", "",
|
||||
"ForeSight", "",
|
||||
"BackSight", "",
|
||||
"trigger", "",
|
||||
"bipod_leg_L", "",
|
||||
"bipod_leg_R", "",
|
||||
"zasleh", ""
|
||||
};
|
||||
};
|
||||
};
|
||||
class CfgModels
|
||||
{
|
||||
class Default
|
||||
{
|
||||
sectionsInherit="";
|
||||
sections[]={};
|
||||
skeletonName="";
|
||||
};
|
||||
class AMF_Perseis_II_02_F: Default
|
||||
{
|
||||
sections[] = {"zasleh","Camo","bipod_leg_L","bipod_leg_R"};
|
||||
skeletonName="AMF_Perseis_II_skeleton_poly";
|
||||
class Animations
|
||||
{
|
||||
class trigger_rotation
|
||||
{
|
||||
type = "rotation";
|
||||
source = "reload";
|
||||
sourceAddress = "clamp";
|
||||
selection = "trigger";
|
||||
axis = "trigger_axis";
|
||||
minValue = 0;
|
||||
maxValue = 1;
|
||||
angle0 = "0";
|
||||
angle1 = "rad -15";
|
||||
};
|
||||
class bolt_fire_begin1
|
||||
{
|
||||
type= rotation;
|
||||
source="reload";
|
||||
sourceAddress= clamp;
|
||||
selection="bolt";
|
||||
axis="bolt_axis";
|
||||
minValue = 0.55;
|
||||
maxValue = 0.6;
|
||||
angle0= (rad 0);
|
||||
angle1= (rad -60);
|
||||
animPeriod = 0.0;
|
||||
initPhase = 3.0;
|
||||
// memory = true;
|
||||
};
|
||||
class bolt_fire_begin2
|
||||
{
|
||||
type="translation";
|
||||
source="reload";
|
||||
selection="bolt";
|
||||
axis="bolt_axis";//*probably*
|
||||
// sourceAddress = clamp;// (default)
|
||||
minValue = 0.65;//rad 0.0
|
||||
maxValue = 0.75;//rad 17.188734
|
||||
offset0 = 0.0;
|
||||
offset1 = 1.2;
|
||||
animPeriod = 0.0;
|
||||
initPhase = 0.0;
|
||||
// memory = true;//(default assumed)
|
||||
};
|
||||
class bolt_fire_end1
|
||||
{
|
||||
type="translation";
|
||||
source="reload";
|
||||
selection="bolt";
|
||||
axis="bolt_axis";//*probably*
|
||||
// sourceAddress = clamp;// (default)
|
||||
minValue = 0.8;//rad 28.64789
|
||||
maxValue = 0.9;//rad 57.29578
|
||||
offset0 = 0.0;
|
||||
offset1 = -1.2;
|
||||
animPeriod = 1.0;
|
||||
initPhase = 0.0;
|
||||
// memory = true;//(default assumed)
|
||||
};
|
||||
class bolt_fire_end2
|
||||
{
|
||||
type= rotation;
|
||||
source="reload";
|
||||
sourceAddress= clamp;
|
||||
selection="bolt";
|
||||
axis="bolt_axis";
|
||||
minValue = 0.95;
|
||||
maxValue = 1.0;
|
||||
angle0= (rad 0);
|
||||
angle1= (rad 60);
|
||||
animPeriod = 1.0;
|
||||
initPhase = 0.0;
|
||||
// memory = true;
|
||||
};
|
||||
class bolt_reload_begin1
|
||||
{
|
||||
type= rotation;
|
||||
source="reloadMagazine";
|
||||
sourceAddress= clamp;
|
||||
selection="bolt";
|
||||
axis="bolt_axis";
|
||||
minValue = 0.04;
|
||||
maxValue = 0.08;
|
||||
angle0= (rad 0);
|
||||
angle1= (rad -60);
|
||||
animPeriod = 0.0;
|
||||
initPhase = 0.0;
|
||||
// memory = true;
|
||||
};
|
||||
class bolt_reload_begin2
|
||||
{
|
||||
selection = "bolt";
|
||||
axis = "bolt_axis";
|
||||
type="translation";
|
||||
source="reloadMagazine";
|
||||
// sourceAddress = clamp;// (default)
|
||||
minValue = 0.1;//rad 0.0
|
||||
maxValue = 0.14;//rad 17.188734
|
||||
offset0 = 0.0;
|
||||
offset1 = 1.2;
|
||||
animPeriod = 0.0;
|
||||
initPhase = 0.0;
|
||||
// memory = true;//(default assumed)
|
||||
};
|
||||
class bolt_reload_end1
|
||||
{
|
||||
selection = "bolt";
|
||||
axis = "bolt_axis";
|
||||
type="translation";
|
||||
source="reloadMagazine";
|
||||
// sourceAddress = clamp;// (default)
|
||||
minValue = 0.8;//rad 28.64789
|
||||
maxValue = 0.84;//rad 57.29578
|
||||
offset0 = 0.0;
|
||||
offset1 = -1.2;
|
||||
animPeriod = 0.0;
|
||||
initPhase = 0.0;
|
||||
// memory = true;//(default assumed)
|
||||
};
|
||||
class bolt_reload_end2
|
||||
{
|
||||
type= rotation;
|
||||
source="reloadMagazine";
|
||||
sourceAddress= clamp;
|
||||
selection="bolt";
|
||||
axis="bolt_axis";
|
||||
minValue = 0.86;
|
||||
maxValue = 0.9;
|
||||
angle0= (rad 0);
|
||||
angle1= (rad 60);
|
||||
animPeriod = 0.0;
|
||||
initPhase = 0.0;
|
||||
// memory = true;
|
||||
};
|
||||
class magazine_hide
|
||||
{
|
||||
type="hide";
|
||||
source="reloadMagazine";
|
||||
selection="magazine";
|
||||
minValue=0.000000;
|
||||
maxValue=1.00000;
|
||||
hideValue=0.31;
|
||||
unhideValue = 0.550;
|
||||
};
|
||||
class no_magazine
|
||||
{
|
||||
type="hide";
|
||||
source="hasMagazine";
|
||||
selection="magazine";
|
||||
minValue=0.000000;
|
||||
maxValue=1.00000;
|
||||
hideValue=0.5;
|
||||
unhideValue = -1.0;
|
||||
};
|
||||
class magazine_reload_move_1
|
||||
{
|
||||
type = "translation";
|
||||
source = "reloadMagazine";
|
||||
selection = "magazine";
|
||||
axis = "magazine_axis";
|
||||
minValue = 0.27;
|
||||
maxValue = 0.31;
|
||||
offset0 = 0.0;
|
||||
offset1 = 1.0;
|
||||
};
|
||||
class magazine_reload_move_2: magazine_reload_move_1
|
||||
{
|
||||
minValue = 0.52;
|
||||
maxValue = 0.58;
|
||||
offset0 = 0.0;
|
||||
offset1 = -1.0;
|
||||
};
|
||||
class BackSight_optic
|
||||
{
|
||||
type="rotation";
|
||||
source="hasOptics";
|
||||
selection="BackSight";
|
||||
axis="BackSight_axis";
|
||||
memory=1;
|
||||
minValue=0.0000000;
|
||||
maxValue=1.0000000;
|
||||
angle0=0.000000;
|
||||
angle1=(rad 90);
|
||||
};
|
||||
class ForeSight_optic: BackSight_optic
|
||||
{
|
||||
selection="ForeSight";
|
||||
axis="ForeSight_axis";
|
||||
angle1=(rad 90);
|
||||
};
|
||||
class muzzleflash_hide
|
||||
{
|
||||
type="hide";
|
||||
source="hasSuppressor";
|
||||
selection="zasleh";
|
||||
minValue = 0.0;
|
||||
maxvalue = 0.25;
|
||||
hideValue = 0.01;
|
||||
};
|
||||
class muzzleFlashROT
|
||||
{
|
||||
type="rotationX";
|
||||
source="ammoRandom";
|
||||
selection="zasleh";
|
||||
axis="muzzleflash_axis";//*probably*
|
||||
sourceAddress = loop;
|
||||
minValue = 0.0;//rad 0.0
|
||||
maxValue = 4.0;//rad 229.18312
|
||||
angle0 = 0.0;//rad 0.0;
|
||||
angle1 = 1.2443461;//rad 14.0;
|
||||
memory = true;//(default assumed)
|
||||
};
|
||||
class MuzzleFlashROT1
|
||||
{
|
||||
type="rotation";
|
||||
source="ammoRandom";
|
||||
selection="zasleh";
|
||||
axis="muzzleflash_axis";//*probably*
|
||||
sourceAddress = loop;
|
||||
minValue = 0.0;//rad 0.0
|
||||
maxValue = 1.0;//rad 57.29578
|
||||
angle0 = 0.0;//rad 0.0;
|
||||
angle1 = 1.05235988;//rad 3.0;
|
||||
memory = true;//(default assumed)
|
||||
};
|
||||
class leg_L_move
|
||||
{
|
||||
type = rotation;
|
||||
source = bipod;
|
||||
sourceAddress = clamp;
|
||||
selection = "bipod_leg_L";
|
||||
axis = "bipod_leg_L_axis";
|
||||
minValue = 0;
|
||||
maxValue = 1;
|
||||
angle0 = (rad 0);
|
||||
angle1 = (rad -90);
|
||||
};
|
||||
|
||||
class leg_R_move
|
||||
{
|
||||
type = rotation;
|
||||
source = bipod;
|
||||
sourceAddress = clamp;
|
||||
selection = "bipod_leg_R";
|
||||
axis = "bipod_leg_R_axis";
|
||||
minValue = 0;
|
||||
maxValue = 1;
|
||||
angle0 = (rad 0);
|
||||
angle1 = (rad -90);
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
BIN
braf_weapons_sniper_rifles/762mm_HK417/AMF_417_long.p3d
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/AMF_417_long.p3d
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/Sounds/AMF_HK_416_F.wav
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/Sounds/AMF_HK_416_F.wav
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/Sounds/AMF_HK_416_F.wss
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/Sounds/AMF_HK_416_F.wss
LFS
Normal file
Binary file not shown.
Binary file not shown.
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/UI/gear_AMF_714_long_01_mag_ca.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/UI/gear_AMF_714_long_01_mag_ca.paa
LFS
Normal file
Binary file not shown.
Binary file not shown.
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/UI/gear_AMF_714_long_01_x_ca.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/UI/gear_AMF_714_long_01_x_ca.paa
LFS
Normal file
Binary file not shown.
Binary file not shown.
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_RAL8000_CO.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_RAL8000_CO.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_as.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_as.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_ca.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_ca.paa
LFS
Normal file
Binary file not shown.
@@ -0,0 +1,79 @@
|
||||
ambient[] = {1,1,1,1};
|
||||
diffuse[] = {1,1,1,1};
|
||||
forcedDiffuse[] = {0,0,0,0};
|
||||
emmisive[] = {0,0,0,1};
|
||||
specular[] = {0.02,0.02,0.02,1};
|
||||
specularPower = 80;
|
||||
PixelShaderID = "Super";
|
||||
VertexShaderID = "Super";
|
||||
class Stage1
|
||||
{
|
||||
texture = "braf\braf_weapons_sniper_rifles\762mm_HK417\Data\textures\AMF_714_Long_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)";
|
||||
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,)";
|
||||
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_sniper_rifles\762mm_HK417\Data\textures\AMF_714_Long_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_sniper_rifles\762mm_HK417\Data\textures\AMF_714_Long_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(0.6,0.16)";
|
||||
uvSource = "none";
|
||||
};
|
||||
class Stage7
|
||||
{
|
||||
texture = "a3\data_f\env_land_co.paa";
|
||||
uvSource = "none";
|
||||
};
|
||||
//};
|
||||
Binary file not shown.
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_co.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_co.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_nohq.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_nohq.paa
LFS
Normal file
Binary file not shown.
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_smdi.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_Long_smdi.paa
LFS
Normal file
Binary file not shown.
@@ -0,0 +1,82 @@
|
||||
class StageTI
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\762mm_HK417\Data\textures\AMF_714_long_CO.paa";
|
||||
};
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,0};
|
||||
specular[]={0.01,0.01,0.01,1};
|
||||
specularPower=80;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\762mm_HK417\Data\textures\AMF_714_Long_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_sniper_rifles\762mm_HK417\Data\textures\AMF_714_Long_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_sniper_rifles\762mm_HK417\Data\textures\AMF_714_Long_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="braf\braf_weapons_sniper_rifles\762mm_HK417\Data\textures\AMF_714_long_CO.paa";
|
||||
};
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,0};
|
||||
specular[]={0.05,0.05,0.05,1};
|
||||
specularPower=80;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\762mm_HK417\Data\textures\AMF_714_Long_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_sniper_rifles\762mm_HK417\Data\textures\AMF_714_Long_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_sniper_rifles\762mm_HK417\Data\textures\AMF_714_Long_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="braf\braf_weapons_sniper_rifles\762mm_HK417\Data\textures\AMF_714_short01_CO.paa";
|
||||
};
|
||||
ambient[]={1,1,1,1};
|
||||
diffuse[]={1,1,1,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,0};
|
||||
specular[]={0.01,0.01,0.01,1};
|
||||
specularPower=80;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_weapons_sniper_rifles\762mm_HK417\Data\textures\AMF_714_short01_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_sniper_rifles\762mm_HK417\Data\textures\AMF_714_short01_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_sniper_rifles\762mm_HK417\Data\textures\AMF_714_short01_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";
|
||||
};
|
||||
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_short01_CO.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_short01_CO.paa
LFS
Normal file
Binary file not shown.
Binary file not shown.
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_short01_as.paa
LFS
Normal file
BIN
braf_weapons_sniper_rifles/762mm_HK417/Data/textures/AMF_714_short01_as.paa
LFS
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user