This commit is the equivalent of a atomic bomb

This commit is contained in:
2026-02-15 08:08:56 -03:00
commit e4ac56b038
6934 changed files with 916278 additions and 0 deletions

BIN
braf_static/L16/81Mortar.p3d LFS Normal file

Binary file not shown.

View 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"
};
};
};

View 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";
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

194
braf_static/L16/model.cfg Normal file
View 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";
};
};
};
};

BIN
braf_static/M120.rar LFS Normal file

Binary file not shown.

View File

@@ -0,0 +1,27 @@
class CfgMagazines
{
class CA_Magazine;
class CA_LauncherMagazine;
class HandGrenade;
class 30Rnd_556x45_Stanag;
class VehicleMagazine;
class 200Rnd_40mm_G_belt;
class 1000Rnd_20mm_shells;
class 50Rnd_570x28_SMG_03;
class Default;
class Titan_AP;
class Titan_AT;
class 8Rnd_120mm_Mortar: VehicleMagazine
{
author="BRAF Team";
initSpeed=200;
displayNameShort="Mortar M120mm";
scope=2;
displayName="Mortar M120";
displayNameMFDFormat="HE";
ammo="Braf_B_120MM";
count=8;
nameSound="heat";
muzzleImpulseFactor[]={0,0};
};
};

View File

@@ -0,0 +1,21 @@
class CfgMovesBasic
{
class DefaultDie;
class ManActions
{
D30_Cargo = "D30_Cargo";
};
};
class CfgMovesMaleSdr: CfgMovesBasic
{
class States
{
class Crew;
class D30_Cargo: Crew
{
file="\braf\braf_static_anim\anim\D30_Cargo.rtm";
connectTo[]={Static_Dead,1}; //ToDo: own death anim?
};
};
};

View File

@@ -0,0 +1,85 @@
ambient[] = {1,1,1,1};
diffuse[] = {1,1,1,1};
forcedDiffuse[] = {0,0,0,0};
emmisive[] = {0,0,0,1};
specular[] = {0.5,0.5,0.5,0};
specularPower = 1;
PixelShaderID = "Super";
VertexShaderID = "Super";
class Stage1
{
texture = "braf\braf_static\M120\Data\M120_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[] = {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 = "braf\braf_static\M120\Data\M120_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_static\M120\Data\M120_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,1)";
uvSource = "none";
};
class Stage7
{
texture = "a3\data\env_land_co.paa";
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};
};
};

BIN
braf_static/M120/Data/M120_as.paa LFS Normal file

Binary file not shown.

BIN
braf_static/M120/Data/M120_co.paa LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,97 @@
class StageTI
{
texture="a3\static_f\mortar_01\data\mortar_01_ti_ca.paa";
};
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,1};
emmisive[]={0,0,0,0};
specular[]={0.69999999,0.69999999,0.69999999,1};
specularPower=130;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="a3\static_f\mortar_01\data\mortar_01_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="a3\static_f\mortar_01\data\mortar_01_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="a3\static_f\mortar_01\data\mortar_01_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.2,0.5)";
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";
useWorldEnvMap="true";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};

View File

@@ -0,0 +1,73 @@
class SensorTemplateDataLink;
class CfgAmmo
{
class Default;
class BulletCore;
class BulletBase: BulletCore
{
};
class GrenadeBase;
class Grenade;
class GrenadeHand;
class B_762x51_Ball;
class B_93x64_Ball;
class MissileCore;
class MissileBase: MissileCore
{
class Components;
};
class ShellBase;
class RocketCore;
class M_Titan_AT;
class M_Titan_AP;
class M_Titan_AA;
class M_Vorona_HEAT;
class RocketBase: RocketCore
{
};
class B_30mm_HE;
class B_30mm_AP;
class Sh_155mm_AMOS;
class G_40mm_HE;
class Bo_GBU12_LGB;
class Bo_Mk82;
class BombCore;
class ammo_Penetrator_Base;
class B_570x28_Ball;
class Braf_B_120MM: Sh_155mm_AMOS
{
hit=200;
indirectHit=78;
indirectHitRange=22;
cost=200;
muzzleEffect="";
class CamShakeExplode
{
power=16.4;
duration=1.8;
frequency=20;
distance=216.44299;
};
class CamShakeHit
{
power=82;
duration=0.60000002;
frequency=20;
distance=1;
};
class CamShakeFire
{
power=3.0092199;
duration=1.8;
frequency=20;
distance=72.4431;
};
class CamShakePlayerFire
{
power=0.0099999998;
duration=0.1;
frequency=20;
distance=1;
};
};
};

View File

@@ -0,0 +1,116 @@
class CfgVehicles
{
class LandVehicle;
class StaticWeapon: LandVehicle
{
class Turrets;
class MainTurret;
};
class StaticMGWeapon: StaticWeapon
{
};
class StaticATWeapon: StaticWeapon
{
};
class StaticAAWeapon: StaticWeapon
{
};
class StaticCannon: StaticWeapon
{
class ViewOptics;
};
class StaticGrenadeLauncher: StaticWeapon
{
class ViewOptics;
};
class StaticMortar: StaticWeapon
{
};
class braf_m120_base: StaticMortar
{
author="BRAF Team";
availableForSupportTypes[]=
{
"Artillery"
};
displayname="M120 Mortar";
class Library
{
libTextDesc="120mm Mortar";
};
model="\braf\braf_static\m120\m120.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 = "";
mapSize=1.5;
class Turrets: Turrets
{
class MainTurret: MainTurret
{
class ViewOptics;
gunnerAction="D30_Cargo";
weapons[]=
{
"Braf_M120_mortar"
};
magazines[]=
{
"8Rnd_120mm_Mortar",
"8Rnd_120mm_Mortar",
"8Rnd_120mm_Mortar",
"8Rnd_120mm_Mortar",
"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=0;
maxElev=35.95;
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_m120_Gun_Bag",
"braf_B_m120_Bipod_Bag"
};
displayName="";
};
};
class braf_m120 : braf_m120_base
{
scope=2;
scopeArsenal=2;
scopeCurator=2;
displayName="M120 Mortar";
side=2;
faction="Braf_army";
crew="braf_army_rifleman_regular_2000";
typicalCargo[]=
{
"braf_army_rifleman_regular_2000"
};
};
};

View File

@@ -0,0 +1,193 @@
class WeaponFireGun;
class WeaponCloudsGun;
class WeaponFireMGun;
class WeaponCloudsMGun;
class RCWSOptics;
class Mode_SemiAuto;
class Mode_Burst;
class Mode_FullAuto;
class cfgWeapons
{
class Default;
class PistolCore;
class RifleCore;
class mortar_82mm;
class Rifle_Base_F;
class Rifle_Long_Base_F: Rifle_Base_F
{
class WeaponSlotsInfo;
};
class CannonCore;
class cannon_105mm;
class cannon_120mm;
class cannon_125mm;
class weapon_ShipCannon_120mm;
class mortar_155mm_AMOS: CannonCore
{
};
class autocannon_Base_F;
class autocannon_40mm_CTWS: autocannon_Base_F
{
class HE;
class AP;
};
class gatling_20mm: CannonCore
{
class manual;
};
class MGunCore;
class MGun: MGunCore
{
};
class HMG_M2;
class GrenadeCore;
class GMG_F: MGun
{
};
class GrenadeLauncher;
class GMG_20mm;
class GMG_40mm;
class LauncherCore;
class Launcher;
class Mk82BombLauncher;
class RocketPods;
class rockets_230mm_GAT: RocketPods
{
class Close;
class Medium;
class Far;
class Full;
};
class rockets_Skyfire: RocketPods
{
class burst;
};
class MissileLauncher;
class missiles_titan;
class missiles_Vorona;
class Missiles_Scalpel;
class missiles_Zephyr;
class Missile_AA_03_Plane_CAS_02_F;
class Binocular;
class Laserdesignator;
class Laserdesignator_mounted;
class NVGoggles;
class CarHorn;
class Braf_M120_mortar: mortar_82mm
{
scope=1;
displayname="M120 Mortar";
nameSound="CannonCore";
cursor="mortar";
cursorAim="EmptyCursor";
reloadTime=1.8;
magazineReloadTime=5;
autoReload=1;
canLock=0;
magazines[]=
{
"8Rnd_120mm_Mortar",
"8Rnd_82mm_Mo_Flare_white",
"8Rnd_82mm_Mo_Smoke_white"
};
modes[] = {"Single1", "Single2", "Single3", "Single4","Burst1", "Burst2", "Burst3", "Burst4"};
reloadSound[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_120mm\Cannon_120mm_Reload_01",2.5118864,1,10};
reloadMagazineSound[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_120mm\Cannon_120mm_Reload_01",2.5118864,1,10};
class Single1: Mode_SemiAuto {
displayName="120mm Ch.0";
sounds[] = {"StandardSound"};
class StandardSound
{
begin1[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_120mm\slammer_120mm_distant",3.1622777,1,1500};
soundBegin[] = {"begin1",1};
};
reloadSound[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_120mm\Cannon_120mm_Reload_01",2.5118864,1,10};
reloadTime=1.8;
artilleryDispersion=1.9;
aiRateOfFire=1;
aiRateOfFireDistance=10;
minRange=500;
minRangeProbab=0.0099999998;
midRange=1;
midRangeProbab=0.0099999998;
maxRange=1365;
maxRangeProbab=0.0099999998;
artilleryCharge = 0.5785;
};
class Single2: Single1 {
displayName="120mm Ch.1";
artilleryCharge = 0.955;
minRange = 0;
midRange = 1200;
maxRange = 1600;
};
class Single3: Single1 {
displayName="120mm Ch.2";
artilleryCharge = 1.568;
};
class Single4: Single1 {
displayName="120mm Ch.3";
artilleryCharge = 1.7577;
};
class Burst1: Mode_Burst
{
showToPlayer = 0;
displayName = "120mm Ch.1";
burst = 4;
aiBurstTerminable = 1;
sounds[] = {"StandardSound"};
class StandardSound
{
begin1[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_120mm\slammer_120mm_distant",3.1622777,1,1500};
soundBegin[] = {"begin1",1};
};
reloadSound[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_120mm\Cannon_120mm_Reload_01",2.5118864,1,10};
reloadTime=1.8;
artilleryDispersion=1.9;
aiRateOfFire=1;
aiRateOfFireDistance=10;
minRange=500;
minRangeProbab=0.0099999998;
midRange=900;
midRangeProbab=0.0099999998;
maxRange=1365;
maxRangeProbab=0.0099999998;
artilleryCharge = 0.5785;
};
class Burst2: Burst1 {
displayName="120mm Ch.1";
artilleryCharge = 0.955;
minRange = 1364;
midRange = 2500;
maxRange = 3720;
};
class Burst3: Burst1 {
displayName="120mm Ch.2";
artilleryCharge = 1.568;
minRange = 3678;
midRange = 6666;
maxRange = 10028;
};
class Burst4: Burst1 {
displayName="120mm Ch.3";
artilleryCharge = 1.7577;
minRange = 4621;
midRange = 8000;
maxRange = 12600;
};
ballisticsComputer=2;
class GunParticles
{
class FirstEffect
{
effectName="MortarFired";
positionName="Usti Hlavne";
directionName="Konec Hlavne";
};
};
};
};

View File

@@ -0,0 +1,15 @@
class CfgPatches {
class braf_M120 {
addonRootClass = "braf_static";
requiredAddons[] = { "A3_Weapons_F_Mark" };
requiredVersion = 0.1;
units[] = { "braf_m120" };
weapons[] = { "Braf_M120_mortar" };
};
};
#include "CfgMagazines.hpp"
#include "CfgMovesBasic.hpp"
#include "cfgAmmo.hpp"
#include "cfgVehicles.hpp"
#include "cfgWeapons.hpp"

BIN
braf_static/M120/m120.p3d LFS Normal file

Binary file not shown.

101
braf_static/M120/model.cfg Normal file
View File

@@ -0,0 +1,101 @@
class CfgSkeletons
{
class m120_Skeleton
{
isDiscrete=1;
skeletonInherit="";
skeletonBones[]=
{
"turret", "",
"gun","turret",
"base","turret",
"mepondir","gun",
"wheel","base"
};
};
};
class CfgModels
{
class m120
{
htMin=60;
htMax=1800;
afMax=200;
mfMax=100;
mFact=1;
tBody=250;
skeletonName="m120_Skeleton";
sectionsInherit="";
sections[]={"camo", "zbytek"};
class Animations
{
class mainturret
{
type="rotationy";
source="mainTurret";
selection="turret";
axis="turret_axis";
sourceAddress="clamp";
animPeriod=0;
minValue="rad -360";
maxValue="rad +360";
angle0="rad -360";
angle1="rad +360";
};
class maingun
{
type="rotationX";
source="mainGun";
selection="gun";
axis="gun_axis";
animPeriod=0;
minValue=0;
maxValue=1;
memory=0;
angle0="rad 0";
angle1="rad 57.29578";
};
class maingun_base
{
type="translation";
source="maingun";
selection="base";
axis="base_axis";
sourceAddress="clamp";
minValue=0;
maxValue=1;
memory=0;
offset0=0;
offset1=1;
};
class maingun_mepondir
{
type="translation";
source="maingun";
selection="mepondir";
axis="mepondir_axis";
sourceAddress="clamp";
animPeriod=0;
minValue=0;
maxValue=1;
memory=0;
offset0=0;
offset1=1;
};
class wheel_rotation
{
type="rotation";
source="maingun";
selection="wheel";
axis="wheel_rotation_axis";
sourceAddress="clamp";
animPeriod=0;
minValue=0;
maxValue=1;
memory=0;
angle0="rad 0";
angle1="rad 270";
};
};
};
};

35
braf_static/M2/AmmoM2.hpp Normal file
View File

@@ -0,0 +1,35 @@
class Braf_B_127x99_Ball_Red_Tracer: B_127x99_Ball
{
model="\A3\Weapons_f\Data\bullettracer\tracer_red";
lightcolor[] = {0.25,0.25,0.5};
effectflare = "FlareShell";
effectfly = "Braf_tracer_red";
flaresize = 5;
tracerScale=1.2;
tracerStartTime=0.075000003;
airFriction=-0.00057502999;
tracerEndTime=2.3;
ACE_caliber=12.954;
ACE_bulletLength=58.674;
ACE_bulletMass=41.925598;
ACE_ammoTempMuzzleVelocityShifts[]={-26.549999,-25.469999,-22.85,-20.120001,-16.98,-12.8,-7.6399999,-1.53,5.96,15.17,26.190001};
ACE_ballisticCoefficients[]={0.67000002};
ACE_velocityBoundaries[]={};
ACE_standardAtmosphere="ASM";
ACE_dragModel=1;
ACE_muzzleVelocities[]={853};
ACE_barrelLengths[]={736.59998};
};
class Braf_B_127x99_Ball_Red_Tracer_Splash: Braf_B_127x99_Ball_Red_Tracer
{
hit=32;
indirectHit=1.5;
indirectHitRange=1.5;
fuseDistance=12;
deflecting=30;
caliber=3.2;
soundSetSonicCrack[]=
{
"BulletSonicCrack_Gatling_SoundSet"
};
};

BIN
braf_static/M2/Data/M2.ogg LFS Normal file

Binary file not shown.

BIN
braf_static/M2/Data/M2.wss LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,96 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,1};
specular[]={0.73000008,0.73000008,0.73000008,1};
specularPower=100;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_static\M2\data\m2_stojan_nohq.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,1};
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[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,1};
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,1};
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,1};
pos[]={0,0,0};
};
};
class Stage5
{
texture="braf\braf_static\M2\data\m2_stojan_smdi.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,1};
pos[]={0,0,0};
};
};
class Stage6
{
texture="#(ai,32,128,1)fresnel(4.57,1.65)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,1};
pos[]={0,0,0};
};
};
class Stage7
{
texture="a3\data_f\env_land_co.paa";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,1};
pos[]={0,0,0};
};
};
class StageTI
{
texture="braf\braf_static\M2\data\m2_stojan_ti_ca.paa";
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
braf_static/M2/Data/m2hb.ogg LFS Normal file

Binary file not shown.

BIN
braf_static/M2/Data/m2hb.wss LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
braf_static/M2/M2_mg.p3d LFS Normal file

Binary file not shown.

BIN
braf_static/M2/M2_mg2.p3d LFS Normal file

Binary file not shown.

View File

@@ -0,0 +1,12 @@
class Braf_100Rnd_127x99_M: VehicleMagazine
{
scope=2;
count=100;
ammo="Braf_B_127x99_Ball_Red_Tracer";
initSpeed=910;
maxLeadSpeed=200;
nameSound="mgun";
displayName="100Rnd 127x99 mm Tracer Red";
muzzleImpulseFactor[]={0.050000001,0.050000001};
tracersEvery=1;
};

View File

@@ -0,0 +1,205 @@
class Braf_M2StaticMG_base: StaticMGWeapon
{
author="BRAF Team";
reloadMagazineSound[]={"\braf\braf_static\M2\data\reload-belt-1",db-30,1,35};
model="\braf\braf_static\M2\M2_mg.p3d";
picture="\braf\braf_static\M2\Data\ui\icon_HMG_02_high_ca.paa";
icon="\braf\braf_static\M2\Data\ui\icomap_m2_ca.paa";
editorPreview = "\braf\braf_insignia\editorpreview\static\Braf_I_M2StaticMG_MiniTripod_AAF.jpg";
mapSize=3;
displayName="M2 Browning (High Tripod)";
class Turrets: Turrets
{
class MainTurret: MainTurret
{
optics=1;
turretInfoType="RscOptics_Offroad_01";
discreteDistance[]={100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500};
discreteDistanceInitIndex=2;
gunnerOpticsModel="\A3\weapons_f\reticle\optics_empty";
gunnerLeftHandAnimName="otochlaven_shake";
gunnerRightHandAnimName="otochlaven_shake";
selectionFireAnim="zasleh";
minElev=-20;
minTurn=-180;
maxTurn=180;
weapons[]=
{
"Braf_Vhmg_M2_static"
};
magazines[]=
{
"Braf_100Rnd_127x99_M",
"Braf_100Rnd_127x99_M",
"Braf_100Rnd_127x99_M",
"Braf_100Rnd_127x99_M"
};
gunnerAction="M2_Gunner";
};
};
class AnimationSources
{
class ReloadAnim
{
source="reload";
weapon="Braf_Vhmg_M2_static";
};
class ReloadMagazine
{
source="reloadmagazine";
weapon="Braf_Vhmg_M2_static";
};
class Revolving
{
source="revolving";
weapon="Braf_Vhmg_M2_static";
};
};
armorStructural=10;
class Library
{
libTextDesc="50 Cal";
};
class assembleInfo
{
primary=0;
base="";
assembleTo="";
dissasembleTo[]=
{
"Braf_B_M2_Gun_Bag",
"Braf_B_M2_Tripod_Bag"
};
displayName="";
};
};
class Braf_I_M2StaticMG_AAF: Braf_M2StaticMG_base
{
scope=2;
scopeArsenal=2;
scopeCurator=2;
side=2;
faction="Braf_army";
crew="braf_army_rifleman_regular_2000";
typicalCargo[]=
{
"braf_army_rifleman_regular_2000"
};
};
class Braf_M2StaticMG_MiniTripod_base: Braf_M2StaticMG_base
{
author="BRAF Team";
displayName="M2 Browning (Low Tripod)";
model="\braf\braf_static\M2\M2_mg2.p3d";
picture="\braf\braf_static\M2\Data\ui\icon_HMG_02_ca.paa";
editorPreview = "\braf\braf_insignia\editorpreview\static\Braf_I_M2StaticMG_AAF.jpg";
class Turrets: Turrets
{
class MainTurret: MainTurret
{
gunnerLeftHandAnimName="otochlaven_shake";
gunnerRightHandAnimName="otochlaven_shake";
gunneraction="LowTripod_Gunner";
initturn=0;
maxturn=90;
minturn=-90;
};
};
class assembleInfo
{
primary=0;
base="";
assembleTo="";
dissasembleTo[]=
{
"Braf_B_M2_Gun_Bag",
"Braf_B_M2_MiniTripod_Bag"
};
displayName="";
};
};
class Braf_I_M2StaticMG_MiniTripod_AAF: Braf_M2StaticMG_MiniTripod_base
{
scope=2;
scopeArsenal=2;
scopeCurator=2;
side=2;
faction="Braf_army";
crew="braf_army_rifleman_regular_2000";
typicalCargo[]=
{
"braf_army_rifleman_regular_2000"
};
};
class Braf_B_M2_Gun_Bag: Weapon_Bag_Base
{
author="BRAF Team";
displayName="M2 Gun Bag";
_generalMacro="Braf_I_M2StaticMG_AAF";
mass=250;
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="IND_F";
};
class Braf_B_M2_Tripod_Bag: Weapon_Bag_Base
{
author="BRAF Team";
mass=150;
scope=2;
scopeArsenal=2;
scopeCurator=2;
displayName="M2 Tripod Bag";
_generalMacro="Braf_I_M2StaticMG_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="$STR_A3_CfgVehicles_B_HMG_01_Wpn_assembleInfo0";
assembleTo="Braf_I_M2StaticMG_AAF";
base[]=
{
"Braf_B_M2_Gun_Bag"
};
};
};
class Braf_B_M2_MiniTripod_Bag: Braf_B_M2_Tripod_Bag
{
author="BRAF Team";
mass=150;
scope=2;
scopeArsenal=2;
scopeCurator=2;
displayName="M2 MiniTripod Bag";
_generalMacro="Braf_I_M2StaticMG_AAF";
class assembleInfo: assembleInfo
{
displayName="$STR_A3_CfgVehicles_B_HMG_01_Wpn_assembleInfo0";
assembleTo="Braf_I_M2StaticMG_MiniTripod_AAF";
base[]=
{
"Braf_B_M2_Gun_Bag"
};
};
};

View File

@@ -0,0 +1,149 @@
class Braf_Vhmg_M2_veh: HMG_M2
{
displayName="M2 Browning .50 Cal";
author="BRAF Team";
magazineReloadTime=10;
modes[]=
{
"manual",
"close",
"short",
"medium",
"far"
};
magazines[]=
{
"Braf_100Rnd_127x99_M"
};
drySound[]=
{
"A3\Sounds_F\arsenal\weapons_vehicles\HMG_050\HMG050_dry",
1,
1,
10
};
reloadMagazineSound[]=
{
"\braf\braf_static\M2\data\reload-belt-1",
1,
1,
10
};
//class manual: MGun
class manual: MGun
{
dispersion=0.00095999998;
reloadTime=0.12;
sounds[]=
{
"StandardSound"
};
class StandardSound
{
soundsetshot[]=
{
"braf_50_Shot_SoundSet",
"braf_50_tail_SoundSet"
};
};
soundContinuous=0;
soundBurst=0;
};
class close: manual
{
showToPlayer=0;
soundBurst=0;
burst=10;
aiRateOfFire=0.5;
aiRateOfFireDistance=50;
minRange=0;
minRangeProbab=0.050000001;
midRange=20;
midRangeProbab=0.57999998;
maxRange=100;
maxRangeProbab=0.039999999;
};
class short: close
{
burst=8;
aiRateOfFire=2;
aiRateOfFireDistance=300;
minRange=50;
minRangeProbab=0.050000001;
midRange=150;
midRangeProbab=0.57999998;
maxRange=300;
maxRangeProbab=0.039999999;
};
class medium: close
{
burst=4;
aiRateOfFire=3;
aiRateOfFireDistance=600;
minRange=200;
minRangeProbab=0.050000001;
midRange=500;
midRangeProbab=0.57999998;
maxRange=800;
maxRangeProbab=0.039999999;
};
class far: close
{
burst=5;
aiRateOfFire=5;
aiRateOfFireDistance=1000;
minRange=600;
minRangeProbab=0.050000001;
midRange=800;
midRangeProbab=0.40000001;
maxRange=1200;
maxRangeProbab=0.0099999998;
};
class GunParticles
{
class FirstEffect
{
positionName="usti hlavne";
directionName="konec hlavne";
effectName="MachineGunCloud";
};
class SecondEffect
{
positionName="nabojnicestart";
directionName="nabojniceend";
effectName="MachineGunCartridge2";
};
class ThirdEffect
{
positionName="case_eject_pos";
directionName="case_eject_dir";
effectName="MachineGunEject";
};
};
};
class Braf_Vhmg_M2_static: Braf_Vhmg_M2_veh
{
displayName="M2 Browning .50 Cal";
author="BRAF Team";
class GunParticles
{
class effect1
{
positionName="usti hlavne";
directionName="konec hlavne";
effectName="MachineGunCloud";
};
class effect2
{
positionName="case_eject_pos";
directionName="case_eject_dir";
effectName="MachineGunEject";
};
class effect3
{
positionName="nabojnicestart";
directionName="nabojniceend";
effectName="MachineGunCartridge2";
};
};
};

View File

@@ -0,0 +1,89 @@
ambient[] = {1,1,1,1};
diffuse[] = {1,1,1,1};
forcedDiffuse[] = {0,0,0,0};
emmisive[] = {0,0,0,1};
specular[] = {0.5,0.5,0.5,0};
specularPower = 1;
PixelShaderID = "Super";
VertexShaderID = "Super";
class Stage1
{
texture = "braf\braf_static\M2\bags\alice_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[] = {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 = "braf\braf_static\M2\bags\alice_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_static\M2\bags\alice_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,1)";
uvSource = "none";
};
class Stage7
{
texture = "a3\data\env_cloth_neutral_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 = "a3\characters_f\blufor\data\clothing1_ti_ca.paa";
};

View File

@@ -0,0 +1,87 @@
ambient[] = {0.5,0.5,0.5,1};
diffuse[] = {0.5,0.5,0.5,1};
forcedDiffuse[] = {0,0,0,0};
emmisive[] = {0,0,0,1};
specular[] = {1,1,1,1};
specularPower = 100;
PixelShaderID = "Super";
VertexShaderID = "Super";
class Stage1
{
texture = "braf\braf_static\M2\bags\armacao_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[] = {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 = "braf\braf_static\M2\bags\armacao_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_static\M2\bags\armacao_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.7)";
uvSource = "none";
};
class Stage7
{
texture = "a3\data_f\env_co.paa";
useWorldEnvMap = "true";
uvSource = "tex";
class uvTransform
{
aside[] = {1,0,0};
up[] = {0,1,0};
dir[] = {0,0,0};
pos[] = {0,0,0};
};
};
//};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
braf_static/M2/bags/StaticX.p3d LFS Normal file

Binary file not shown.

BIN
braf_static/M2/bags/StaticY.p3d LFS Normal file

Binary file not shown.

BIN
braf_static/M2/bags/alice_as.paa LFS Normal file

Binary file not shown.

BIN
braf_static/M2/bags/alice_co.paa LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,96 @@
class StageTI
{
texture="braf\braf_static\M2\bags\data\BackPacks_TI_ca.paa";
};
ambient[]={1.000000,1.000000,1.000000,1.000000};
diffuse[]={1.000000,1.000000,1.000000,1.000000};
forcedDiffuse[]={0.000000,0.000000,0.000000,0.000000};
emmisive[]={0.000000,0.000000,0.000000,1.000000};
specular[]={0.000000,0.000000,0.000000,1.000000};
specularPower=0.000000;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_static\M2\bags\data\Static_NOHQ.paa";
uvSource="tex";
class uvTransform
{
aside[]={1.000000,0.000000,0.000000};
up[]={0.000000,1.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};
class Stage2
{
texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)";
uvSource="tex";
class uvTransform
{
aside[]={1.000000,0.000000,0.000000};
up[]={0.000000,1.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0,MC)";
uvSource="tex";
class uvTransform
{
aside[]={1.000000,0.000000,0.000000};
up[]={0.000000,1.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};
class Stage4
{
texture="#(argb,8,8,3)color(1,1,1,1,AS)";
uvSource="tex";
class uvTransform
{
aside[]={1.000000,0.000000,0.000000};
up[]={0.000000,1.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};
class Stage5
{
texture="#(argb,8,8,3)color(0,0,1,1,SMDI)";
uvSource="tex";
class uvTransform
{
aside[]={1.000000,0.000000,0.000000};
up[]={0.000000,1.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};
class Stage6
{
texture="#(ai,32,128,1)fresnel(1.58,0.71)";
uvSource="tex";
class uvTransform
{
aside[]={1.000000,0.000000,0.000000};
up[]={0.000000,1.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};
class Stage7
{
texture="a3\data_f\env_co.paa";
uvSource="tex";
class uvTransform
{
aside[]={1.000000,0.000000,0.000000};
up[]={0.000000,1.000000,0.000000};
dir[]={0.000000,0.000000,0.000000};
pos[]={0.000000,0.000000,0.000000};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,159 @@
class CfgSkeletons
{
class Default
{
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
class OFP2_ManSkeleton
{
isDiscrete = 0;
skeletonInherit = "";
skeletonBones[] =
{
"Pelvis","",
"Spine","Pelvis",
"Spine1","Spine",
"Spine2","Spine1",
"Spine3","Spine2",
"Camera","Pelvis",
"weapon","Spine1",
"launcher","Spine1",
//Head skeleton in hierarchy
"neck","Spine3",
"neck1","neck",
"head","neck1",
//New facial features
"Face_Hub","head",
"Face_Jawbone","Face_Hub",
"Face_Jowl","Face_Jawbone",
"Face_chopRight","Face_Jawbone",
"Face_chopLeft","Face_Jawbone",
"Face_LipLowerMiddle","Face_Jawbone",
"Face_LipLowerLeft","Face_Jawbone",
"Face_LipLowerRight","Face_Jawbone",
"Face_Chin","Face_Jawbone",
"Face_Tongue","Face_Jawbone",
"Face_CornerRight","Face_Hub",
"Face_CheekSideRight","Face_CornerRight",
"Face_CornerLeft","Face_Hub",
"Face_CheekSideLeft","Face_CornerLeft",
"Face_CheekFrontRight","Face_Hub",
"Face_CheekFrontLeft","Face_Hub",
"Face_CheekUpperRight","Face_Hub",
"Face_CheekUpperLeft","Face_Hub",
"Face_LipUpperMiddle","Face_Hub",
"Face_LipUpperRight","Face_Hub",
"Face_LipUpperLeft","Face_Hub",
"Face_NostrilRight","Face_Hub",
"Face_NostrilLeft","Face_Hub",
"Face_Forehead","Face_Hub",
"Face_BrowFrontRight","Face_Forehead",
"Face_BrowFrontLeft","Face_Forehead",
"Face_BrowMiddle","Face_Forehead",
"Face_BrowSideRight","Face_Forehead",
"Face_BrowSideLeft","Face_Forehead",
"Face_Eyelids","Face_Hub",
"Face_EyelidUpperRight","Face_Hub",
"Face_EyelidUpperLeft","Face_Hub",
"Face_EyelidLowerRight","Face_Hub",
"Face_EyelidLowerLeft","Face_Hub",
"EyeLeft","Face_Hub",
"EyeRight","Face_Hub",
//Left upper side
"LeftShoulder","Spine3",
"LeftArm","LeftShoulder",
"LeftArmRoll","LeftArm",
"LeftForeArm","LeftArmRoll",
"LeftForeArmRoll","LeftForeArm",
"LeftHand","LeftForeArmRoll",
"LeftHandRing","LeftHand",
"LeftHandRing1","LeftHandRing",
"LeftHandRing2","LeftHandRing1",
"LeftHandRing3","LeftHandRing2",
"LeftHandPinky1","LeftHandRing",
"LeftHandPinky2","LeftHandPinky1",
"LeftHandPinky3","LeftHandPinky2",
"LeftHandMiddle1","LeftHand",
"LeftHandMiddle2","LeftHandMiddle1",
"LeftHandMiddle3","LeftHandMiddle2",
"LeftHandIndex1","LeftHand",
"LeftHandIndex2","LeftHandIndex1",
"LeftHandIndex3","LeftHandIndex2",
"LeftHandThumb1","LeftHand",
"LeftHandThumb2","LeftHandThumb1",
"LeftHandThumb3","LeftHandThumb2",
//Right upper side
"RightShoulder","Spine3",
"RightArm","RightShoulder",
"RightArmRoll","RightArm",
"RightForeArm","RightArmRoll",
"RightForeArmRoll","RightForeArm",
"RightHand","RightForeArmRoll",
"RightHandRing","RightHand",
"RightHandRing1","RightHandRing",
"RightHandRing2","RightHandRing1",
"RightHandRing3","RightHandRing2",
"RightHandPinky1","RightHandRing",
"RightHandPinky2","RightHandPinky1",
"RightHandPinky3","RightHandPinky2",
"RightHandMiddle1","RightHand",
"RightHandMiddle2","RightHandMiddle1",
"RightHandMiddle3","RightHandMiddle2",
"RightHandIndex1","RightHand",
"RightHandIndex2","RightHandIndex1",
"RightHandIndex3","RightHandIndex2",
"RightHandThumb1","RightHand",
"RightHandThumb2","RightHandThumb1",
"RightHandThumb3","RightHandThumb2",
//Left lower side
"LeftUpLeg","Pelvis",
"LeftUpLegRoll","LeftUpLeg",
"LeftLeg","LeftUpLegRoll",
"LeftLegRoll","LeftLeg",
"LeftFoot","LeftLegRoll",
"LeftToeBase","LeftFoot",
//Right lower side
"RightUpLeg","Pelvis",
"RightUpLegRoll","RightUpLeg",
"RightLeg","RightUpLegRoll",
"RightLegRoll","RightLeg",
"RightFoot","RightLegRoll",
"RightToeBase","RightFoot"
};
// location of pivot points (local axes) for hierarchical animation
pivotsModel="Samples_F\TemplateRTM\ManSkeleton_Pivots.p3d";
};
};
class CfgModels
{
class Default
{
sectionsInherit="";
sections[] = {};
skeletonName = "";
};
class ArmaMan : Default
{
htMin = 60; // Minimum half-cooling time (in seconds)
htMax = 1800; // Maximum half-cooling time (in seconds)
afMax = 30; // Maximum temperature in case the model is alive (in celsius)
mfMax = 0; // Maximum temperature when the model is moving (in celsius)
mFact = 1; // Metabolism factor - number from interval <0, 1> (0 - metabolism has no influence, 1 - metabolism has full influence (no other temperature source will be considered)).
tBody = 37; // Metabolism temperature of the model (in celsius)
sections[] =
{
"osobnost","Head_Injury","Body_Injury","l_leg_injury","l_arm_injury","r_arm_injury","r_leg_injury","injury_body", "injury_legs", "injury_hands",
"clan","clan_sign","Camo","CamoB","Camo1","Camo2","personality","hl", "injury_head"
};
skeletonName = "OFP2_ManSkeleton";
};
class StaticX : ArmaMan {}; // the .p3d name
class StaticY : ArmaMan {}; // the .p3d name
};

Binary file not shown.

Binary file not shown.

314
braf_static/M2/model.cfg Normal file
View File

@@ -0,0 +1,314 @@
#define BULLET_HIDE(x,from,count) class Bullet##x\
{\
type="hide";\
source="Revolving";\
sourceAddress="mirror";\
selection=bullet##x;\
minValue=-1.000000;\
maxValue= 0.000000;\
hideValue=((count+x-from-2)/count)+0.00001;\
};
class cfgSkeletons
{
class Default
{
isDiscrete = 1;
skeletonInherit = "";
skeletonBones[] = {};
};
class StaticMGWeapon : default
{
SkeletonBones[]=
{
"otocvez", "",
"otochlaven", "otocvez",
"otochlaven_shake", "otochlaven",
"ammo_belt", "otochlaven_shake",
"bullet012", "ammo_belt",
"bullet011", "bullet012",
"bullet010", "bullet011",
"bullet009", "bullet010",
"bullet008", "bullet009",
"bullet007", "bullet008",
"bullet006", "bullet007",
"bullet005", "bullet006",
"bullet004", "bullet005",
"bullet003", "bullet004",
"bullet002", "bullet003",
"bullet001", "bullet002",
"magazine", "otochlaven_shake",
"feedtray_cover", "otochlaven_shake",
"bolt", "otochlaven_shake",
"recoil", "otochlaven_shake",
"damagehiderecoil", "recoil",
"charging_handle", "otochlaven_shake",
"damagehidehlaven", "otochlaven",
"damagehidevez", "otocvez"
};
};
};
class CfgModels
{
class Default
{
sections[] = {};
sectionsInherit="";
skeletonName = "";
};
class StaticWeapon: Default
{
sections[]=
{
"zasleh","zbytek"
};
skeletonName="StaticMGWeapon";
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 StaticMGWeapon:StaticWeapon
{
skeletonName="StaticMGWeapon";
class Animations: Animations
{
class Ammo_belt_rotation
{
type="rotation";
selection="ammo_belt";
source="ReloadAnim";
axis="ammo_belt_axis";
memory=1;
sourceAddress="loop";
minValue=0;
maxValue=1;
angle0=0.000000;
angle1=7.5*3.14159265358/180;
};
class Barrel_recoil:ammo_belt_rotation
{
type="translation";
selection="recoil";
axis="recoil_axis";
sourceAddress="mirror";
minValue=0.0;
maxValue=0.5;
offset0=0;
offset1=-0.05;
};
class Bolt_recoil:Barrel_recoil
{
selection="bolt";
offset0=0;
maxValue=0.5;
offset1=-0.25;
};
class Turret_shake:Barrel_recoil
{
selection="OtocHlaven_Shake";
axis="osaveze";
offset0=0;
offset1=-0.002;
maxValue=0.05;
};
class Turret_shake_aside:Turret_shake
{
axis="osahlavne";
maxValue=0.05*1.3;
};
class Charging_handle_shake:Barrel_recoil
{
type="rotation";
selection="Charging_handle";
axis="Charging_handle_axis";
sourceAddress="mirror";
maxValue=0.005;
angle0=0.000000;
angle1=-0.1;
};
class Feedtray_cover_up
{
type="rotation";
source="reloadMagazine";
selection="feedtray_cover";
axis="feedtray_cover_axis";
memory=1;
minValue=0.1000000;
maxValue=0.130000;
angle0=0.000000;
angle1=-1.570796;
};
class Feedtray_cover_down:feedtray_cover_up
{
minValue=0.860000;
maxValue=0.900000;
angle0=0.000000;
angle1=1.570796;
};
class Bolt_reload_begin:Bolt_recoil
{
type="translation";
sourceAddress="clamp";
source="reloadMagazine";
minValue=0.00000;
maxValue=0.0200000;
};
class Bolt_reload_end:bolt_reload_begin
{
minValue=0.050000;
maxValue=0.070000;
offset0=0;
offset1=+0.25;
};
class Charging_handle_reload_begin:Bolt_reload_begin{selection="Charging_handle";};
class Charging_handle_reload_end:Bolt_reload_end{selection="Charging_handle";};
class Magazine_hide
{
type="hide";
source="reloadMagazine";
sourceAddress="mirror";
selection="magazine";
minValue=0.0;
maxValue=0.5;
hideValue=0.56;
};
};
};
class m2_mg: StaticMGWeapon
{
class Animations: Animations
{
class MainGun_destructX:MainGun_destructX
{
angle1="rad -25";
};
class Ammo_belt_rotation:Ammo_belt_rotation{};
class Barrel_recoil:Barrel_recoil{};
class Bolt_recoil:Bolt_recoil{};
class Turret_shake:Turret_shake{};
class Turret_shake_aside:Turret_shake_aside{};
class Charging_handle_shake:Charging_handle_shake{};
class Feedtray_cover_up:Feedtray_cover_up{};
class Feedtray_cover_down:Feedtray_cover_down{};
class Bolt_reload_begin:Bolt_reload_begin{};
class Bolt_reload_end:Bolt_reload_end{};
BULLET_HIDE(001,12,100)
BULLET_HIDE(002,12,100)
BULLET_HIDE(003,12,100)
BULLET_HIDE(004,12,100)
BULLET_HIDE(005,12,100)
BULLET_HIDE(006,12,100)
BULLET_HIDE(007,12,100)
BULLET_HIDE(008,12,100)
BULLET_HIDE(009,12,100)
BULLET_HIDE(010,12,100)
BULLET_HIDE(011,12,100)
BULLET_HIDE(012,12,100)
};
};
class M2_mg2: m2_mg {};
};

296
braf_static/config.cpp Normal file
View File

@@ -0,0 +1,296 @@
class CfgPatches
{
class braf_static
{
author = "BRAF Team";
requiredAddons[] =
{
"A3_Weapons_F_Mark",
"braf_main"
};
requiredVersion = 0.1;
units[] = {
"Braf_I_Metis_AAF",
"Braf_B_Metis_Gun_Bag",
"Braf_B_Metis_Tripod_Bag",
"braf_I_M252_AAF",
"braf_B_M252_Gun_Bag",
"braf_B_M252_Bipod_Bag",
"Braf_I_M2StaticMG_AAF",
"Braf_I_M2StaticMG_MiniTripod_AAF",
"Braf_B_M2_Gun_Bag",
"Braf_B_M2_Tripod_Bag",
"Braf_B_M2_MiniTripod_Bag"};
weapons[] =
{};
};
};
class SensorTempalteDataLink;
class CfgAmmo
{
class Default;
class BulletCore;
class BulletBase : BulletCore
{
};
class GrenadeBase;
class Grenade;
class GrenadeHand;
class B_762x51_Ball;
class B_93x64_Ball;
class MissileCore;
class MissileBase : MissileCore
{
class Components;
};
class ShellBase;
class RocketCore;
class M_Titan_AT;
class M_Titan_AP;
class M_Titan_AA;
class M_Vorona_HEAT;
class RocketBase : RocketCore
{
};
class B_30mm_HE;
class B_30mm_AP;
class B_127x99_Ball;
class G_40mm_HE;
class Bo_GBU12_LGB;
class Bo_Mk82;
class BombCore;
class ammo_Penetrator_Base;
class B_570x28_Ball;
#include "eryx\AmmoERYX.hpp"
#include "M2\AmmoM2.hpp"
};
class CfgMagazines
{
class CA_Magazine;
class CA_LauncherMagazine;
class HandGrenade;
class 30Rnd_556x45_Stanag;
class VehicleMagazine;
class 200Rnd_40mm_G_belt;
class 1000Rnd_20mm_shells;
class 50Rnd_570x28_SMG_03;
class Default;
class Titan_AP;
class Titan_AT;
#include "eryx\MagazinesERYX.hpp"
#include "M2\MagazinesM2.hpp"
};
class CfgVehicles
{
class LandVehicle;
class StaticWeapon : LandVehicle
{
class Turrets;
class MainTurret;
};
class StaticMGWeapon : StaticWeapon
{
};
class StaticATWeapon : StaticWeapon
{
};
class StaticAAWeapon : StaticWeapon
{
};
class StaticCannon : StaticWeapon
{
class ViewOptics;
};
class StaticGrenadeLauncher : StaticWeapon
{
class ViewOptics;
};
class StaticMortar : StaticWeapon
{
};
class Bag_Base;
class Weapon_Bag_Base : Bag_Base
{
class assembleInfo;
};
#include "eryx\VehiclesERYX.hpp"
#include "L16\VehiclesL16.hpp"
#include "M2\VehiclesM2.hpp"
};
class WeaponFireGun;
class WeaponCloudsGun;
class WeaponFireMGun;
class WeaponCloudsMGun;
class RCWSOptics;
class Mode_SemiAuto;
class Mode_Burst;
class Mode_FullAuto;
class CfgWeapons
{
class Default;
class PistolCore;
class RifleCore;
class Rifle_Base_F;
class Rifle_Long_Base_F : Rifle_Base_F
{
class WeaponSlotsInfo;
};
class CannonCore;
class cannon_105mm;
class cannon_120mm;
class cannon_125mm;
class weapon_ShipCannon_120mm;
class mortar_155mm_AMOS : CannonCore
{
};
class autocannon_Base_F;
class autocannon_40mm_CTWS : autocannon_Base_F
{
class HE;
class AP;
};
class gatling_20mm : CannonCore
{
class manual;
};
class MGunCore;
class MGun : MGunCore
{
};
class HMG_M2;
class GrenadeCore;
class GMG_F : MGun
{
};
class GrenadeLauncher;
class GMG_20mm;
class GMG_40mm;
class LauncherCore;
class Launcher;
class Mk82BombLauncher;
class RocketPods;
class rockets_230mm_GAT : RocketPods
{
class Close;
class Medium;
class Far;
class Full;
};
class rockets_Skyfire : RocketPods
{
class burst;
};
class MissileLauncher;
class missiles_titan;
class missiles_Vorona;
class Missiles_Scalpel;
class missiles_Zephyr;
class Missile_AA_03_Plane_CAS_02_F;
class Binocular;
class Laserdesignator;
class Laserdesignator_mounted;
class NVGoggles;
class CarHorn;
#include "\braf\braf_static\eryx\WeaponsERYX.hpp"
#include "\braf\braf_static\M2\WeaponsM2.hpp"
};
class CfgLights
{
class Braf_tracerBlue
{
color[] = {0, 0, 1, 1};
ambient[] = {0, 0, 1, 0};
brightness = 1;
intensity = 4000;
drawLight = 0;
class Attenuation
{
start = 0;
constant = 1;
linear = 0;
quadratic = 40;
};
position[] = {0, 0.2, 0};
diffuse[] = {0, 0, 0.1};
};
class Braf_tracerYellow
{
color[] = {1, 1, 0, 1};
ambient[] = {1, 1, 0, 0};
brightness = 1;
intensity = 4000;
drawLight = 0;
class Attenuation
{
start = 0;
constant = 1;
linear = 0;
quadratic = 40;
};
position[] = {0, 0.2, 0};
diffuse[] = {0.1, 0.1, 0};
};
class Braf_tracerRed : Braf_tracerBlue
{
color[] = {1, 0, 0, 1};
ambient[] = {1, 0, 0, 0};
diffuse[] = {0.1, 0, 0};
};
class Braf_tracerGreen : Braf_tracerBlue
{
color[] = {0, 1, 0, 1};
ambient[] = {0, 1, 0, 0};
diffuse[] = {0, 0.1, 0};
};
};
class Braf_tracer_blue
{
class Braf_Blue_tracer
{
simulation = "light";
type = "Braf_tracerBlue";
position[] = {0, 0, 0};
intensity = 0;
interval = 1;
lifeTime = 6;
};
};
class Braf_tracer_yellow
{
class Braf_Yellow_tracer
{
simulation = "light";
type = "Braf_tracerYellow";
position[] = {0, 0, 0};
intensity = 0;
interval = 1;
lifeTime = 6;
};
};
class Braf_tracer_red
{
class Braf_Red_tracer
{
simulation = "light";
type = "Braf_tracerRed";
position[] = {0, 0, 0};
intensity = 0;
interval = 1;
lifeTime = 6;
};
};
class Braf_tracer_green
{
class Braf_Green_tracer
{
simulation = "light";
type = "Braf_tracerGreen";
position[] = {0, 0, 0};
intensity = 0;
interval = 1;
lifeTime = 6;
};
};
//

Binary file not shown.

View File

@@ -0,0 +1,84 @@
class braf_M_9K115_2_AT13_Saxhorn_2_AT: MissileBase
{
SoundSetExplosion[]=
{
"RocketsHeavy_Exp_SoundSet",
"RocketsHeavy_Tail_SoundSet",
"Explosion_Debris_SoundSet"
};
model="\A3\Weapons_F_Tank\Launchers\Vorona\Vorona_missile_heat_fly.p3d";
hit=150;
indirectHit=25;
indirectHitRange=3.5;
explosive=0.80000001;
warheadName="TandemHEAT";
submunitionAmmo="braf_P_9K115_2_AT13_Saxhorn_2_AT";
submunitionDirectionType="SubmunitionModelDirection";
submunitionInitSpeed=1000;
submunitionParentSpeedCoef=0;
submunitionInitialOffset[]={0,0,-0.2};
triggerOnImpact=1;
deleteParentWhenTriggered=0;
lockType=1;
cost=500;
aiAmmoUsageFlags="128 + 512";
weaponLockSystem="16 + 1";
cmImmunity=0.89999998;
manualControl=1;
missileManualControlCone=60;
maxControlRange=2000;
trackOversteer=1.25;
trackLead=1;
maneuvrability=20;
timeToLive=15;
simulationStep=0.0020000001;
sideAirFriction=0.090000004;
airFriction=0.059999999;
maxSpeed=200;
initTime=0;
thrustTime=2.7;
thrust=70;
fuseDistance=8;
soundFly[]=
{
"\braf\braf_static\eryx\data\atgm_flyby_1.wss",
6,
10,
500
};
whistleDist=32;
class CamShakeExplode
{
power="(55 * 0.2)";
duration="((round (55^0.5))*0.2 max 0.2)";
frequency=20;
distance="((4 + 55^0.5)*8)";
};
class CamShakeHit
{
power=110;
duration="((round (110^0.25))*0.2 max 0.2)";
frequency=20;
distance=1;
};
class CamShakeFire
{
power="(60^0.25)";
duration="((round (60^0.5))*0.2 max 0.2)";
frequency=20;
distance="((60^0.5)*8)";
};
class CamShakePlayerFire
{
power=3;
duration=0.1;
frequency=20;
distance=1;
};
};
class braf_P_9K115_2_AT13_Saxhorn_2_AT: ammo_Penetrator_Base
{
caliber=60;
warheadName="TandemHEAT";
hit=720;
};

View File

@@ -0,0 +1,10 @@
class braf_6Rnd_AT13_M: VehicleMagazine
{
scope=2;
displayName="MN AT13";
ammo="braf_M_9K115_2_AT13_Saxhorn_2_AT";
initSpeed=55.1688;
count=6;
nameSound="missiles";
};

View File

@@ -0,0 +1,155 @@
class braf_Metis_Base: StaticATWeapon
{
author="BRAF Team";
class assembleInfo
{
primary=0;
base="";
assembleTo="";
dissasembleTo[]=
{
"Braf_B_Metis_Gun_Bag",
"Braf_B_Metis_Tripod_Bag"
};
displayName="";
};
scope=0;
displayname="ERYX Launcher";
model="\braf\braf_static\eryx\metis.p3d";
class Library
{
libTextDesc="ERYX Anti Tank Launcher";
};
icon="\braf\braf_static\eryx\data\ui\icomap_metis_at13_ca.paa";
editorPreview = "\braf\braf_insignia\editorpreview\static\Braf_I_Metis_AAF.jpg";
picture="\braf\braf_static\eryx\data\ui\metis_at13_ca.paa";
UiPicture="\braf\braf_static\eryx\data\ui\metis_at13_ca.paa";
mapSize=1.5;
class Turrets: Turrets
{
class MainTurret: MainTurret
{
weapons[]=
{
"Braf_Vmlauncher_AT13_single_veh"
};
magazines[]=
{
"Braf_6Rnd_AT13_M"
};
gunnerAction="Metis_Gunner";
gunnerOpticsModel="\braf\braf_static\eryx\2Dscope_Metis.p3d";
gunnerOpticsEffect[]=
{
"OpticsCHAbera1",
"OpticsBlur2"
};
memoryPointsGetInGunner="pos_gunner_dir";
memoryPointsGetInGunnerDir="pos_gunner";
minTurn=-45;
maxTurn="+45";
initTurn=0;
minElev=-10;
maxElev="+40";
initElev=0;
ejectDeadGunner=0;
gunnerForceOptics=0;
class ViewGunner
{
initAngleX=5;
minAngleX=-30;
maxAngleX="+30";
initAngleY=0;
minAngleY=-100;
maxAngleY="+100";
initFov=0.69999999;
minFov=0.25;
maxFov=1.1;
};
class ViewOptics
{
initAngleX=0;
minAngleX=-30;
maxAngleX="+30";
initAngleY=0;
minAngleY=-100;
maxAngleY="+100";
initFov=0.078000002;
minFov=0.078000002;
maxFov=0.078000002;
visionMode[]=
{
"Normal",
"TI"
};
thermalMode[]={0,1};
};
};
};
};
class Braf_I_Metis_AAF: Braf_Metis_Base
{
scope=2;
scopeArsenal=2;
scopeCurator=2;
side = 2;
faction="braf_army";
crew="braf_army_rifleman_regular_2000";
typicalCargo[]=
{
"braf_army_rifleman_regular_2000"
};
};
class Braf_B_Metis_Gun_Bag: Weapon_Bag_Base
{
author="BRAF Team";
displayName="ERYX Gun Bag";
_generalMacro="Braf_I_Metis_AAF";
mass=250;
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_Metis_Tripod_Bag: Weapon_Bag_Base
{
author="BRAF Team";
mass=150;
scope=2;
scopeArsenal=2;
scopeCurator=2;
displayName="ERYX Tripod Bag";
_generalMacro="Braf_I_Metis_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="$STR_A3_CfgVehicles_B_HMG_01_Wpn_assembleInfo0";
assembleTo="Braf_I_Metis_AAF";
base[]=
{
"Braf_B_Metis_Gun_Bag"
};
};
};

View File

@@ -0,0 +1,31 @@
class Braf_Vmlauncher_AT13_single_veh: missiles_Vorona
{
displayName="Eryx Launcher";
reloadTime=8;
magazineReloadTime=8;
canLock=0;
magazines[]=
{
"Braf_6Rnd_AT13_M"
};
lockedtargetsound[]=
{
"\braf\braf_static\eryx\data\alarm_loop1.wss",
0.00031622799,
6
};
lockingtargetsound[]=
{
"\braf\braf_static\eryx\data\alarm_loop1.wss",
0.00031622799,
2
};
minRange=75;
minRangeProbab=0.60000002;
midRange=1200;
midRangeProbab=0.69999999;
maxRange=2000;
maxRangeProbab=0.001;
aiRateOfFire=20;
aiRateOfFireDistance=1200;
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,82 @@
ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,1};
emmisive[]={0,0,0,1};
specular[]={0.73100001,0.83099997,0.68099999,1};
specularPower=100;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
texture="braf\braf_static\eryx\data\metis_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="braf\braf_static\eryx\data\Metal_rough_Half_DT.paa";
uvSource="tex";
class uvTransform
{
aside[]={8,0,0};
up[]={0,4,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage3
{
texture="#(argb,8,8,3)color(0,0,0,0,MC)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage4
{
texture="#(argb,8,8,3)color(1,1,1,1,AS)";
uvSource="tex";
class uvTransform
{
aside[]={1,0,0};
up[]={0,1,0};
dir[]={0,0,0};
pos[]={0,0,0};
};
};
class Stage5
{
texture="braf\braf_static\eryx\data\metis_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.45,0.35)";
uvSource="none";
};
class Stage7
{
texture="a3\data_f\env_land_co.paa";
uvSource="none";
};
class StageTI
{
texture="braf\braf_static\eryx\data\metis_ti_ca.paa";
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
braf_static/eryx/metis.p3d LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

193
braf_static/eryx/model.cfg Normal file
View File

@@ -0,0 +1,193 @@
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 metis: StaticWeapon
{
isDiscrete = 1;
skeletonInherit = "Default";
skeletonBones[]=
{
"turret","",
"gun","turret",
"zaslepka","gun"
};
};
};
class CfgModels
{
class Default
{
sections[] = {};
sectionsInherit="";
skeletonName = "";
};
class StaticWeapon: Default
{
sections[]=
{
"zasleh","zbytek"
};
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 metis: StaticWeapon
{
sections[]={};
skeletonName="metis";
sectionsInherit = "Default";
class Animations
{
class MainTurret
{
type="rotationY";
source="mainTurret";
selection="turret";
axis="turret_axis";
animPeriod=0;
minValue="rad -360";
maxValue="rad +360";
angle0="rad -360";
angle1="rad +360";
};
class MainGun
{
type="rotationX";
source="mainGun";
selection="gun";
axis="gun_axis";
animPeriod=0;
minValue="rad -360";
maxValue="rad +360";
angle0="rad -360";
angle1="rad +360";
};
};
};
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More