Please test thoroughly...

Moderator: OpenTTD Developers
Code: Select all
#define abs myabs
Code: Select all
#ifdef _MSC_VER
#define _USE_MATH_DEFINES 1
#else
#define abs myabs
#endif
Ah... when the Smoothness is Rough or Very Rough, the standard industry placement routine has difficulty finding a flat enough area to place an industry. So they will tend to congregate on the plateaus at the tops of mountains. I will have to look at coding a "FlattenFootprintForIndustry" routine in PlaceNewIndustry.Singaporekid wrote:Yeah, industries seem to always occur at the same level, makes it rather easy![]()
Is nobody else testing this?
Unfortunately it is very difficult to put any bias of that sort into the routine. Fundamentally it is a random noise pattern.sc79 wrote:Is there any possibility you could encourage it to create more 'grouped' areas of land/ocean?
I do not scale the edge effect by the map size, so it always only snips about 10-20 tiles from the edge. If I scale it, on larger maps, the effect will spread quite far. Its worth a look though.On 256x256 maps it seems to work really well. You often get 1-2 land 'masses', along with a few islands, and a corner/edge of the map which is mostly ocean, giving the impression that you're looking at a small segment of a much larger world. However, on bigger maps, it really seems to hug the borders (i expect the numbers are the same, but relative to the map size, it looks worse), and most of the land masses get connected by strips.
Minor randomness is added by using a rougher smoothness. I think the small scale variations are about right - too much and everything is bumpy. On desert it certainly will create larger flat plains, but I deliberately add a noise function for these areas. (Which incidentally creates the anomaly of minor dents that look like dry wadis!)And yeah, some work on industry placement and/or minor terrain randomness (just 1-2 squares here and there to break it up) is needed.
Yup. I just didnt have time last night.AlienDNA wrote:Alright, then I humbly request another compiled win32 exe, so we can all test.
Thanks in advance!
Yes, there is something odd about both the transmitter and lighthouse placing. But what is weird, is I havent touched it!Brianetta wrote:Or on small islands off-shore.Hairysteed wrote:Might be difficult, but perhaps make the lighthouses appear on peninsulas, islands and areas where land tends to protrude seawards.
Users browsing this forum: No registered users and 4 guests