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

Name T-64B
ShortName T64B
//---Driveables-----------------------------------
//Visuals
Icon T72B
Model dpn.T64B
Texture Skin_Vehicle_T64B

HasDoor True
RotateWheels True
ModelScale 1.00

//Driver and Passengers
Driver 0 28 -3 -360 360 -6 18
RotatedDriverOffset 0 0 0
Passengers 0

//Wheels
NumWheels 4
WheelPosition 0 -46 -10 31
WheelPosition 1 -44 -10 -31
WheelPosition 2 37 -10 -31
WheelPosition 3 37 -10 31
WheelSpringStrength 0.5

//Bouncy bouncy
Bounciness 0.3

//Floating


//Ammo
AddAmmo lw_ammo_125mm_HEATFS
AddAmmo lw_ammo_125mm_APFSDS
AllowAllAmmo False
ShellDelay 180
BarrelPosition 135 30 0

//Secondary gun
AddGun 30 25 5 turret lw_gun_M2Browning
ShootDelay 2
ShootSoundSecondary RPDShoot



//Sounds


DriverYawBeforePitch false

DriverTraverseSounds true
PassengerTraverseSounds 0 true

YawSound BMPTurretMovement
YawSoundLength 40

PitchSound BMPTurretMovement
PitchSoundLength 40

EngineSound T72EngineForward

IdleSound T72EngineIdle
IdleSoundLength 5

BackSound T72EngineBackwards
EngineSoundLength 100

ShootSoundPrimary T80BVMShoot
ShootDelayPrimary 160

//Weapons




SetPlayerInvisible true
//----------------------------Inventory Slots
CargoSlots 0
ShellSlots 16
FuelTankSize 7250

//Recipe
BulletDetection 5

SetupPart core 40 -66 3 -20 105 20 40
SetupPart turret 100 -32 23 -28 58 12 57
SetupPart rightTrack 20 -65 -9 -37 137 21 14
SetupPart leftTrack 20 -65 -9 24 137 21 14
SetupPart frontalArmor 100 39 -1 -20 13 24 38
SetupPart rightsideArmor 30 -58 0 -23 137 13 1
SetupPart core 30 -59 0 23 137 13 1



AddRecipeParts core 1 smallChassis 1 vehicleSeat
AddRecipeParts turret 1 wheel





//Movement
//Third Person Camera Distance
CameraDistance 5.0
//----------------------------Throttle
MaxThrottle 0.65
MaxNegativeThrottle 0.2739
ClutchBrake 0.2075

//----------------------------Steering modifiers
TurnLeftSpeed 0.115
TurnRightSpeed 0.115
Tank true
FourWheelDrive true

//Misc
SquashMobs True

IsExplosionWhenDestroyed True

//----------------------------Turret rotation stuff
DriverAimSpeed 1.20 1.00 0

DriverYawBeforePitch false



//----------------------------Basic emission
AddEmitter smoke 1 [-65,18,0] [1,1,1] [0,0.5,0] -1 1 0 1 core

//1st gear change

AddEmitter largesmoke 1 [-65,18,0] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core

//1st gear

AddEmitter explode 1 [-65,18,0] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core

//2nd gear change

AddEmitter largesmoke 1 [-65,18,0] [1,1,1] [0,3,0] 0.2 0.25 0 1 core


//2nd gear

AddEmitter explode 1 [-65,18,0] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core


//3rd gear change

AddEmitter largesmoke 1 [-65,18,0] [1,1,1] [0,4,0] 0.5 0.52 0 1 core


AddEmitter flame 1 [-65,18,0] [1,1,1] [0,2,0] 0.5 0.51 0 1 core


//3rd gear
AddEmitter explode 1 [-65,18,0] [1,1,1] [0,0.7,0] 0.5 2 0 1 core


AddEmitter largesmoke 3 [-65,18,0] [1,1,1] [0,0.5,0] 0.8 2 0 1 core


//4th gear change

AddEmitter largesmoke 1 [-65,18,0] [1,1,1] [0,5,0] 0.7 0.75 0 1 core

AddEmitter flame 1 [-65,18,0] [1,1,1] [0,5,0] 0.7 0.73 0 1 core







//----------------------------Damage
AddEmitter smoke 2 [-65,18,0] [7,1,7] [0,0.5,0] -1 1 0 0.75 core
AddEmitter smoke 2 [5,35,14] [3,1,3] [0,0.5,0] -1 1 0 0.75 turret

AddEmitter largesmoke 3 [-65,18,0] [7,1,7] [0,1,0] -1 1 0 0.5 core
AddEmitter largesmoke 2 [5,35,14] [3,1,3] [0,0.5,0] -1 1 0 0.5 turret

AddEmitter largesmoke 1 [-65,18,0] [7,1,7] [0,1.5,0] -1 1 0 0.25 core

AddEmitter flame 1 [-65,18,0] [5,1,5] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 1 [5,35,14] [3,1,3] [0,1,0] -1 1 0 0.5 turret


//Shoot Things
ShootParticlesPrimary largeexplode 0 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 flansmod.fmflame 1 0 0
ShootParticlesPrimary flansmod.fmflame 1.75 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 1.25 0 0
ShootParticlesPrimary flansmod.fmflame 0.75 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.25 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0 -0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.1 0
ShootParticlesPrimary flansmod.fmflame 0.5 0.1 0
ShootParticlesPrimary flansmod.fmflame 0.05 0 0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0 -0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.2 0
ShootParticlesPrimary flansmod.fmflame 0.05 0.2 0
ShootParticlesPrimary flansmod.fmflame 0.1 0 0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0 -0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.4 0
ShootParticlesPrimary flansmod.fmflame 0.1 0.4 0

