56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
Subsystem: RailgunBattery
|
|
Name: #RAILBATTERY_NAME
|
|
Description: #RAILBATTERY_DESC
|
|
BaseColor: #c5f946
|
|
TypeColor: #c5f946
|
|
Picture: SubsystemButtonArt::2
|
|
Elevation: 2
|
|
|
|
Tags: BaseCost, Category:Weapons
|
|
Tags: WeaponBase, Rotatable, HexLimitArc
|
|
Tags: ExteriorCore, Weapon, DefaultUnlock, IsProjWeapon, IsRailgun, HasInternals
|
|
Hull: Flagship, Station
|
|
|
|
Size := HexSize * Hexes
|
|
|
|
Range := Size + 350
|
|
Damage := Size * 0.64
|
|
Reload := 0.2
|
|
Speed := 75 * log(Size * 0.075 + 2) / log(2)
|
|
Spread := 0.07
|
|
Tracking := 0.4
|
|
FireArc := 1.5
|
|
Pierce := 0.6
|
|
SupplyCost := Size * 1.5
|
|
|
|
Hex.HP := 18 * HexSize
|
|
Hex.Resistance := 0.2
|
|
Hex.Mass := HexSize
|
|
|
|
Requires:
|
|
Command = 1
|
|
Power = 2.5 * Size
|
|
|
|
Module: Default
|
|
|
|
Module: Core
|
|
Hex.HP := Hex.HP * 2
|
|
Hex.BuildCost := 5.0 * Hex.BuildCost
|
|
Hex.Mass := 5.0 * Hex.Mass
|
|
|
|
Sprite: HexagonSubsystems::1
|
|
|
|
Effector: Railgun
|
|
Range = Range
|
|
Damage = Damage
|
|
Reload = Reload
|
|
Speed = Speed
|
|
Tracking = Tracking
|
|
Spread = Spread
|
|
FireArc = FireArc
|
|
TargetTolerance = max(pi,FireArc + pi/4)
|
|
FireTolerance = Spread * 3
|
|
Pierce = Pierce
|
|
SupplyCost = SupplyCost * Reload
|
|
CapOnTarget = 24
|