Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
Subsystem: HyperLaser
|
||||
Name: #S_HYPERLASER
|
||||
Description: #S_HYPERLASER_DESC
|
||||
BaseColor: #f9394d
|
||||
TypeColor: #f9394d
|
||||
Picture: SubsystemButtonArt::7
|
||||
Elevation: 2
|
||||
|
||||
Tags: BaseCost
|
||||
Tags: BeamBase, Rotatable, Category:Weapons
|
||||
Tags: ExteriorCore, Weapon, IsBeamWeapon, HasInternals, MainDPS
|
||||
Hull: Flagship, Station
|
||||
|
||||
Size := HexSize * Hexes
|
||||
BeamDPS := 15.0 * Size
|
||||
Duration := 1.5
|
||||
Cooldown := 6
|
||||
Range := Size + 350
|
||||
Tracking := 0.5
|
||||
SupplyCost := Size * 4.5
|
||||
PowerUse := 10 * Size
|
||||
|
||||
Hex.HP := 12 * HexSize
|
||||
Hex.Resistance := 0.2
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
Power = PowerUse
|
||||
|
||||
Module: Default
|
||||
Hex.BuildCost := Hex.BuildCost * 2
|
||||
|
||||
Module: Core
|
||||
Hex.HP := Hex.HP * 2
|
||||
Hex.BuildCost := Hex.BuildCost * 5
|
||||
Hex.Mass := Hex.Mass * 5
|
||||
|
||||
Sprite: HyperdenseLaser::0
|
||||
DrawMode: 1
|
||||
|
||||
Hex.DamageResist := ShipSize / 64.0
|
||||
Effect: DamageResist
|
||||
Resist = Hex.DamageResist
|
||||
|
||||
Effector: PurpleLaser
|
||||
Range = Range
|
||||
DPS = BeamDPS
|
||||
Duration = Duration
|
||||
Cooldown = Cooldown
|
||||
Tracking = Tracking
|
||||
SupplyCost = SupplyCost * Duration
|
||||
@@ -0,0 +1,60 @@
|
||||
Subsystem: MuonBattery
|
||||
Name: #MUONBATTERY_NAME
|
||||
Description: #MUONBATTERY_DESC
|
||||
BaseColor: #f549f6
|
||||
TypeColor: #f549f6
|
||||
Elevation: 2
|
||||
|
||||
Tags: BaseCost, Category:Weapons
|
||||
Tags: WeaponBase, Rotatable, HexLimitArc
|
||||
Tags: ExteriorCore, Weapon, IsProjWeapon, IsRailgun, HasInternals, MainDPS
|
||||
Hull: Flagship, Station
|
||||
|
||||
Size := HexSize * Hexes
|
||||
|
||||
Range := Size + 400
|
||||
Damage := Size * 0.49
|
||||
Reload := 0.2
|
||||
Speed := 90 * log(Size * 0.075 + 2) / log(2)
|
||||
Spread := 0.04
|
||||
Tracking := 0.4
|
||||
FireArc := 1.5
|
||||
Pierce := 1.15
|
||||
SupplyCost := Size * 1.5
|
||||
PowerUse := 3.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 * 2
|
||||
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