Settler Cost Change

XelmatZe

Chieftain
Joined
Nov 5, 2010
Messages
23
Hey guys,

I started modding a few hours ago and its fun!

Similiar to the economy mod I changed building costs for units and buildings but the costs for constructing a settler does not change at all.

For you it will be simple to answer so what is wrong with this code:

<GameData>
<Units>
<UPDATE>
<SET COST="200"/>
<WHERE Type ="UNIT_SETTLER"/>
</UPDATE>
</Units>
</GameData>


Thanks in advance for your help!
 
Modding questions are supposed to be asked in the root Creation & Customization forum, not the tutorials forum.

I think Cost is case-sensitive, so try with just the first letter capitalized. I use the same code and it works

Code:
<Units>
		<!-- For some unknown (to me at least) reason, the settler has a cost of 97 + cost. Making settlers more expensive goes a long way to making ICS less interesting. -->
		<Update>
			<Set Cost="103"/>
			<Where Type="UNIT_SETTLER"/>
		</Update>
	</Units>

Edit: Ok, it doesn't seem that it's case sensitive. Did you add the file properly to the mod actions so the mod updates the DB with it?
 
Top Bottom