Making Lakes Bigger

nguyenforthewin13

Chieftain
Joined
Jul 5, 2017
Messages
35
As far as I'm aware, any body of water nine or less tiles in area is considered a lake by the game, offering fresh water access to cities and surrounding tiles. However, any body of water larger than nine tiles is automatically considered salt water and so does not give such bonuses.

I'm wondering this: is there a way to allow lakes to be bigger than just nine tiles? I tried hunting through the game's base XML and Lua and couldn't find anything related to lake size. The reason I'm asking this is because I'm making a Europe map where Lake Ladoga and Lake Vanern are each larger than nine tiles, and I'd prefer for them to be considered fresh water. Any and all help would be appreciated.
 
There are two global defines you'll need to change
Code:
		<Row Name="MIN_WATER_SIZE_FOR_OCEAN">
			<Value>10</Value>
		</Row>

		<Row Name="LAKE_MAX_AREA_SIZE">
			<Value>9</Value>
		</Row>

and you'll also need to change any ships you don't want building in them (eg Missile Cruisers and Nuclear Subs)

Code:
<MinAreaSize>10</MinAreaSize>
 
MinAreaSize of "10" is also used for Lighthouses, Great Lighthouse & etc. Coastal World Wonders, Harbors, and Seaports. So you'll have to deal with those as well if they aren't removed from the scenario.
 
Alright, thanks for the advice. I managed to successfully write some XML adjusting the size threshold for Lakes and the MinAreaSize for both Units and Buildings, so we're all good now. Again, thanks very much.
 
MinAreaSize of "10" is also used for Lighthouses, Great Lighthouse & etc. Coastal World Wonders, Harbors, and Seaports. So you'll have to deal with those as well if they aren't removed from the scenario.
Always learn something new every day. Mind exploded.
 
Back
Top Bottom