// ------------------------------------------------------ Naming ------------------------------------------------------
Name Nimbus Type-C (20mm Madsen)
ShortName nimbusTypeC20mm
ItemID 23287
// ------------------------------------------------------ Visuals ------------------------------------------------------
Icon nimbusTypeC20mm
Model rainfire.NimbusTypeC20mm
Texture SkinNimbusTypeC20mm
//Third Person Camera Distance
CameraDistance 8.0
// ------------------------------------------------------ Movement ------------------------------------------------------
//Throttle
MaxThrottle 1.6
MaxNegativeThrottle 0.5
//Steering modifiers
TurnLeftSpeed 1.0
TurnRightSpeed 1.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 -25 -9 17
WheelPosition 1 -25 -9 -2
WheelPosition 2 10 -9 -2
WheelPosition 3 10 -9 17
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank false
// ------------------------------------------------------ Weaponry ------------------------------------------------------
//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary None
Secondary None
//Time between shots in 1/20ths of seconds
ShootDelayPrimary 5
ShootDelaySecondary 0
//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
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 4
BombSlots 0
MissileSlots 0
AllowAllAmmo False
AddAmmo boforsAmmo
AddAmmo bofors57Ammo
AddAmmo testGrenade
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 500
// ------------------------------------------------------ Passengers ------------------------------------------------------
Driver -11 5 -1
Passengers 1
Passenger 1 -23 7 -1 core 1 1 -10 45 olerikon20mm PassengerGun1
GunOrigin 1 -30 -8 9
// ------------------------------------------------------- Sounds -------------------------------------------------------
StartSound NimbusIdle
StartSoundLength 120
EngineSound NimbusGo
EngineSoundLength 60
ShootSoundPrimary Bofors57mmFire
//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 1 blockIron 2 vehicleSeat
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 gray
//Health and collision
SetupPart core 200 -29 -6 -16 33 17 19
BulletDetection 8
ModelScale 1.0
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.2
CollisionDamageTimes 100
RotateWheels True
Description Get a friend and destroy things with this 20mm autocannon!