This commit is the equivalent of a atomic bomb
This commit is contained in:
27
braf_static/M120/CfgMagazines.hpp
Normal file
27
braf_static/M120/CfgMagazines.hpp
Normal 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};
|
||||
};
|
||||
};
|
||||
21
braf_static/M120/CfgMovesBasic.hpp
Normal file
21
braf_static/M120/CfgMovesBasic.hpp
Normal 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?
|
||||
};
|
||||
};
|
||||
};
|
||||
85
braf_static/M120/Data/M120.rvmat
Normal file
85
braf_static/M120/Data/M120.rvmat
Normal 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
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
BIN
braf_static/M120/Data/M120_co.paa
LFS
Normal file
Binary file not shown.
BIN
braf_static/M120/Data/M120_nohq.paa
LFS
Normal file
BIN
braf_static/M120/Data/M120_nohq.paa
LFS
Normal file
Binary file not shown.
BIN
braf_static/M120/Data/M120_smdi.paa
LFS
Normal file
BIN
braf_static/M120/Data/M120_smdi.paa
LFS
Normal file
Binary file not shown.
97
braf_static/M120/Data/mortar_01.rvmat
Normal file
97
braf_static/M120/Data/mortar_01.rvmat
Normal 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};
|
||||
};
|
||||
};
|
||||
73
braf_static/M120/cfgAmmo.hpp
Normal file
73
braf_static/M120/cfgAmmo.hpp
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
116
braf_static/M120/cfgVehicles.hpp
Normal file
116
braf_static/M120/cfgVehicles.hpp
Normal 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"
|
||||
};
|
||||
};
|
||||
};
|
||||
193
braf_static/M120/cfgWeapons.hpp
Normal file
193
braf_static/M120/cfgWeapons.hpp
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
15
braf_static/M120/config.cpp
Normal file
15
braf_static/M120/config.cpp
Normal 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
BIN
braf_static/M120/m120.p3d
LFS
Normal file
Binary file not shown.
101
braf_static/M120/model.cfg
Normal file
101
braf_static/M120/model.cfg
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user