[HUD] Display Sector coordinates

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
FrostBoronBurger
Posts: 7
Joined: Fri, 11. Oct 13, 02:51

[HUD] Display Sector coordinates

Post by FrostBoronBurger » Tue, 22. Oct 13, 21:36

Hi, pretty straightforward, is there a way to show the sector coordinates of the playership (x,y,z) on the hud without resorting to the sector map every time?

Additionally, if there is a way to script writing info to the HUD, I can find my way around the script editor (hopefully) ;)

User avatar
scoutster
Posts: 97
Joined: Sun, 13. Jul 08, 11:45
x3tc

Post by scoutster » Wed, 23. Oct 13, 17:16

Check out these commands.

Code: Select all

<RetVar> = <RefObj> get x position
<RetVar> = <RefObj> get y position
<RetVar> = <RefObj> get z position

display subtitle text: text=<Var/String> duration=<Var/Number> ms
The result would be a one-shot though, you'd still have to hit for example a mapped hotkey each time you want an update.

FrostBoronBurger
Posts: 7
Joined: Fri, 11. Oct 13, 02:51

Post by FrostBoronBurger » Wed, 23. Oct 13, 18:43

Maybe it cannot be done with scripts alone, has to be a mod.

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”