[Help] How does game determine Default Station Name?

The place to discuss scripting and game modifications for X4: Foundations.

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

User avatar
Duncaroos
Posts: 718
Joined: Wed, 4. Jan 12, 22:23
x4

[Help] How does game determine Default Station Name?

Post by Duncaroos »

I get it is based on the modules constructed, however for my Logistics Tool searches for the station's "name" attribute. For default/auto names there is no "name" attribute active with say a Page/Item ID that I could look up in the 't' files (e.g. {20103,2001} for language 44 (English) is "Hall of Judgement"). Right now when this happens, I just provide the Station ID (e.g. "Station ID:GGE-371") but is not very helpful for a high level look of what a current save game has. I am looking to improve my tool by creating an additional macro to create the default station name by looking at the modules on the station.

Is there a script file that goes over this well?
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}}

Return to “X4: Foundations - Scripts and Modding”