Stacks Image 240


URL parameters for the ship displays


URL parameters


The ship displays pass information between each other using URL parameters. You can use these to make your own custom links to the pages so they will display information relevant to your game.


Examples

This link will set take you to the DYN page, with it set to calculate a journey from Tycho Station to Jupiter in a ship called Dumpster, that has a total deltaV of 6 g days, with a 0.5 g burn.
https://www.expanse.iandrea.co.uk/displays/code/dyn.html?&from=13,Tycho%20Station&to=8,Jupiter&name=Dumpster&deltav=6&accel=0.5&dist=2.973


The parameters

&from=
The journey starting location.
&to=
The journey ending location.
&name=
Name of the ship, in a URL-friendly form (spaces become %20 etc.)
&accel=
Acceleration value. This will be used for deceleration too, but you can manually modify this on the DYN screen.
&deltav=
Total deltaV of the ship, in g days. This defaults to 4.7 g day.
&dist=
The distance between the start and finish, in astronomical units.
&date=
The date in this form: YYYY-MM-DD, such as 2351-07-01. This is only used by NAV2T, but is passed to and from the other displays so that NAV2T keeps updated.


Tips

The easiest way to determine which parameters to use is to go to DYN, NAV2T, NAV2, or NAV3, edit the values on the page, and then go to another ship display and have a look at the URL.

For example, if you enter a ship name of "Running on Empty" you will find that the parameter is:
&name=Running%20on%20Empty

Similarly, the correct parameter for destination asteroid 8 Flora is:
&to=22,8%20Flora%20(A847%20UA)
Stacks Image 238