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


//---Standard-------------------------------------
// Naming
Name STRV-103B
ShortName strv103bcT_
ItemID Your ID

Description Swedish MBT
SetPlayerInvisible false
// Visuals
Model vehicles.strv103bc
ModelScale 1
Icon Icon_Vehicle_strv103


//Recipe
AddRecipeParts core 1 tanktracksT_
AddDye 10 gray

//Misc

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

//---Driveables-----------------------------------
//Visuals
Model vehicles.strv103bc
Texture Skin_Vehicle_strv103bc


//Movement
MaxThrottle 1.6
MaxNegativeThrottle 1.4
Drag 15.0


//Wheels
NumWheels 4
WheelPosition 0 -33 -10 -23
WheelPosition 1 -33 -10 23
WheelPosition 2 24 -10 23
WheelPosition 3 24 -10 -23
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating


//Ammo
AllowAllAmmo False
AddAmmo 105apdsshellyesT_


//Weapons
BarrelPosition 118 30 0
ShootDelay 1
ShellDelay 70
TurretOrigin 0 0 0
BulletSpeed 5


//Driver and Passengers
Driver -11 20 0 -0.0000001 0.0000001 -10 12
RotatedDriverOffset -13 0 9
Passengers 0
DriverPart barrel

//Inventory Slots
CargoSlots 0
ShellSlots 2
FuelTankSize 2000





//Health and Collision
SetupPart core 1800 -60 -10 -31 114 38 62
BulletDetection 7
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 0
CanRoll true

//Misc
CameraDistance 7.5


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

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

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


//Movement
TurnLeftSpeed 0.75
TurnRightSpeed 0.75
FourWheelDrive True


//Misc
Tank True
ShootDelay 1
ShellDelay 60


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


//Barrel
ShootParticlesSecondary crit 0.5 0 0
BarrelPosition 79 19 -1

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

//dodgy one
RightLinkPoint [37,9,-23]
RightLinkPoint [39,6,-23]
RightLinkPoint [39,4,-23]
RightLinkPoint [37,1,-23]
RightLinkPoint [24,-9,-23]
RightLinkPoint [-34,-9,-23]
RightLinkPoint [-49,1.5,-23]
RightLinkPoint [-51,4.5,-23]
RightLinkPoint [-51,6.5,-23]
RightLinkPoint [-49,9.5,-23]
RightLinkPoint [33,9,-23]
RightLinkPoint [37,9,-23]
LeftLinkPoint [37,9,23]
LeftLinkPoint [39,6,23]
LeftLinkPoint [39,4,23]
LeftLinkPoint [37,1,23]
LeftLinkPoint [24,-9,23]
LeftLinkPoint [-34,-9,23]
LeftLinkPoint [-49,1.5,23]
LeftLinkPoint [-51,4.5,23]
LeftLinkPoint [-51,6.5,23]
LeftLinkPoint [-49,9.5,23]
LeftLinkPoint [33,9,23]
LeftLinkPoint [37,9,23]
TrackLinkLength 3
FlipLinkFix true


//Basic emission
AddEmitter smoke 1 [57,23,-25.5] [1,1,1] [0,0.5,0] -1 1 0 1 barrel
//1st gear change
AddEmitter largesmoke 1 [57,23,-25.5] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 barrel
//1st gear
AddEmitter explode 1 [57,23,-25.5] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 barrel
//2nd gear change
AddEmitter largesmoke 1 [57,23,-25.5] [1,1,1] [0,3,0] 0.2 0.25 0 1 barrel
//2nd gear
AddEmitter explode 1 [57,23,-25.5] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 barrel
//3rd gear change
AddEmitter largesmoke 1 [57,23,-25.5] [1,1,1] [0,4,0] 0.5 0.52 0 1 barrel
AddEmitter largesmoke 1 [57,23,-25.5] [1,1,1] [0,4,0] 0.5 0.52 0 1 barrel
AddEmitter flame 1 [57,23,-25.5] [1,1,1] [0,2,0] 0.5 0.51 0 1 barrel
AddEmitter flame 1 [57,23,-25.5] [1,1,1] [0,2,0] 0.5 0.51 0 1 barrel
//3rd gear
AddEmitter explode 1 [57,23,-25.5] [1,1,1] [0,0.7,0] 0.5 2 0 1 barrel
AddEmitter largesmoke 3 [57,23,-25.5] [1,1,1] [0,0.5,0] 0.8 2 0 1 barrel
//4th gear change
AddEmitter largesmoke 1 [57,23,-25.5] [1,1,1] [0,5,0] 0.7 0.77 0 1 barrel
AddEmitter flame 1 [57,23,-25.5] [1,1,1] [0,5,0] 0.7 0.73 0 1 barrel
//Sound

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