Recent content by ZeroRange

  1. Z

    Auric Ascended

    I Moved Auric up to a mountain top in enemy territory and took a city nearby so he would have hordes of units to kill with his blizzard I thought the god slayer blade would wonder near but it hasn't after like 500 turns (I'm playing the most turns possible) At least I'm bleeding the enemy dry of...
  2. Z

    Python Help please

    Thanks! :D If I can help you with anything let me know.
  3. Z

    Python Help please

    Wow Thanks, I was going to just make a clone file with iBubonicPlague instead of iSmallpox, This seems like a much more sophisticated way of doing it. I'll give it a shot.:D
  4. Z

    Python Help please

    Thanks, I think I'll use your code(I thought I was!)
  5. Z

    Python Help please

    I tried the following code it didn't seem to do anything, for iTeam in range(gc.getMAX_TEAMS()): oTeam = gc.getTeam(iTeam) if ( oTeam.isHasTech(iSMALLPOX)): break else...
  6. Z

    Python Help please

    It displays the SmallPox Tech announcement every turn. I'm using code eTeam.setHasTech(iSMALLPOX,True,iPlayer,False,False) Will I need to write more code or is there an easy way to stop it from displaying the announcement? I tried if( oTeam.isHasTech(iSMALLPOX) and not...
  7. Z

    Python Help please

    I was just experimenting and changed all the Boolean in the end to true, eTeam.setHasTech(iSMALLPOX,True,iPlayer,True,True) Then I tested and I Gave Victoria Smallpox!:goodjob: It displays the annoucement every turn though so I 'll shut that off and go from here I was thinking I'd...
  8. Z

    Python Help please

    I ran it with this Code class PlaguePop: def onBeginPlayerTurn(self, argsList): iGameTurn, iPlayer = argsList player = gc.getPlayer(iPlayer) CyInterface().addImmediateMessage("Begin turn for %s" % player.getName(), "")...
  9. Z

    Python Help please

    pp = PlaguePop.PlaguePop actually
  10. Z

    Python Help please

    The imports are from CVeventmanager.py in the mod I'm trying to import to. I'm trying to add to the init functions right now. The import mods apear in 3 spots in the event manager Imports, abreviations like "pp = PlaguePop" and then the letters in a definition like def onBeginPlayerTurn(self...
  11. Z

    Python Help please

    Still nothing in the Python file, so its probably not being called. edit: I'm trying to intergrate this into the Total Realism Mod so its kind of complicated not really sure how to put it together I'm trying to "add it to the stack" of modcomponents this file is Plague Pop [/code]...
  12. Z

    Python Help please

    OK figured it out, its showing up blank with 0KB. This isn't making much sense, I was going crazy for a minute there. Tested in the game, it doesn't work.
  13. Z

    Python Help please

    Tried it. new log, [4764.578] ERR: InitWinApp() failed, exiting [4764.578] ERR: CIV Init FAILED, exiting I shutdown and restarted a few times to see if it was something else InitWinApp sounds like a bigger problem. Same answer everytime.
  14. Z

    Python Help please

    I ditched the "Has" and this is the log, ArgumentError: Python argument types in CyTeam.isOpenBorders(CyTeam, CyTeam) did not match C++ signature: isOpenBorders(class CyTeam {lvalue}, int) ERR: Python function onEvent failed, module CvEventInterface Traceback (most recent call...
  15. Z

    Python Help please

    My Late night/early morning mistake was changing the Techinfo XML line for Era to None, it didn't cause it to crash but it made everyone start with the Tech. I enabled logging and was hoping for it to work, it didn't. This is what the log said; that I'm sure is from this code the rest of it...
Back
Top Bottom