How to get the coordinates of my position?

Solution 1:

I'm not sure exactly if this is what you need, but we have a mod that exports the current position in the log file: https://github.com/timothyparez/xrebirth-playerposition

We're going to use this to create a 'second screen' experience where your tablet can represent a map. The source code may help you to get an idea how to get the current position.

Solution 2:

When you press PrntScr game makes screenshot. In screenshot folder for each image there are text files with same name, that contain position of player ship like this:

<teleport zone="tzonecluster_d_sector18_zone50_macro">
<offset>
<position x="-2890.886" y="1270.002" z="-865.186"/>
<rotation yaw="-8.44914" pitch="2.40675" roll="-175.97554"/>
</offset>
</teleport>