Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
Subsystem: SatelliteHull
|
||||
Name: Satellites
|
||||
Tags: DefaultUnlock, NoCore, HullSystem
|
||||
Tags: HeraldsDLC
|
||||
Tags: IsSupport
|
||||
|
||||
Hull: Satellite
|
||||
EvaluationOrder: -100
|
||||
|
||||
HexLimit := 70
|
||||
FreeHexLimit := 0
|
||||
|
||||
GridWidth := 21
|
||||
GridHeight := 17
|
||||
|
||||
TurnThrust = 0.5 * Size
|
||||
|
||||
Ship.ExternalHexes := 0
|
||||
Ship.HexSize := ShipSize / (HexLimit - FreeHexLimit)
|
||||
|
||||
Repair := (ShipSize / HexLimit) * 4
|
||||
|
||||
Hex.LaborCost := 0.07 * ShipSize
|
||||
Hex.BuildCost := 0.75 * ShipSize
|
||||
|
||||
AddShipModifier: BuildCostFactor(0.75)
|
||||
AddShipModifier: LaborCostFactor(0.5)
|
||||
AddShipModifier: tag/Weapon::RangeFactor(2.0)
|
||||
AddShipModifier: tag/MissileBase::RangeFactor(0.65)
|
||||
AddShipModifier: tag/MissileBase::DamageFactor(0.65)
|
||||
AddShipModifier: tag/Weapon::DamageFactor(1.5)
|
||||
AddShipModifier: HpFactor(2.0)
|
||||
|
||||
Hex.Mass := 0
|
||||
AddPostModifier: AddMass(ShipSize * (1.0 - max((ShipTotalHexes - Ship.ExternalHexes) / HexLimit, 0.0)))
|
||||
|
||||
Assert: ShipTotalHexes - Ship.ExternalHexes < Sum.HexLimit + 0.001
|
||||
Message: #ERROR_HEX_COUNT
|
||||
|
||||
OnCheckErrors: designs::checkGlobalDesign
|
||||
|
||||
Assert: Ship.Command > 0
|
||||
Message: #ERROR_NEED_CONTROL
|
||||
|
||||
Modifier: IncreaseHexLimit(Hexes)
|
||||
HexLimit := HexLimit + Hexes
|
||||
FreeHexLimit := FreeHexLimit + Hexes
|
||||
@@ -0,0 +1,34 @@
|
||||
Subsystem: SupportHull
|
||||
Tags: DefaultUnlock, NoCore, HullSystem
|
||||
Tags: IsSupport, SupportShip
|
||||
Hull: Support
|
||||
EvaluationOrder: -100
|
||||
|
||||
HexLimit := 60
|
||||
FreeHexLimit := 0
|
||||
|
||||
GridWidth := 19
|
||||
GridHeight := 16
|
||||
|
||||
Ship.ExternalHexes := 0
|
||||
Ship.HexSize := ShipSize / (HexLimit - FreeHexLimit)
|
||||
|
||||
Repair := (ShipSize / HexLimit) * 4
|
||||
|
||||
Hex.LaborCost := 0.07 * ShipSize
|
||||
Hex.BuildCost := 0.75 * ShipSize
|
||||
|
||||
Hex.Mass := 0
|
||||
AddPostModifier: AddMass(ShipSize * (1.0 - max((ShipTotalHexes - Ship.ExternalHexes) / HexLimit, 0.0)))
|
||||
|
||||
Assert: ShipTotalHexes - Ship.ExternalHexes < Sum.HexLimit + 0.001
|
||||
Message: #ERROR_HEX_COUNT
|
||||
|
||||
OnCheckErrors: designs::checkGlobalDesign
|
||||
|
||||
Assert: Ship.Command > 0
|
||||
Message: #ERROR_NEED_CONTROL
|
||||
|
||||
Modifier: IncreaseHexLimit(Hexes)
|
||||
HexLimit := HexLimit + Hexes
|
||||
FreeHexLimit := FreeHexLimit + Hexes
|
||||
@@ -0,0 +1,30 @@
|
||||
Subsystem: SupportAblativeArmor
|
||||
Name: #ABLATIVEARMOR_NAME
|
||||
Description: #ABLATIVEARMOR_DESC
|
||||
BaseColor: #a9a9b9
|
||||
Elevation: 1
|
||||
|
||||
Tags: NoCore, NonContiguous, DefaultUnlock, Defense, IsArmor, TankArmor
|
||||
Tags: NoWall, Category:Defense, FauxExterior, ExternalSpace
|
||||
Tags: PrimaryArmor
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
|
||||
Ship.ExternalHexes := Ship.ExternalHexes + ExteriorHexes
|
||||
|
||||
Hex.Resistance := 0.5
|
||||
Hex.HP := 40 * HexSize
|
||||
Hex.Mass := 2.5 * HexSize
|
||||
|
||||
Hex.BuildCost := 0.75 * HexSize
|
||||
Hex.LaborCost := 0.14 * HexSize
|
||||
|
||||
DamageResist := ShipSize / 9.0
|
||||
Effect: ReduceDamage
|
||||
ProjResist = DamageResist
|
||||
EnergyResist = DamageResist
|
||||
ExplResist = DamageResist
|
||||
|
||||
Module: Default
|
||||
Sprite: PlateArmor * #9999ff
|
||||
@@ -0,0 +1,32 @@
|
||||
Subsystem: SupportCrystalArmor
|
||||
Name: #S_CRYSTALARMOR
|
||||
Description: #S_CRYSTALARMOR_DESC
|
||||
BaseColor: #ef45ff
|
||||
Elevation: 2
|
||||
|
||||
Tags: NoCore, NonContiguous, Defense, IsArmor, TankArmor
|
||||
Tags: NoWall, Category:Defense, FauxExterior, ExternalSpace
|
||||
Tags: PrimaryArmor, HeraldsDLC
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
|
||||
Ship.ExternalHexes := Ship.ExternalHexes + ExteriorHexes
|
||||
|
||||
Hex.Resistance := 0.5
|
||||
Hex.HP := 200 * HexSize
|
||||
Hex.Mass := 1.5 * HexSize
|
||||
|
||||
Hex.BuildCost := 2.0 * HexSize
|
||||
Hex.LaborCost := 0.35 * HexSize
|
||||
|
||||
DamageResist := ShipSize / 9.0
|
||||
Effect: ReduceDamage
|
||||
ProjResist = DamageResist
|
||||
EnergyResist = DamageResist * 3.0
|
||||
ExplResist = DamageResist
|
||||
|
||||
Effect: SingleUseHexes
|
||||
|
||||
Module: Default
|
||||
Sprite: CrystalArmor
|
||||
@@ -0,0 +1,27 @@
|
||||
Subsystem: SupportLiquidArmor
|
||||
Name: #S_LIQUIDARMOR
|
||||
Description: #S_LIQUIDARMOR_DESC
|
||||
BaseColor: #91692c
|
||||
Picture: SubsystemButtonArt::0
|
||||
Elevation: 1
|
||||
|
||||
Tags: NoCore, NonContiguous, Defense, IsArmor, TankArmor, SpecialCost
|
||||
Tags: NoWall, Category:Defense, FauxExterior, ExternalSpace
|
||||
Tags: PrimaryArmor
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
|
||||
Ship.ExternalHexes := Ship.ExternalHexes + ExteriorHexes
|
||||
|
||||
Hex.Resistance := 0.1
|
||||
Hex.HP := 60 * HexSize
|
||||
Hex.Mass := 2 * HexSize
|
||||
|
||||
Hex.BuildCost := 0.75 * HexSize
|
||||
Hex.LaborCost := 0.14 * HexSize
|
||||
|
||||
Effect: DistributeHealth
|
||||
|
||||
Module: Default
|
||||
Sprite: PlateArmor * #91692c
|
||||
@@ -0,0 +1,24 @@
|
||||
Subsystem: SupportNanoMesh
|
||||
Name: #NANOMESH_NAME
|
||||
Description: #NANOMESH_DESC
|
||||
BaseColor: #a9a9a9
|
||||
Elevation: 1
|
||||
|
||||
Tags: Category:Defense, NoWall, PassExterior
|
||||
Tags: NoCore, NonContiguous, Defense, IsArmor, TankArmor
|
||||
Tags: SecondaryArmor, HeraldsDLC
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
|
||||
Hex.HP := 100 * HexSize
|
||||
Hex.Mass := 1.0 * HexSize
|
||||
|
||||
Hex.BuildCost := 0.90 * HexSize
|
||||
Hex.LaborCost := 0.10 * HexSize
|
||||
|
||||
AddAdjacentModifier: AddHP(Hex.HP / 6.0)
|
||||
AddPostModifier: HpFactor(0.0)
|
||||
|
||||
Module: Default
|
||||
Sprite: NanoMesh
|
||||
@@ -0,0 +1,29 @@
|
||||
Subsystem: SupportPlateArmor
|
||||
Name: #PLATEARMOR_NAME
|
||||
Description: #PLATEARMOR_DESC
|
||||
BaseColor: #a9a9a9
|
||||
Picture: SubsystemButtonArt::0
|
||||
Elevation: 1
|
||||
|
||||
Tags: NoCore, NonContiguous, DefaultUnlock, Defense, IsArmor, TankArmor
|
||||
Tags: NoWall, Category:Defense, FauxExterior, ExternalSpace
|
||||
Tags: PrimaryArmor
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
|
||||
Ship.ExternalHexes := Ship.ExternalHexes + ExteriorHexes
|
||||
|
||||
Hex.Resistance := 0.5
|
||||
Hex.HP := 60 * HexSize
|
||||
Hex.Mass := 2.5 * HexSize
|
||||
|
||||
Hex.BuildCost := 0.75 * HexSize
|
||||
Hex.LaborCost := 0.14 * HexSize
|
||||
|
||||
DamageResist := ShipSize / 19.0
|
||||
Effect: DamageResist
|
||||
Resist = DamageResist
|
||||
|
||||
Module: Default
|
||||
Sprite: PlateArmor
|
||||
@@ -0,0 +1,48 @@
|
||||
Subsystem: AICore
|
||||
Name: #S_AICORE
|
||||
Description: #S_AICORE_DESC
|
||||
BaseColor: #ffa4a0
|
||||
Elevation: 4
|
||||
|
||||
Tags: Control, ControlCore, HasInternals
|
||||
Tags: HeraldsDLC
|
||||
Tags: NoBulkhead, BadFiller, Important
|
||||
Tags: Category:Control
|
||||
Hull: Support, Satellite
|
||||
|
||||
EvaluationOrder: -10
|
||||
|
||||
Size := HexSize * Hexes
|
||||
Command := Hexes * 4
|
||||
|
||||
Repair := 3 * HexSize * (Hexes-1)
|
||||
RepairSupplyCost := 0.25 * Repair
|
||||
out SupplyDrain := RepairSupplyCost
|
||||
|
||||
Hex.Resistance := 0.1
|
||||
Hex.HP := 8 * HexSize
|
||||
Hex.Mass := 0.5 * HexSize
|
||||
|
||||
Hex.LaborCost := 0.03 * HexSize
|
||||
Hex.BuildCost := 1.00 * HexSize
|
||||
|
||||
AddShipModifier: BuildCostFactor(1.25)
|
||||
AddShipModifier: LaborCostFactor(0.75)
|
||||
|
||||
Assert: TagCount.Crewed == 0
|
||||
Message: #ERROR_BRIDGE_AI
|
||||
Unique: True
|
||||
|
||||
Effect: ControlCore
|
||||
|
||||
Provides:
|
||||
Command = Command
|
||||
|
||||
Module: Default
|
||||
Sprite: HexagonSubsystems::4 * #ffa4a0
|
||||
|
||||
Module: Core
|
||||
Sprite: ComputerCore
|
||||
Hex.HP := 4 * Hex.HP
|
||||
Hex.Resistance := 0.35
|
||||
Hex.BuildCost := 2 * Hex.BuildCost
|
||||
@@ -0,0 +1,43 @@
|
||||
Subsystem: CrewDeck
|
||||
Name: #CREWDECK_NAME
|
||||
Description: #CREWDECK_DESC
|
||||
BaseColor: #c5f946
|
||||
Picture: SubsystemButtonArt::8
|
||||
Elevation: 4
|
||||
|
||||
Tags: DefaultUnlock, Crewed, Control, ControlCore, HasInternals
|
||||
Tags: NoBulkhead, BadFiller, Important
|
||||
Tags: Category:Control
|
||||
Hull: Support, Satellite
|
||||
|
||||
EvaluationOrder: -10
|
||||
|
||||
Size := HexSize * Hexes
|
||||
Crew := floor(40 * Size)
|
||||
Command := Hexes * 4
|
||||
|
||||
Repair := 4 * HexSize * (Hexes-1)
|
||||
RepairSupplyCost := 0.5 * Repair
|
||||
out SupplyDrain := RepairSupplyCost
|
||||
|
||||
Hex.Resistance := 0.2
|
||||
Hex.HP := 12 * HexSize
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Hex.LaborCost := 0.07 * HexSize
|
||||
Hex.BuildCost := 0.75 * HexSize
|
||||
|
||||
Effect: ControlCore
|
||||
|
||||
Provides:
|
||||
Crew = Crew
|
||||
Command = Command
|
||||
|
||||
Module: Default
|
||||
Sprite: CrewQuarters
|
||||
|
||||
Module: Core
|
||||
Sprite: Bridge
|
||||
Hex.HP := 4 * Hex.HP
|
||||
Hex.Resistance := 0.35
|
||||
Hex.BuildCost := 2 * Hex.BuildCost
|
||||
@@ -0,0 +1,21 @@
|
||||
Subsystem: SupportAmmoStorage
|
||||
Name: #S_AMMOSTORAGE
|
||||
Description: #S_AMMOSTORAGE_DESC
|
||||
BaseColor: #2fd6b3
|
||||
Elevation: 3
|
||||
|
||||
Tags: DefaultUnlock, NonContiguous, NoCore, HasInternals, Category:Control
|
||||
Hull: Support
|
||||
|
||||
Size := HexSize * Hexes
|
||||
SupportSupplyCapacity := Size * 175
|
||||
|
||||
Hex.LaborCost := 0.05 * HexSize
|
||||
Hex.BuildCost := 1.0 * HexSize
|
||||
|
||||
Hex.Resistance := 0.2
|
||||
Hex.HP := 18 * HexSize
|
||||
Hex.Mass := 0.6 * HexSize
|
||||
|
||||
Module: Default
|
||||
Sprite: SupplyStorage * #80ff80
|
||||
@@ -0,0 +1,41 @@
|
||||
Subsystem: SupportAncientCore
|
||||
Name: #S_ANCIENT_CORE
|
||||
Description: #S_ANCIENT_CORE_DESC
|
||||
BaseColor: #c5f946
|
||||
Elevation: 4
|
||||
|
||||
Tags: Crewed, Control, ControlCore, HasInternals, HeraldsDLC
|
||||
Tags: NoBulkhead, BadFiller, Important
|
||||
Tags: Category:Control
|
||||
Hull: Support, Satellite
|
||||
|
||||
EvaluationOrder: -10
|
||||
|
||||
Size := HexSize * Hexes
|
||||
Crew := floor(40 * Size)
|
||||
Command := Hexes * 4
|
||||
|
||||
Repair := 5 * HexSize * (Hexes-1)
|
||||
RepairSupplyCost := 0.4 * Repair
|
||||
out SupplyDrain := RepairSupplyCost
|
||||
|
||||
Hex.Resistance := 0.2
|
||||
Hex.HP := 16 * HexSize
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Hex.LaborCost := 0.06 * HexSize
|
||||
Hex.BuildCost := 1.0 * HexSize
|
||||
|
||||
Effect: ControlCore
|
||||
|
||||
Provides:
|
||||
Crew = Crew
|
||||
Command = Command
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Sprite: AncientComputerCore
|
||||
Hex.HP := 4 * Hex.HP
|
||||
Hex.Resistance := 0.35
|
||||
Hex.BuildCost := 2 * Hex.BuildCost
|
||||
@@ -0,0 +1,38 @@
|
||||
Subsystem: BoosterEngine
|
||||
Name: #S_BOOSTERENGINE
|
||||
Description: #S_BOOSTERENGINE_DESC
|
||||
BaseColor: #8872bb
|
||||
TypeColor: #8872bb
|
||||
Elevation: 0
|
||||
|
||||
Tags: ExteriorCore, HasInternals, NoBackWall, TurnToThrust
|
||||
Tags: SecondaryThrust, RangeForRaid
|
||||
Tags: HeraldsDLC
|
||||
Tags: Category:Propulsion
|
||||
Hull: Support
|
||||
|
||||
OnCheckErrors: designs::checkCoreFacingBackwards
|
||||
|
||||
Size := HexSize * Hexes
|
||||
|
||||
BoostThrust := 100 * Size
|
||||
TurnThrust := 5.0 * Size
|
||||
|
||||
Hex.Mass := 0.5 * HexSize
|
||||
|
||||
Hex.Resistance := 0.2
|
||||
Hex.HP := 22 * HexSize
|
||||
|
||||
Hex.BuildCost := 1.2 * HexSize
|
||||
Hex.LaborCost := 0.1 * HexSize
|
||||
|
||||
Requires:
|
||||
Command = 2
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Sprite: BoosterEngine
|
||||
Hex.HP := 2 * Hex.HP
|
||||
Hex.Resistance := 0.35
|
||||
Hex.BuildCost := 2 * Hex.BuildCost
|
||||
@@ -0,0 +1,35 @@
|
||||
Subsystem: SupportRocketEngine
|
||||
Name: #ROCKETENGINE_NAME
|
||||
Description: #ROCKETENGINE_DESC
|
||||
BaseColor: #f9e146
|
||||
TypeColor: #f9e146
|
||||
Picture: RocketEngine
|
||||
Elevation: 0
|
||||
|
||||
Tags: ExteriorCore, DefaultUnlock, Engine, GivesThrust, HasInternals, NoBackWall, TurnToThrust
|
||||
Tags: Category:Propulsion
|
||||
Hull: Support
|
||||
|
||||
OnCheckErrors: designs::checkCoreFacingBackwards
|
||||
|
||||
Size := HexSize * Hexes
|
||||
Thrust := 24 * Size
|
||||
TurnThrust := 1.5 * Size
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Hex.Resistance := 0.2
|
||||
Hex.HP := 18 * HexSize
|
||||
|
||||
Hex.BuildCost := 1 * HexSize
|
||||
Hex.LaborCost := 0.13 * HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Sprite: RocketEngine
|
||||
Hex.HP := 2 * Hex.HP
|
||||
Hex.Resistance := 0.35
|
||||
Hex.BuildCost := 2 * Hex.BuildCost
|
||||
@@ -0,0 +1,38 @@
|
||||
Subsystem: ShieldHarmonizer
|
||||
Name: #S_SHIELD_HARMONIZER
|
||||
Description: #S_SHIELD_HARMONIZER_DESC
|
||||
BaseColor: #e2e676
|
||||
Elevation: 1
|
||||
|
||||
EvaluationOrder: 100
|
||||
DamageOrder: -200
|
||||
|
||||
Tags: HeraldsDLC, ShieldHarmonizer
|
||||
Tags: Defense, Category:Defense, HasInternals
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
|
||||
Percentage := min(2.0 * Size / ShipSize, 1.0)
|
||||
BonusShield := Size * 3.0
|
||||
|
||||
Hex.HP := 18 * HexSize
|
||||
Hex.Resistance := 0.2
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Hex.BuildCost := 1.25 * HexSize
|
||||
Hex.LaborCost := 0.10 * HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
|
||||
Effect: ShieldRedirect
|
||||
Percentage = Percentage
|
||||
|
||||
State: int = 0
|
||||
Effect: AddBonusShields
|
||||
Amount = BonusShield
|
||||
|
||||
Module: Core
|
||||
Sprite: ShieldHarmonizer
|
||||
Hex.BuildCost := 2 * Hex.BuildCost
|
||||
@@ -0,0 +1,13 @@
|
||||
Template: hexVar/BuildCost, hexVar/HP, !tag/NoBulkhead, !tag/NoCore, !tag/IsArmor, tag/SupportShip
|
||||
Module: Bulkhead
|
||||
Name: #BULKHEAD_NAME
|
||||
Description: #BULKHEAD_DESC
|
||||
|
||||
Color: #eda1ff
|
||||
Sprite: HexagonSubsystems::0 * #cf00ff
|
||||
|
||||
Hex.HP := 3.0 * Hex.HP
|
||||
|
||||
AddModifier: AddBaseHP(1.5)
|
||||
AddModifier: BuildCostFactor(2.0)
|
||||
AddModifier: LaborCostFactor(1.5)
|
||||
@@ -0,0 +1,15 @@
|
||||
Template: hexVar/BuildCost, hexVar/HP, tag/Weapon, var/Range, var/SupplyCost, tag/SupportShip
|
||||
Module: TargetingSensor
|
||||
Name: #TARGETINGSENSOR_NAME
|
||||
Description: #TARGETINGSENSOR_DESC
|
||||
|
||||
Color: #00ff00
|
||||
Sprite: SupportCommand * #00ff00
|
||||
|
||||
AddModifier: BuildCostFactor(3.0)
|
||||
AddModifier: LaborCostFactor(2.0)
|
||||
AddModifier: SupplyCostFactor(2.0)
|
||||
AddModifier: optional SpeedFactor(2.0)
|
||||
AddModifier: optional SpreadFactor(0.5)
|
||||
|
||||
Range := Range + Base::Range * 0.5
|
||||
@@ -0,0 +1,33 @@
|
||||
Subsystem: VerdantSupportSinew
|
||||
Name: #S_VERDANT_SINEW
|
||||
Description: #S_VERDANT_SINEW_DESC
|
||||
Elevation: 0
|
||||
BaseColor: #00ff00
|
||||
EvaluationOrder: -10
|
||||
|
||||
Tags: Category:Control, Control, NoCore, NonContiguous, IsArmor
|
||||
Tags: PassExterior, RaceSpecial
|
||||
Hull: Support, Satellite
|
||||
|
||||
HexLimit := Sum.HexLimit * -0.2
|
||||
Ship.ExternalHexes := Hexes
|
||||
|
||||
Hex.Resistance := 0.2
|
||||
Hex.HP := 40 * HexSize
|
||||
Hex.Mass := HexSize * 1.5
|
||||
|
||||
Repair := 24 * HexSize
|
||||
|
||||
Hex.LaborCost := 0.035 * HexSize
|
||||
Hex.BuildCost := 0.40 * HexSize
|
||||
|
||||
Effect: DestroyOnLowEfficiency
|
||||
Threshold = 0.3
|
||||
|
||||
OnCheckErrors: designs::checkSinew
|
||||
|
||||
Provides:
|
||||
Command = floor(Sum.HexLimit / 5)
|
||||
|
||||
Module: Default
|
||||
Sprite: Sinew
|
||||
@@ -0,0 +1,25 @@
|
||||
Subsystem: SupportSupplyStorage
|
||||
Name: #SUPPORTSUPPLY_NAME
|
||||
Description: #SUPPORTSUPPLY_DESC
|
||||
BaseColor: #2fd6b3
|
||||
Elevation: 3
|
||||
|
||||
Tags: DefaultUnlock, NonContiguous, NoCore, HasInternals, Category:Support
|
||||
Tags: HasMaintenanceCost
|
||||
Hull: Support
|
||||
|
||||
Size := HexSize * Hexes
|
||||
SupplyCapacity := Size * 2500
|
||||
|
||||
Hex.LaborCost := 0.1 * HexSize + 0.8
|
||||
Hex.BuildCost := 1.5 * HexSize + 2
|
||||
Hex.MaintainCost := 4 * HexSize
|
||||
|
||||
Hex.Resistance := 0.2
|
||||
Hex.HP := 18 * HexSize
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Hook: AddSupplyToFleet(SupplyCapacity, 0)
|
||||
|
||||
Module: Default
|
||||
Sprite: SupplyStorage
|
||||
@@ -0,0 +1,61 @@
|
||||
Subsystem: MuonCannon
|
||||
Name: #MUON_CANNON_NAME
|
||||
Description: #MUON_CANNON_DESC
|
||||
BaseColor: #f549f6
|
||||
TypeColor: #f549f6
|
||||
Elevation: 2
|
||||
|
||||
Tags: WeaponBase, ProjBase, Rotatable, HexLimitArc, Category:Weapons
|
||||
Tags: ExteriorCore, Weapon, IsProjWeapon, IsRailgun, HasInternals
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
|
||||
Range := Size + 350
|
||||
Damage := Size * 1.7
|
||||
Reload := 2.0 * min(1.0 + Size/512, 2.0)
|
||||
Speed := max(90, Range / 16)
|
||||
Spread := 0.06 / max(Range / 600, 1)
|
||||
Tracking := 0.8
|
||||
FireArc := 0.5 * pi
|
||||
Pierce := 1.15
|
||||
SupplyCost := Size * 1.5
|
||||
|
||||
Hex.HP := 18 * HexSize
|
||||
Hex.Resistance := 0.2
|
||||
Hex.Mass := HexSize
|
||||
Hex.BuildCost := 0.75 * HexSize
|
||||
Hex.MaintainCost := 0
|
||||
Hex.LaborCost := 0.07 * HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Hex.HP := Hex.HP * 3
|
||||
Hex.BuildCost := Hex.BuildCost * 5
|
||||
Hex.Mass := Hex.Mass * 5
|
||||
|
||||
Sprite: Railgun::0
|
||||
DrawMode: 1
|
||||
|
||||
Hex.DamageResist := ShipSize / 28.0
|
||||
Effect: DamageResist
|
||||
Resist = Hex.DamageResist
|
||||
|
||||
Effector: Railgun
|
||||
Skin: Muon
|
||||
Range = Range
|
||||
Damage = Damage
|
||||
Reload = Reload
|
||||
Speed = Speed
|
||||
FireArc = FireArc
|
||||
Tracking = Tracking
|
||||
CapOnTarget = 0
|
||||
Spread = Spread
|
||||
TargetTolerance = Spread / 2
|
||||
Pierce = Pierce
|
||||
SupplyCost = SupplyCost * Reload
|
||||
IgnoreDR = 1
|
||||
@@ -0,0 +1,58 @@
|
||||
Subsystem: PulseBolt
|
||||
Name: #S_PULSE_BOLT
|
||||
Description: #S_PULSE_BOLT_DESC
|
||||
BaseColor: #7390db
|
||||
TypeColor: #7390db
|
||||
Elevation: 1
|
||||
|
||||
Tags: BeamBase, Rotatable, HexLimitArc, Category:Weapons
|
||||
Tags: ExteriorCore, Weapon, IsBeamWeapon, HasInternals
|
||||
Tags: HeraldsDLC, RangeForRaid
|
||||
Hull: Support
|
||||
|
||||
Size := HexSize * Hexes
|
||||
BeamDPS := 10.0 * Size
|
||||
Duration := 1
|
||||
Cooldown := 0
|
||||
Range := Size^0.4 * 6.0
|
||||
Tracking := 1.0
|
||||
SupplyCost := Size * 7.0
|
||||
FireArc := 0.4 * pi
|
||||
|
||||
//I don't really like doing this but we don't want strengths to be inaccurate representations :/
|
||||
// This works under the assumption that the ship spends about 25% of its
|
||||
// time firing and the other 75% moving into position, or moving back to the fleet for resupply.
|
||||
out DPS := 0.25 * BeamDPS
|
||||
|
||||
Hex.HP := 10 * HexSize
|
||||
Hex.Resistance := 0.4
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Hex.BuildCost := 2 * HexSize
|
||||
Hex.LaborCost := 0.20 * HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Hex.HP := Hex.HP * 1.5
|
||||
Hex.BuildCost := Hex.BuildCost * 4
|
||||
Hex.Mass := Hex.Mass * 4
|
||||
|
||||
Sprite: HyperdenseLaser::0
|
||||
DrawMode: 1
|
||||
|
||||
Hex.DamageResist := ShipSize / 28.0
|
||||
Effect: DamageResist
|
||||
Resist = Hex.DamageResist
|
||||
|
||||
Effector: PulseBolt
|
||||
Range = Range
|
||||
DPS = BeamDPS
|
||||
Duration = Duration
|
||||
Cooldown = Cooldown
|
||||
Tracking = Tracking
|
||||
SupplyCost = SupplyCost * Duration
|
||||
FireArc = FireArc
|
||||
@@ -0,0 +1,60 @@
|
||||
Subsystem: Railgun
|
||||
Name: #RAILGUN_NAME
|
||||
Description: #RAILGUN_DESC
|
||||
BaseColor: #c5f946
|
||||
TypeColor: #c5f946
|
||||
Picture: SubsystemButtonArt::2
|
||||
Elevation: 2
|
||||
|
||||
Tags: WeaponBase, ProjBase, Rotatable, HexLimitArc, Category:Weapons
|
||||
Tags: ExteriorCore, Weapon, DefaultUnlock, IsProjWeapon, IsRailgun, HasInternals
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
|
||||
Range := Size + 330
|
||||
Damage := Size * 2.9
|
||||
Reload := 2.0 * min(1.0 + Size/512, 2.0)
|
||||
Speed := max(110, Range / 15)
|
||||
Spread := 0.045 / max(Range / 600, 1)
|
||||
Tracking := 0.8
|
||||
FireArc := 0.5 * pi
|
||||
Pierce := 0.6
|
||||
SupplyCost := Size * 1.5
|
||||
|
||||
Hex.HP := 18 * HexSize
|
||||
Hex.Resistance := 0.2
|
||||
Hex.Mass := HexSize
|
||||
Hex.BuildCost := 0.75 * HexSize
|
||||
Hex.MaintainCost := 0
|
||||
Hex.LaborCost := 0.07 * HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Hex.HP := Hex.HP * 3
|
||||
Hex.BuildCost := Hex.BuildCost * 5
|
||||
Hex.Mass := Hex.Mass * 5
|
||||
|
||||
Sprite: Railgun::0
|
||||
DrawMode: 1
|
||||
|
||||
Hex.DamageResist := ShipSize / 28.0
|
||||
Effect: DamageResist
|
||||
Resist = Hex.DamageResist
|
||||
|
||||
Effector: Railgun
|
||||
Range = Range
|
||||
Damage = Damage
|
||||
Reload = Reload
|
||||
Speed = Speed
|
||||
FireArc = FireArc
|
||||
Tracking = Tracking
|
||||
CapOnTarget = 0
|
||||
Spread = Spread
|
||||
TargetTolerance = Spread / 2
|
||||
Pierce = Pierce
|
||||
SupplyCost = SupplyCost * Reload
|
||||
@@ -0,0 +1,50 @@
|
||||
Subsystem: ShockMissiles
|
||||
Name: #S_SHOCKMISSILES
|
||||
Description: #S_SHOCKMISSILES_DESC
|
||||
BaseColor: #444ca0
|
||||
TypeColor: #444ca0
|
||||
Elevation: 2
|
||||
|
||||
Tags: WeaponBase, MissileBase, Category:Weapons, Rotatable, Homing, HeraldsDLC
|
||||
Tags: ExteriorCore, Weapon, IsExplosiveWeapon, HasInternals, SecondaryDPS
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
Range := Size + 800
|
||||
Damage := Size * 22.0
|
||||
Reload := 6.0 * min(1.0 + Size/512, 2.0)
|
||||
Speed := 125
|
||||
Tracking := 4
|
||||
SupplyCost := Size * 2.0
|
||||
|
||||
Hex.HP := 18 * HexSize
|
||||
Hex.Resistance := 0.2
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Hex.BuildCost := 0.75 * HexSize
|
||||
Hex.LaborCost := 0.05 * HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Hex.HP := Hex.HP * 3
|
||||
Hex.BuildCost := Hex.BuildCost * 5
|
||||
Hex.Mass := Hex.Mass * 5
|
||||
|
||||
Sprite: MissileLauncher::0
|
||||
DrawMode: 1
|
||||
|
||||
Hex.DamageResist := ShipSize / 28.0
|
||||
Effect: DamageResist
|
||||
Resist = Hex.DamageResist
|
||||
|
||||
Effector: ShockMissile
|
||||
Range = Range
|
||||
Damage = Damage
|
||||
Reload = Reload
|
||||
Speed = Speed
|
||||
Tracking = Tracking
|
||||
SupplyCost = SupplyCost * Reload
|
||||
@@ -0,0 +1,54 @@
|
||||
Subsystem: SubspaceShredder
|
||||
Name: #S_SUBSPACE_SHREDDER
|
||||
Description: #S_SUBSPACE_SHREDDER_DESC
|
||||
BaseColor: #ae6383
|
||||
Elevation: 2
|
||||
|
||||
Tags: WeaponBase, MissileBase, Category:Weapons, Rotatable, Homing
|
||||
Tags: ExteriorCore, Weapon, IsExplosiveWeapon, HasInternals
|
||||
Hull: Support
|
||||
|
||||
Size := HexSize * Hexes
|
||||
Damage := Size * 15.0
|
||||
Reload := 6.0 * min(1.0 + Size/512, 2.0)
|
||||
Speed := 20
|
||||
Tracking := 0.2
|
||||
SupplyCost := Size * 2.0
|
||||
|
||||
Range := 5 + Size
|
||||
TravelRange := (Range * 30) - (28 * Size)
|
||||
|
||||
out DPS := 0.25 * (Damage / Reload)
|
||||
|
||||
Hex.HP := 18 * HexSize
|
||||
Hex.Resistance := 0.2
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Hex.BuildCost := 0.75 * HexSize
|
||||
Hex.LaborCost := 0.07 * HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Hex.HP := Hex.HP * 3
|
||||
Hex.BuildCost := Hex.BuildCost * 5
|
||||
Hex.Mass := Hex.Mass * 5
|
||||
|
||||
Sprite: MissileLauncher::0
|
||||
DrawMode: 1
|
||||
|
||||
Hex.DamageResist := ShipSize / 28.0
|
||||
Effect: DamageResist
|
||||
Resist = Hex.DamageResist
|
||||
|
||||
Effector: SubspaceShredder
|
||||
TravelRange = TravelRange
|
||||
Range = Range
|
||||
Damage = Damage
|
||||
Reload = Reload
|
||||
Speed = Speed
|
||||
Tracking = Tracking
|
||||
SupplyCost = SupplyCost * Reload
|
||||
@@ -0,0 +1,53 @@
|
||||
Subsystem: SupportLaser
|
||||
Name: #LASER_NAME
|
||||
Description: #LASER_DESC
|
||||
BaseColor: #f9464d
|
||||
TypeColor: #f9464d
|
||||
Picture: SubsystemButtonArt::7
|
||||
Elevation: 2
|
||||
|
||||
Tags: BeamBase, Rotatable, HexLimitArc, Category:Weapons
|
||||
Tags: ExteriorCore, Weapon, DefaultUnlock, IsBeamWeapon, HasInternals
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
BeamDPS := 1.85 * Size
|
||||
Duration := 5
|
||||
Cooldown := 6 * min(1.0 + Size/512, 2.0)
|
||||
Range := Size + 300
|
||||
Tracking := 0.5
|
||||
SupplyCost := Size * 1.1
|
||||
FireArc := 0.3 * pi
|
||||
|
||||
Hex.HP := 12 * HexSize
|
||||
Hex.Resistance := 0.2
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Hex.BuildCost := 1 * HexSize
|
||||
Hex.LaborCost := 0.07 * HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Hex.HP := Hex.HP * 3
|
||||
Hex.BuildCost := Hex.BuildCost * 5
|
||||
Hex.Mass := Hex.Mass * 5
|
||||
|
||||
Sprite: Laser::0
|
||||
DrawMode: 1
|
||||
|
||||
Hex.DamageResist := ShipSize / 28.0
|
||||
Effect: DamageResist
|
||||
Resist = Hex.DamageResist
|
||||
|
||||
Effector: Laser
|
||||
Range = Range
|
||||
DPS = BeamDPS
|
||||
Duration = Duration
|
||||
Cooldown = Cooldown
|
||||
Tracking = Tracking
|
||||
SupplyCost = SupplyCost * Duration
|
||||
FireArc = FireArc
|
||||
@@ -0,0 +1,51 @@
|
||||
Subsystem: SupportMissileLauncher
|
||||
Name: #MISSILELAUNCHER_NAME
|
||||
Description: #MISSILELAUNCHER_DESC
|
||||
BaseColor: #b746f9
|
||||
TypeColor: #b746f9
|
||||
Picture: SubsystemButtonArt::4
|
||||
Elevation: 2
|
||||
|
||||
Tags: WeaponBase, MissileBase, Category:Weapons, Rotatable, Homing
|
||||
Tags: ExteriorCore, Weapon, DefaultUnlock, IsExplosiveWeapon, HasInternals
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
Range := Size + 500
|
||||
Damage := Size * 8.8
|
||||
Reload := 5.0 * min(1.0 + Size/512, 2.0)
|
||||
Speed := 75
|
||||
Tracking := 3
|
||||
SupplyCost := Size * 3.0
|
||||
|
||||
Hex.HP := 18 * HexSize
|
||||
Hex.Resistance := 0.2
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Hex.BuildCost := 0.75 * HexSize
|
||||
Hex.LaborCost := 0.07 * HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Hex.HP := Hex.HP * 3
|
||||
Hex.BuildCost := Hex.BuildCost * 5
|
||||
Hex.Mass := Hex.Mass * 5
|
||||
|
||||
Sprite: MissileLauncher::0
|
||||
DrawMode: 1
|
||||
|
||||
Hex.DamageResist := ShipSize / 28.0
|
||||
Effect: DamageResist
|
||||
Resist = Hex.DamageResist
|
||||
|
||||
Effector: Missile
|
||||
Range = Range
|
||||
Damage = Damage
|
||||
Reload = Reload
|
||||
Speed = Speed
|
||||
Tracking = Tracking
|
||||
SupplyCost = SupplyCost * Reload
|
||||
@@ -0,0 +1,70 @@
|
||||
Subsystem: SupportPlasmaThrower
|
||||
Name: #S_PLASMATHROWER
|
||||
Description: #S_PLASMATHROWER_DESC
|
||||
BaseColor: #ce815a
|
||||
TypeColor: #ce815a
|
||||
Elevation: 2
|
||||
|
||||
Tags: SpecialWeapon, Category:Weapons, Rotatable
|
||||
Tags: ExteriorCore, Weapon, HasInternals, MainDPS, Homing, HexLimitArc
|
||||
Tags: HeraldsDLC
|
||||
Hull: Support, Satellite
|
||||
|
||||
Size := HexSize * Hexes
|
||||
Range := Size + 500
|
||||
|
||||
Duration := 5 * (1.0 + Size/64)
|
||||
DamageOverTime := (Size * 5.0) / Duration
|
||||
|
||||
out DPS := (DamageOverTime * Duration) / Reload
|
||||
out SupplyDrain := SupplyCost
|
||||
out SupplyFireCost := SupplyCost * Reload
|
||||
|
||||
Modifier: DamageFactor(factor)
|
||||
DamageOverTime := DamageOverTime * factor
|
||||
|
||||
Reload := 5.0 * min(1.0 + Size/512, 2.0)
|
||||
Speed := max(200, Range / 10)
|
||||
Spread := 0.015 / max(Range / 600, 1)
|
||||
Tracking := 0.2
|
||||
FireArc := 1.5
|
||||
Pierce := 0.0
|
||||
SupplyCost := Size * 1.0
|
||||
|
||||
Hex.HP := 18 * HexSize
|
||||
Hex.Resistance := 0.2
|
||||
Hex.Mass := HexSize
|
||||
|
||||
Hex.BuildCost := 1.05 * HexSize
|
||||
Hex.LaborCost := 0.03 * HexSize
|
||||
|
||||
Requires:
|
||||
Command = 1
|
||||
|
||||
Module: Default
|
||||
|
||||
Module: Core
|
||||
Hex.HP := Hex.HP * 3
|
||||
Hex.BuildCost := 5.0 * Hex.BuildCost
|
||||
Hex.Mass := 5.0 * Hex.Mass
|
||||
|
||||
Sprite: RocketPod::0
|
||||
DrawMode: 1
|
||||
|
||||
Hex.DamageResist := ShipSize / 64.0
|
||||
Effect: DamageResist
|
||||
Resist = Hex.DamageResist
|
||||
|
||||
Effector: PlasmaThrower
|
||||
Range = Range
|
||||
DamageOverTime = DamageOverTime
|
||||
Duration = Duration
|
||||
Reload = Reload
|
||||
Speed = Speed
|
||||
Tracking = Tracking
|
||||
Spread = Spread
|
||||
FireArc = FireArc
|
||||
TargetTolerance = max(pi,FireArc + pi/4)
|
||||
FireTolerance = Spread * 3
|
||||
Pierce = Pierce
|
||||
SupplyCost = SupplyCost * Reload
|
||||
Reference in New Issue
Block a user