// ------------------------------------------------------ Naming ------------------------------------------------------
Name Flygplankryssare HSwMS Gotland
ShortName hswmsGotland
ItemID 7464
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon gotland
Model rainfire.Gotland
Texture SkinGotland
//Third Person Camera Distance
CameraDistance 45.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.7
MaxNegativeThrottle 0.4
ThrottleDecay 0.0
//Steering modifiers
TurnLeftSpeed 0.21
TurnRightSpeed 0.21
Drag 1.2
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.0
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
NumWheels 4
WheelPosition 0 -275 -16 -30
WheelPosition 1 -275 -16 30
WheelPosition 2 295 -16 18
WheelPosition 3 295 -16 -18
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary Gun
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 10
ShootDelaySecondary 3
//Whether to alternate or fire all together
AlternatePrimary True
AlternateSecondary True
//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 -57 39 1 core 
ShootPointPrimary -57 39 -1 core 
ShootPointPrimary 39 39 47 core 
ShootPointPrimary 39 39 -47 core 
ShootPointSecondary 132 59 35 core olerikon20mm
ShootPointSecondary 132 59 -35 core olerikon20mm
ShootPointSecondary 143 44 39 core olerikon20mm
ShootPointSecondary 143 44 -39 core olerikon20mm
ShootParticlesPrimary largeexplode 0.6 0 0
ShootParticlesPrimary explode 0.7 0 0
ShootParticlesPrimary explode 0.7 0 0
ShootParticlesPrimary cloud 0.6 0 0
ShootParticlesPrimary cloud 0.6 0 0
ShootParticlesSecondary cloud 0.2 0 0
------- Inventory ------------------------------------------------------
CargoSlots 16
BombSlots 0
MissileSlots 4
AllowAllAmmo False
AddAmmo 3in50ShellAAC
AddAmmo 3in50ShellHC
AddAmmo 3in50ShellAP
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 7410
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 156 83 0 -360 360 -5 65
Passengers 9
Passenger 1 206 25 0 turret1 -140 140 -5 60 bofors152mmGun PassengerGun1
GunOrigin 1 206 15 0
Passenger 2 -72 25 0 turret2 45 325 -5 60 bofors152mmGun PassengerGun2
GunOrigin 2 -72 15 0
Passenger 3 155 23 -28 turret3 -150 0 -5 30 bofors152mmSingleGun PassengerGun3
GunOrigin 3 155 13 -27
Passenger 4 155 23 28 turret4 5 150 -5 30 bofors152mmSingleGun PassengerGun4
GunOrigin 4 155 13 27
Passenger 5 -30 17 -33 core -150 0 0 0 53cmTorpShip PassengerGun5
GunOrigin 5 -30 7 -33
Passenger 6 -30 17 33 core 5 150 0 0 53cmTorpShip PassengerGun6
GunOrigin 6 -30 7 33
Passenger 7 -130 25 0 core
Passenger 8 -205 25 27 core
Passenger 9 -205 25 -27 core
helipad 7 true
helipad 8 true
helipad 9 true
PassengerAimSpeed 1 0.8 1.1 0
PassengerAimSpeed 2 0.8 1.1 0
PassengerAimSpeed 3 0.7 0.8 0
PassengerAimSpeed 4 0.7 0.8 0
PassengerAimSpeed 5 0.6 1.0 0
PassengerAimSpeed 6 0.6 1.0 0
//Passenger turret sounds
PassengerTraverseSounds 1 true
PassengerTraverseSounds 2 true
PassengerTraverseSounds 3 true
PassengerTraverseSounds 4 true
PassengerTraverseSounds 5 true
PassengerTraverseSounds 6 true
//Turret 1
PassengerPitchSound 1 shipTurret2
PassengerPitchSoundLength 1 19
PassengerYawSound 1 shipTurret2
PassengerYawSoundLength 1 18
//Turret 2
PassengerPitchSound 2 shipTurret2
PassengerPitchSoundLength 2 19
PassengerYawSound 2 shipTurret2
PassengerYawSoundLength 2 18
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound SteamEngine
StartSoundLength 28
EngineSound ShipEngine1
EngineSoundLength 94
ShootSoundPrimary 3inGunAuto
ShootSoundSecondary 20mmFire
//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 4400t
AddRecipeParts core 1 navalSteelSegment1000
AddRecipeParts belt 1 navalSteelSegment500
AddRecipeParts bulkhead 1 navalSteelSegment500
AddRecipeParts deck 4 navalSteelSegment100
AddRecipeParts deck2 1 navalSteelSegment500
AddRecipeParts leftTrack 1 steamTurbine
AddRecipeParts boilerRoom1 2 boiler
AddRecipeParts boilerRoom2 2 boiler
AddRecipeParts rightTrack 1 steamTurbine
AddRecipeParts steering 1 12Cylinder
AddRecipeParts superstructure 3 navalSteelSegment100
AddRecipeParts conningTower 2 navalSteelSegment100
AddRecipeParts bow 1 navalSteelSegment500
AddRecipeParts stern 1 navalSteelSegment500 2 metalPropeller
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 16 blue
AddDye 8 lightBlue
//Health and collision 4826t, 13272hp
SetupPart core 5222 -200 -33 -20 440 25 40
SetupPart stern 750 -336 -29 -38 110 37 76
SetupPart bow 700 243 -40 -32 110 58 64
SetupPart steering 500 -167 -33 -23 44 25 46
SetupPart boilerRoom1 400 -62 -33 -25 75 28 25
SetupPart boilerRoom2 400 -62 -33 0 75 28 25
SetupPart rightTrack 400 73 -33 -25 75 28 25
SetupPart leftTrack 400 73 -33 0 75 28 25
SetupPart bulkhead 1000 -226 -40 -32 484 42 64
SetupPart belt 1500 -223 -34 -41 478 42 82
SetupPart deck 500 -345 17 -41 482 3 82
SetupPart deck2 500 -286 8 -41 543 6 82
SetupPart superstructure 500 -50 14 -25 158 22 50
SetupPart conningTower 500 108 14 -25 74 44 50
SetupPart turret1 1000 204 14 -12 24 18 24
SetupPart turret2 1000 -96 20 -12 24 15 24
SetupPart turret3 1000 145 14 18 18 10 18
SetupPart turret4 1000 145 14 -36 18 10 18
BulletDetection 14
ModelScale 1.2
Description A unique multi-purpose light cruiser from Sweden famous for spotting the Bismarck._It was later converted to an AA cruiser in 1944._Displ. - 4826t | L.D. - 1930_Length - 44.93m | Beam - 5.13m | Draft - 1.5m_Spd. - 27.5kn | Rng. - 7410 | 2x Steam Turbines | 4x Boilers
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
DriverAimSpeed 3.5 4 0
BulletSpeed 6
BulletSpread 3
//Radar stuff, range in blocks and delay in ticks. Visible means if it does/doesn't have stealth, offset the lowness on screen. For gun director equipped ships without radar, round up 100 relative to the gun range, then multiply by 1.25.
hasRadar true
radarPositionOffset 25
radarRange 625
radarVisible true
radarRefreshDelay 30
IsExplosionWhenDestroyed true
DeathExplosionRadius 18
DeathExplosionDamageVsVehicle 1.5
DeathExplosionDamageVsLiving 100.0
DeathExplosionDamageVsPlane 1.5
//isExplosionWhenDestroyedRadius 25
//bigDeath True

////Smonkstaks
CollisionPoint -80 72 0 core
CollisionPoint -75 72 0 core
CollisionPoint -70 72 0 core
CollisionPoint -65 71 0 core
CollisionPoint -10 70 0 core
CollisionPoint -5 70 0 core
CollisionPoint 0 69 0 core
CollisionPoint 5 70 0 core
//Stage 1
AddEmitter largesmoke 2 [80,73,0] [2,1,12] [-0.25,0,0] 0.03 0.25 0 1 core
AddEmitter largesmoke 2 [75,72,0] [2,1,12] [-0.25,0,0] 0.03 0.25 0 1 core
AddEmitter largesmoke 2 [70,71,0] [2,1,12] [-0.25,0,0] 0.03 0.25 0 1 core
AddEmitter largesmoke 2 [65,71,0] [2,1,12] [-0.25,0,0] 0.03 0.25 0 1 core

AddEmitter largesmoke 2 [10,70,0] [2,1,12] [-0.25,0,0] 0.03 0.25 0 1 core
AddEmitter largesmoke 2 [5,70,0] [2,1,12] [-0.25,0,0] 0.03 0.25 0 1 core
AddEmitter largesmoke 2 [0,69,0] [2,1,12] [-0.25,0,0] 0.03 0.25 0 1 core
AddEmitter largesmoke 2 [-5,69,0] [2,1,12] [-0.25,0,0] 0.03 0.25 0 1 core

//Stage 2
AddEmitter largesmoke 2 [80,73,0] [2,1,12] [-0.5,0,0] 0.25 0.7 0 1 core
AddEmitter largesmoke 2 [75,72,0] [2,1,12] [-0.5,0,0] 0.25 0.7 0 1 core
AddEmitter largesmoke 2 [70,71,0] [2,1,12] [-0.5,0,0] 0.25 0.7 0 1 core
AddEmitter largesmoke 2 [65,71,0] [2,1,12] [-0.5,0,0] 0.25 0.7 0 1 core

AddEmitter largesmoke 2 [10,70,0] [2,1,12] [-0.5,0,0] 0.25 0.7 0 1 core
AddEmitter largesmoke 2 [5,70,0] [2,1,12] [-0.5,0,0] 0.25 0.7 0 1 core
AddEmitter largesmoke 2 [0,69,0] [2,1,12] [-0.5,0,0] 0.25 0.7 0 1 core
AddEmitter largesmoke 2 [-5,69,0] [2,1,12] [-0.5,0,0] 0.25 0.7 0 1 core

//Stage 3
AddEmitter explode 3 [80,73,0] [2,1,12] [-0.5,0,0] 0.7 1 0 1 core
AddEmitter explode 3 [75,72,0] [2,1,12] [-0.5,0,0] 0.7 1 0 1 core
AddEmitter explode 3 [70,71,0] [2,1,12] [-0.5,0,0] 0.7 1 0 1 core
AddEmitter explode 3 [65,70,0] [2,1,12] [-0.5,0,0] 0.7 1 0 1 core

AddEmitter explode 3 [10,70,0] [2,1,12] [-0.5,0,0] 0.7 1 0 1 core
AddEmitter explode 3 [5,70,0] [2,1,12] [-0.5,0,0] 0.7 1 0 1 core
AddEmitter explode 3 [0,69,0] [2,1,12] [-0.5,0,0] 0.7 1 0 1 core
AddEmitter explode 3 [-5,69,0] [2,1,12] [-0.5,0,0] 0.7 1 0 1 core

//Owie 1
AddEmitter largesmoke 4 [80,70,0] [8,10,10] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [75,70,0] [8,10,10] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [70,69,0] [8,10,10] [-0.25,0,0] -1 1 0 0.4 core
AddEmitter largesmoke 4 [65,69,0] [8,10,10] [-0.25,0,0] -1 1 0 0.4 core

//Owie 2
AddEmitter flame 2 [10,70,0] [8,12,10] [-0.25,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [5,70,0] [8,12,10] [-0.25,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [0,69,0] [8,12,10] [-0.25,0,0] -1 1 0 0.2 core
AddEmitter flame 2 [-5,69,0] [8,12,10] [-0.25,0,0] -1 1 0 0.2 core
