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


//---Standard-------------------------------------
// Naming
Name A-20G
ShortName A-20G


// Visuals
Model WW3.A20G
ModelScale 1.3
Icon A-20G


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


//Misc

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

//---Driveables-----------------------------------
//Visuals
Model WW3.A20G
Texture SkinA-20G


//Movement
MaxThrottle 3.0
MaxNegativeThrottle 0.0
Drag 2.0


//Wheels
NumWheels 3
WheelPosition 0 37 16 -54
WheelPosition 1 37 16 36
WheelPosition 2 84 11 -9
WheelSpringStrength 0.2


//Floating






//Weapons
Primary Gun
Secondary Bomb
ShootDelayPrimary 1
ShootDelaySecondary 16
AlternatePrimary False
AlternateSecondary False
ModePrimary FullAuto
ModeSecondary SemiAuto
ShootPointPrimary -34 56 11 bay MG42
ShootPointPrimary 129 34 11 nose minigun
ShootPointSecondary -34 0 11 bay 

CargoSlots 16
BombSlots 32
MissileSlots 0
AllowAllAmmo False
AddAmmo MG42Ammo
AddAmmo minigunAmmo
AddAmmo largeBomb
AddAmmo smallBomb
AddAmmo napalm
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 8000


//Driver and Passengers
Pilot 61 31 11
Passengers 1
Passenger 1 -18 37 10 core
GunOrigin 0 26 0 0





//Recipe


//Health and Collision
SetupPart nose 3500 79 19 0 47 30 23
SetupPart core 5500 -4 19 0 83 38 23
SetupPart bay 4000 -56 19 0 52 38 23
SetupPart tail 4000 -127 27 0 70 25 23
SetupPart bay 4000 -119 53 5 45 47 13
SetupPart leftWing 350 -8 40 -108 83 8 106
SetupPart rightWing 350 -8 40 24 83 8 106
SetupPart rightWingWheel 450 26 9 49 16 16 11
SetupPart leftWingWheel 450 26 9 -41 16 16 11
CollisionPoint 125 33 11 nose
CollisionPoint 55 43 -107 leftWing
CollisionPoint 55 43 129 rightWing
CollisionPoint 33 11 -36 leftWingWheel
CollisionPoint 33 11 54 rightWingWheel
CollisionPoint 84 11 10 coreWheel
CollisionPoint 69 37 -35 blades
CollisionPoint 69 37 56 blades
BulletDetection 10


//Misc
CameraDistance 20.0


//Sounds
StartSound propStart
StartSoundLength 20
ShootSoundPrimary MG42Shoot
ShootSoundSecondary bomb

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

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


//Visuals


//Movement
TurnLeftSpeed 2
TurnRightSpeed 2
LookUpSpeed 1
LookDownSpeed 1
RollLeftSpeed 2
RollRightSpeed 2


//Weapon


//Misc
RestingPitch 5.0


//Propeller
Propeller 0 -52 -29 42 core metalPropeller
Propeller 1 -52 -29 -27 core metalPropeller


//Sound
PropSoundLength 49
PropSound LancasterProp

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