// ------------------------------------------------------ Naming ------------------------------------------------------
Name Panzerkampfwagen VI/Tropical (Reshipurin Edition)
ShortName reshipurinPz6Trop
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon pz6Trop
Model rainfire.ReishipurinTigerI
Texture ReshipurinTigerITropical
//Third Person Camera Distance
CameraDistance 14.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.99
MaxNegativeThrottle 0.2
//Steering modifiers
TurnLeftSpeed 0.4
TurnRightSpeed 0.4
//Drag
Drag 3.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.2
//The damage taken by the vehicle when falling. 1 = default calculated by height dropped from
FallDamageFactor 0.8
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
NumWheels 4
WheelPosition 0 -42 -9 -30
WheelPosition 1 -42 -9 30
WheelPosition 2 44 -9 30
WheelPosition 3 44 -9 -30
WheelSpringStrength 0.5
//Bouncy bouncy
Bounciness 0.3
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank true
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary Gun
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 130
ShootDelaySecondary 1
BulletSpeed 8
BulletSpread 1
//Whether to alternate or fire all together
AlternatePrimary True
AlternateSecondary False
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 88 26.5 0 turret 
ShootPointSecondary 24 27 7.5 turret machinengewehr42
ShootParticlesPrimary largeexplode 4 0 0
ShootParticlesPrimary explode 4 0 0
ShootParticlesPrimary explode 3 0 1
ShootParticlesPrimary explode 3 0 -1
ShootParticlesPrimary explode 4 0 0
ShootParticlesPrimary explode 3 0 1
ShootParticlesPrimary explode 3 0 -1
ShootParticlesPrimary explode 4 0 0
ShootParticlesPrimary explode 3 0 1
ShootParticlesPrimary explode 3 0 -1
ShootParticlesPrimary explode 4 0 0
ShootParticlesPrimary explode 3 0 1
ShootParticlesPrimary explode 3 0 -1
ShootParticlesPrimary explode 4 0 0
ShootParticlesPrimary explode 3 0 1
ShootParticlesPrimary explode 3 0 -1
ShootParticlesPrimary explode 4 0 0
ShootParticlesPrimary explode 3 0 1
ShootParticlesPrimary explode 3 0 -1
ShootParticlesPrimary explode 4 0 0
ShootParticlesPrimary explode 3 0 1
ShootParticlesPrimary explode 3 0 -1
ShootParticlesPrimary explode 4 0 0
ShootParticlesPrimary explode 3 0 1
ShootParticlesPrimary explode 3 0 -1
ShootParticlesPrimary cloud 4 0 0
ShootParticlesPrimary cloud 3 0 1
ShootParticlesPrimary cloud 3 0 -1
ShootParticlesPrimary cloud 4 0 0
ShootParticlesPrimary cloud 3 0 1
ShootParticlesPrimary cloud 3 0 -1
ShootParticlesPrimary cloud 4 0 0
ShootParticlesPrimary cloud 3 0 1
ShootParticlesPrimary cloud 3 0 -1
ShootParticlesPrimary cloud 4 0 0
ShootParticlesPrimary cloud 3 0 1
ShootParticlesPrimary cloud 3 0 -1
ShootParticlesPrimary cloud 4 0 0
ShootParticlesPrimary cloud 3 0 1
ShootParticlesPrimary cloud 3 0 -1
ShootParticlesPrimary cloud 4 0 0
ShootParticlesPrimary cloud 4 0 0
ShootParticlesPrimary cloud 4 0 0 
ShootParticlesSecondary cloud 0.2 0 0
ShootParticlesSecondary flansmod.fmflame 0.2 0 0
// ------------------------------------------------------ Inventory ------------------------------------------------------
//Inventory Slots
CargoSlots 4
BombSlots 0
MissileSlots 11
AllowAllAmmo false
AddAmmo 8.8cmKwK36ShellHE
AddAmmo 8.8cmKwK36ShellAP
AddAmmo WW2_Shell_German88mmAP
AddAmmo shell
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2500
// ------------------------------------------------------ Passengers ------------------------------------------------------
//Driver and passenger positions
Driver 0 31 0 -360 360 -8 16
RotatedDriverOffset -7 0 -11
Passengers 4
Passenger 1 29 4 -14 core
Passenger 2 29 4 14 core
Passenger 3 -30 20 -22 core
Passenger 4 -30 20 22 core
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound TankEngine
StartSoundLength 20
EngineSound TigerGo
EngineSoundLength 30
ShootSoundPrimary 8.8cmKwK36
ShootSoundSecondary DeutschSevenMM
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts turret 1 tankTurret 1 vehicleSeat
AddRecipeParts core 1 tankBody 1 vehicleSeat 6 blockIron
AddRecipeParts leftTrack 1 catTrack
AddRecipeParts rightTrack 1 catTrack
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 6 yellow
AddDye 2 gray
//Health and collision
SetupPart core 1400 -49 -2 -18 91 23 36 82
SetupPart turret 800 -27 21 -20 51 14 40 100
SetupPart leftTrack 400 -51 -9 -32 100 17 13
SetupPart rightTrack 400 -51 -9 19 100 17 13
BulletDetection 6
Description Reshipurin Empire Tiger I that saw service against dragons & demons.
WheelStepHeight 1.3
ModelScale 1.0
RotateWheels True
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.22
CollisionDamageTimes 10
DriverAimSpeed 1.6 1.8 0
DriverYawBeforePitch false
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20
//Scope
hasScope true
nightScope true
Gunsight germanScope1
gunsightZoom 3.5

//Smonk stuff
AddEmitter cloud 1 [-51,23,-7] [1,1,1] [-0.5,-1.5,0] 0.02 0.3 0 1 core
AddEmitter cloud 1 [-51,23,7] [1,1,1] [-0.5,-1.5,0] 0.02 0.3 0 1 core
AddEmitter cloud 2 [-51,23,-7] [1,1,1] [-0.5,-1.5,0] 0.3 0.5 0 1 core
AddEmitter cloud 2 [-51,23,7] [1,1,1] [-0.5,-1.5,0] 0.3 0.5 0 1 core
AddEmitter explode 1 [-51,23,-7] [1,1,1] [-0.75,-1.5,0] 0.45 0.6 0 1 core
AddEmitter explode 1 [-51,23,7] [1,1,1] [-0.75,-1.5,0] 0.45 0.6 0 1 core
AddEmitter explode 2 [-51,23,-7] [1,1,1] [-0.75,-1.5,0] 0.6 0.85 0 1 core
AddEmitter explode 2 [-51,23,7] [1,1,1] [-0.75,-1.5,0] 0.6 0.85 0 1 core
AddEmitter explode 2 [-51,23,-7] [1,1,1] [-0.75,-1.5,0] 0.85 1 0 1 core
AddEmitter explode 2 [-51,23,7] [1,1,1] [-0.75,-1.5,0] 0.85 1 0 1 core

//Owie
AddEmitter largesmoke 2 [-51,23,-7] [1,1,1] [0,1.5,0] -1 1 0 0.4 core
AddEmitter largesmoke 2 [-51,23,7] [1,1,1] [0,1.5,0] -1 1 0 0.4 core
AddEmitter flame 1 [-51,23,-7] [1,1,1] [0,0.5,0] -1 1 0 0.25 core
AddEmitter flame 1 [-51,23,7] [1,1,1] [0,0.5,0] -1 1 0 0.25 core
AddEmitter largesmoke 3 [-51,23,-7] [1,1,1] [0,1,0] -1 1 0 0.25 core
AddEmitter largesmoke 3 [-51,23,7] [1,1,1] [0,1,0] -1 1 0 0.25 core