SHIP

name:          Broadsword
display_name:  Broadsword
class:         Destroyer
description:   "ship.broadsword"

hud_icon:   "BroadHud.pcx"

detail_0:   "Volnaris_0.mag"
feature_0:  1000
detail_1:   "Broadsword_1opt.mag"
feature_1:  40
detail_2:   "Broadsword_2opt.mag"
feature_2:  20

mass:       27.6e3
agility:    2 //3.5
vlimit:     240
roll_rate:  7
integrity:  25e3
scale:      3.5
acs:        1.2

trans_x:     300e3
trans_y:     100e3
trans_z:     300e3

arcade_drag: 2.5e-2
drag:       6e-7
roll_drag:  1.2
pitch_drag: 1.2
yaw_drag:   1.2

degrees: true

chase:      (0, -1800, 170)
bridge:     (0,   320,  60)

power:      {
   type:             Fusion,
   design:           "Fusion Reactor",
   max_output:       8000,

   loc:              (0, -40, -220),
   size:             64,
   hull_factor:      0.9,
   explosion:        7
}

drive: {
   type:             Yellow
   name:             "Plasma Drive",
   abrv:             Drive
   design:           "Plasma Drive",
   thrust:           1.5e3,
   scale:            7,
   port:             (  0, -51, -398),
   port:             (  0, -96, -351),

   loc:              (  0,   0, -240),
   size:             48,
   hull_factor:      0.5,
   explosion:        7
}

thruster: {
   design:           Thruster,
   type:             Yellow,
   scale:            0.04,
   loc:              (0, -52,0),
   explosion:        8,

// fore reverse	
	port_fore:	{loc:(-159,-24,4),fire:    0x0040},
	port_fore:	{loc:(159,-24,4),fire:     0x0080},

	port_aft:	{loc:(-159,-24,-55),fire:    0x0080},
	port_aft:	{loc:(159,-24,-55),fire:     0x0040},

	port_fore:	{loc:(26,8,-28),fire:      0x0004},
	port_fore:	{loc:(27,1,-28),fire:      0x0004},
	port_fore:	{loc:(-26,8,-28),fire:     0x0004},
	port_fore:	{loc:(-27,1,-28),fire:     0x0004},
	port_fore:	{loc:(-3,-23,-28),fire:    0x0004},
	port_fore:	{loc:(3,-23,-28),fire:     0x0004},

	port_aft:	{loc:(26,8,-79),fire:      0x0008},
	port_aft:	{loc:(27,1,-79),fire:      0x0008},
	port_aft:	{loc:(-26,8,-79),fire:     0x0008},
	port_aft:	{loc:(-27,1,-79),fire:     0x0008},
	port_aft:	{loc:(-3,-23,-79),fire:    0x0008},
	port_aft:	{loc:(3,-23,-79),fire:     0x0008},

// Vertical

	port_top:	{loc:(160,-18,-8),fire:      0x0810},
	port_top:	{loc:(-160,-18,-8),fire:     0x0410},
	port_top:	{loc:(160,-18,-41),fire:     0x0810},
	port_top:	{loc:(-160,-18,-41),fire:    0x0410},	

	port_bottom:	{loc:(160,-29,-8),fire:      0x0420},
	port_bottom:	{loc:(-160,-29,-8),fire:     0x0820},
	port_bottom:	{loc:(160,-29,-41),fire:     0x0420},
	port_bottom:	{loc:(-160,-29,-41),fire:    0x0820},

	port_top:	{loc:(39,-14,-125),fire:     0x0100},	
	port_top:	{loc:(-39,-14,-125),fire:    0x0100},
	port_bottom:	{loc:(-39,-23,-125),fire:    0x0200},	
	port_bottom:	{loc:(39,-23,-125),fire:     0x0200},	

	port_top:	{loc:(39,-5,127),fire:      0x0200},	
	port_top:	{loc:(-39,-5,127),fire:     0x0200},
	port_bottom:	{loc:(-39,-14,127),fire:     0x0100},	
	port_bottom:	{loc:(39,-14,127),fire:     0x0100},

// Side Translantion

	port_right:	{loc:(167,-25,-11),fire:    0x0002},
	port_right:	{loc:(167,-25,-38),fire:    0x0002},

	port_left:	{loc:(-167,-25,-11),fire:    0x0001},
	port_left:	{loc:(-167,-25,-38),fire:    0x0001},

   size:             32,
   hull_factor:      0.8
}

quantum: {
   design:           "Quantum Drive",
   abrv:             "Q-Drive"
   loc:              (0, 0, -120),
   size:             24,
   hull_factor:      0.3
}

shield: {
   type:             2,
   design:           "Grav Shield",
   abrv:             "Shield"
   pcs:              100,
   bolt_hit_sound:   "shield_hit4.wav",
   beam_hit_sound:   "shield_hit5.wav",

   loc:              (0, 0, -60),
   size:             48,
   hull_factor:      0.75
}


power:      {
   type:             "Auxilliary Reactor",
   design:           "Auxilliary Reactor",
   max_output:       4000,

   loc:              (0, 0, -180),
   hull_factor:      0.6
}

weapon:     {
   type:             "XRay Laser",
   design:           "Beam Weapon",
   name:             "XRay Laser 1",
   abrv:             "Laser-1",
   muzzle:           (-55, -33, 470),

   loc:              (-45, -33, 340),
   size:             32,
   hull_factor:      0.2,
   explosion:        7
}

weapon:     {
   type:             "XRay Laser",
   design:           "Beam Weapon",
   name:             "XRay Laser 2",
   abrv:             "Laser-2",
   muzzle:           ( 54, -33, 470),

   loc:              ( 44, -33, 340),
   size:             32,
   hull_factor:      0.2,
   explosion:        7
}

weapon:     {
   type:             "XRay Laser",
   design:           "Beam Weapon",
   name:             "XRay Laser 3",
   abrv:             "Laser-3",
   muzzle:           (-55, -55, 448),

   loc:              (-45, -55, 340),
   size:             32,
   hull_factor:      0.2,
   explosion:        7
}

weapon:     {
   type:             "XRay Laser",
   design:           "Beam Weapon",
   name:             "XRay Laser 4",
   abrv:             "Laser-4",
   muzzle:           ( 54, -55, 448),

   loc:              ( 44, -55, 340),
   size:             32,
   hull_factor:      0.2,
   explosion:        7
}

weapon:     {
   type:             "Nike",
   design:           "Missile Weapon",
   name:             "Missile Array",
   abrv:             "Nike",
   muzzle:           ( -25, -1, 422),
   muzzle:           (   0, -1, 422),
   muzzle:           (  25, -1, 422),

   loc:              (  0, -1,  220),

   size:             80,
   hull_factor:      0.3
}

weapon:     {
   type:             "Rail-5"
   design:           "Bolt Weapon",
   name:             "Rail-1",
   abrv:             "Rail-1",
 
   loc:            (0, 73,-27)

   size:            64,
   hull_factor:      0.8,
   explosion:        6
}

weapon:     {
   type:             "Rail-5"
   design:           "Bolt Weapon",
   name:             "Rail-2",
   abrv:             "Rail-2",

   azimuth:          180
   loc:            (0, 71,-267)

   size:            64,
   hull_factor:      0.8,
   explosion:        6
   }

weapon:     {
   type:             "Helicon",
   design:           "Bolt Weapon",
   name:             "PDB-1",
 
   azimuth:           0.0, 
   elevation:	      0.0,

   aim_az_max:           145.0,
   aim_az_min:          -145.0,

   aim_el_max:           85.0,
   aim_el_min:          -1.0,

   loc:            (-31,81,299),

   size:            64,
   hull_factor:      0.8,
   explosion:        6
}

weapon:     {
   type:             "Helicon",
   design:           "Bolt Weapon",
   name:             "PDB-2",
 
   azimuth:           0.0, 
   elevation:	      0.0,

   aim_az_max:           145.0,
   aim_az_min:          -145.0,

   aim_el_max:           85.0,
   aim_el_min:          -1.0,

   loc:            ( 31,81,299),

   size:            64,
   hull_factor:      0.8,
   explosion:        6
}

weapon:     {
   type:             "Helicon",
   design:           "Bolt Weapon",
   name:             "PDB-3",
 
   azimuth:           180 
   elevation:	     -180.0,

   aim_az_max:        145.0,
   aim_az_min:       -145.0,

   aim_el_max:         85.0,
   aim_el_min:         -1.0,

   loc:            (0, -110,96),

   size:            64,
   hull_factor:      0.8,
   explosion:        6
}

weapon:     {
   type:             "Helicon",
   design:           "Bolt Weapon",
   name:             "PDB-4",
 
   azimuth:           180.0, 
   elevation:	        0.0,

   aim_az_max:        145.0,
   aim_az_min:       -145.0,

   aim_el_max:         85.0,
   aim_el_min:         -1.0,

   loc:            (0, 64,-486),

   size:            64,
   hull_factor:      0.8,
   explosion:        6
}

weapon:     {
   type:             "Helicon",
   design:           "Bolt Weapon",
   name:             "PDB-5",
 
   azimuth:             0.0, 
   elevation:	      180.0,

   aim_az_max:        145.0,
   aim_az_min:       -145.0,

   aim_el_max:         85.0,
   aim_el_min:         -1.0,

   loc:            (0, 14,-486),

   size:            64,
   hull_factor:      0.8,
   explosion:        6
}

probe:     {
   type:    "Sensor Drone",
   design:  "Probe",
   abrv:    "Probe",
   muzzle:  ( 0, -80, 0),

   loc:     (0, -80, 0),
   size:    16,
   hull_factor: 0.2
}

sensor:     {
   design:              Sensor,
   pcs:                 20,
   active_efficiency:   1e6,
   passive_efficiency:  10e3,
   range:    50e3
   range:   100e3
   range:   150e3

   loc:              (0, -16, 380),
   size:             16,
   hull_factor:      0.1
}

power:      {
   type:             Battery,
   design:           Battery,
   abrv:             Batt
   max_output:       100
}

computer:   {
   name:             "Avionics Package",
   abrv:             "HUD",
   type:             1,
   design:           Computer,

   loc:              (20, 16, 80),
   size:             16,
   hull_factor:      0.5
}

computer:   {
   name:             "Flight Computer",
   abrv:             "Flight",
   type:             2,
   design:           Computer,

   loc:              (-20, -16, 80),
   size:             16,
   hull_factor:      0.2
}

nav:        {
   loc:              (0, 16, 60),
   design:           Computer,
   size:             16,
   hull_factor:      0.1
}


map: {
   sprite: "BroadMap0.pcx",
   sprite: "BroadMap1.pcx",
   sprite: "BroadMap2.pcx",
   sprite: "BroadMap3.pcx",
   sprite: "BroadMap4.pcx",
   sprite: "BroadMap5.pcx",
   sprite: "BroadMap6.pcx",
   sprite: "BroadMap7.pcx"
}


death_spiral: {
   time:             5,

   explosion: { type: 10, time: 2.0, loc: (-50,  50,    0) }
   explosion: { type: 10, time: 1.0, loc: ( 60,  40,  190) }
   explosion: { type: 10, time: 0.5, loc: (  0, -48, -180) }
   explosion: { type: 10, time: 0.1, loc: ( 20,  80, -190) }

   explosion: { type: 13, final: true } // Nuke
   explosion: { type: 12, final: true } // Large burst

   debris:    { model: "BroadswordDebris.mag",  loc: (0,0,200),  mass: 28e3, count:  1, life: 380,
                fire:  (60,60,20), fire:  (-60,-30,-10) }
   debris:    { model: "Debris0A.mag",          loc: (0,0,-50),  mass:   55, count: 25, life:  20 }
   debris:    { model: "Debris0B.mag",          loc: (0,0,-50),  mass:   64, count: 20, life:  35 }
   debris:    { model: "Debris0C.mag",          loc: (0,0,0),    mass:   43, count: 15, life:  30 }

}






