Skip to content

Releases: Vannadin/Relativity

v1.0.0 — the relativistic visual layer ships

Choose a tag to compare

@Vannadin Vannadin released this 13 Jul 16:25

Relativity v1.0.0

Relativity adds the sub-light half of special relativity to KSP 1.12.x. Near light speed, effective
thrust falls as 1/γ³, so c is a wall you can approach but never cross, while a fast crew ages and
consumes supplies slower by 1/γ. Getting fast is hard; once you are fast, your crew lasts longer.
The mod only modulates forces and consumption rates, never the physics integrator, so it behaves the
same on stock and alongside Principia.

The headline for 1.0 is that you can now see it. The optional visual layer shows what the crew
would actually see near c, and it stays out of the way everywhere else.

Requirements

  • KSP 1.12.x
  • Harmony (Harmony2 on CKAN / HarmonyKSP), required

New in 1.0: the relativistic visual layer

Calibrated and verified in-game at β ≈ 0.98. The whole layer measures about +1.7 ms per frame on a
light craft; heavier ships pay more in the vessel mask, since it renders the hull a second time.
Gated off below the activation speed, under warp, and in map view, so navigation stays truthful.

  • Doppler colour and beaming: per-pixel D = 1/[γ(1 − β cosθ)] drives a blackbody
    colour-temperature shift (blueshift ahead, redshift behind) and the Planck-exact brightness
    curve. Overexposure bleeds to white the way a camera would. Your own ship is masked out.
  • Star-bunching aberration: the sky warps toward your direction of travel. Above β ≈ 0.5 a live
    rear camera re-renders the magnified aft sky each frame so it stays sharp. Sky detail is chosen
    in the stock settings screen (Difficulty Options → Relativity); the setting governs the side sky,
    the aft cone is always live.
  • Body aberration: planets, moons and the sun are re-aimed to their aberrated bearings inside the
    render only. Flares and Scatterer follow along.
  • Engine plumes keep their true colour through the effect, and the camera stack runs HDR while the
    layer is active to kill gradient banding. Scatterer is optional (it enables exact sunflare
    separation); TextureReplacer skyboxes are picked up automatically.
  • Also new: EVA jetpack thrust is suppressed by 1/γ³ like engines, and attitude torque now scales
    by 1/γ².

The gameplay layer

Verified in-game:

  • Relativistic thrust: net engine thrust becomes F/γ³ while propellant still burns at the nominal
    rate. Works on stock and Principia force profiles.
  • The flight dashboard: β, γ, effective thrust %, supply-rate %.
  • Safety guards: disabled below a speed floor, under warp/jump, and above a sanity ceiling.

Built and compile-clean, but not play-tested yet (reports welcome):

  • The two-clock counter: mission time vs crew proper time (τ = ∫dt/γ), per vessel.
  • The VAB/SPH trip planner: cruise β, both clocks, and the accel/coast breakdown.
  • Kerbalism resource dilation: life support consumed over the crew's proper time, radiation dose
    deliberately kept on coordinate time. Stock Kerbalism and ROKerbalism.
  • RP-1 relativistic retirement: retirement counts proper time (compile-verified).

Compatibility

Principia is safe by design. Scatterer is optional; forward-rendering installs get exact sunflare
separation. Kerbalism 3.x / ROKerbalism supported. Persistent Thrust: the crew clock tracks
unloaded thrust, the unloaded thrust correction itself is not in this release.

Install

Unzip into your KSP install so the folder lands at GameData/Relativity/, and make sure Harmony is
installed (CKAN: Harmony2). Kerbalism / RP-1 integrations activate automatically when present.

Configuration

GameData/Relativity/relativity.cfg (ModuleManager-patchable): betaMin, betaSane, debugMode,
dopplerVisual, dopplerAberration, kerbalismDilation, attitudeExponent, and more. Absent keys
keep the defaults, so it runs cfg-free.

Full details: CHANGELOG.md ·
wiki

v0.1.0-beta — first public beta

Pre-release

Choose a tag to compare

@Vannadin Vannadin released this 09 Jul 06:26

Relativity v0.1.0-beta — first public beta

A sub-light special-relativity gameplay layer for KSP 1.12.x. Near light speed, effective thrust
falls as 1/γ³ (light becomes a natural wall) while a fast crew ages and consumes supplies slower by
1/γ"getting fast is hard, but a fast crew lasts longer." It modulates force and rate only; it
never rewrites the integrator, so it rides alongside Principia and the stock profile.

⚠️ This is a beta. Core relativistic flight is verified in-game; several integrations compile clean
but are not yet play-tested (status per feature below). Back up your save before a long
relativistic mission.

Requirements

  • KSP 1.12.x
  • Harmony (Harmony2 / HarmonyKSP) — required

What's in

Verified in-game (flown to β ≈ 0.83)

  • Relativistic thrust — net engine thrust becomes F/γ³ while propellant still burns at the nominal
    rate (efficiency degrades near c). Works on stock and Principia force profiles.
  • Flight dashboard — a stock-toolbar readout of β, γ, effective thrust %, and supply-rate %.
  • Safety guards — disables below a β floor, under warp/jump, and above a sanity ceiling (kraken/NaN
    fail-safe).

Built — not yet in-game tested (reports welcome)

  • Two-clock counter — per-vessel mission (coordinate) vs crew (proper, τ=∫dt/γ) time.
  • VAB/SPH trip planner — previews cruise β, mission vs crew time, and the accel/coast breakdown for a
    target distance and profile.
  • Kerbalism resource dilation — life-support consumed over the crew's proper time (×1/γ); radiation
    dose stays coordinate-time. Stock Kerbalism + ROKerbalism.
  • Attitude ×1/γ — reaction-wheel and RCS rotational authority slows near c. (Effectiveness pending
    an in-game check.)

Compile-only — needs the target mod installed to verify

  • RP-1 relativistic retirement — pushes a crew's retirement date forward by their accumulated time
    dilation, so retirement counts proper time.

Compatibility

  • Principia — safe by design (force/rate only, never the integrator).
  • Kerbalism 3.x / ROKerbalism — supported (resource half).
  • RP-1 — retirement adapter present (compile-verified).
  • Persistent Thrust — the crew clock tracks unloaded thrust; the thrust ×1/γ³ correction for
    unloaded PT is not in this release.

Install

Unzip into your KSP install so the folder lands at GameData/Relativity/. Ensure Harmony is
installed (CKAN: Harmony2). Kerbalism / RP-1 integrations activate automatically when present.

Configuration

GameData/Relativity/relativity.cfg (ModuleManager-patchable): betaMin, betaSane, debugMode,
kerbalismDilation, attitudeExponent, and more. Absent keys keep the defaults, so it runs cfg-free.

Full details and known limitations: see CHANGELOG.md.