Station spawns

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

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

User avatar
Roguey
Posts: 1438
Joined: Tue, 6. May 03, 17:31
x4

Station spawns

Post by Roguey »

hi there, I wondered if anyone know how the station are spawned, are the random?

Ive been looking through the gamefiles (map xml's, mission director stuff, etc.) and cant seem to find how normal stations are spawned. I found shipyards, eq in the god.xml, but no production stations etc.

many thanks,
Roguey's Site: X3TC, X3AP, X3FL, X4.
Requiemfang
Posts: 3206
Joined: Thu, 16. Jul 09, 12:24
x4

Re: Station spawns

Post by Requiemfang »

Hey Roguey, I can tell you there are lots of construction ships in game, every new start I've played there are construction vessels near jump gates. I think what happens is those ships slowly as the game economy ramps up production as the game progresses that these ships get orders to deploy to new sectors or in areas of the sector they are in to build stations. I can't be sure though maybe some players here who've played longer than me can tell you.
User avatar
Roguey
Posts: 1438
Joined: Tue, 6. May 03, 17:31
x4

Re: Station spawns

Post by Roguey »

thanks for the info, so its looking like station spawns are random?

many thanks,
Roguey's Site: X3TC, X3AP, X3FL, X4.
MutantDwarf
Posts: 716
Joined: Tue, 20. Jun 06, 02:29
x4

Re: Station spawns

Post by MutantDwarf »

Roguey, check the god.xml file in Libraries again, line 1915 on down. It specifies the number and type of each factory station to generate in the universe and specifies where to place them, but most of them are placed randomly throughout the galaxy (with some quota for the number of factories to build). It looks to use the economy/security fields that each of the sectors have to determine which sectors are allowed to have which station.

I *suspect* those quotas are for game start, not for the entire rest of the game, but I may be wrong.
Langy the Mutant Dwarf
User avatar
Roguey
Posts: 1438
Joined: Tue, 6. May 03, 17:31
x4

Re: Station spawns

Post by Roguey »

@MutantDwarf thanks for pointing that out. I did think those might be ware goods at first; as the product id looks like it (arg_quantumtubes, arg_refinedmetals, etc.), but type parameter says 'factory'. It looks like I cant add station info to my maps - seeing as they are random.
Roguey's Site: X3TC, X3AP, X3FL, X4.

Return to “X4: Foundations - Scripts and Modding”