How can I make cottages possible on oasis terrain?

Lord_Vetinari

übermensch
Joined
Feb 26, 2002
Messages
541
Location
Lake Vänern
Quick question here. I want to have the possibility to put cottages on oasis terrain. What do I have to change to make this possible?
 
go to xml\terrain\improvementinfos.xml. In the entry for the cottoge (and hamlet, village,...) change <FeatureMakesValids/> to <FeatureMakesValids>
<FeatureMakesValid>
<FeatureType>FEATURE_OASIS</FeatureType>
<bMakesValid>1</bMakesValid>
</FeatureMakesValid>
</FeatureMakesValids>
 
You beat me to it Chamaedrys, but since I don't have the game in front of me I'm glad you wrote it up so well. :thumbsup:
 
If you just copy/pasted it, you might have to space them properly. Also you probably have to start a new game in order to test it.
 
ArneHD said:
If you just copy/pasted it, you might have to space them properly. Also you probably have to start a new game in order to test it.

I did both of those things, but it still wouldn't work. No idea what to try next.
 
Although I havn't had eny problems with it, you might try clearing the cahe, although I don't know how much good it will do.
 
Sorry! I forgot something:

<bNoImprovement>1</bNoImprovement>

should be change to <bNoImprovement>0</bNoImprovement> in the xml\terrain\featureinfos.xml
 
Lord_Vetinari said:
Thanks again, it's working now! :goodjob:

Only problem is that I can also farm flood plains now, but I can live with that.

You couldn't farm floodplains before? I have always been able to farm floodplains.
 
ArneHD said:
You couldn't farm floodplains before? I have always been able to farm floodplains.

I echo.

btw: A cottage on an oasis is a good idea. I have add it to my private mod.
 
I think this is the reason for that:

<bFreshWaterMakesValid>1</bFreshWaterMakesValid> in the farm entry in the improvementinfos. Farms are maybe the most used improvement of the game. I would not change it.
 
Back
Top Bottom