//---Standard Vehicle Config for Flans Mod--------
//Created by Minecraft-SMP Toolbox 2.1.4.2


//---Standard-------------------------------------
// Naming
Name Mk.15 Phalanx
Description US Marines AA Emplacement_Autonomous Weapon System
ShortName GFS_CIWSPhalanx
ItemID Your ID


// Visuals
Model gfs.CIWSPhalanx
ModelScale 1
Icon IconCIWSPhalanx

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

//---Driveables-----------------------------------
//Visuals
Texture SkinCIWSPhalanx


//Movement
MaxThrottle 0
MaxNegativeThrottle 0


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


//Floating

//Weapons
WeaponHud True
FireAutonomously True

UseNewWeaponSystem True

AddWeapon 20mm AA Cannon
WeaponType SHELL
FireMode FullAuto
ShootDelay 0.5
Damage 0.4
AmmoSlots 4
Alternate True
BulletSpeed 15
ShootSound AACannon
ShootPoint 0 35 -1 turret null 42 0 0
Ammo 20mm


//Driver and Passengers
Driver 0 4 0 -360 360 -10 88
RotatedDriverOffset 15 0 -18
Passengers 0
SetPlayerInvisible true


//Inventory Slots
FuelTankSize 0


//Recipe
AddDye 4 gray


//Health and Collision
SetupPart core 9500 -21 -10 -21 42 20 42
SetupPart turret 1150 -10 10 -10 20 66 20
BulletDetection 7
ShootParticlesPrimary explode 0.1 0 0
ShootParticlesPrimary flansmod.fmflame 0.25 0 0


//Misc
CameraDistance 15


//Sounds
IdleSound None
IdleSoundLength 0
EngineSound None
EngineSoundLength 0

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

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


//Movement
TurnLeftSpeed 0
TurnRightSpeed 0
FourWheelDrive True


//Misc
Tank True


//Turret rotation stuff
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretYaw5
YawSoundLength 22
PitchSound TurretYaw5
PitchSoundLength 22

//------------------------------------------------
HasRadar True