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


//---Standard-------------------------------------
// Naming
Name ZTL-09
ShortName GFS_ZTD09
ItemID Your ID


// Visuals
Model gfs.ZTD09
ModelScale 1.1
Icon IconZTD09


// Recipe


//Misc
Description Chinese Assault Gun_1x 105mm Rifled Gun_1x 7.62mm Machine Gun_Introduced: 2009

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

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


//Movement
MaxThrottle 1.00
MaxNegativeThrottle 0.75
Drag 5.0


//Wheels
NumWheels 4
WheelPosition 0 -25 -10 -31
WheelPosition 1 -25 -10 31
WheelPosition 2 62 -10 31
WheelPosition 3 62 -10 -31
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating
FloatOnWater True
Buoyancy 0.06


//Ammo
BulletSpeed 8
BulletSpread 1
AllowAllAmmo False
AddAmmo GFS_105mmHEAT
AddAmmo GFS_105mmHE
AddAmmo GFS_105mmAPFSDS


//Weapons
Primary SHELL
Secondary GUN
ShootDelayPrimary 120
ShootDelaySecondary 3
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 130 41 0 turret
ShootPointSecondary 42 40 -4 turret GFS_QJY88
TurretOrigin 20 -29.5 0


//Driver and Passengers
Driver 20 30 0 -360 360 -6 20
RotatedDriverOffset 16 0 -13
Passengers 1
Passenger 1 20 46 0 turret -75 75 -10 45 QJZ89 PassengerGun1
GunOrigin 1 14 -53 -8
RotatedPassengerOffset 1 -13 0 9
PassengerAimSpeed 1 2.5 2.5 0
SetPlayerInvisible true


//Inventory Slots
CargoSlots 9
ShellSlots 6
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_APCChassis
AddRecipeParts turret 1 GFS_MBTTurret
AddDye 2 lime 2 brown 2 green


//Health and Collision
SetupPart core 550 -55 3 -29 154 30 58
SetupPart turret 250 -26 34 -22 44 12 44
BulletDetection 7
ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary cloud 1 0 0
ShootParticlesPrimary cloud 1.75 0 0
ShootParticlesPrimary cloud 1.5 0 0
ShootParticlesPrimary cloud 1.25 0 0
ShootParticlesPrimary cloud 0.75 0 0
ShootParticlesPrimary cloud 0.5 0 0
ShootParticlesPrimary cloud 0.25 0 0
ShootParticlesPrimary explode 1.5 0 0
ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0
ShootParticlesPrimary explode 0.1 0 0.4
ShootParticlesPrimary explode 0.1 0 -0.4
ShootParticlesPrimary explode 0.1 0.26 0.26
ShootParticlesPrimary explode 0.1 0.26 -0.26
ShootParticlesPrimary explode 0.1 -0.26 0.26
ShootParticlesPrimary explode 0.1 -0.26 -0.26
ShootParticlesPrimary explode 0.1 -0.4 0
ShootParticlesPrimary explode 0.1 0.4 0
ShootParticlesSecondary flame 0.015 0 0.025
ShootParticlesSecondary flame 0.015 0 -0.025
ShootParticlesSecondary flame 0.015 -0.0175 0.0175
ShootParticlesSecondary flame 0.015 -0.0175 -0.0175
ShootParticlesSecondary flame 0.015 0.025 0


//Misc
CameraDistance 15


//Sounds
IdleSound EngineIdle_IFV_Stryker
IdleSoundLength 20
EngineSound Engine_IFV_Stryker
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_Tnk_105mm
ShootSoundSecondary Shoot_Gun_PKT

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

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


//Movement
TurnLeftSpeed 0.25
TurnRightSpeed 0.25
FourWheelDrive False


//Misc
Tank False


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