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


//---Standard-------------------------------------
// Naming
Name ST-1 Gun Platform
ShortName ZTD-09
ItemID Your ID


// Visuals
Model gfs.ZTD09
ModelScale 0.8
Icon IconZTD09


// Recipe


//Misc
Tank true
Description Chinese Tank Destroyer

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

//---Driveables-----------------------------------
//Visuals
Texture SkinZTD09


//Movement
MaxThrottle 0.80
MaxNegativeThrottle 0.40
Drag 10.0


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


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

//Ammo
AllowAllAmmo False
AddAmmo 105mmHE
AddAmmo 105mmAP


//Weapons
WeaponHud True
Primary SHELL
Secondary GUN
ShootDelayPrimary 65
ShootDelaySecondary 2
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 96 39 0 turret
ShootPointSecondary 26 40 6 turret rpd


//Driver and Passengers
Driver 0 35 0 -360 360 -10 25
RotatedDriverOffset -5 0 -8
Passengers 0


//Inventory Slots
CargoSlots 0
ShellSlots 4
FuelTankSize 6000


//Recipe
AddDye 3 green 3 yellow 3 brown


//Health and Collision
SetupPart core 14000 -49 4 -33 139 30 66
SetupPart frontRightWheel 200 24 -10 -29 48 22 8
SetupPart backRightWheel 200 -38 -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 -35 35 -21 61 13 42
BulletDetection 7


//Misc
CameraDistance 15


//Sounds
StartSound IFVIdle
StartSoundLength 35
EngineSound IFVDrive
EngineSoundLength 50
ShootSoundPrimary sound_tank2
ShootSoundSecondary sound_HMG

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

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


//Movement
TurnLeftSpeed 0.40
TurnRightSpeed 0.40
FourWheelDrive True


//Misc


//Sound

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