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


//---Standard-------------------------------------
// Naming
Name M1128 Protected Fire Support
ShortName M1128A2
ItemID Your ID


// Visuals
Model gfs.M1128A2
ModelScale 0.8
Icon IconM1128A2


// Recipe


//Misc
Tank true
Description US Army Tank Destroyer. Has Reactive Armor

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

//---Driveables-----------------------------------
//Visuals
Texture SkinM1128A2


//Movement
MaxThrottle 0.80
MaxNegativeThrottle 0.40
Drag 10.0


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


//Floating


//Ammo
AllowAllAmmo False
AddAmmo 105mmHE
AddAmmo 105mmAP


//Weapons
WeaponHud True
Primary SHELL
Secondary GUN
ShootDelayPrimary 60
ShootDelaySecondary 2
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 98 40 0 turret
ShootPointSecondary 10 44 -6 turret m60


//Driver and Passengers
Driver 0 16 0 -360 360 -8 14
RotatedDriverOffset 8 0 -10
Passengers 1
Passenger 1 0 26 0 turret -10 100 -10 25 m60 PassengerGun1
GunOrigin 1 8 40 -25
RotatedPassengerOffset 1 -6 0 12


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


//Recipe
AddDye 6 green


//Health and Collision
SetupPart core 19000 -49 6 -33 133 24 66
SetupPart frontRightWheel 200 20 -10 -27 44 20 6
SetupPart backRightWheel 200 -31 -10 -27 44 20 6
SetupPart backLeftWheel 200 -31 -10 19 44 20 8
SetupPart frontLeftWheel 200 20 -10 21 44 20 6
SetupPart turret 12000 -39 30 -16 68 17 30
SetupPart trailer 1000 -61 10 -37 154 20 74
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.50
TurnRightSpeed 0.50
FourWheelDrive True


//Misc
SquashMobs True


//Sound

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