Orion Pirate template and generation of ships
(→Races templating) |
(→shiplist template file changes) |
||
Line 50: | Line 50: | ||
* OrionCamboro | * OrionCamboro | ||
** 70% Mirak/Kzinti, 20% Fed and Lyran | ** 70% Mirak/Kzinti, 20% Fed and Lyran | ||
+ | |||
+ | |||
=== shiplist template file changes === | === shiplist template file changes === |
Revision as of 20:59, 3 May 2011
Contents |
Introduction
The pirates in OP .. are crappy. They aren't accurate. They have crappy and sometimes inacurate weapon choices. I CAN do better.
The plan: to create templates based on the SFB SSDs where the option mounts are clearly marked, and coded in each item's cost, effect, etc. I will effectively generate the pirates from data entered. The pirate templates will be accurate, and the many many ships generated from each template will also be, with the correct BPV adjustment, weapons and systems.
Process
- create a template shiplist file for pirates.
- set up placeholders for weapon option mounts
- use MAULER for centerline hull option mounts
- ie: if the SSD shows 3 centerline options, set up 3 maulers FA in a single mountpoint
- use ESG lance for wing mounts
- use Heavy (X) Photon for HDW rear weapons
- use MAULER for centerline hull option mounts
- add up the BPV except for the weapons and save the ship
Races templating
- use race Orion for generic pirates
- use OrionOrion for fighter carriers
- use OrionTigerHeart as race for PFTs
Orion Weapons sources
To paraphrase the SFB rules, a pirate fleet must have at least 70% of its weapons from the local empire. 20% can come from the neighbour empires and the 10% can be from anywhere. Additionally, any pirate ship may choose to pay for a cloaking device. I have automated the OAKDISC cost and settings based on loadouts.
- Orion (generic SFC2-EAW pirate race)
- whatever weapons. It should be a random selection
- the basic 'Orion' race is still used by a lot of Dynaverse scripts!
- OrionOrion
- 70% Fed, 20% Rom and Klingon.
- OrionKorgath
- 70% Klingon, 20% Fed and Hydran
- OrionPrime
- 70% Romulan, 20% Fed and ISC
- OrionTigerHeart
- 70% Lyran, 20% Klingon and Mirak/Kzinti
- OrionBeastRaiders
- 70% Hydran, 20% Klingon and Lyran
- OrionSyndicate
- 70% Gorn, 20% Fed and Romulan
- OrionWyldeFire
- 70% ISC, 20% Romulan and Gorn. (Plasmas.. and more plasmas? Oh, and some phasers)
- OrionCamboro
- 70% Mirak/Kzinti, 20% Fed and Lyran
shiplist template file changes
- added 4 new columns that will disapeer when inserting the ship into the shiplist with script
- cloak BPV cost
- cloak cost
- OAKDISC cost
- cost to switch droneracks to PLaD (only for plasma cartels)
- Generic pirate ships are in Orion race. (O-)
- ships with fighters are in OrionOrion race. (X-)
- ships with PFs are in the OrionTigerHeart race. (T-)
- this is why sometimes you'll see 2 versions of the same ship: with fighters or with PFs.
Option Mount weapon data
The option mounts data (Annexes #8B and #8H) is coded in and ready to be used.
Annex 8B Weapons (Orion Option Mounts data)
List of valid weapons
- ADD12
- ADD6
- Dis1
- Dis1PF
- Dis2
- Dis3
- Dis3X
- Dis4
- Dis4X
- DroA
- DroB
- DroC
- DroG
- DroGX
- ESG
- Fus
- HB
- PLaD
- PLaF
- PLaF_no_swivel
- PLaG
- PLaG_no_swivel
- PLaL
- PLaM
- PLaR
- PLaS
- PLaSX
- PLaS_no_swivel
- PPD
- Ph1
- Ph2
- Ph3
- PhG
- PhX
- Phot
The following data points are coded:
- weapon: the actual SFC weapon for use in the shiplist
- this may be different than the name in the entry. For example, there's 2 Disruptor-30 entries: Dis3 and Dis3X. The biggest difference here is that Dis3X is for advanced technology ships, and has a minimum sizeclass of 4 (instead of 3).
- BPV: the BPV adjustment for buying this weapon for your ship
- this value is based on the Annex8B data, but may have been modified and adapted for SFC
- ie: All disruptors are +1 BPV because there are no UIM burnouts, and there's free UIM for everyone.
- size: the size of the weapon.
- some weapons take more than 1 option mount. They require multiple adjescent slots. ie: PLaG, PLaS, PPD, ESG..
- if undefined, assume default of '1'
- centerline_only: defines if this weapon can only be mounted in a centerline option mount
- if undefined, assume default of 0 (no)
- min_sizeclass: defines the smallest sizeclass that can use this weapon in an option mount
- if undefined, assume default of '5'. (PF-sized)
- swivel: this is for Plasma weapons.
- if not defined, assume default of '1'. (yes)
- xtech: this weapon requires the ship to have advanced technology
- if not defined, assume a default of '0'. (no)
- needs_add: indicates that an ADD will need to be installed if installing this weapon
- this is for DroG and DroGX entries.
- if undefined, assume default of 0 (no)
example code:
"PLaS_no_swivel" => { 'weapon' => 'PLaS', 'BPV' => 4, 'centerline_only' => 1, 'size' => 2, 'swivel' => 0, 'min_sizeclass' => 3, }, "PLaS" => { 'weapon' => 'PLaS', 'BPV' => 7, 'centerline_only' => 1, 'size' => 2, 'min_sizeclass' => 3, },
Annex 8B Systems (systems installed into Orion weapon option mounts)
List of valid systems that work with standard Orion Options:
- APR
- AuxControl
- Barracks
- Battery
- Cargo
- CenterHull
- ForwardHull
- Lab
- Probe5
- RearHull
- Repair
- SpecialSensor
- Tractor
- Transporter
- X-Battery
The following data points are coded:
- centerline_only: defines if this weapon can only be mounted in a centerline option mount
- if undefined, assume default of 0 (no)
- BPV: the BPV adjustment for buying this weapon for your ship
- this value is based on the Annex8B data, but may have been modified and adapted for SFC
- xtech: this weapon requires the ship to have advanced technology
- if not defined, assume a default of '0'. (no)
- column: since we tell the shiplist we're setting up a specific SYSTEM to a specific mount, we need to increase the system's column in the shiplist. Here, tell it the column number. The first column starts at 0.
- ie: AuxControl is column # 133.
- add_boarding_parties: used if adding Barracks. Tells the script to increase the # of marines.
- Default is 0.
example code:
"AuxControl" => { 'centerline_only' => 1, 'column' => 133, 'BPV' => 0, },
Usage example: (APR)
"X-HDW3" => { 'template' => 'X-HDW', 'race' => 'OrionOrion', 'cloak' => 1, 'systems' => { 'APR' => { 'num' => '2', 'ref' => 51, }, }, 'options' => { 57 => { 'weapon' => 'Phot', 'num' => '1', 'arc_reload' => 'FA', 'ref' => 27, }, 60 => { 'weapon' => 'Phot', 'num' => '1', 'arc_reload' => 'FA', 'ref' => 30, }, 33 => { 'weapon' => 'Phot', 'num' => '1', 'arc_reload' => 'RA', 'ref' => 33, }, 36 => { 'weapon' => 'Phot', 'num' => '1', 'arc_reload' => 'RA', 'ref' => 36, }, }, },
Annex 8H Weapons (HDW Weapon Option Mounts data)
List of valid HDW rear-facing weapons
- ADD12
- ADD6
- Dis2
- Dis3X
- DroA
- DroB
- DroC
- DroG
- DroGX
- Fus
- HB
- PLaD
- PLaF_no_swivel
- PLaG_no_swivel
- PLaL
- Ph1
- Ph2
- Ph3
- PhG
- PhX
- Phot
The following data points are coded:
- weapon: the actual SFC weapon for use in the shiplist
- this may be different than the name in the entry. For example, there's 2 Disruptor-30 entries: Dis3 and Dis3X. The biggest difference here is that Dis3X is for advanced technology ships, and has a minimum sizeclass of 4 (instead of 3).
- BPV: the BPV adjustment for buying this weapon for your ship
- this value is based on the Annex8B data, but may have been modified and adapted for SFC
- ie: All disruptors are +1 BPV because there are no UIM burnouts, and there's free UIM for everyone.
- size: the size of the weapon.
- some weapons take more than 1 option mount. They require multiple adjescent slots. ie: PLaG, PLaS, PPD, ESG..
- if undefined, assume default of '1'
- min_sizeclass: defines the smallest sizeclass that can use this weapon in an option mount
- if undefined, assume default of '5'. (PF-sized)
- swivel: this is for Plasma weapons.
- if not defined, assume default of '1'. (yes)
- xtech: this weapon requires the ship to have advanced technology
- if not defined, assume a default of '0'. (no)
- needs_add: indicates that an ADD will need to be installed if installing this weapon
- this is for DroG and DroGX entries.
- if undefined, assume default of 0 (no)
- is_heavy: set to 1 if it's indeed a heavy weapon.
- If not defined, default is 0.
- hydran_escort_only: For PhG -- can only be installed onto Hydran escort
example code:
"Dis2" => { 'weapon' => 'Dis2', 'BPV' => 4, 'is_heavy' => 1, }, "Dis3X" => { 'weapon' => 'Dis3', 'BPV' => 5, 'is_heavy' => 1, 'xtech' => 1, },
Annex 8H Systems (HDW NWO Mounts data)
List of valid Non-Weapon options:
- AuxControl
- Barracks
- Cargo
- CenterHull
- FighterBay
- FlagBridge
- ForwardHull
- Lab
- Probe10
- Probe5
- RearHull
- Repair
- ShuttleBay
- Tractor
- Tractor-mechlink
- Transporter
The following data points are coded:
- BPV: the BPV adjustment for buying this weapon for your ship
- this value is based on the Annex8B data, but may have been modified and adapted for SFC
- xtech: this weapon requires the ship to have advanced technology
- if not defined, assume a default of '0'. (no)
- column: since we tell the shiplist we're setting up a specific SYSTEM to a specific mount, we need to increase the system's column in the shiplist. Here, tell it the column number. The first column starts at 0.
- ie: AuxControl is column # 133.
- add_boarding_parties: used if adding Barracks. Tells the script to increase the # of marines.
- Default is 0.
- add_mechlink: used if not only adding a tractor, but it's a mechlink. (PFT)
- Default is 0.
- add_shuttle_base: Add to the basic number of shuttles. (NOT CURRENTLY USED)
- default is 0.
example code:
"AuxControl" => { 'column' => 133, 'BPV' => 1, },