Radiators and Thermal Canister Missile launchers pull from the same heat pool with identical NetworkResourceOutput settings, and priorities.rules defines no ordering for heat. A constantly-running radiator therefore spends missile ammunition to make steam. Gate radiator dissipation on three network signals instead of the raw PowerToggle: a 98%/94% hysteresis band on the thermal battery, whether any launcher is actually set to thermal ammo, and an override driven by the engine's own OverflowHeatStorage as a safety net. Storage fullness causes no damage on its own -- only overflow does, and only above 350 status per tile -- so the band sits high deliberately to keep the network full as a missile reserve. Signal polarity is "hold", not "vent", so any ship missing a broadcaster falls back to vanilla behaviour. Includes an offline validation suite that resolves every patch target, component reference and component Type against the installed game data, since all three otherwise fail only as a crash on game load. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011oLWY1G6S8U35bi2FxVWni
24 lines
935 B
Plaintext
24 lines
935 B
Plaintext
// ABOUT ME
|
|
// A single component merged into the Missile Launcher. It broadcasts, over the
|
|
// heat network, whether this launcher is currently set to Thermal Canister
|
|
// Missiles.
|
|
//
|
|
// Why it exists: banking heat is only worth anything if something on the ship
|
|
// actually spends heat as ammunition. On a ship with no thermal launchers,
|
|
// holding the heat network near full buys nothing, so the radiators should just
|
|
// behave as they do in vanilla. Radiators treat the absence of this broadcast
|
|
// as permission to vent freely.
|
|
//
|
|
// ThermalMissilesToggle is the launcher's own vanilla mode toggle
|
|
// (ModeToggle, Mode = MissileType, OnMode = 4), so this signal follows the
|
|
// player's ammunition selection live, including mid-battle switches.
|
|
|
|
NetworkedThermalAmmoUser
|
|
{
|
|
Type = NetworkToggle
|
|
ToggleSource = ThermalMissilesToggle
|
|
Categories = [ auto_radiator_ammo_user ]
|
|
IncludeInPhysical = true
|
|
IncludeInBlueprints = false
|
|
}
|