 |
|  |
 |
|
smacksim
|
 |
Deputy Chairman of the Council of Lords of Gaia
Feb 2004 time: 00:35
|
|
Part I: The Worldbuilder
Introduction to editing the Alphax.txt
If you've never edited the Alphax.txt, please go check out Darsnan's and Rubin's introduction here: Alphax.txt editing
It's easy to edit, but it's easy to break the game if you are not careful. As with all things like this, make backups and keep them clearly labeled and in a safe place. If you produce a game crash, it is almost always fixable by simply putting the original files back in place. Secondly, never play a normal Pbem with a modified alphax.txt unless all parties are aware you are doing that. Some changes cause MP not to work at all. Other changes are considered cheating, and rightly so. The point is, if you like pbems, you must be doubly cautious about keeping your 'clean' version of Smax separate from anything you change. I know it seems obvious to some, but it can't hurt to mention.
In Darsnan's and Rubin's (D+R) article, the various sections of the Alphax text are nicely outlined. I'll be discussing the #Worldbuilder section, which controls how the game builds random maps, based on your selections at startup and on the variables in it's section.
One really nifty thing about the alphax.txt is that you can keep it open in the background and switch back and forth to Smax while you test changes, rather than re-starting Smax. With something like the worldbuilder, it's best to do the change while you are on a map, rather than at the main menu. Changes apply after returning to the main menu, not while you are there.
Here's the #Worldbuilder section from an unmodified Alphax.txt:
code: from the Alphax.txt
#WORLDBUILDER
384, ; Land base (Seeded land size of a standard world)
256, ; Land modifier (additional land from LAND selection: x0, x1, x2)
12, ; Continent base (Base size of a land mass seed)
24, ; Continent modif. (Increased size from LAND selection: x0, x1, x2)
1, ; Hills base (Base # of extra hills)
2, ; Hills modifier (additional hills from TIDAL selection: x0, x1, x2)
4, ; Plateau base (Basic plateau size)
8, ; Plateau modifier (Plateau modifier based on LAND selection: x0, x1, x2)
8, ; Rivers base (Basic # of rivers)
12, ; Rivers rain mod. (Additional rivers based on RAIN selection)
14, ; Solar Energy (Latitude DIVISOR for temperature based on HEAT) Smaller # increases effect of HEAT selection
14, ; Thermal band (Latitude DIVISOR for thermal banding) Smaller # widens hot bands
8, ; Thermal deviance (Latitude DIVISOR for thermal deviance) Smaller # increases randomness
8, ; Global Warming (Latitude DIVISOR for global warming) Smaller # increases effect of warming
5, ; Sea Level Rises (Magnitude of sea level changes from ice cap melting/freezing)
5, ; Cloudmass peaks (Size of cloud mass trapped by peaks)
3, ; Cloudmass hills (Size of cloud mass trapped by hills)
1, ; Rainfall coeff. (Multiplier for rainfall belts)
15, ; Deep water (Encourages fractal to grow deep water)
10, ; Shelf (Encourages fractal to grow shelf)
15, ; Plains (Encourages highland plains)
10, ; Beach (Encourages wider beaches)
10, ; Hills (Encourages hills x TIDAL selection)
25, ; Peaks (Encourages peaks)
1, ; Fungus (Fungus coefficient based on LIFE selection)
3,6,12,18,24 ; Ratio (Continent size ratios)
36 ; Islands (Higher # increases island count)
If you've played the game a few times with the various settings, then some of the above will make sense. If you are new to Smax, come back here in a few hundred games, or when you tire of the AI's poor performances, whichever is first.
The main changes I have tried to induce with the worldbuilder are as follows:
- Make fewer small islands
- Keep continents to a medium size and encourage separate continents
- Discourage deep water and encourage shallow water
- Discourage high plateaus
- Encourage rain-making peaks
There are certainly other goals that might improve the AI. I will outline why I chose those goals.
1. The AI does not 'land and expand' islands very well. Instead they tend to build a sea-base next to an island and never terraform the island at all. The exception is their home island, which they DO actually try to use terraforming to raise, if it's small. The remedy is to keep islands few and far between, which encourages the AI to 'land and explore' on big continents, rather than park sea colony pods near worthless fungus-covered islands.
2. Along with reducing the number of tiny islands, it's nice to have lots of medium continents rather than a single huge one, or, all tiny islands. This is a trade off, and lots of opinions on this matter are valid. For example, a single large continent full of AI factions encourages them to trade tech. On the other hand it encourages war early on. Secondly, factions that have a whole medium continent to themselves tend to move into 'builder mode', making lots of base facilities, which vastly improves their chances in the mid-game. Thirdly, and perhaps most importantly, several medium continents leads to the most equitable starting positions, on average. All too often with a single large continent, all the factions will either be grouped in a corner of that continent, or they will all be on tiny islands surrounding the continent. This is a goofy feature of the Starting-location algorithm, an algorithm that we can't change, unfortunately.
3. Deep water vs. Shallow water. Again, a trade off. The AI makes lots of seabases, in general. Unfortunately, it will do this whether or not the sea is profitable compared to the available land. To this end, shallow water, which allows the best and cheapest terraforming, is far better for the silly AI than a bunch of bases in the Marianas trench. Yes, in my experience, shallow water encourages the AI to build even more sea bases. That's the trade off. However, this also allows them to ICS as much as they want. Millions of Hive seabases in a world of shallows is much better than a half-million Hive bases in unproductive deep water.
4. High plateaus make excellent energy parks for human players. The AI ignores them entirely for base building or any other use, except to cross to attack another faction. This is one of those 'obvious things' to change that isn't clear until you look again at how the AI makes bases.
5. While reducing the number of plateaus, it's a nice thing to concurrently raise the number of peaks and/or hills. Hills and peaks lead to rainy patches. They cause streams to meander, and they bring a few rocky squares into the neighborhood, something the AI likes a lot with it's penchant for building mines.
So how to achieve these goals? Here's my version of the #worldbuilder section for Smax. If it hasn't been made clear yet, back up your copy of alphax.txt (these apply to alpha.txt as well) before making any changes, and please, do not forget what version you are using if you are playing multi-player games. Most 'modders' create a whole new install of Smax for testing out their tweaks and changes. This is a very good idea.
code:
#WORLDBUILDER
384, ; Land base (Seeded land size of a standard world)
100, ; Land modifier (additional land from LAND selection: x0, x1, x2)
48, ; Continent base (Base size of a land mass seed)
24, ; Continent modif. (Increased size from LAND selection: x0, x1, x2)
5, ; Hills base (Base # of extra hills)
2, ; Hills modifier (additional hills from TIDAL selection: x0, x1, x2)
3, ; Plateau base (Basic plateau size)
4, ; Plateau modifier (Plateau modifier based on LAND selection: x0, x1, x2)
12, ; Rivers base (Basic # of rivers)
12, ; Rivers rain mod. (Additional rivers based on RAIN selection)
14, ; Solar Energy (Latitude DIVISOR for temperature based on HEAT) Smaller # increases effect of HEAT selection
14, ; Thermal band (Latitude DIVISOR for thermal banding) Smaller # widens hot bands
8, ; Thermal deviance (Latitude DIVISOR for thermal deviance) Smaller # increases randomness
8, ; Global Warming (Latitude DIVISOR for global warming) Smaller # increases effect of warming
5, ; Sea Level Rises (Magnitude of sea level changes from ice cap melting/freezing)
5, ; Cloudmass peaks (Size of cloud mass trapped by peaks)
3, ; Cloudmass hills (Size of cloud mass trapped by hills)
1, ; Rainfall coeff. (Multiplier for rainfall belts)
1, ; Deep water (Encourages fractal to grow deep water)
5, ; Shelf (Encourages fractal to grow shelf)
10, ; Plains (Encourages highland plains)
2, ; Beach (Encourages wider beaches)
2, ; Hills (Encourages hills x TIDAL selection)
35, ; Peaks (Encourages peaks)
1, ; Fungus (Fungus coefficient based on LIFE selection)
3,6,12,18,24 ; Ratio (Continent size ratios)
5 ; Islands (Higher # increases island count)
I'll come back and explain the changes in a bit.
-Smack
Last edited by smacksim on 09-07-2004 at 10:42
|
|
|  |
 |
|
smacksim
|
 |
Deputy Chairman of the Council of Lords of Gaia
Feb 2004 time: 00:35
|
|
On the changes I've made: Keep in mind that many possible changes might improve the AI. Please post changes you found helpful.
Numbers in red are the original values, numbers in black are the new values. Don't copy-paste this for applying the changes! I'll attach a 'clean copy' at the bottom.
code:
#WORLDBUILDER
384, ; Land base (Seeded land size of a standard world)
256, 100, ; Land modifier (additional land from LAND selection: x0, x1, x2)
12, 48, ; Continent base (Base size of a land mass seed)
24, ; Continent modif. (Increased size from LAND selection: x0, x1, x2)
1, 5, ; Hills base (Base # of extra hills)
2, ; Hills modifier (additional hills from TIDAL selection: x0, x1, x2)
4, 3, ; Plateau base (Basic plateau size)
8, 4, ; Plateau modifier (Plateau modifier based on LAND selection: x0, x1, x2)
8, 12, ; Rivers base (Basic # of rivers)
12, ; Rivers rain mod. (Additional rivers based on RAIN selection)
14, ; Solar Energy (Latitude DIVISOR for temperature based on HEAT) Smaller # increases effect of HEAT selection
14, ; Thermal band (Latitude DIVISOR for thermal banding) Smaller # widens hot bands
8, ; Thermal deviance (Latitude DIVISOR for thermal deviance) Smaller # increases randomness
8, ; Global Warming (Latitude DIVISOR for global warming) Smaller # increases effect of warming
5, ; Sea Level Rises (Magnitude of sea level changes from ice cap melting/freezing)
5, ; Cloudmass peaks (Size of cloud mass trapped by peaks)
3, ; Cloudmass hills (Size of cloud mass trapped by hills)
1, ; Rainfall coeff. (Multiplier for rainfall belts)
15, 1, ; Deep water (Encourages fractal to grow deep water)
10, 5, ; Shelf (Encourages fractal to grow shelf)
15, 10, ; Plains (Encourages highland plains)
10, 2, ; Beach (Encourages wider beaches)
10, 2, ; Hills (Encourages hills x TIDAL selection)
25, 35, ; Peaks (Encourages peaks)
1, ; Fungus (Fungus coefficient based on LIFE selection)
3,6,12,18,24 ; Ratio (Continent size ratios)
5 ; Islands (Higher # increases island count)
I'll attempt to explain line-by-line. Keep in mind that many of the changes work together to produce the desired results:
256, 100, ; Land modifier (additional land from LAND selection: x0, x1, x2)
This is the amount of extra land per size above a standard world. The smaller this number, the more important your other settings become, because extra land is sort of uncontrollable, whereas adding land via extra peaks or hills is more quantifiable and predictable. However, you do want to add some land based on world size, or super-gigantic worlds will be mostly ocean no matter what.
12, 48, ; Continent base (Base size of a land mass seed) I'm not as clear on this. but it seems vaguely to do what it vaguely says, that is, make each continent a certain size initially, then tack on extras like plateaus, extra land, hills, etc.. Further testing needed.
1, 5, ; Hills base (Base # of extra hills)
2, ; Hills modifier (additional hills from TIDAL selection: x0, x1, x2)
These two things have a huge impact on your map. Each extra hill is multiplied extensively on a huge map, not just 5X2. More like (5 x number of continents generated). The tidal selection (percent water) is a nice bonus that allows further refinement of your generator. By lowering this number further you can keep the nuance between various settings even smaller if you know what you are looking for in a map. By increasing the modifier you make drastic changes between the tidal settings. This kind of modifier appears a few times in the worldbuilder. That's how it works.
Plateau Base + Modifier lines work just like the hills modifier. Adding more plateaus doesn't seem to add more land though. It adds to the # of plateaus on existing land, which rarely extends the continent into the sea like the Hills setting seems to do.
Rivers -> 12. I like rivers 
15, 1, ; Deep water (Encourages fractal to grow deep water)
10, 5, ; Shelf (Encourages fractal to grow shelf)
Strangely, I had to lower both of these values to get the kinds of maps I wanted. Perhaps this is because these values are applied after generating the continents. They seem to eat away at existing landmasses, ruining all the things we've made before. This needs more research.
Plains seem similar to Plateaus. More research.
10, 2, ; Beach (Encourages wider beaches)
10, 2, ; Hills (Encourages hills x TIDAL selection)
25, 35, ; Peaks (Encourages peaks)
Beach. Try increasing this radically. It makes steep sloped beaches, not flat beaches. I think this is the most mis-named variable of the bunch. Thus, I reccomend you play with it last. Hills appear here as well, along with their big cousins, Peaks. It seems Peaks need Hills to grow upon, as you'll notice if you increase the Peaks value without correspondingly more Hills. This is where I add more land based on tidal selection, rather than via the land modifier (the 100 at the top). Thus, extra land is mostly in the form of rolling hills and peaks, which seems to do wonders for the AI, hides some landmarks a bit more, and causes the rivers to meander a bit more before dumping into the sea. Rivers speed up the AI as well as the player. Since the AI sometimes gets funny notions about travelling all over the map, this dampens the pain of that a tiny degree.
Basically the key is that the amount of land on a map is determined by many many factors put together, not just the top two. For instance, increasing hills increases the amount of land. Strangely, increasing peaks only increases the amount of land, if there are hills for it to 'work on' in making peaks. Also, encouraging shallows and deep water 'chew away' at the amount of land created.
So all in all, I found somewhat of a balance that creates just about as much land (a little more typically) as the original worldbuilder, but it:
Has fewer tiny islands
Has more shallows than deep water
Has a high likelihood of generating several medium continents instead of a massive one
Has few plateaus, but lots of peaks
-Smack
Last edited by smacksim on 09-07-2004 at 10:36
|
|
|  |
 |
|
smacksim
|
 |
Deputy Chairman of the Council of Lords of Gaia
Feb 2004 time: 00:35
|
|
Some examples with my world settings. A Huge world with all average settings. You can see that there are distinct landmasses and few small islands. This favors the AI, as well as being generally more fun to play on, IMO Hard to see is that the ocean is nearly all shallow.
Attachment: myworld2.jpg
This has been downloaded 307 time(s).
Last edited by smacksim on 09-07-2004 at 10:07
|
|
|  |
 |
|
smacksim
|
 |
Deputy Chairman of the Council of Lords of Gaia
Feb 2004 time: 00:35
|
|
Parts II and III are moving over here
Last edited by smacksim on 11-07-2004 at 05:58
|
|
|  |
 |
|
smacksim
|
 |
Deputy Chairman of the Council of Lords of Gaia
Feb 2004 time: 00:35
|
|
Here's my latest Worldbuilder section of alphax.txt You can copy paste it into your own. It should work with smac or smax, but I havn't tested it with smac.
#WORLDBUILDER
384, ; Land base (Seeded land size of a standard world)
100, ; Land modifier (additional land from LAND selection: x0, x1, x2)
72, ; Continent base (Base size of a land mass seed)
24, ; Continent modif. (Increased size from LAND selection: x0, x1, x2)
5, ; Hills base (Base # of extra hills)
2, ; Hills modifier (additional hills from TIDAL selection: x0, x1, x2)
3, ; Plateau base (Basic plateau size)
4, ; Plateau modifier (Plateau modifier based on LAND selection: x0, x1, x2)
12, ; Rivers base (Basic # of rivers)
20, ; Rivers rain mod. (Additional rivers based on RAIN selection)
14, ; Solar Energy (Latitude DIVISOR for temperature based on HEAT) Smaller # increases effect of HEAT selection
14, ; Thermal band (Latitude DIVISOR for thermal banding) Smaller # widens hot bands
8, ; Thermal deviance (Latitude DIVISOR for thermal deviance) Smaller # increases randomness
8, ; Global Warming (Latitude DIVISOR for global warming) Smaller # increases effect of warming
5, ; Sea Level Rises (Magnitude of sea level changes from ice cap melting/freezing)
5, ; Cloudmass peaks (Size of cloud mass trapped by peaks)
3, ; Cloudmass hills (Size of cloud mass trapped by hills)
1, ; Rainfall coeff. (Multiplier for rainfall belts)
0, ; Deep water (Encourages fractal to grow deep water)
10, ; Shelf (Encourages fractal to grow shelf)
10, ; Plains (Encourages highland plains)
3, ; Beach (Encourages wider beaches)
2, ; Hills (Encourages hills x TIDAL selection)
35, ; Peaks (Encourages peaks)
1, ; Fungus (Fungus coefficient based on LIFE selection)
3,6,12,18,24 ; Ratio (Continent size ratios)
5 ; Islands (Higher # increases island count)
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:35. Apolyton Time is 00:35. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|