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

Name T-80BV
ShortName T80BV
//---Driveables-----------------------------------
//Visuals
Icon T80BV
Model dpn.T80BV
Texture Skin_Vehicle_T80BV

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 22
WheelPosition 1 -44 -10 -22
WheelPosition 2 37 -10 -22
WheelPosition 3 37 -10 22
WheelSpringStrength 0.5

//Bouncy bouncy
Bounciness 0.3

//Floating


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

//Secondary gun
AddGun 30 30 5 turret lw_gun_M2Browning
ShootDelay 3
ShootSoundSecondary RPDShoot



//Sounds


DriverYawBeforePitch false

DriverTraverseSounds true
PassengerTraverseSounds 0 true

YawSound T80BVTurretMovement
YawSoundLength 100

PitchSound T80BVTurretMovement
PitchSoundLength 80

ShootSoundPrimary T80BVMShoot
ShootDelayPrimary 160

StartSound T80EngineStart
StartSoundLength 300
EngineSound T80EngineRunning
EngineSoundLength 100

//Weapons




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

//Recipe
BulletDetection 5

SetupPart core 40 -66 -1 -20 106 23 40
SetupPart turret 100 -25 23 -21 46 15 42
SetupPart rightTrack 20 -65 -9 -37 137 21 14
SetupPart leftTrack 20 -65 -9 24 137 21 14
SetupPart frontalArmor 100 41 -1 -20 1 23 38
SetupPart ERA 60 43 -1 -20 23 23 38
SetupPart rightsideERA 30 -61 7 -41 137 9 1
SetupPart leftsideERA 30 -61 7 40 137 9 1
SetupPart tankbarrel 5 32 25 -2 106 5 4




AddRecipeParts core 1 smallChassis 1 vehicleSeat
AddRecipeParts turret 1 wheel





//Movement
//Third Person Camera Distance
CameraDistance 5.0
//----------------------------Throttle
MaxThrottle 0.83
MaxNegativeThrottle 0.63
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.91 1.71 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

