﻿//Config - SecretAgent12
//Model and texture - SecretAgent12 & Mad_Elephant


//---Standard-------------------------------------
// Naming
Name M120 Mortar
Description American 120mm Mortar
ShortName MCB_M120
ItemID Your ID


// Visuals
Model mcb.M120
ModelScale 1.0
Icon MCB_M120


// Recipe

//------------------------------------------------

//---Driveables-----------------------------------
//Visuals
Texture SkinM120


//Movement
MaxThrottle 0
MaxNegativeThrottle 0


//Wheels
NumWheels 4
WheelPosition 0 -10 -10 -8
WheelPosition 1 -10 -10 8
WheelPosition 2 10 -10 8
WheelPosition 3 10 -10 -8
WheelRadius 0.5
WheelSpringStrength 0.5


//Floating
Tank true
WeaponHud True

//Ammo
AllowAllAmmo False
AddAmmo MCB_M933

//Weapons
WeaponHud True
Primary SHELL
Secondary NONE
ShootDelayPrimary 60
ShootDelaySecondary 0
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 0 8 0 turret 


//Driver and Passengers
Driver 0 -10 0 -360 360 30 85
RotatedDriverOffset -10 0 0
Passengers 0


//Inventory Slots
CargoSlots 0
BombSlots 0
MissileSlots 0
ShellSlots 6
FuelTankSize 0


//Recipe
AddRecipeParts 2 GFS_Steel


//Health and Collision
SetupPart core 800 -8 -10 -8 16 5 16
SetupPart turret 800 -8 -5 -8 16 18 16
BulletDetection 7
ShootParticlesPrimary flansmod.fmflame -0.5 0 0
ShootParticlesPrimary flansmod.fmflame 1.0 0 0
ShootParticlesPrimary cloud 0.25 0.05 0
ShootParticlesPrimary cloud 0.25 -0.05 0
ShootParticlesPrimary cloud 0.25 0 -0.05
ShootParticlesPrimary cloud 0.25 0 0.05
ShootParticlesPrimary cloud 0.25 0.025 0.025
ShootParticlesPrimary cloud 0.25 -0.025 0.025
ShootParticlesPrimary cloud 0.25 0.025 -0.025
ShootParticlesPrimary cloud 0.25 -0.025 -0.025
ShootParticlesPrimary cloud -0.5 0.05 0
ShootParticlesPrimary cloud -0.5 -0.05 0
ShootParticlesPrimary cloud -0.5 0 -0.05
ShootParticlesPrimary cloud -0.5 0 0.05
ShootParticlesPrimary cloud -0.5 0.025 0.025
ShootParticlesPrimary cloud -0.5 -0.025 0.025
ShootParticlesPrimary cloud -0.5 0.025 -0.025
ShootParticlesPrimary cloud -0.5 -0.025 -0.025
ShootParticlesPrimary cloud -1.5 0.05 0
ShootParticlesPrimary cloud -1.5 -0.05 0
ShootParticlesPrimary cloud -1.5 0 -0.05
ShootParticlesPrimary cloud -1.5 0 0.05
ShootParticlesPrimary cloud -1.5 0.025 0.025
ShootParticlesPrimary cloud -1.5 -0.025 0.025
ShootParticlesPrimary cloud -1.5 0.025 -0.025
ShootParticlesPrimary cloud -1.5 -0.025 -0.025


//Misc
CameraDistance 15


//Sounds
IdleSound None
IdleSoundLength 0
EngineSound None
EngineSoundLength 0
ShootSoundPrimary sound_gl1
ReloadSoundPrimary Reload_TripodMissile

//------------------------------------------------

//---Vehicle--------------------------------------
//Visuals


//Movement
TurnLeftSpeed 0
TurnRightSpeed 0
FourWheelDrive True


//Misc
Tank True


//Turret rotation stuff
DriverYawBeforePitch true
DriverTraverseSounds false

//------------------------------------------------