This is a mod for Outer Wilds which predicts and visualizes future trajectories of player, ship, and scout, in map view.
Trajectory path is drawn relative to selected celestial body.
Installation
Easy installation
- Install the Outer Wilds Mod Manager
- Search for
Trajectory Prediction
in the Mod Manager and install it - Enable
Use Incremental GC
in Mod Manager settings
Manual Installation
- Install OWML
- Download the latest release
- Extract
OlegSkutte.TrajectoryPrediction
directory toOWML/Mods
directory - Set
incrementalGC
totrue
inOWML/OWML.Config.json
file - Run
OWML.Launcher.exe
to start the game
Settings
Simulation Settings
- Seconds To Predict - Determines how far into the future trajectories are predicted in seconds. Higher values take longer to compute.
- High Precision Mode - Toggles simulation time step between 1 second and
Time.fixedDeltaTime
. High Precision Mode takes 60 times longer to compute. - Predict GravityVolume Intersections - Future trajectories may escape or enter gravity volumes of different celestial bodies. This setting toggles detection of which gravity volumes will be active at any given future time step. Takes longer to compute and allocates more memory.
- Multithreading - Shifts computations to a separate thread.
Customization Settings
- Player Trajectory Color - Hex RGBA color of trajectory line of the player.
- Ship Trajectory Color - Hex RGBA color of trajectory line of the ship.
- Scout Trajectory Color - Hex RGBA color of trajectory line of the scout.
- Display Planet Trajectories - Determines whether planet trajectories should be displayed.
- Planet Trajectory Color - Hex RGBA color of trajectory lines of the planets.
Experimental Settings
- Parallelization - Runs simulation of all celestial bodies in parallel. Speeds up computation but makes results inaccurate.
Limitations / Things to Improve
- This mod doesn't account for atmospheric drag. I assume it would've been computationally expensive and pretty useless in practice.
- Simulation allocates a lot of memory,
causing periodic GC lag spikes. This could be helped by improving the memory footprint or by finding a way to enable Unity's incremental GC. UPD: I found a way to enable incremental GC and it has been added to OWML and Mod Manager as a toggleable setting. - To predict future trajectory of a celestial body, this mod first predicts future trajectories of celestial bodies whose gravity affects said body. Because of that, it doesn't work too well with The Hourglass Twins, since they both affect each other causing a mutual recursion.
Besides occasional bugfixes, I'm not planning to update this mod further. But if you have a pull request with improvements I'll merge it.
Trajectory Prediction
Outer Wilds mod that predicts and visualizes your future trajectory