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


//---Standard-------------------------------------
// Naming
Name LAV-AD
ShortName LAVAD
ItemID Your ID


// Visuals
Model gfs.LAVAD
ModelScale 0.8
Icon IconLAVAD


// Recipe


//Misc
Tank true
Description US Marines Mobile Air Defense

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

//---Driveables-----------------------------------
//Visuals
Texture SkinLAVAD


//Movement
MaxThrottle 0.85
MaxNegativeThrottle 0.40
Drag 10.0


//Wheels
NumWheels 4
WheelPosition 0 -16 -10 -20
WheelPosition 1 -16 -10 26
WheelPosition 2 58 -10 26
WheelPosition 3 58 -10 -20
WheelSpringStrength 0.5
WheelRadius 1.5


//Floating
FloatOnWater True
Buoyancy 0.06
FloatOffset -1
MaxThrottleInWater 0.425

//Ammo
AllowAllAmmo False
AddAmmo 20mm
AddAmmo AntiAirMissile


//Weapons
WeaponHud True
Primary SHELL
Secondary MISSILE
ShootDelayPrimary 2
ShootDelaySecondary 100
AlternatePrimary True
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 27 43 -2 turret
ShootPointPrimary 27 42 -1 turret
ShootPointPrimary 27 41 -1 turret
ShootPointPrimary 27 41 -2 turret
ShootPointPrimary 27 42 -3 turret
ShootPointSecondary 11 50 -1 turret
ShootPointSecondary 11 48 -24 turret 


//Driver and Passengers
Driver 0 29 0 -360 360 -10 75
RotatedDriverOffset -4 0 11
Passengers 0


//Inventory Slots
CargoSlots 0
ShellSlots 4
FlareSlots 4
FuelTankSize 6000


//Recipe
AddDye 4 green 2 brown


//Health and Collision
SetupPart core 15000 -49 4 -33 133 30 66
SetupPart frontRightWheel 200 26 -10 -31 40 22 8
SetupPart backRightWheel 200 -26 -10 -31 40 22 8
SetupPart backLeftWheel 200 -26 -10 18 40 22 8
SetupPart frontLeftWheel 200 26 -10 18 40 22 8
SetupPart turret 9000 -35 35 -19 65 13 38
BulletDetection 7


//Misc
CameraDistance 15


//Sounds
StartSound IFVIdle
StartSoundLength 40
EngineSound IFVDrive
EngineSoundLength 40
ShootSoundPrimary AACannon
ShootSoundSecondary sound_rocketMedium

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

//---Vehicle--------------------------------------
//Visuals
RotateWheels True


//Movement
TurnLeftSpeed 0.50
TurnRightSpeed 0.50
FourWheelDrive True


//Misc


//Sound

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