X4: Foundations

X4: Foundations

101 ratings
Module Limit Expansion
3
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
199.499 KB
6 Apr, 2024 @ 6:18pm
27 Feb @ 6:43pm
22 Change Notes ( view )

Subscribe to download
Module Limit Expansion

Description
This mod increases the module limit for NPC stations.
  • When starting a new game, each station will have more modules, reducing the total number of stations and improving game performance.
  • If introduced mid-game, the new module limit will be applied when NPCs expand existing stations or construct new ones.
20 Comments
QuietMan 4 Mar @ 4:57am 
could the feedback loop (shortage -> more modules -> shortage) be cause as the AI planning cycle is balanced for more smaller stations = faster build?
The building time for each station is constrained by having only one module build at a time. You might need to reduce the module building time to balance the time for adding new modules to the AI planning cycle.
Schwarzemona  [author] 9 Feb @ 2:52pm 
わかりました。楽しんでくれてありがとうございます。
I understand. Thanks for having fun.
Mr Testicle Inspecticle 9 Feb @ 2:49pm 
Nah nah bro i was just saying how i basically recreated the terraformer war in my game lmao, it aint a bad review by any means
Schwarzemona  [author] 9 Feb @ 2:47pm 
このMODはあくまでステーションのモジュール数制限を変更するのみで、派閥のステーション建築のロジックを弄っていないのですが、確かに船体部品とクレイトロニクスが不足してしまうことがあり、結果無限ループ(船体部品とクレイトロニクスが足りないから増やそう、さらに船体部品とクレイトロニクスが足りないから‥‥)に陥ってしまうことがあるようです。何とかならないかなぁ‥‥
This mod only changes the module limit for stations and doesn’t alter the logic behind how factions build their stations. However, as you observed, it can lead to shortages of hull parts and claytronics, potentially causing a feedback loop (e.g., "Not enough hull parts and claytronics → Build more modules → Even fewer hull parts and claytronics"). I wonder if there’s a way to solve this...
Mr Testicle Inspecticle 9 Feb @ 10:45am 
Downloaded this mod in the middle of a game that was going on for a while, The demand for hull parts and claytronics shot up and the galaxy went into turmoil, the paranid in litanys fury and wretched skys were destroyed by the xenon because they used all their resources on stations and couldnt defend thenselves, the zyarth in the neighboring sectors followed soon after and were pushed back all the way to family nhuut calling for my intervention, even the holy order was get eating alive for the same reason. But hey atleast the other factions like the terrans started prospering so 10/10 would repeat history again :steamthumbsup:
Osium 1 Nov, 2024 @ 3:59pm 
Ok thanks, perfect explanation, thank you kindly!
Schwarzemona  [author] 31 Oct, 2024 @ 7:02am 
なぜこのような(modules.xmlで定義せずに別々の値を定義)ことをしているかというと、ゲームスタート時にモジュール上限数が大きいとステーション生成に失敗する可能性が高くなるためです。

The reason for setting these values separately (without defining them in modules.xml) is to avoid station generation failures, which can become more likely if module limits are too high at the start of the game.
Schwarzemona  [author] 31 Oct, 2024 @ 7:01am 
<replace sel="/parameters/economy/modulelimits/@production">20</replace>

This defines the module limit for modules that do not have an upper limit set in modules.xml. In this mod, I've removed the upper limits for many modules in modules.xml and instead defined them in parameters.xml.

<replace sel="/god/stations/defaults/modules/@production">6</replace>
<replace sel="/god/stations/defaults/quota/@sector">40</replace>

Both of these are only applied at the start of the game. The first one defines the upper limit at the start of the game for modules that don’t have a limit in modules.xml, while the second one sets the sector cap for stations at the beginning of the game.
Schwarzemona  [author] 31 Oct, 2024 @ 7:01am 
<replace sel="/parameters/economy/modulelimits/@production">20</replace>

これはmodules.xmlで上限が定義 されていない モジュールの上限を定義しています。このMODではmodules.xmlで多くのモジュールの定義を削除し、その代わりにparameters.xmlで定義しています。

<replace sel="/god/stations/defaults/modules/@production">6</replace>
<replace sel="/god/stations/defaults/quota/@sector">40</replace>

この2つはどちらも ゲームスタート時のみ 適用されます。1つ目はmodules.xmlで上限が定義されていないモジュールの、ゲームスタート時の上限を定義しています。2つ目はゲームスタート時のステーションのセクター上限数を定義しています。
Osium 30 Oct, 2024 @ 9:22pm 
I've been poking around with module limits and I was wondering if you could toss an explanation on a couple of things.

<replace sel="/parameters/economy/modulelimits/@production">20</replace>

What does this define ? Is it the total number of production modules of a certain ware the AI ​​will build?

<replace sel="/god/stations/defaults/modules/@production">6</replace>

<replace sel="/god/stations /defaults/quota/@sector">40</replace>

I'm guessing these two are, the max number of production modules on a single station, and the max number of production modules of any type in a sector? So a single sector will build stations up to 40 production modules, and no more than 6 modules on the station?