SHIP

name:          Berents
display_name:  Berents
class:         Frigate
description:   "The FF-922 BERENTS class frigates fulfill a Protection of Shipping (POS) mission providing anti-fighter cover for amphibious expeditionary forces, underway replenishment groups and merchant convoys.  The Berents class anti-fighter weapons complement includes two forward plus one aft Phalanx PDB mounts, along with a pair of Mark VII interceptor launchers.  The Berents class was also recently upgraded to include a heavy plasma cannon battery for use against harder targets."

hud_icon:   "BerentsHud.pcx"

detail_0:   "Frigate_1opt.mag"
feature_0:  1000
detail_1:   "Frigate_3opt.mag"
feature_1:  40


mass:       8.2e3
agility:    4
vlimit:     320
roll_rate:  8
integrity:  20e3
scale:      2.5
acs:        1

trans_x:     75e3
trans_y:     25e3
trans_z:     75e3

arcade_drag: 2e-2
drag:       1e-6
roll_drag:  1.2
pitch_drag: 1.2
yaw_drag:   1.2

chase:      (0, -1e3, 200)
bridge:     (0, 216,   34)

power:      {
   type:             Fusion,
   design:           "Fusion Reactor",
   max_output:       3e3,

   loc:              (0, 0, -60),
   size:             48,
   hull_factor:      0.6,
   explosion:        7
}

drive:      {
   type:             Plasma,
   name:             "Plasma Drive",
   design:           "Plasma Drive",
   thrust:           750,
   scale:            2,
   port:             (-19,19,-400),
   port:             ( 19,19,-400),
   port:             (-19, 4,-400),
   port:             ( 19, 4,-400),

   loc:              (0, 0, -100),
   size:             32,
   hull_factor:      0.5,
   explosion:        7
}

thruster: {
   design:           Thruster

   loc:              (0, 0, 64)
   size:             24,
   hull_factor:      0.3
   scale:            1.5

   port_left:   {loc:( -37,  24,-268), fire: 0x0041}
   port_left:   {loc:( -44,  13, 268), fire: 0x0081}

   port_right:  {loc:(  37,  24,-268), fire: 0x0082}
   port_right:  {loc:(  44,  13, 268), fire: 0x0042}

   port_fore:   {loc:( -94,  20,  70), fire: 0x0044}
   port_fore:   {loc:( -84,  20,  70), fire: 0x0044}
   port_fore:   {loc:(  84,  20,  70), fire: 0x0084}
   port_fore:   {loc:(  94,  20,  70), fire: 0x0084}

   port_aft:    {loc:( -94,  20,-124), fire: 0x0088}
   port_aft:    {loc:( -84,  20,-124), fire: 0x0088}
   port_aft:    {loc:(  84,  20,-124), fire: 0x0048}
   port_aft:    {loc:(  94,  20,-124), fire: 0x0048}

   port_top:    {loc:( -21,  35,-335), fire: 0x0110}
   port_top:    {loc:(  23,  35,-335), fire: 0x0110}

   port_bottom: {loc:( -21, -23,-335), fire: 0x0220}
   port_bottom: {loc:(  23, -23,-335), fire: 0x0220}

   port_top:    {loc:( -89,  38,  36), fire: 0x0410}
   port_top:    {loc:( -89,  38, -90), fire: 0x0410}

   port_top:    {loc:(  89,  38,  36), fire: 0x0810}
   port_top:    {loc:(  89,  38, -90), fire: 0x0810}

   port_top:    {loc:( -29,  33, 255), fire: 0x0210}
   port_top:    {loc:(  29,  33, 255), fire: 0x0210}

   port_bottom: {loc:( -89,   6,  36), fire: 0x0820}
   port_bottom: {loc:( -89,   6, -90), fire: 0x0820}

   port_bottom: {loc:(  89,   6,  36), fire: 0x0420}
   port_bottom: {loc:(  89,   6, -90), fire: 0x0420}

   port_bottom: {loc:( -29, -32, 255), fire: 0x0120}
   port_bottom: {loc:(  29, -32, 255), fire: 0x0120}
}

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


shield:     {
   type:             2,
   design:           "Grav Shield",
   factor:           0.05,
   consumption:      2000,
   model:            "Frigate_Shield.mag",
   bolt_hit_sound:   "shield_hit4.wav",
   beam_hit_sound:   "shield_hit5.wav",

   pcs:              100,
   loc:              (0, 20, -80),
   size:             16,
   hull_factor:      0.5
}

weapon:     {
   type:             "Plasma Cannon",
   design:           "Bolt Weapon",
   name:             "Plasma Cannon",
   abrv:             "Plasma",
   group:            "Main",

   loc:              ( 0, 0, 300),
   muzzle:           ( 0, 4, 333),

   size:             24,
   hull_factor:      0.3
}

weapon:     {
   type:             "Mk7 Interceptor",
   design:           "Missile Weapon",
   name:             "Interceptor 1",
   abrv:             "MK7-1",
   muzzle:           (-33, 33, 233),
   azimuth:          -0.15,

   loc:              (-33,  0, 220),
   size:             16,
   hull_factor:      0.3
}

weapon:     {
   type:             "Mk7 Interceptor",
   design:           "Missile Weapon",
   name:             "Interceptor 2",
   abrv:             "MK7-2",
   muzzle:           ( 33, 33, 233),
   azimuth:          0.15,

   loc:              ( 33,  0, 220),
   size:             16,
   hull_factor:      0.3
}

weapon:     {
   type:             "Phalanx Cannon",
   design:           "Bolt Weapon",
   name:             "Fwd Cannon",
   abrv:             "Phalanx",
   group:            "FWD PDB",

   loc:              ( 88,36, -22),

   size:             24,
   hull_factor:      0.3
}
weapon:     {
   type:             "Phalanx Cannon",
   design:           "Bolt Weapon",
   name:             "Fwd Cannon",
   abrv:             "Phalanx",
   group:            "FWD PDB",

   loc:              (-88,36, -22),

   size:             24,
   hull_factor:      0.3
}

weapon:     {
   type:             "Phalanx Cannon",
   design:           "Bolt Weapon",
   name:             "Aft Cannon",
   abrv:             "Phalanx",
   group:            "AFT PDB",

   loc:              (  0,-26,-190),
   azimuth:          3.1415927,

   size:             24,
   hull_factor:      0.3
}


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

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

power:      {
   type:             Battery,
   design:           Battery,
   max_output:       250
}

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

   loc:              (0, 0, 180),
   size:             16,
   hull_factor:      0.1
}

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
}


death_spiral: {
   time:             5,

   explosion_type:   10,   // SMALL_EXPLOSION
   explosion_time:   2,
   explosion_loc:    (-50, 50, 0),

   explosion_type:   10,   // SMALL_EXPLOSION
   explosion_time:   1,
   explosion_loc:    (60, 40, 190),

   explosion_type:   10,   // LARGE_BURST
   explosion_time:   0.5,
   explosion_loc:    (0, -48, -180),

   explosion_type:   10,   // SMALL_EXPLOSION
   explosion_time:   0,
   explosion_loc:    (20, 80, -190),

   final_type:       11,   // LARGE_EXPLOSION
   final_loc:        (0, 0, 0),

   final_type:       12,   // LARGE_BURST
   final_loc:        (0, 0, 0),

   debris:           "Debris0A.mag",
   debris_loc:       (0,0,-50),
   debris_mass:      5,
   debris_count:     25,
   debris_life:      15,

   debris:           "Debris0B.mag",
   debris_loc:       (0,0,60),
   debris_mass:      4,
   debris_count:     20,
   debris_life:      15,

   debris:           "Debris0C.mag",
   debris_loc:       (0,0,0),
   debris_mass:      1,
   debris_count:     10,
   debris_life:      15,
}

map: {
   sprite: "BerentsMap0.pcx",
   sprite: "BerentsMap1.pcx",
   sprite: "BerentsMap2.pcx",
   sprite: "BerentsMap3.pcx",
   sprite: "BerentsMap4.pcx",
   sprite: "BerentsMap5.pcx",
   sprite: "BerentsMap6.pcx",
   sprite: "BerentsMap7.pcx"
}


