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


//---Standard-------------------------------------
// Naming
Name ZBD-09 IFV
ShortName ZBD09
ItemID Your ID


// Visuals
Model gfs.ZBD09
ModelScale 0.8
Icon IconZBD09


// Recipe


//Misc
Tank true
Description Chinese Armored Fighting Vehicle

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

//---Driveables-----------------------------------
//Visuals
Texture SkinZBD09


//Movement
MaxThrottle 0.8
MaxNegativeThrottle 0.40
Drag 10.0


//Wheels
NumWheels 4
WheelPosition 0 -26 -10 -24
WheelPosition 1 -26 -10 24
WheelPosition 2 61 -10 24
WheelPosition 3 61 -10 -24
WheelSpringStrength 0.5
WheelRadius 1.5


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

//Ammo
AllowAllAmmo False
AddAmmo 30mm
AddAmmo 30mmHE
AddAmmo LaserGuided


//Weapons
WeaponHud True
Primary SHELL
Secondary MISSILE
ShootDelayPrimary 13
ShootDelaySecondary 130
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary SEMIAUTO
ShootPointPrimary 53 40 0 turret
ShootPointSecondary 6 46 22 turret
ShootPointSecondary 6 46 -22 turret


//Driver and Passengers
Driver 0 34 0 -360 360 -10 25
RotatedDriverOffset -6 0 -8
Passengers 6
Passenger 1 -29 9 12 core
Passenger 2 -29 9 -12 core
Passenger 3 -12 9 12 core
Passenger 4 -12 9 -12 core
Passenger 5 5 9 12 core
Passenger 6 5 9 -12 core


//Inventory Slots
CargoSlots 0
ShellSlots 2
FuelTankSize 6000


//Recipe
AddDye 3 green 3 yellow 3 brown


//Health and Collision
SetupPart core 11000 -50 5 -33 139 28 66
SetupPart backRightWheel 200 -38 -10 -29 48 22 8
SetupPart frontRightWheel 200 24 -10 -29 48 22 8
SetupPart backLeftWheel 200 -38 -10 21 48 22 8
SetupPart frontLeftWheel 200 24 -10 21 48 22 8
SetupPart turret 8000 -27 32 -22 46 15 44
BulletDetection 7


//Misc
CameraDistance 15


//Sounds
StartSound IFVIdle
StartSoundLength 35
EngineSound IFVDrive
EngineSoundLength 50
ShootSoundPrimary sound_IFV2
ShootSoundSecondary sound_rocketMedium

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

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


//Movement
TurnLeftSpeed 0.40
TurnRightSpeed 0.40
FourWheelDrive True


//Misc


//Sound

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