The International Simutrans Forum

Community => Simutrans Gaming Discussion => Topic started by: isidoro on August 30, 2008, 03:16:32 AM

Title: Dominating city growth
Post by: isidoro on August 30, 2008, 03:16:32 AM
I didn't like how the cities grew over my roads and industries and would like to decide where they build new buildings.  With later versions of Simutrans it is possible.  I did this:

I went to the pak directory and inside it, made a backup copy of cityrules.tab, just in case I want to get the default behavior back.

Then, I edited the file (pak64, r1972):

I inserted these lines before the first house_ line I have commented out (notice the spaces and dots):

house_1 = ..... .sSS. .snS. .shS. .....
house_1.chance = -2

house_2 = ..... .SSs. .Sns. .Shs. .....
house_2.chance = -2

house_3 = ..... SsS.. hsn.. SsS.. .....
house_3.chance = -2


I saved the file and run simutrans.  With these changes, you get:

With this, you decide where the city will expand.  If you have a straight road and don't want the city to invade it, just make a "fake cross" like the one in the picture.  The city will not trespass.

Title: Re: Dominating city growth
Post by: wipi35 on August 30, 2008, 08:51:00 AM
Sounds interesting, I'll give it a try.