Minor Tribes or as commonly known Huts. 1 of
2
I went looking for huts the other day. Set up a world with few rivals, and set the End of Turn option. Saved the
map & sve file then stepped into a hut, saved the new map & sve files. Then off to the laboratory to compare the before and after snap shots of the event. In the deepest corners of my mind I knew that there is no easy bit that indicated the location of the huts. From the study of the special resources I suspected that the location of the huts is controlled by some formula. Given that the huts are removed from the map after one enters them I assumed that some indicator had to be present.
I did expect to find something in the
map file that would indicated where hut had been, but I found nothing. I found only the movement of the settler that had moved into the hut.
So I did a file compare of the two
sve files, nothing much, again the movement of the settler. There must be something. Then I noticed a strange thing one of the visibility bits had changed. So a closer look. What! The Barbarians were given visibility rights to the square that had had the hut. Reproducing the event a few times, it seemed to confirm that when a hut square in entered the barbarians’ visibility bit for that square is set. Strange as there are so many unused bits in the
map files data fields. So much for how the huts are removed from the map, but where did they come from.
So I thought maybe some portion of the variable that I call the “TerrainMasterWord” effected the initial location of the huts. So I manipulated the same section that controls where the special resources squares are. Some luck, I was able to generate new patterns for the huts.
Unfortunately the formula escapes me. I used the brute force method not as elegant as a formula but functionality is always better than nothing. At first glance there seems to be 16 different patterns controlled by the TerrainMasterWord.
Well as I went merrily on my way, oblivious to the fact that there are 32 not 16 patterns, programming away. The first test before I was going to release the program and of course it didn’t work.
Now I have four patterns of the 32 left to go before I'm finished. I am confident that the formula is similar to the special resources formula.
In TerraForm the huts will be displayed with either one with a
yellow or
gray roof. The yellow roof indicates that the hut is active and visible on the map. Also note the no huts are ever visible in CIV on water, but TerraForm shows where they would be if the square were not an ocean square. The gray roof indicates huts that have been entered.
In Special Resources & Huts mode you are give three options:
Show Active – only yellow on land are shown
Show All – all locations where a hut would be if the square was land are shown.
None- just that.
The options and check box for huts are saved between TerraForm sessions.
No update for huts just yet