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


//---Standard-------------------------------------
// Naming
Name Type-87 Guntank
ShortName GFS_Type87
ItemID Your ID


// Visuals
Model gfs.Type87
ModelScale 1.2
Icon IconGuntank


// Recipe


//Misc
Description Japanese Mobile Anti-Air_2x 35mm Autocannon_Introduced: 1987

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

//---Driveables-----------------------------------
//Visuals
Texture SkinType87


//Movement
MaxThrottle 0.75
MaxNegativeThrottle 0.6
Drag 10.0


//Wheels
NumWheels 4
WheelPosition 0 -76 -10 -32
WheelPosition 1 -76 -10 32
WheelPosition 2 46 -10 32
WheelPosition 3 46 -10 -32
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating


//Ammo


//Weapons
Primary GUN
Secondary NONE
ShootDelayPrimary 3
ShootDelaySecondary 100
AlternatePrimary False
AlternateSecondary True
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary -20 35 -20 turret GFS_35mmAirGun 70 0 0
ShootPointPrimary -20 35 20 turret GFS_35mmAirGun 70 0 0


//Driver and Passengers
Driver 0 26 0 -360 360 -8 85
RotatedDriverOffset 4 0 0
Passengers 0


//Inventory Slots
CargoSlots 4
ShellSlots 8
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_MBTChassis
AddRecipeParts turret 1 GFS_AATurret
AddRecipeParts leftTrack 1 GFS_TankTracks
AddRecipeParts rightTrack 1 GFS_TankTracks
AddDye 4 brown 2 cyan


//Health and Collision
SetupPart core 750 -84 0 -33 131 21 67
SetupPart leftTrack 250 -77 -10 24 120 20 12
SetupPart rightTrack 250 -77 -10 -35 120 20 12
SetupPart turret 250 -36 22 -20 64 23 40
BulletDetection 7
ShootParticlesPrimary smoke 0 0 0
ShootParticlesPrimary explode -0.5 0 0
ShootParticlesPrimary explode -1 0 0
ShootParticlesPrimary explode 0.1 0.05 0
ShootParticlesPrimary flansmod.fmflame 0 0 0


//Misc
CameraDistance 15


//Sounds
PlaceSoundPrimary EngineStart_Tnk_Diesel
IdleSound EngineIdle_Tnk_Diesel
IdleSoundLength 20
EngineSound Engine_Tnk_Diesel
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_AA_Cannon

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

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


//Movement
TurnLeftSpeed 1
TurnRightSpeed 1
FourWheelDrive True


//Misc
SquashMobs True
Tank True


//Turret rotation stuff
DriverAimSpeed 5 5 0
DriverYawBeforePitch true
DriverTraverseSounds true
YawSound TurretYaw2
YawSoundLength 21
PitchSound TurretPitch2
PitchSoundLength 20