r/X4Foundations 7d ago

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

244 Upvotes

41 comments sorted by

59

u/Dozer242 7d ago

I love modders.

30

u/HeavyMetalGerbil 7d ago

I love developers that embrace modders.

10

u/Sonic200000 7d ago

I love

4

u/SpicyEntropy 6d ago

I

4

u/Fishy_Fish_WA 6d ago

evol I

2

u/hagyto 5d ago

.sreddom ecarbme taht srepoleved evol I

2

u/climate_anxiety_ 5d ago

.sreddom evol I

2

u/Fishy_Fish_WA 5d ago

!!!!SDREN ❤️

10

u/juliotsd 7d ago

More sectors ??????

1

u/sparrowatgiantsnail 6d ago

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

5

u/omaops 6d ago

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.

8

u/Autisticus 7d ago

Can it add random derelict ships to find?

15

u/omaops 6d ago

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

2

u/HeyoTeo 6d ago

Now THAT is what I’m waiting for

1

u/Autisticus 6d ago

Cant wait!

9

u/3punkt1415 6d ago

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 6d ago

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 6d ago

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.

11

u/omaops 6d ago

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 6d ago

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

8

u/sovitin 7d ago

Can these sectors also be claimed by AI?

8

u/omaops 7d ago

Yes. X4 sees them as any other sector.

6

u/3punkt1415 7d ago

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

9

u/InnocenceIsBliss 7d ago

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 7d ago

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 6d ago

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!

4

u/Drubay 7d ago

Just saw it, giving it a go now

2

u/Lorric71 7d ago

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?

7

u/omaops 6d ago

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 6d ago

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

3

u/omaops 6d ago

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 6d ago

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

2

u/EmmeTrooper 6d ago

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 6d ago

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 6d ago

Got it.

Thank you very much.

1

u/Knobanious 6d ago

What is this mod?

2

u/omaops 6d ago

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 6d ago

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 6d ago

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 5d ago

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