﻿//---Standard-------------------------------------
// Naming
Name Castellanus MG
ShortName dwCastellanusMG
Description Skymare Corporation_Aegis Aviation_[MG Gunship]

//Misc
Mode Heli
RestingPitch 0.0
HasGear True

// Visuals
Model dwvehicles.CastellanusMG
Texture SMCvehicle_Castellanus_armed
Icon CastellanusMG
//ModelScale 0.9
CameraDistance 17.0

//Movement
MaxThrottle 5.0
MaxNegativeThrottle 0.0
Drag 1.0

//Wheels
NumWheels 3
WheelPosition 0 -47 -23 -19
WheelPosition 1 -47 -23 19
WheelPosition 2 81 -23 0
WheelSpringStrength 0.125

//Driver and Passengers
Pilot 89 24 -12
Passengers 7
Passenger 1 89 24 12 core -45 45 -45 45 dwAirmareMinigun Gunner
GunOrigin 1 115 7 0
Passenger 2 2 20 -8 core -180 180 -45 45 dwAirmare LeftTurret
GunOrigin 2 0 5 -35
Passenger 3 2 20 8 core -180 180 -45 45 dwAirmare RightTurret
GunOrigin 3 0 5 35
Passenger 4 -21 24 -16 core
Passenger 5 -41 24 -16 core
Passenger 6 -21 24 16 core
Passenger 7 -41 24 16 core

//Inventory Slots
CargoSlots 8
BombSlots 0
MissileSlots 0
FuelTankSize 4000

//Sounds
StartSound _Castellanus_Start
StartSoundLength 90
ShootSoundPrimary PlaneShoot
ShootSoundSecondary bomb
PropSoundLength 65
PropSound _Castellanus_Flight

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

//Weapon types. Options are Missile, Bomb, Gun, Shell, None
Primary None
Secondary None
ShootDelayPrimary 20
ShootDelaySecondary 2
AlternatePrimary True
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto

AllowAllAmmo False

//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear

//Propeller <ID> <x> <y> <z> <planePart> <recipeItem>
HeliPropeller 0 54 0 0 core dwPropeller

//Health, Collision and Recipe
SetupPart core 1200 -108 -6 -23 225 70 48
SetupPart tail 700 -198 41 -19 88 48 38
SetupPart leftWing 1000 -16 45 -107 48 36 84
SetupPart rightWing 1000 -16 45 25 48 36 84

AddDye 10 blue
AddRecipeParts core 1 dwAircraftFrame 6 dwSeat 2 dwTerminalModule 3 dwWheelAir 1 dwVehicleMachineGun 14 dwKipliteSheet
AddRecipeParts tail 1 dwWing 2 dwKipliteSheet
AddRecipeParts leftWing 2 dwWing 4 dwKipliteSheet
AddRecipeParts rightWing 2 dwWing 4 dwKipliteSheet
