Recent content by Alyph

  1. A

    Python API

    why not download the html version onto your machine?
  2. A

    The Age of Civilizations

    Can I join you as a python programmer, Also I have some idea about adding trading routes aspect into civ4
  3. A

    Tying Unit and Building Availability to Civics choices

    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!
  4. A

    Tying Unit and Building Availability to Civics choices

    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 =...
  5. A

    Tying Unit and Building Availability to Civics choices

    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...
  6. A

    limit Building construction

    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!
  7. A

    limit Building construction

    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?
  8. A

    several things disappointed me

    now i even found that we can't specify a resource as the prerequisite of a building like unit knight need horse,iron... to build.
  9. A

    several things disappointed me

    really? Great Apple, did you make that before? could tell me any more detail? should we realise that by checking things before every turn?
  10. A

    several things disappointed me

    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
  11. A

    several things disappointed me

    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...
  12. A

    Building or wonders like religious holy temple

    so it is all availble in python api? i'm just looking for it! :scan: :)
  13. A

    Unit upkeep

    i also want to know. i hope to change the whole upkeep caculation method since i want some special tax collection policy in old times
  14. A

    Building or wonders like religious holy temple

    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...
  15. A

    Artillery mod ideas

    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...
Top Bottom