Recent content by globosud

  1. G

    adapt a script

    hello, I ask, if it is possible to add to this event that, for example, team 4, in addition to not being attacked, can always keep the borders open. Thanks ##WarNPeace ###MODDER READ THIS: ###You do not have to change anything in this file ###all changes have to be done in the CvEventManager...
  2. G

    problem with new event

    thanks for the help, I'll try some new solutions, see if I can activate or scrpt, if so I'll look for help again
  3. G

    problem with new event

    then the event consists in spawning an improvement on the coordinate for civilization, the improvement is modular, but even without the phyton script, when I activate the normal event without phyton script, nothing happens, while if I use an already existing improvement works . the phyton script...
  4. G

    problem with new event

    Now it doesn't give me any errors, but nothing happens ######## Suez_Canal Event ######## def canTriggerSuez_Canal(argsList): kTriggeredData = argsList[0] player = gc.getPlayer(kTriggeredData.ePlayer) if (player.getCivilizationType() ==...
  5. G

    problem with new event

    I created this script to spawn a new modular improvement, created by me, already tested. it gives me syntax error and other errors. Thanks for your help ######## Suez_Canal Event ######## def canTriggerSuez_Canal(argsList): kTriggeredData = argsList[0] player =...
  6. G

    adapt a script

    yes, that's fine. Thank you :)
  7. G

    adapt a script

    putting more cities doesn't give me any errors, but as you can see from the photo, he puts the other cities wherever he wants :)
  8. G

    adapt a script

    hello, I will never stop thanking you. now the Americans are spawning, but I don't know, it still gives me these errors. and i don't knw if it does create problems for me in the future, it could be fine like this, but if can be corrected better. I have also attached the modified files, in case...
  9. G

    adapt a script

    now it hasn't given me any errors :), thank you very much for the time you have dedicated to me so far. edit: unfortunately it gives me an error during the game, it doesn't give me an error at the beginning, if so can you give me the files you used to test, because I don't know what I'm doing...
  10. G

    adapt a script

    I found this script in this mod dawnoftime, which I adapted for Americans, could it adapt more easily? #reads the date regardless of game speed def isDate(iDate): return cyGame.getTurnYear(cyGame.getGameTurn() +1) > iDate and cyGame.getGameTurnYear() <= iDate #searches in the...
  11. G

    adapt a script

    it does not work yet
  12. G

    adapt a script

    done, but it gives me these errors now
  13. G

    adapt a script

    then I replaced SpawnCivUtil, with SpawnACiv, in the 4 parts, and I added import SpawnACIV, but unfortunately it gives me these 4 errors
  14. G

    adapt a script

    I attach the complete modified files
  15. G

    adapt a script

    I tried to load, it gives me 4 errors
Top Bottom