﻿//---Standard Plane Config for Flans Mod----------
//Created by Minecraft-SMP Toolbox 2.3.0.0


//---Standard-------------------------------------
// Naming
Name SU24-M
ShortName SU24


// Visuals
Model WW3.SU24
ModelScale 1
Icon SU24




//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 metalCockpit 1 vehicleSeat 2 bombBay 1 passengerBay 
AddRecipeParts leftWing 2 metalWingSmall 
AddRecipeParts rightWing 2 metalWingSmall 
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 grey


//Misc

//------------------------------------------------

//---Driveables-----------------------------------
//Visuals
Model WW3.SU24
Texture SkinSU24


//Movement
MaxThrottle 20.0
MaxNegativeThrottle 0.0
Drag 3.0


//Wheels
NumWheels 3
WheelPosition 0 -22 -10 -18
WheelPosition 1 -22 -10 18
WheelPosition 2 64 -10 0
WheelSpringStrength 0.125


//Floating



//Ammo
AllowAllAmmo false
AddAmmo MinigunAmmo
AddAmmo ExplosivVulcanAmmo
AddAmmo FAB-250M-54
//Weapons
Primary GUN
Secondary Bomb
ShootDelayPrimary 1
ShootDelaySecondary 5
AlternatePrimary False
AlternateSecondary False
ModePrimary FULLAuto
ModeSecondary FullAuto
ShootPointPrimary 135 10 0 nose minigun
ShootPointSecondary 0 0 -15 core 
ShootPointSecondary 0 0 15 core 


CargoSlots 2
BombSlots 2
MissileSlots 0
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000



//Driver and Passengers
Pilot 80 30 0
Passengers 0






//Health and Collision
SetupPart core 6000 -85 15 -33 200 45 66
SetupPart nose 600 115 15 -17 55 25 34
SetupPart tail 750 -190 30 -10 105 80 20
SetupPart rightWing 1000 -75 40 33 55 10 120
SetupPart leftWing 1000 -75 40 -153 55 10 120
CollisionPoint 174 20 0 nose
CollisionPoint -39 40 -150 leftWing
CollisionPoint -40 40 150 rightWing
BulletDetection 5


//Misc
CameraDistance 16.0


//Sounds
StartSound propStart
StartSoundLength 20
ShootSoundPrimary stenShoot
ShootSoundSecondary bazookaShoot

//------------------------------------------------

//---Plane----------------------------------------
//Flying Mode
Mode PLANE


//Movement
TurnLeftSpeed 2.0
TurnRightSpeed 2.0
LookUpSpeed 2.0
LookDownSpeed 2.0
RollLeftSpeed 2.0
RollRightSpeed 2.0




//Misc
RestingPitch 5.0


//Propeller
Propeller 0 -40 -21 38 rightWing metalPropeller
Propeller 1 -34 -21 76 rightWing metalPropeller
Propeller 2 -34 -21 -74 leftWing metalPropeller
Propeller 3 -40 -21 -37 leftWing metalPropeller


//Sound
PropSoundLength 89
PropSound Jet_fly

//------------------------------------------------