More beliefs

wuTz

Warlord
Joined
Jan 12, 2012
Messages
190
Hey,

Theres a mod in the Workshop out there.

I took "God of Lakes" in my first game and it didn't work

+1:c5food: Food for lake tiles.

So I think, lakes are features like jungle, I changed it but it didn't work...

Code:
	<Belief_FeatureYieldChanges>
		<Row>
			<BeliefType>BELIEF_LAKES</BeliefType>
			<FeatureType>FEATURE_LAKE</FeatureType>
			<YieldType>YIELD_FOOD</YieldType>
			<Yield>1</Yield>
		</Row>
	</Belief_FeatureYieldChanges>

instead of
Code:
	<Belief_TerrainYieldChanges>
		<Row>
			<BeliefType>BELIEF_LAKES</BeliefType>
			<TerrainType>TERRAIN_LAKE</TerrainType>
			<YieldType>YIELD_FOOD</YieldType>
			<Yield>1</Yield>
		</Row>
	</Belief_TerrainYieldChanges>

what is the mistake?

Do you have any similar problems? (playing the mod/modding)
 
Hey,

Theres a mod in the Workshop out there.

I took "God of Lakes" in my first game and it didn't work

+1:c5food: Food for lake tiles.

So I think, lakes are features like jungle, I changed it but it didn't work...

Code:
	<Belief_FeatureYieldChanges>
		<Row>
			<BeliefType>BELIEF_LAKES</BeliefType>
			<FeatureType>FEATURE_LAKE</FeatureType>
			<YieldType>YIELD_FOOD</YieldType>
			<Yield>1</Yield>
		</Row>
	</Belief_FeatureYieldChanges>

instead of
Code:
	<Belief_TerrainYieldChanges>
		<Row>
			<BeliefType>BELIEF_LAKES</BeliefType>
			<TerrainType>TERRAIN_LAKE</TerrainType>
			<YieldType>YIELD_FOOD</YieldType>
			<Yield>1</Yield>
		</Row>
	</Belief_TerrainYieldChanges>

what is the mistake?

Do you have any similar problems? (playing the mod/modding)

Iam not sure, but i know we can add beliefs.
For this problem, maybe this could help. Under Civ Features you can see:
<FakeFeatures>
<Row>
<ID>0</ID>
<Type>FEATURE_LAKE</Type>
<Description>TXT_KEY_CIV5_FEATURES_LAKE_TITLE</Description>
<Civilopedia>TXT_KEY_CIV5_FEATURES_LAKE_TEXT</Civilopedia>
<Impassable>true</Impassable>
<IconAtlas>TERRAIN_ATLAS</IconAtlas>
<PortraitIndex>10</PortraitIndex>
</Row>
<Row>
<Type>FEATURE_RIVER</Type>
<Description>TXT_KEY_CIV5_FEATURES_RIVER_TITLE</Description>
<Civilopedia>TXT_KEY_CIV5_FEATURES_RIVER_TEXT</Civilopedia>
<Movement>TXT_KEY_CIV5_FEATURES_RIVER_MVT_TEXT</Movement>
<IconAtlas>TERRAIN_ATLAS</IconAtlas>
<PortraitIndex>13</PortraitIndex>
</Row>
</FakeFeatures>

All other are features but lake is under fake, so maybe this is the problem.
 
yeah your right i also saw this, but neither feature nor terrain seem to work...
how else could you name lake?
 
I'm afraid it can't be done without the DLL access (but perhaps it's possible using some complicated LUA code). Buildings have the "Building_LakePlotYieldChanges" table, but there is no such thing for Beliefs.
 
Back
Top Bottom