Trying to derive a ship's location
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 2
- Joined: Sat, 17. Aug 24, 08:46
Trying to derive a ship's location
I am going through the XML savefile and Im trying to locate a ship. I can figure out its x:y:z easy enough, but I don't see the string that would indicate its cluster or sector. Any insight? Sorry if its a noob question!
-
- Posts: 718
- Joined: Wed, 4. Jan 12, 22:23
Re: Trying to derive a ship's location
Ships are stored within a Zone of a Sector of a Cluster.
Clusters (Systems) are under:
Sectors are under each Cluster (within the "connections" above):
Zones are under each Sector (within the "connections" above):
Ships are, lastly, under a specific Zone (within "connections" above):
Not all zones have nice names that designate the current cluster/sector, so you have to go up to the Sector connection.
Unfortunately ships don't have a reference parameter to just store it for debug purposes (likely due to too much memory required to store all ship sector/zone info)
Clusters (Systems) are under:
Code: Select all
"universe" -> "component" -> "connections"
Code: Select all
(Cluster connection) -> "component" -> "connections"
Code: Select all
(Sector connection) -> "component" -> "connections"
Code: Select all
(Zone connection) -> "component" -> "connections"
Code: Select all
(Ship Connection) -> "connections" -> "component" -> (Zone Connection) -> "connections" -> "component" -> (Sector Connection)
Playing X4+All_DLC on:
CPU: Ryzen 5 5600X; RAM: 4x8GB DDR4 3200MHz; GPU: GTX 1070 8GB, Driver v536.23, DirectX 12.0; OS: Win10 Home 22H2 (19045.4780); Monitor: Single Acer S232HL 1920x1080
Duncaroo's Empire Logistics Tool (v0.23 Beta) - {{Vanilla Economy - Direct link}} {{Economy Overhaul Mod Version - Direct link}}
CPU: Ryzen 5 5600X; RAM: 4x8GB DDR4 3200MHz; GPU: GTX 1070 8GB, Driver v536.23, DirectX 12.0; OS: Win10 Home 22H2 (19045.4780); Monitor: Single Acer S232HL 1920x1080
Duncaroo's Empire Logistics Tool (v0.23 Beta) - {{Vanilla Economy - Direct link}} {{Economy Overhaul Mod Version - Direct link}}