﻿//---Standard-------------------------------------
// Naming
Name Castellanus RKT
ShortName dwCastellanusR
Description Skymare Corporation_Aegis Aviation_[Rocket Gunship]

//Misc
Mode Heli
RestingPitch 0.0
HasGear True

// Visuals
Model dwvehicles.CastellanusR
Texture SMCvehicle_Castellanus_rocket_navydark
Icon CastellanusRKT
//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 17 -12
Passengers 4
Passenger 1 89 17 12 core -45 45 -45 45 dwAirmareMinigun PassengerGun1
GunOrigin 1 115 7 0
Passenger 2 -1 17 16 core
Passenger 3 -1 17 -16 core
Passenger 4 -21 17 16 core

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

//Sounds
StartSound _Castellanus_Start
StartSoundLength 90
ShootSoundPrimary _Castellanus_RocketFire
ShootSoundSecondary _Altostratus_CannonFire
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 Gun
Secondary Missile
ShootDelayPrimary 20
ShootDelaySecondary 2
AlternatePrimary True
AlternateSecondary True
//Firing modes. One of SemiAuto, FullAuto or Minigun
ModePrimary FullAuto
ModeSecondary FullAuto

AllowAllAmmo False
AddAmmo dwSkyfireMlAmmo

//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
ShootPointPrimary 35 47 40 rightWing dwSkyfireRl
ShootPointPrimary 35 47 60 rightWing dwSkyfireRl
ShootPointPrimary 35 47 -38 leftWing dwSkyfireRl
ShootPointPrimary 35 47 -61 leftWing dwSkyfireRl
ShootPointSecondary 0 95 35 core 
ShootPointSecondary 0 95 -34 core 

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

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

AddDye 10 blue
AddRecipeParts core 1 dwAircraftFrame 5 dwSeat 2 dwTerminalModule 3 dwWheelAir 1 dwVehicleRocket 18 dwKipliteSheet
AddRecipeParts tail 1 dwWing 2 dwKipliteSheet
AddRecipeParts leftWing 2 dwWing 4 dwKipliteSheet
AddRecipeParts rightWing 2 dwWing 4 dwKipliteSheet
