Hey, Awesome!
I tried again, and this time I write into CvGameInterface.py.(last time in CvGameUtils, not know what's difference yet) It WORKS! Every building disapears!~~ Cheers!
Thanks.
I just hope the game run it before everytime it need get a building list. But last time I test this and found it was never called. So, ask a most basic question: If I simplly return a True in this func, like:
def cannotConstruct(argsList):
pCity = argsList[0]
eBuilding =...
Hi Kael,
Is this CannotTrain function the one located in CvGameInterface.py and CvGameUtils.py? Does it work? When will this func be called? very before player open the city window or small building list? I try to use another CannotConstruct func to disable building, but didn't see it take...
Hey, could you give me more details? How to "interrupt the CanConstruct (or CannotConstruct) function "? I do modify those two functions, and in CannotConstruct func I returned True, but the building could still be built? Can I have a look at your religions mod? Thanks!
Who knows how to specify which building could be built in certain city using python? For example, I want only Paris could build a Efile Tower. Or any way to decide whether a building could be built or not by python codes, not XML?
Oh, Thanks! I didn't notice there are 3 iYields. At least we could add more food and commerce for specialist now, though I am still looking for a way to just make this bonus only in one city
the Angkor Wat grant the specialist one more hammer. I want to make a similar thing, but actually what i need is a kind of building grant more commerce, hammer or culture for speciallist just in the current city, not all. But I looked into the xml file, it write like this...
since a religion' holy temple got money from all cities which belive this religion. I'm wondering if it is possible to create such a building, for example, Hollywood, which got money from every another building called "hollywood cinema theater" which may be built in any city all over the world...
i have an idea that the artillery could grant the ability of making collateral damage to other units in his tile but not himself, and it also can't attack. Then artilleries act as a support unit like it in the real world. Though this still has some balance issue and may be difficult to realize...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.