Having trouble with GameRules file

mac224

Chieftain
Joined
Dec 20, 2002
Messages
75
Hi, I want to remove a bunch of wonders from the game. My thought is to give them a "PrereqTech" that no civ in this scenario could achieve. Using the code below does not work (although it does not crash the game). It follows the format of code for unit properties that does work. What am I doing wrong?

PHP:
<Buildings>
	<Update>
		<Where Type="BUILDING_SYDNEY_OPERA_HOUSE"/>
		<Set PrereqTech="TECH_ROBOTICS"/>
	</Update>
</Buildings>
 
What am I doing wrong?

Code:
[B][COLOR="Red"]<GameData>[/COLOR][/B]
    <Buildings>
...
    </Buildings>
[B][COLOR="red"]</GameData>[/COLOR][/B]
 
Thank you, I actually did include that in the xml file but left it out of the post. but discovered the problem after more testing - I have to unload the mod from the map and reload it every time there are changes to the mod in order for the changes to take effect.
 
I actually did include that in the xml file but left it out of the post.

That's why we generally prefer the complete mod attached to the post (see second link in my sig), rather than bits of it ;)
 
Top Bottom