Moding Buildings

Jhaafd

Chieftain
Joined
Jan 15, 2007
Messages
6
Location
France
Purpose of topic

Hello,

I'm making a God civilisations with every unique building or unit possible, but there's a problem, like the 100% granary*2 or 100% vs cata Wall*2...

Because I don't want to select a building before playing, I'm looking for a way to do :

- I can build Wall or Celtic Dun,
- As soon as one of them is build, the other can't be build any longer.

It will belong to the player to choose wich of those two he wants to build.


I was only modding XML so please explain it clearly.

J.
 
Check in the python files for a "cannotbuild" or "Cannot construct" function. Is one of those exists in the base game, that is probably useful.
 
Check in the python files for a "cannotbuild" or "Cannot construct" function. Is one of those exists in the base game, that is probably useful.

But in the base game there's no fonction like that, only "this building is erased by this one"... Or I'm wrong ?:confused:

EDIT :
Cannot build for barbarian is : "this building is erased for this building [none]...

Thanks for your answers !
 
The REAL way to do it would be in SDK.
 
New Idea :

When we get a factory, we've got plants to get electricity.

But we cannot get more than one... (nuclear, coal...)

Is it possible to get the same thing done with other builidngs ?
 
Top Bottom