This commit is the equivalent of a atomic bomb
This commit is contained in:
BIN
braf_static/L16/81Mortar.p3d
LFS
Normal file
BIN
braf_static/L16/81Mortar.p3d
LFS
Normal file
Binary file not shown.
147
braf_static/L16/VehiclesL16.hpp
Normal file
147
braf_static/L16/VehiclesL16.hpp
Normal file
@@ -0,0 +1,147 @@
|
||||
class braf_M252_base: StaticMortar
|
||||
{
|
||||
author="BRAF Team";
|
||||
availableForSupportTypes[]=
|
||||
{
|
||||
"Artillery"
|
||||
};
|
||||
displayname="L16 81mm Mortar";
|
||||
class Library
|
||||
{
|
||||
libTextDesc="81mm Mortar";
|
||||
};
|
||||
model="\braf\braf_static\L16\81Mortar.p3d";
|
||||
transportSoldier=1;
|
||||
cargoAction[]=
|
||||
{
|
||||
"D30_Cargo"
|
||||
};
|
||||
icon="\braf\braf_static\L16\data\ui\icomap_mortar_m251_ca.paa";
|
||||
picture="\braf\braf_static\L16\data\ui\Mortar_01_ca.paa";
|
||||
UiPicture="\braf\braf_static\L16\data\ui\Mortar_01_ca.paa";
|
||||
editorPreview = "\braf\braf_insignia\editorpreview\static\braf_I_M252_AAF.jpg";
|
||||
mapSize=1.5;
|
||||
class Turrets: Turrets
|
||||
{
|
||||
class MainTurret: MainTurret
|
||||
{
|
||||
class ViewOptics;
|
||||
gunnerAction="D30_Cargo";
|
||||
weapons[]=
|
||||
{
|
||||
"mortar_82mm"
|
||||
};
|
||||
magazines[]=
|
||||
{
|
||||
"8Rnd_82mm_Mo_shells",
|
||||
"8Rnd_82mm_Mo_shells",
|
||||
"8Rnd_82mm_Mo_shells",
|
||||
"8Rnd_82mm_Mo_shells",
|
||||
"8Rnd_82mm_Mo_Flare_white",
|
||||
"8Rnd_82mm_Mo_Flare_white",
|
||||
"8Rnd_82mm_Mo_Smoke_white",
|
||||
"8Rnd_82mm_Mo_Smoke_white"
|
||||
};
|
||||
initElev=0;
|
||||
initTurn=0;
|
||||
minElev=-15;
|
||||
maxElev=35;
|
||||
minTurn=-180;
|
||||
maxTurn=180;
|
||||
elevationMode=1;
|
||||
};
|
||||
};
|
||||
htMin=1;
|
||||
htMax=480;
|
||||
afMax=0;
|
||||
mfMax=0;
|
||||
mFact=1;
|
||||
tBody=100;
|
||||
artilleryScanner=1;
|
||||
class assembleInfo
|
||||
{
|
||||
primary=0;
|
||||
base="";
|
||||
assembleTo="";
|
||||
dissasembleTo[]=
|
||||
{
|
||||
"braf_B_M252_Gun_Bag",
|
||||
"braf_B_M252_Bipod_Bag"
|
||||
};
|
||||
displayName="";
|
||||
};
|
||||
};
|
||||
class braf_I_M252_AAF: braf_M252_base
|
||||
{
|
||||
scope=2;
|
||||
scopeArsenal=2;
|
||||
scopeCurator=2;
|
||||
side=2;
|
||||
faction="Braf_army";
|
||||
crew="braf_army_rifleman_regular_2000";
|
||||
typicalCargo[]=
|
||||
{
|
||||
"braf_army_rifleman_regular_2000"
|
||||
};
|
||||
hiddenSelections[]=
|
||||
{
|
||||
"camo"
|
||||
};
|
||||
hiddenSelectionsTextures[]=
|
||||
{
|
||||
"\braf\braf_static\L16\data\m252_81mm_co.paa"
|
||||
};
|
||||
};
|
||||
class braf_B_M252_Gun_Bag: Weapon_Bag_Base
|
||||
{
|
||||
author="BRAF Team";
|
||||
displayName="M252 Gun Bag";
|
||||
_generalMacro="braf_I_M252_AAF";
|
||||
mass=200;
|
||||
scope=2;
|
||||
scopeArsenal=2;
|
||||
scopeCurator=2;
|
||||
model="\braf\braf_static\M2\bags\StaticX.p3d";
|
||||
picture="\braf\braf_static\M2\bags\staticx_ca.paa";
|
||||
icon="\braf\braf_static\M2\bags\mapicon_backpack_ca.paa";
|
||||
hiddenSelectionsTextures[]=
|
||||
{
|
||||
"\braf\braf_static\M2\bags\data\static_co.paa"
|
||||
};
|
||||
class assembleInfo
|
||||
{
|
||||
primary=0;
|
||||
base="";
|
||||
assembleTo="";
|
||||
dissasembleTo[]={};
|
||||
displayName="";
|
||||
};
|
||||
faction="braf_army";
|
||||
};
|
||||
class braf_B_M252_Bipod_Bag: Weapon_Bag_Base
|
||||
{
|
||||
author="BRAF Team";
|
||||
mass=150;
|
||||
scope=2;
|
||||
scopeArsenal=2;
|
||||
scopeCurator=2;
|
||||
displayName="M252 Tripod Bag";
|
||||
_generalMacro="braf_I_M252_AAF";
|
||||
model="\braf\braf_static\M2\bags\StaticY.p3d";
|
||||
picture="\braf\braf_static\M2\bags\staticy_ca.paa";
|
||||
icon="\braf\braf_static\M2\bags\mapicon_backpack_ca.paa";
|
||||
hiddenSelectionsTextures[]=
|
||||
{
|
||||
"\braf\braf_static\M2\bags\data\static_co.paa"
|
||||
};
|
||||
faction="Braf_army";
|
||||
class assembleInfo: assembleInfo
|
||||
{
|
||||
displayName="Assemble M252 Mortar";
|
||||
assembleTo="braf_I_M252_AAF";
|
||||
base[]=
|
||||
{
|
||||
"braf_B_M252_Gun_Bag"
|
||||
};
|
||||
};
|
||||
};
|
||||
96
braf_static/L16/data/m252_81mm.rvmat
Normal file
96
braf_static/L16/data/m252_81mm.rvmat
Normal file
@@ -0,0 +1,96 @@
|
||||
ambient[]={1,0.99999899,0.99999899,1};
|
||||
diffuse[]={1,0.99999899,0.99999899,1};
|
||||
forcedDiffuse[]={0,0,0,0};
|
||||
emmisive[]={0,0,0,1};
|
||||
specular[]={0.99999899,0.99999899,0.99999899,1};
|
||||
specularPower=400;
|
||||
PixelShaderID="Super";
|
||||
VertexShaderID="Super";
|
||||
class Stage1
|
||||
{
|
||||
texture="braf\braf_static\L16\data\M252_81mm_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,MC)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage4
|
||||
{
|
||||
texture="#(argb,8,8,3)color(1,1,1,1,AS)";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class Stage5
|
||||
{
|
||||
texture="braf\braf_static\L16\data\M252_81mm_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,32,128,1)fresnel(3.38,5.33)";
|
||||
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_co.paa";
|
||||
uvSource="tex";
|
||||
class uvTransform
|
||||
{
|
||||
aside[]={1,0,0};
|
||||
up[]={0,1,0};
|
||||
dir[]={0,0,0};
|
||||
pos[]={0,0,0};
|
||||
};
|
||||
};
|
||||
class StageTI
|
||||
{
|
||||
texture="braf\braf_static\L16\data\m252_81mm_ti_ca.paa";
|
||||
};
|
||||
BIN
braf_static/L16/data/m252_81mm_co.paa
LFS
Normal file
BIN
braf_static/L16/data/m252_81mm_co.paa
LFS
Normal file
Binary file not shown.
BIN
braf_static/L16/data/m252_81mm_nohq.paa
LFS
Normal file
BIN
braf_static/L16/data/m252_81mm_nohq.paa
LFS
Normal file
Binary file not shown.
BIN
braf_static/L16/data/m252_81mm_smdi.paa
LFS
Normal file
BIN
braf_static/L16/data/m252_81mm_smdi.paa
LFS
Normal file
Binary file not shown.
BIN
braf_static/L16/data/m252_81mm_ti_ca.paa
LFS
Normal file
BIN
braf_static/L16/data/m252_81mm_ti_ca.paa
LFS
Normal file
Binary file not shown.
BIN
braf_static/L16/data/ui/Mortar_01_ca.paa
LFS
Normal file
BIN
braf_static/L16/data/ui/Mortar_01_ca.paa
LFS
Normal file
Binary file not shown.
BIN
braf_static/L16/data/ui/icomap_mortar_m251_ca.paa
LFS
Normal file
BIN
braf_static/L16/data/ui/icomap_mortar_m251_ca.paa
LFS
Normal file
Binary file not shown.
BIN
braf_static/L16/data/ui/mortar_m251_ca.paa
LFS
Normal file
BIN
braf_static/L16/data/ui/mortar_m251_ca.paa
LFS
Normal file
Binary file not shown.
194
braf_static/L16/model.cfg
Normal file
194
braf_static/L16/model.cfg
Normal file
@@ -0,0 +1,194 @@
|
||||
class CfgSkeletons
|
||||
{
|
||||
class Default
|
||||
{
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "";
|
||||
skeletonBones[] = {};
|
||||
};
|
||||
class StaticWeapon: Default
|
||||
{
|
||||
isDiscrete=1;
|
||||
skeletonInherit="Default";
|
||||
skeletonBones[]=
|
||||
{
|
||||
"OtocVez","",
|
||||
"OtocHlaven","OtocVez",
|
||||
"OtocHlaven_Shake","OtocHlaven",
|
||||
"ammo_belt","OtocHlaven_Shake",
|
||||
"magazine","OtocHlaven_Shake",
|
||||
"feedtray_cover","OtocHlaven_Shake",
|
||||
"bolt","OtocHlaven_Shake",
|
||||
"recoil","OtocHlaven_Shake",
|
||||
"charging_handle","OtocHlaven_Shake",
|
||||
"damagehideVez","OtocVez",
|
||||
"damagehideHlaven","OtocHlaven",
|
||||
"damagehideRecoil","recoil"
|
||||
};
|
||||
};
|
||||
class 81Mortar: StaticWeapon
|
||||
{
|
||||
isDiscrete = 1;
|
||||
skeletonInherit = "Default";
|
||||
skeletonBones[]=
|
||||
{
|
||||
"otocVez","",
|
||||
"otochlaven","otocVez",
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class CfgModels
|
||||
{
|
||||
class Default
|
||||
{
|
||||
sections[] = {};
|
||||
sectionsInherit="";
|
||||
skeletonName = "";
|
||||
};
|
||||
class StaticWeapon: Default
|
||||
{
|
||||
sections[]=
|
||||
{
|
||||
"zasleh","zbytek","camo"
|
||||
};
|
||||
skeletonName="StaticWeapon";
|
||||
class Animations
|
||||
{
|
||||
class MainTurret
|
||||
{
|
||||
type="rotationY";
|
||||
source="mainTurret";
|
||||
selection="OtocVez";
|
||||
axis="osaveze";
|
||||
animPeriod=0;
|
||||
minValue="rad -360";
|
||||
maxValue="rad +360";
|
||||
angle0="rad -360";
|
||||
angle1="rad +360";
|
||||
};
|
||||
|
||||
class MainGun
|
||||
{
|
||||
type="rotationX";
|
||||
source="mainGun";
|
||||
selection="OtocHlaven";
|
||||
axis="osahlavne";
|
||||
animPeriod=0;
|
||||
minValue="rad -360";
|
||||
maxValue="rad +360";
|
||||
angle0="rad -360";
|
||||
angle1="rad +360";
|
||||
};
|
||||
|
||||
|
||||
// destruct BASE START
|
||||
class MainTurret_destructX
|
||||
{
|
||||
type="rotationX";
|
||||
source="damage";
|
||||
selection="OtocVez";
|
||||
axis="osaveze";
|
||||
animPeriod=0;
|
||||
minValue=0.99;
|
||||
maxValue=1;
|
||||
angle0=0;
|
||||
angle1="rad -3";
|
||||
};
|
||||
class MainTurret_destructY:MainTurret_destructX
|
||||
{
|
||||
type="rotationY";
|
||||
angle1="rad +5";
|
||||
};
|
||||
class MainTurret_destructZ:MainTurret_destructX
|
||||
{
|
||||
type="rotationZ";
|
||||
angle1="rad -5";
|
||||
};
|
||||
class MainGun_destructX:MainTurret_destructX
|
||||
{
|
||||
selection="OtocHlaven";
|
||||
axis="osahlavne";
|
||||
angle1="rad -12";
|
||||
};
|
||||
class MainGun_destructY:MainGun_destructX
|
||||
{
|
||||
type="rotationY";
|
||||
angle1="rad +2";
|
||||
};
|
||||
class MainGun_destructZ:MainGun_destructX
|
||||
{
|
||||
type="rotationZ";
|
||||
angle1="rad +5";
|
||||
};
|
||||
class magazine_destruct:MainTurret_destructX
|
||||
{
|
||||
type="hide";
|
||||
selection="magazine";
|
||||
hideValue=0.5;
|
||||
};
|
||||
class ammo_belt_destruct:magazine_destruct
|
||||
{
|
||||
selection="ammo_belt";
|
||||
};
|
||||
class bolt_destruct:magazine_destruct
|
||||
{
|
||||
selection="bolt";
|
||||
};
|
||||
class charging_handle_destruct:magazine_destruct
|
||||
{
|
||||
selection="charging_handle";
|
||||
};
|
||||
class damagehideVez_destruct:magazine_destruct
|
||||
{
|
||||
type="hide";
|
||||
selection="damagehideVez";
|
||||
hideValue=0.9;
|
||||
};
|
||||
class damagehideHlaven_destruct:damagehideVez_destruct
|
||||
{
|
||||
selection="damagehideHlaven";
|
||||
};
|
||||
class damagehideRecoil_destruct:damagehideVez_destruct
|
||||
{
|
||||
selection="damagehideRecoil";
|
||||
};
|
||||
// destruct BASE END
|
||||
|
||||
};
|
||||
};
|
||||
class 81Mortar: StaticWeapon
|
||||
{
|
||||
sections[]={};
|
||||
skeletonName="81Mortar";
|
||||
sectionsInherit = "Default";
|
||||
class Animations
|
||||
{
|
||||
class MainTurret
|
||||
{
|
||||
type="rotationY";
|
||||
source="mainTurret";
|
||||
selection="otocVez";
|
||||
axis="osaVeze";
|
||||
animPeriod=0;
|
||||
minValue="rad -360";
|
||||
maxValue="rad +360";
|
||||
angle0="rad -360";
|
||||
angle1="rad +360";
|
||||
};
|
||||
class MainGun
|
||||
{
|
||||
type="rotationX";
|
||||
source="mainGun";
|
||||
selection="otochlaven";
|
||||
axis="osahlaven";
|
||||
animPeriod=0;
|
||||
minValue="rad -360";
|
||||
maxValue="rad +360";
|
||||
angle0="rad -360";
|
||||
angle1="rad +360";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user