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


//---Standard-------------------------------------
// Naming
Name IS-2
ShortName is2T_
ItemID Your ID

Description Soviet Heavy Tank




// Visuals
Model vehicles.is2
ModelScale 1
Icon Icon_Vehicle_is2
SetPlayerInvisible false


//Recipe
AddRecipeParts core 1 tanktracksT_
AddDye 10 gray


//Misc

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

//---Driveables-----------------------------------
//Visuals
Model vehicles.is2
Texture Skin_Vehicle_is2


//Movement
MaxThrottle 0.6
MaxNegativeThrottle 0.2
Drag 15.0


//Wheels
NumWheels 4
WheelPosition 0 -35 -10 -20
WheelPosition 1 -35 -10 22
WheelPosition 2 34 -10 21
WheelPosition 3 34 -10 -21
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating


//Ammo
AllowAllAmmo False


//Weapons
AllowAllAmmo False
AddAmmo d25tshellT_
BarrelPosition 131 26 0
ShootDelay 1
ShellDelay 120
TurretOrigin 0 0 0
BulletSpeed 9


//Driver and Passengers
Driver 0 38 0 -360 360 -5 10
RotatedDriverOffset -16 0 -8
Passengers 1
Passenger 1 0 31 0 turret -360 360 -15 30 dshkT_ PassengerGun1
RotatedPassengerOffset 1 -11 0 10
GunOrigin 1 -9 48 -4
DriverPart turret

//Inventory Slots
CargoSlots 5
ShellSlots 2
FuelTankSize 2000







//Health and Collision
SetupPart core 2000 -85 -10 -35 152 34 70
SetupPart turret 2000 -55 23 -26 89 16 52
BulletDetection 7
RecoilDistance 5
RecoilTime 5
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 0
CanRoll true

//Misc
CameraDistance 9.5


//Sounds
StartSound EngineBigtenk
StartSoundLength 20
EngineSound EngineBigtenk
EngineSoundLength 20
ShootSoundPrimary TankBigShell
ShootSoundSecondary 545Shoot

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

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

SquashMobs True


//Movement
TurnLeftSpeed 0.3
TurnRightSpeed 0.3
FourWheelDrive True


//Misc
Tank True
ShootDelay 1
ShellDelay 120

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


//Sound



//Barrel
ShootParticlesSecondary crit 0.5 0 0
BarrelPosition 117 30 0.5

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


//Basic emission
AddEmitter smoke 1 [-58,24,21] [1,1,1] [0,0.5,0] -1 1 0 1 core

AddEmitter smoke 1 [-58,24,-22] [1,1,1] [0,0.5,0] -1 1 0 1 core


//1st gear change

AddEmitter largesmoke 1 [-58,24,-22] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core

AddEmitter largesmoke 1 [-58,24,21] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core

//1st gear

AddEmitter explode 1 [-58,24,-22] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core

AddEmitter explode 1 [-58,24,21] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core

//2nd gear change

AddEmitter largesmoke 1 [-58,24,-22] [1,1,1] [0,3,0] 0.2 0.25 0 1 core

AddEmitter largesmoke 1 [-58,24,21] [1,1,1] [0,3,0] 0.2 0.25 0 1 core

//2nd gear

AddEmitter explode 1 [-58,24,-22] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core

AddEmitter explode 1 [-58,24,21] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core


//3rd gear change

AddEmitter largesmoke 1 [-58,24,-22] [1,1,1] [0,4,0] 0.5 0.52 0 1 core

AddEmitter largesmoke 1 [-58,24,21] [1,1,1] [0,4,0] 0.5 0.52 0 1 core

AddEmitter flame 1 [-58,24,-22] [1,1,1] [0,2,0] 0.5 0.51 0 1 core

AddEmitter flame 1 [-58,24,21] [1,1,1] [0,2,0] 0.5 0.51 0 1 core

//3rd gear
AddEmitter explode 1 [-58,24,-22] [1,1,1] [0,0.7,0] 0.5 2 0 1 core

AddEmitter explode 1 [-58,24,21] [1,1,1] [0,0.7,0] 0.5 2 0 1 core

AddEmitter largesmoke 3 [-58,24,-22] [1,1,1] [0,0.5,0] 0.8 2 0 1 core

AddEmitter largesmoke 3 [-58,24,21] [1,1,1] [0,0.5,0] 0.8 2 0 1 core

//4th gear change

AddEmitter largesmoke 1 [-58,24,-22] [1,1,1] [0,5,0] 0.7 0.75 0 1 core

AddEmitter largesmoke 1 [-58,24,21] [1,1,1] [0,5,0] 0.7 0.77 0 1 core

AddEmitter flame 1 [-58,24,-22] [1,1,1] [0,5,0] 0.7 0.73 0 1 core

AddEmitter flame 1 [-58,24,21] [1,1,1] [0,5,0] 0.7 0.73 0 1 core



//dodgy one
RightLinkPoint [49,10.5,-27]
RightLinkPoint [52,6.5,-27]
RightLinkPoint [52,2.5,-27]
RightLinkPoint [49,-1.5,-27]
RightLinkPoint [33,-9.5,-27]
RightLinkPoint [-63,-9.5,-27]
RightLinkPoint [-78,-2.5,-27]
RightLinkPoint [-82,2.5,-27]
RightLinkPoint [-82,6.5,-27]
RightLinkPoint [-78,11.5,-27]
RightLinkPoint [-71,11.5,-27]
RightLinkPoint [-54.5,11.5,-27]
RightLinkPoint [-50.5,11.5,-27]
RightLinkPoint [-35.5,10.5,-27]
RightLinkPoint [-18.5,11.5,-27]
RightLinkPoint [-14.5,11.5,-27]
RightLinkPoint [2.5,10.5,-27]
RightLinkPoint [19.5,11.5,-27]
RightLinkPoint [23.5,11.5,-27]
RightLinkPoint [44,10.5,-27]
RightLinkPoint [49,10.5,-27]
LeftLinkPoint [49,10.5,26]
LeftLinkPoint [52,6.5,26]
LeftLinkPoint [52,2.5,26]
LeftLinkPoint [49,-1.5,26]
LeftLinkPoint [33,-9.5,26]
LeftLinkPoint [-63,-9.5,26]
LeftLinkPoint [-78,-2.5,26]
LeftLinkPoint [-82,2.5,26]
LeftLinkPoint [-82,6.5,26]
LeftLinkPoint [-78,11.5,26]
LeftLinkPoint [-71,11.5,26]
LeftLinkPoint [-54.5,11.5,26]
LeftLinkPoint [-50.5,11.5,26]
LeftLinkPoint [-35.5,10.5,26]
LeftLinkPoint [-18.5,11.5,26]
LeftLinkPoint [-14.5,11.5,26]
LeftLinkPoint [2.5,10.5,26]
LeftLinkPoint [19.5,11.5,26]
LeftLinkPoint [23.5,11.5,26]
LeftLinkPoint [44,10.5,26]
LeftLinkPoint [49,10.5,26]
TrackLinkLength 5
FlipLinkFix true
//------------------------------------------------