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


//---Standard-------------------------------------
// Naming
Name Type-10 Hito-Maru Main Battle Tank_1x
ShortName GFS_Type10
ItemID Your ID


// Visuals
Model gfs.Type10
ModelScale 1
Icon IconType10


// Recipe


//Misc
Description Japanese  Main Battle Tank_1x 120mm Smoothbore Gun_1x 7.62 Machine Gun_Introduced: 2012

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

//---Driveables-----------------------------------
//Visuals
Texture SkinType10


//Movement
MaxThrottle 0.75
MaxNegativeThrottle 0.6
Drag 10.0


//Wheels
NumWheels 4
WheelPosition 0 -57 -10 -44
WheelPosition 1 -57 -10 44
WheelPosition 2 49 -10 44
WheelPosition 3 49 -10 -44
WheelRadius 1
WheelSpringStrength 0.5


//Floating


//Ammo
BulletSpeed 10
BulletSpread 1
AllowAllAmmo False
AddAmmo GFS_120mmAPFSDS
AddAmmo GFS_120mmHEAT


//Weapons
Primary SHELL
Secondary GUN
ShootDelayPrimary 80
ShootDelaySecondary 1
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 100 25 2 turret
ShootPointSecondary 37 26 -5 turret GFS_M240


//Driver and Passengers
Driver 0 17 0 -360 360 -5 20
RotatedDriverOffset 20 0 -14
Passengers 0


//Inventory Slots
CargoSlots 0
ShellSlots 9
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_MBTChassis
AddRecipeParts turret 1 GFS_MBTTurret
AddRecipeParts rightTrack 1 GFS_TankTracks
AddRecipeParts leftTrack 1 GFS_TankTracks
AddDye 6 yellow


//Health and Collision
SetupPart core 1800 -82 -1 -34 153 26 68
SetupPart rightTrack 500 -81 -10 -35 154 20 13
SetupPart leftTrack 500 -81 -10 22 154 20 13
SetupPart turret 1200 -59 25 -29 98 15 58
SetupPart frontalArmor 1800 20 -1 -40 50 21 80
SetupPart additionalArmor 1600 -48 21 -31 87 13 62
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.025 0 0
ShootParticlesSecondary flansmod.fmsmoke 0 0.01 0

RightLinkPoint [58,12.5,-25]
RightLinkPoint [62.5,9,-25]
RightLinkPoint [62.5,3,-25]
RightLinkPoint [58,-2.5,-25]
RightLinkPoint [40,-9.5,-25]
RightLinkPoint [-52,-9.5,-25]
RightLinkPoint [-69,-0.5,-25]
RightLinkPoint [-73.5,4,-25]
RightLinkPoint [-73.5,8,-25]
RightLinkPoint [-69,12.5,-25]
LeftLinkPoint [58,12.5,25]
LeftLinkPoint [62.5,9,25]
LeftLinkPoint [62.5,3,25]
LeftLinkPoint [58,-2.5,25]
LeftLinkPoint [40,-9.5,25]
LeftLinkPoint [-52,-9.5,25]
LeftLinkPoint [-69,-0.5,25]
LeftLinkPoint [-73.5,4,25]
LeftLinkPoint [-73.5,8,25]
LeftLinkPoint [-69,12.5,25]
TrackLinkLength 5
FlipLinkFix false
FixTrackLink 5

//Misc
CameraDistance 15


//Sounds
PlaceSoundPrimary EngineStart_Tnk_Diesel2
IdleSound EngineIdle_Tnk_Diesel2
IdleSoundLength 20
EngineSound Engine_Tnk_Diesel2
EngineSoundLength 20
StartSoundRange 12
EngineSoundRange 90
BackSoundRange 50
ShootSoundPrimary Shoot_Tnk_120mm
ShootSoundSecondary Shoot_Gun_M240
VehicleGunReloadTick 75
ShootReloadSound Reload_Tnk_Auto2

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

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


//Movement
TurnLeftSpeed 1
TurnRightSpeed 1
FourWheelDrive True


//Misc
Tank True
CanMountEntity true


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


AddSmokePoint [0,32,-28] [1,0.75,-0.05] 20 turret
AddSmokePoint [0,28,-28] [0.7,0.75,-0.3] 20 turret
AddSmokePoint [0,24,-28] [0.5,0.75,-0.5] 20 turret
AddSmokePoint [0,32,28] [1,0.75,0.05] 20 turret
AddSmokePoint [0,28,28] [0.7,0.75,0.3] 20 turret
AddSmokePoint [0,24,28] [0.5,0.75,0.5] 20 turret

HasFlare True

HasSmoke True
FlareDelay 400
FlareSound SmokeDeploy