// ------------------------------------------------------ Naming ------------------------------------------------------
Name CSS H.L. Hunley
ShortName cssHunley
ItemID 7464
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon cssHunley
Model rainfire.Hunley
Texture SkinHunley
//Third Person Camera Distance
CameraDistance 10.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 0.116
MaxNegativeThrottle 0.1
//Steering modifiers
TurnLeftSpeed 0.2
TurnRightSpeed 0.2
Drag 1.5
//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 -50 -9 -8
WheelPosition 1 -50 -9 8
WheelPosition 2 43 -9 8
WheelPosition 3 43 -9 -8
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
canDive true
DiveSpeed 0.8
SurfaceSpeed 0.7
//160 is about one second
oxygen 2400
maxOxygen 2400
MaxDepth 8
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary Shell
Secondary None
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 200
ShootDelaySecondary 3
//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 169 -8 0 core
FixedPrimary true
PrimaryAngle 1 0 0

------- Inventory ------------------------------------------------------
CargoSlots 4
BombSlots 0
MissileSlots 1
AllowAllAmmo False
AddAmmo genericTorpedoSpar
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2000
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver 34 -18 0
Passengers 1
Passenger 1 -32 -18 0 core
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound Engine
StartSoundLength 25
EngineSound RealEngineStart
EngineSoundLength 40
ShootSoundPrimary bomb
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 16 blockIron
//Health and collision
SetupPart core 640 -32 -11 -17 66 12 34
BulletDetection 6
ModelScale 1.5
Description The first submarine used in combat and sunk ship._Is extremely slow so use with caution.
Boat
PlaceableOnLand False
PlaceableOnWater True
FloatOnWater True
WheelStepHeight 0
Buoyancy 0.08
IsExplosionWhenDestroyed false
CollisionDamageEnable true
CollisionDamageThrottle 0.35
CollisionDamageTimes 40
RotateWheels True