Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
Subsystem: ShipComputer
|
||||
Name: #SHIPCOMPUTER_NAME
|
||||
Description: #SHIPCOMPUTER_DESC
|
||||
BaseColor: #ffa4a0
|
||||
Picture: SubsystemButtonArt::8 * #ffa4a0
|
||||
Elevation: 4
|
||||
|
||||
Tags: BaseCost, Category:Control
|
||||
Tags: Control, ControlCore, HasInternals
|
||||
Hull: Flagship, Station
|
||||
|
||||
EvaluationOrder: -10
|
||||
|
||||
Size := HexSize * Hexes
|
||||
Command := Hexes * 8
|
||||
Repair := 4 * HexSize * (Hexes-1)
|
||||
PowerUse := 40 * Size
|
||||
|
||||
Hex.Resistance := 0.2
|
||||
Hex.HP := 18 * HexSize
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Duration := 30
|
||||
EfficiencyBoost := 20 * (Size / ShipSize)
|
||||
|
||||
Effect: ControlCore
|
||||
|
||||
Requires:
|
||||
Power = PowerUse
|
||||
|
||||
Provides:
|
||||
Command = Command
|
||||
|
||||
Module: Default
|
||||
Sprite: HexagonSubsystems::4 * #ffa4a0
|
||||
|
||||
Module: Core
|
||||
Sprite: ComputerCore
|
||||
Hex.HP := 2 * Hex.HP
|
||||
Hex.Resistance := 0.35
|
||||
Hex.BuildCost := 2 * Hex.BuildCost
|
||||
@@ -0,0 +1,61 @@
|
||||
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, MainDPS
|
||||
Hull: Flagship, Station
|
||||
|
||||
Size := HexSize * Hexes
|
||||
|
||||
Range := Size + 500
|
||||
Damage := Size * 0.64
|
||||
Reload := 0.2
|
||||
Speed := 110 * log(Size * 0.075 + 2) / log(2)
|
||||
Spread := 0.04
|
||||
Tracking := 0.4
|
||||
FireArc := 1.5
|
||||
Pierce := 0.6
|
||||
SupplyCost := Size * 1.5
|
||||
PowerUse := 2.5 * Size
|
||||
|
||||
Hex.HP := 18 * HexSize
|
||||
Hex.Resistance := 0.2
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
Power = PowerUse
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Hex.HP := Hex.HP * 3
|
||||
Hex.BuildCost := 5.0 * Hex.BuildCost
|
||||
Hex.Mass := 5.0 * Hex.Mass
|
||||
|
||||
Sprite: Railgun::0
|
||||
DrawMode: 1
|
||||
|
||||
Hex.DamageResist := ShipSize / 64.0
|
||||
Effect: DamageResist
|
||||
Resist = Hex.DamageResist
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user