// ------------------------------------------------------ Naming ------------------------------------------------------
Name  HAX test HMS Vanguard (23)
ShortName hmsVanguard23HAX
ItemID 7464
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon HMSVanguard23
Model rainfire.HMSVanguard23
Texture SkinHMSVanguard23
//Third Person Camera Distance
CameraDistance 65.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.6
MaxNegativeThrottle 0.1
//Steering modifiers
TurnLeftSpeed 0.7
TurnRightSpeed 0.7
Drag 2.0
//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 -427 -9 -50
WheelPosition 1 -427 -9 50
WheelPosition 2 398 -9 60
WheelPosition 3 398 -9 -60
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 3
ShootDelaySecondary 2
//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 122 25 75 core 
ShootPointPrimary 61 35 45 core 
ShootPointPrimary -87 35 45 core 
ShootPointPrimary -146 25 75 core 
ShootPointPrimary -146 25 -75 core 
ShootPointPrimary -87 35 -45 core 
ShootPointPrimary 61 35 -45 core 
ShootPointPrimary 122 25 -75 core 
ShootPointPrimary 122 25 75 core 
ShootPointPrimary 61 35 45 core 
ShootPointPrimary -87 35 45 core 
ShootPointPrimary -146 25 75 core 
ShootPointPrimary -146 25 -75 core 
ShootPointPrimary -87 35 -45 core 
ShootPointPrimary 61 35 -45 core 
ShootPointPrimary 122 25 -75 core 
ShootPointSecondary 117 57 48 core bofors40mmGun
ShootPointSecondary 107 57 48 core bofors40mmGun
ShootPointSecondary 107 57 -48 core bofors40mmGun
ShootPointSecondary 117 57 -48 core bofors40mmGun
ShootPointSecondary -119 64 -25 core bofors40mmGun
ShootPointSecondary -109 64 -25 core bofors40mmGun
ShootPointSecondary -109 64 25 core bofors40mmGun
ShootPointSecondary -119 64 25 core bofors40mmGun
ShootPointSecondary -160 76 4 core bofors40mmGun
ShootPointSecondary -160 76 -7 core bofors40mmGun
ShootPointSecondary -44 36 32 core bofors40mmGun
ShootPointSecondary -36 36 32 core bofors40mmGun
ShootPointSecondary 4 36 32 core bofors40mmGun
ShootPointSecondary 12 36 32 core bofors40mmGun
ShootPointSecondary 12 36 -32 core bofors40mmGun
ShootPointSecondary 4 36 -32 core bofors40mmGun
ShootPointSecondary -36 36 -32 core bofors40mmGun
ShootPointSecondary -44 36 -32 core bofors40mmGun
ShootPointSecondary -227 25 55 core olerikon20mm
ShootPointSecondary -227 25 -55 core olerikon20mm
ShootPointSecondary 235 25 -55 core olerikon20mm
ShootPointSecondary 235 25 55 core olerikon20mm
------- Inventory ------------------------------------------------------
CargoSlots 16
BombSlots 0
MissileSlots 8
AllowAllAmmo False
AddAmmo 5.25inchShellAA
AddAmmo 12.7cmShellAA
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 10000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 168 124 0 -360 360 -10 65
Passengers 4
Passenger 1 242 77 0 core -140 140 -5 30 15inchGunMkI PassengerGun1
Passenger 2 358 50 1 core -140 140 -5 30 15inchGunMkI PassengerGun2
Passenger 3 -237 76 1 core 40 320 -5 30 15inchGunMkI PassengerGun3
Passenger 4 -347 48 3 core 40 320 -5 30 15inchGunMkI PassengerGun4
GunOrigin 1 253 60 0
GunOrigin 2 355 34 0
GunOrigin 3 -240 60 0
GunOrigin 4 -342 32 0
PassengerAimSpeed 1 0.3 0.5 0
PassengerAimSpeed 2 0.3 0.5 0
PassengerAimSpeed 3 0.3 0.5 0
PassengerAimSpeed 4 0.3 0.5 0
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound TankEngine
StartSoundLength 24
EngineSound CruiserEngine
EngineSoundLength 29
ShootSoundPrimary 10cmShipGun
ShootSoundSecondary 40mmFire
//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 core 640 blockIron 4 metalPropeller 2 bedrock
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 16 green
AddDye 32 gray
//Health and collision
SetupPart core 31999 -300 -40 -50 800 70 120
SetupPart core 31999 -400 -50 -50 900 80 140
SetupPart trailer 31999 -500 -65 -75 1000 90 150
BulletDetection 6
ModelScale 1.5
Description A hitbox hax test ship
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40