Hextorio - Build in hexagons


Adds dungeons, quests, an economy and trading system, the ability to level up items in the game, and an extra tier for transport belts, belt capacity, modules, quality, spidertrons, spaceship fuel recipes, chemical fuels, bullet magazines, rockets, combat robots, and nauvis ores (endgame). Also divides the planets into hexagons, which contain resources, enemy bases, or profitable trades. Get rich by selling your excess items, buy hexagons, and plunder the powerful dungeons on every planet!

Content
9 days ago
2.0
919
Transportation Logistics Combat Enemies Environment Mining Storage

g Anoyed at mixed resources

2 months ago
(updated 2 months ago)

I like the idea of this mod quite a bit but to be honest handling the mixed resources seems to be a pain. Would it be possible on future versions to add an option so except the first hexagon resources can be split one per hex? (maybe with some mixed but overall split?

Ty for your work in this mod

2 months ago
(updated 2 months ago)

There is an option for this already. Open Mod Settings and press Ctrl+F to search for the two settings that come up from the word "mixed", and set them both to unchecked. That mostly separates ores to start with, but then also set the Resource Bias (search "bias") to something like 200. That purifies all non-starting hexes to single ore types. :) Same goes for fluid wells on Aquilo with those settings.

You can also change the Ore Generation Mode setting to get different ore shapes in hexes.

2 months ago

Facepalms For some reason I only focused on the startup options and forgot map options are a thing, sorry.

Also, unsure if this is a bug but tried to set the maximum hex size and resources stopped spawning (or maybe if was just loading them after startup? as map took a long time to turn into hexagons) with only a few tiles with any resources in the initial hex

2 months ago

Yeah, the hex generation is an expensive calculation. The limit of 100 tiles of hex diameter is a bit high but leaves room for people to experiment with it as they wish.

2 months ago
(updated 2 months ago)

A few things I have noticed: Making the space between hexagons bigger seems to mess up with resource distribution, changing the resources to the center or an hexagon seems to work, however this leads to less resources and the small hexagon inside an hexagon option seems to make it so only one resource exists inside of it Edit:In the starting hexagon I mean.

Ty for your help and work

2 months ago

I'm able to reproduce the "Along Edges" bug for larger hexes and stroke width, but not the single ore type in starter hex with the "Single Hex" option, even with high bias like 200. For now, the "Along Edges" bug can be resolved by tweaking the resource stroke with settings, to bring the resources back. I tested a nauvis hex size of 48 and stroke width of 12 with a resource stroke width of 5, and that brought resource back with a visible stroke width of 4.

The whole stroke width calculation (going for both the tiles between hexes and the resource spawning along edges) is quite convoluted and hard for me to understand. I've spent a lot of time struggling with it to make it work somewhat as expected. Part of the weirdness in its behavior is from floating point arithmetic and how axial (hexagonal) grids don't align nicely with rectangular grids, but also there definitely seems to be some small error in the math somewhere. Not sure what's up with it.

2 months ago

Thanks, these are the settings and starting situation in case it helps, it repeats every time tho at least personally its not an option I am going to use (was just experimenting and thought of reporting the bug) https://imgur.com/a/SCGDFkZ

2 months ago

I'm still not getting that bug, using the same settings. Are your map gen settings getting tweaked by other mods? (I see you have other mods enabled)

2 months ago

Should have thought of that. I do not think I have anything that affects map gen but will do some tests to see if only having this mod it still happens or if not what mod is causing it

2 months ago

So, I tried disabling everything and it still does "happen", in actuality part of the problem is that generating a new game does not change the seed so I was regenerating the faulty map, however the map changes slightly every time somehow so it did not seem the same exact map. After regenerating with different seeds I find most often the hexagon with two resources or just one under those settings https://imgur.com/a/0gSBFVs

Here is the seed of the last picture tho in general this seems a bit of an edge case. 2758428191

Thank you

2 months ago
(updated 2 months ago)

Oh... I see now how that's happening. It's caused by the "pie angles" that one of the mod settings introduces. You didn't show that you changed the ore mixture settings. That's what's causing it. I can make it work much more as expected. Thanks again :)

2 months ago

Alright, it's now fixed in 1.0.14.

2 months ago

Thanks! ^^

New response