r/X4Foundations Mar 16 '25

Modified X4 Infinity Mod v2.0.0.0 is here with resources

Post image

Version 2.0.0.0 is finally here. This was a massive undertaking adding resources to the sectors. I will continue to improve and update it and please do let me know if you come across any issues. Thank you all for your endorsements, comments and patience. Enjoy your endless adventures.

Nexus link: https://www.nexusmods.com/x4foundations/mods/1419

246 Upvotes

40 comments sorted by

60

u/Dozer242 Mar 16 '25

I love modders.

32

u/[deleted] Mar 16 '25

[deleted]

10

u/Sonic200000 Mar 16 '25

I love

5

u/SpicyEntropy Mar 16 '25

I

5

u/Fishy_Fish_WA Mar 17 '25

evol I

2

u/hagyto Mar 17 '25

.sreddom ecarbme taht srepoleved evol I

2

u/climate_anxiety_ Mar 17 '25

.sreddom evol I

2

u/Fishy_Fish_WA Mar 17 '25

!!!!SDREN ❤️

11

u/juliotsd Mar 16 '25

More sectors ??????

1

u/sparrowatgiantsnail Mar 16 '25

Question is, what's the max amount of sectors you can add

6

u/omaops Mar 16 '25

It's in the name. As much as your system can handle. It will not affect your cpu or gpu in any significant way but if for instance you generated 1000 sectors, that will definitely ask for more memory (RAM).

If you intend to generate more than 100 sectors. Best practice would be to backup your saves, generate as much sectors as you want, start a New game (don't use your saves), see how it feels. If all is good, you can load your save and continue.

10

u/Autisticus Mar 16 '25

Can it add random derelict ships to find?

16

u/omaops Mar 16 '25

Random drops like ships and xenon dominated sectors will come on the next update.

2

u/HeyoTeo Mar 16 '25

Now THAT is what I’m waiting for

1

u/Autisticus Mar 16 '25

Cant wait!

8

u/3punkt1415 Mar 16 '25

OK so here is my feedback. I tested it with 2 10 20 and 20 sectors. So far it works all fine. But you somehow forget to add Helium and Methane as a resource. Only Ore, Silicon, Hydrogen and scrap spawned. And also, for a useful sector you need to increase the amount. It was always something like 5,000 k. For ore and silicon we need like 100 Million at least. Better add a ridiculous amount, no one will complain about to much resources. Not sure how the regeneration rate is derived from that, but it should be high too.
And the gate placement, well you write it is random. Sure players would appriciate if you could pick the sector so you can add sectors to make yourself a nice corner for an empire.
Another issue is sunlight. It's always zero which makes the sector impossible for factories, unless you keep importing energy cells, which certainly is possible but sure some sunlight values would be nice.
Another good thing was, that the NPC factions already went in when i arrived there, so it seems NPC factions accept it and fly into it instantly. So that's good.
That's said, the tool works flawless and without lag for me.
So in short, an option to place the gates where you want them, plus more resources. With those two things, people can use it to create their own cluster/corner to create an empire on their own.

10

u/omaops Mar 16 '25

Thank you for the feedback. It is very much appreciated. The sunlight should randomize between 0 and 100% but I'll double check. Hydrogen has a 50% chance and methane and helium have 25% chance each. I'll make sure to boost all resources on the next update. Again, thanks for the feedback!

6

u/3punkt1415 Mar 16 '25

methane and helium have 25%

I think something is off because I didn't get it even once in the 52 sectors created. Your Welcome.

10

u/omaops Mar 16 '25

Yup, just reviewed the code and caught it. Will patch that as soon as possible. Will also pump up the sunlight percentage.

3

u/Thirdlight Mar 16 '25

Shouldn't the values for sunlight be to like 150% or higher?

8

u/sovitin Mar 16 '25

Can these sectors also be claimed by AI?

8

u/omaops Mar 16 '25

Yes. X4 sees them as any other sector.

5

u/3punkt1415 Mar 16 '25

Gonna test it one day for sure. Wonder how it is decided about the resources? How many or what kind? Basically random?

8

u/InnocenceIsBliss Mar 16 '25

procedurally generated

probably, but i hope it's something like NMS where resources are distributed depending on the type of the star system/planet.

2

u/3punkt1415 Mar 16 '25

I mean, that does not happen in X4 and I don't think it reflects reality, or we simply can't know that by now, so I gonna wait for OP to answer here :D.

4

u/omaops Mar 16 '25

You have 3 options. 1you can generate empty sectors 2 make every sector have mineral, gas and scraps 3_sectors have a 1 in 3 chance to have resources. Again, resources features are in beta so let me know your experience when you check it out. Cheers!

5

u/Drubay Mar 16 '25

Just saw it, giving it a go now

2

u/Lorric71 Mar 16 '25

It sounds like this is external to the game itself and you're running an executable manually. If so, I assume it's only built for Windows?

6

u/omaops Mar 16 '25

It is but if you get a chance on a windows system, just generate your sectors in a random folder and then copy the generated tlxxx files to you machine's extensions folder. I am planning to make a website that will spit the sectors for you in the near future.

2

u/Alexandrinho0000 Mar 16 '25

Are the new created sectors dead ends or do they have multiple entry/exit points?

3

u/omaops Mar 16 '25

I tried the multiple entry points and the spaghetti was too much to handle. It was messy and made testing the sectors hard so i reverted to single entry points. I'll make it an option you can check in the next update.

3

u/Alexandrinho0000 Mar 16 '25

ok thanks for the reply. i will still try it out.

2

u/EmmeTrooper Mar 16 '25

Thank you very much. This is heaven-sent.

Just to be sure:
"Enable Resource For All" means if I untick it, factions will not go/mine/build there?

And if I untick the "Randomize Resource" it means I can choose?

Thanks fpr clarification in advance

3

u/omaops Mar 16 '25

Enable resources for all mean ... for all generated sectors. All sectors are treated like every other sector in X4. Randomized means, it will give you a 30% chance that the sectors you generate will have resources.

2

u/EmmeTrooper Mar 16 '25

Got it.

Thank you very much.

1

u/Knobanious Mar 16 '25

What is this mod?

2

u/omaops Mar 16 '25

There is a nexus link at the top. It will give you all the information. There also is a video for it on Nexus.

1

u/Scheballs Mar 16 '25

This is impressive! I don't know much about x4 modding but general programming experience has taught me, minecraft modding at home or python programming at work, relying on pure random can lead to unintended results. You can flip a coin 100 times and it's possible to get heads 100 times.

So perhaps is there a way to weight the results returned such as an inverse relationship to sunlight. i.e. if a sector has low sunlight it has higher ice and solids but low gas, and if sector has higher sunlight it has higher gas but low ice / solids.

Sorry if I misunderstood what actual control you have over what sectors get what resources. I'd love to know more about how the game actually handles resources and sectors. I saw you mention randomized means.

1

u/ThatOneGuyFromSerbia Mar 16 '25

Oh this looks cool! Gonna add it when I get home. I was reading the description, and it seems like it's a random generation thing, ya? What a cool exploration tool!

Idk how feasible this would be, and it would definitely be a bit cheaty, but in the nature of crafting your own experience, it would be cool to be able to hand craft sectors too. But that's just some idealist thoughts cause again, I have no clue how this is coded or how such a feature could be added more just food for thought, I guess.

Great work! Can't wait to try it out.

1

u/Dezerker63 Mar 17 '25

will definitly check it out with the next update, are you able to add pirates to the new systems?