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


//---Standard-------------------------------------
// Naming
Name T-14 "Armata"
ShortName GFS_T14
ItemID Your ID


// Visuals
Model gfs.T14
ModelScale 1
Icon IconT14


// Recipe


//Misc
Description Russian Peoples Army (Fictional) Main Battle Tank_1x 125mm Smoothbore Gun_1x 7.62 Machine Gun_1x 12.7mm Machine Gun_Active Protection_Introduced: 2015

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

//---Driveables-----------------------------------
//Visuals
Texture SkinT14


//Movement
MaxThrottle 1.11
MaxNegativeThrottle 0.65
Drag 10.0


//Wheels
NumWheels 4
WheelPosition 0 -43 -10 -25
WheelPosition 1 -43 -10 25
WheelPosition 2 50 -10 25
WheelPosition 3 50 -10 -25
WheelSpringStrength 0.5


//Floating


//Ammo
BulletSpeed 14
BulletSpread 1
AddAmmo GFS_125mmHEAT
AddAmmo GFS_125mmAPFSDS
AddAmmo GFS_125mm3BM70
AddAmmo GFS_125mm9M119


//Weapons
Primary SHELL
Secondary GUN
ShootDelayPrimary 95
ShootDelaySecondary 3
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAUTO
ModeSecondary FULLAUTO
ShootPointPrimary 120 28 0 turret
ShootPointSecondary 23 28 -7 turret GFS_PKT


//Driver and Passengers
Driver 0 14 0 -360 360 -8 25
RotatedDriverOffset 20 0 -13
Passengers 1
Passenger 1 0 30 0 turret -360 360 -10 75 GFS_KORD PassengerGun1
GunOrigin 1 22 46 6
PassengerAimSpeed 7 5 5 0
SetPlayerInvisible true


//Inventory Slots
CargoSlots 0
ShellSlots 4
FuelTankSize 6000


//Recipe
AddRecipeParts core 1 GFS_MBTChassis 1 GFS_ActiveProtection
AddRecipeParts turret 1 GFS_MBTTurret
AddRecipeParts rightTrack 1 GFS_TankTracks
AddRecipeParts leftTrack 1 GFS_TankTracks
AddDye 5 black 1 red


//Health and Collision
SetupPart core 1000 -82 -1 -35 156 26 70
SetupPart rightTrack 500 -70 -10 -35 140 20 14
SetupPart leftTrack 500 -70 -10 21 140 20 14
SetupPart turret 1200 -53 25 -25 75 15 50
SetupPart APS 1000 -100 7 -50 190 30 100
SetupPart frontalArmor 2600 55 -1 -31 20 26 62
SetupPart leftsideArmor 800 -82 -1 31 156 26 4
SetupPart rightsideArmor 800 -82 -1 -35 156 26 4
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
AddEmitter cloud 1 [-43,15,-33] [1,1,1] [0,-0.75,-0.5] 0.4 1 0 1 core
AddEmitter largesmoke 3 [-43,15,-33] [1,1,1] [0,-0.75,-0.5] 0.8 1 0 1 core
AddEmitter cloud 1 [-43,15,33] [1,1,1] [0,-0.75,0.5] 0.4 1 0 1 core
AddEmitter largesmoke 3 [-43,15,33] [1,1,1] [0,-0.75,0.5] 0.8 1 0 1 core
//Damage
AddEmitter flame 1 [-58,24,10] [1,1,1] [0,1.5,0] -1 1 0 0.25 core
AddEmitter flame 1 [-58,24,-10] [1,1,1] [0,1.5,0] -1 1 0 0.25 core
AddEmitter largesmoke 3 [-58,24,10] [1,1,1] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 3 [-58,24,-10] [1,1,1] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [-58,24,10] [1,1,1] [0,1.5,0] -1 1 0 0.4 core
AddEmitter largesmoke 1 [-58,24,-10] [1,1,1] [0,1.5,0] -1 1 0 0.4 core
RightLinkPoint [67,12,-25]
RightLinkPoint [70,9,-25]
RightLinkPoint [70,5,-25]
RightLinkPoint [67,2,-25]
RightLinkPoint [51,-9,-25]
RightLinkPoint [-45,-9,-25]
RightLinkPoint [-64,-1,-25]
RightLinkPoint [-68,3,-25]
RightLinkPoint [-68,8,-25]
RightLinkPoint [-64,12,-25]
LeftLinkPoint [67,12,25]
LeftLinkPoint [70,9,25]
LeftLinkPoint [70,5,25]
LeftLinkPoint [67,2,25]
LeftLinkPoint [51,-9,25]
LeftLinkPoint [-45,-9,25]
LeftLinkPoint [-64,-1,25]
LeftLinkPoint [-68,3,25]
LeftLinkPoint [-68,8,25]
LeftLinkPoint [-64,12,25]
TrackLinkLength 4
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_125mm
ShootSoundSecondary Shoot_Gun_PKT
VehicleGunReloadTick 89
ShootReloadSound Reload_Tnk_Auto

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

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


//Movement
TurnLeftSpeed 1
TurnRightSpeed 1
FourWheelDrive True


//Misc
Tank True


//Turret rotation stuff
DriverAimSpeed 8 8 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 500
FlareSound SmokeDeploy