Recent content by Louis the XIV

  1. Louis the XIV

    [BTS] get buildings of every city

    Thanks! Yeah I think I'll go with building classes instead then.
  2. Louis the XIV

    [BTS] get buildings of every city

    How can I loop through all the buildings in all the cities of a player? Or maybe just check if the city has a building. I managed to make the looping through all cities work (loopCity, iter) = player.firstCity(false) while(loopCity)...
  3. Louis the XIV

    CIV Gold (revived!)

    The reason is that the custom civilizations are modular, so they have a specific path, like Assets/Modules/CustomCivilizations/TheCivFolder/ (this is an example not all modular civs need to have that path) Each modder usually makes their own path, so for example the Civ Gold Revived developers...
  4. Louis the XIV

    [BTS] Python trade desable

    Yeah you can use the setPermanentWarPeace method as I said in the first comment to block civilizations from starting a war. pAttacker.setPermanentWarPeace(iDefender,True) And you can use the code I showed you in the 2nd comment to check if they are allowed to declare war, including if nato...
  5. Louis the XIV

    CIV Gold (revived!)

    1.2 Update! Switzerland added and in the Earth Evolution map as well. Credit to @dacubz145 for creating the Switzerland civ.
  6. Louis the XIV

    CIV Gold Revived - CIV Gold Revived 1.2 Update

    Added Switzerland and updated Earth Evolution map
  7. Louis the XIV

    [BTS] Python trade desable

    You could check if the civilization is allowed to declare war, and if it is then make them declare war if pAttacker.canDeclareWar(iDefender): pAttacker.declareWar(iDefender, True, -1) you can also add if not pAttacker.isAtWar(iDefender): if you want to check if they are already at war. But...
  8. Louis the XIV

    [BTS] Python trade desable

    You can make 2 civilizations make peace with this line of code pAttacker.makePeace(iDefender) To make them have a permanent peace/war I think this will work pAttacker.setPermanentWarPeace(iDefender,True)
  9. Louis the XIV

    CIV Gold (revived!)

    I'll try to update it at least once a week from now on, and in each update I'll add 1 or 2 new civs. I was thinking Sri Lanka or Oman and Venice in the next update.
  10. Louis the XIV

    CIV Gold (revived!)

    1.1 update! Added Taiwan and the EarthEvolution2 map (also added Taiwan to it). Also the installer is fixed since it didn't work for me yesterday when I downloaded it!
  11. Louis the XIV

    CIV Gold Revived - Civ Gold Revived 1.1 Update

    The 1.1 update! Added the EarthEvolution2 map (all civilizations start in historically correct positions) by @GreatLordofPie Added Taiwan as a civilization. Fixed the installer.
  12. Louis the XIV

    I'm not sure, you could check the function itself and find out, probably some where in a C++...

    I'm not sure, you could check the function itself and find out, probably some where in a C++ file in the DLL, but that might take too much time. So you could just try different numbers and see the outcome, for example make the numbers be (26, 26, 26, 6) and then change the 6 to 26, if anything...
  13. Louis the XIV

    CIV Gold (revived!)

    Great ideas! I'll probably not do all of these things at once but I'll add some of the civs you suggested today and update the mod today hopefully, and I forgot to add the awesome map by @GreatLordofPie :lol:
  14. Louis the XIV

    Map Cutter Tool?

    Nice, thanks I'll check it out!
  15. Louis the XIV

    Map Cutter Tool?

    Is there a tool which lets me cut/crop a map? It would come in very useful!
Top Bottom