QUESTION: Modding Resource Requirements for Units/Buildings

Tigerclaw

Chieftain
Joined
Sep 9, 2003
Messages
81
Now please accept my apologies if these questions are answered in some sort of post or tutorial, but a quick scan over the likely posts and tutorials didn't bring up a direct answer to this question.

I have two rather simple questions really, both on a smilar subject...

1. I figured out why my changes weren't having an effect, something to do with files being cached or something. I've fixed it now.


2. Is it possible to make the Apollo Program REQUIRE that you have access to a certain resource (ie: aluminium, oil, etc) to be built. At the minute, I know it's possible to speed up production of a building/wonder/project if you have a certain resource (like Copper and the Internet, etc). What I want to do, however, is make the Apollo Program REQUIRE you to have access to a type of resource, say Aluminium, otherwise it may not be built... Kinda like Swordsman, in that you can't build them if you don't have Iron. Does anyone know if this is possible, and how to implement it if so?

Thanks in advance. This IS the right forum for this, right:( ?
 
I believe you can just change this tag to do what you want, but I havn't tested this out so I'm not 100% on this:


This tag in Civ4BuildingInfos.xml should be changed.
Code:
<PrereqBonuses>

I would give a more helpful answer but I have to go now, just try and use other Civ4 Building entries as a reference on the correct format.
 
Back
Top Bottom