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


//---Standard-------------------------------------
// Naming
Name T-10
ShortName t10T_
ItemID Your ID

Description Soviet Heavy Tank
SetPlayerInvisible false
// Visuals
Model vehicles.t10
ModelScale 1
Icon Icon_vehicle_t10


//Recipe
AddRecipeParts core 1 tanktracksT_
AddDye 10 gray


//Misc

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

//---Driveables-----------------------------------
//Visuals
Model vehicles.t10
Texture Skin_Vehicle_t10


//Movement
MaxThrottle 0.6
MaxNegativeThrottle 0.3
Drag 15.0


//Wheels
NumWheels 4
WheelPosition 0 -75 -9 -30
WheelPosition 1 -75 -9 30
WheelPosition 2 39 -9 30
WheelPosition 3 39 -9 -30
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating


//Ammo
AllowAllAmmo False
AddAmmo 122apshellussrT_


//Weapons
BarrelPosition 145 34 0.5
ShootDelay 1
ShellDelay 30
TurretOrigin 0 0 0


//Driver and Passengers
Driver 0 31 0 -360 360 -5 15
RotatedDriverOffset -11 0 -8
Passengers 0
GunOrigin 0 0 0 0
DriverPart turret

//Inventory Slots
CargoSlots 0
ShellSlots 1
FuelTankSize 2000





//Health and Collision
SetupPart core 1800 -101 -10 -41 168 38 82
SetupPart turret 1800 -37 28 -31 75 20 63
BulletDetection 7
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 0
CanRoll true


//Misc
CameraDistance 8.5


//Sounds
StartSound EngineBigtenk
StartSoundLength 20
EngineSound EngineBigtenk
EngineSoundLength 20
ShootSoundPrimary TankBigShell
ShootSoundSecondary M60Shoot

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

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


//Movement
TurnLeftSpeed 0.6
TurnRightSpeed 0.6
FourWheelDrive True


//Misc
Tank True
ShootDelay 1
ShellDelay 100


//Sound

//dodgy one
RightLinkPoint [45.5,9.5,-24.5]
RightLinkPoint [48.5,6.5,-24.5]
RightLinkPoint [48.5,2.5,-24.5]
RightLinkPoint [45.5,-0.5,-24.5]
RightLinkPoint [31,-9,-24.5]
RightLinkPoint [-62,-9,-24.5]
RightLinkPoint [-75,-3,-24.5]
RightLinkPoint [-78,0,-24.5]
RightLinkPoint [-78,4,-24.5]
RightLinkPoint [-75,7,-24.5]
RightLinkPoint [-53.5,9,-24.5]
RightLinkPoint [8,9,-24.5]
RightLinkPoint [41.5,9.5,-24.5]
RightLinkPoint [45.5,9.5,-24.5]
LeftLinkPoint [45.5,9.5,24.5]
LeftLinkPoint [48.5,6.5,24.5]
LeftLinkPoint [48.5,2.5,24.5]
LeftLinkPoint [45.5,-0.5,24.5]
LeftLinkPoint [31,-9,24.5]
LeftLinkPoint [-62,-9,24.5]
LeftLinkPoint [-75,-3,24.5]
LeftLinkPoint [-78,0,24.5]
LeftLinkPoint [-78,4,24.5]
LeftLinkPoint [-75,7,24.5]
LeftLinkPoint [-53.5,9,24.5]
LeftLinkPoint [8,9,24.5]
LeftLinkPoint [41.5,9.5,24.5]
LeftLinkPoint [45.5,9.5,24.5]
TrackLinkLength 3
FlipLinkFix true

//Basic emission
AddEmitter smoke 1 [-39,21,-13] [1,1,1] [0,0.5,0] -1 1 0 1 core

AddEmitter smoke 1 [-39,21,13] [1,1,1] [0,0.5,0] -1 1 0 1 core


//1st gear change

AddEmitter largesmoke 1 [-39,21,13] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core

AddEmitter largesmoke 1 [-39,21,-13] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core

//1st gear

AddEmitter explode 1 [-39,21,13] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core

AddEmitter explode 1 [-39,21,-13] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core

//2nd gear change

AddEmitter largesmoke 1 [-39,21,13] [1,1,1] [0,3,0] 0.2 0.25 0 1 core

AddEmitter largesmoke 1 [-39,21,-13] [1,1,1] [0,3,0] 0.2 0.25 0 1 core

//2nd gear

AddEmitter explode 1 [-39,21,13] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core

AddEmitter explode 1 [-39,21,-13] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core


//3rd gear change

AddEmitter largesmoke 1 [-39,21,13] [1,1,1] [0,4,0] 0.5 0.52 0 1 core

AddEmitter largesmoke 1 [-39,21,-13] [1,1,1] [0,4,0] 0.5 0.52 0 1 core

AddEmitter flame 1 [-39,21,13] [1,1,1] [0,2,0] 0.5 0.51 0 1 core

AddEmitter flame 1 [-39,21,-13] [1,1,1] [0,2,0] 0.5 0.51 0 1 core

//3rd gear
AddEmitter explode 1 [-39,21,13] [1,1,1] [0,0.7,0] 0.5 2 0 1 core

AddEmitter explode 1 [-39,21,-13] [1,1,1] [0,0.7,0] 0.5 2 0 1 core

AddEmitter largesmoke 3 [-39,21,13] [1,1,1] [0,0.5,0] 0.8 2 0 1 core

AddEmitter largesmoke 3 [-39,21,-13] [1,1,1] [0,0.5,0] 0.8 2 0 1 core

//4th gear change

AddEmitter largesmoke 1 [-39,21,13] [1,1,1] [0,5,0] 0.7 0.75 0 1 core

AddEmitter largesmoke 1 [-39,21,-13] [1,1,1] [0,5,0] 0.7 0.77 0 1 core

AddEmitter flame 1 [-39,21,13] [1,1,1] [0,5,0] 0.7 0.73 0 1 core

AddEmitter flame 1 [-39,21,-13] [1,1,1] [0,5,0] 0.7 0.73 0 1 core


//Barrel
ShootParticlesSecondary crit 0.5 0 0
BarrelPosition 123 27 0

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


//Turret rotation stuff
DriverAimSpeed 1.2 1.2 1.2
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20


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