Search results

  1. Tomatekh

    Tomatekh's Historical Religions

    Download Tomatekh's Historical Relgions This mod adds additional historical (pre-modern and indigenous) religions to the base game. Leaders previously lacking a religious preference (Aztec, Greece, etc.) are updated to prefer an appropriate historical religion. Several additional generic icons...
  2. Tomatekh

    Civ IV, Mods, Windows 8, & Python

    So, I've recently had to start playing Civ IV on a Windows 8 computer. On my previous computer, Windows 7, the few mods I used ran with no problem. However, when trying to play the mods on Windows 8 it seems that several of the python files are not being loaded (this is not specific to just...
  3. Tomatekh

    Can Game.Rand return 0?

    So I want to use a random number for something. Searching the forums I see that Game.Rand seems to be used. However, I want to know if (Game.Rand(5, "") returns 1-5 or 0-5. (I mainly ask because I remember the primary random function used with Civ IV python gave 0-5). Thanks.
  4. Tomatekh

    Check trade route partners with lua?

    Is there any way to check which civs have an active trade route to you (and/or which civs you have an active trade route with) in lua? There seems to be: Player.GetTradeRoutes Player.GetTradeRoutesToYou Player.GetTradeToYouRoutesTTString Player.GetTradeYourRoutesTTString But I'm not sure how...
  5. Tomatekh

    Help InitUnit multiple units in a loop (lua)

    So I wrote this bit of code which is supposed to check if you're friends or higher with a city-state. If so, every x turns, initunit a unit in any city owned by a friendly city-state. The code does work except it will only spawn one unit and in the first friendly city-state of the list...
  6. Tomatekh

    Adding the name of great person in text of notification message (lua)

    I add a notification message after a Great Person does a certain event. I have no problem adding the notification with all sorts of text, I've done that before. However, I would like to add the specific Great Person's name that triggered the event in the notification text. So, if I have an...
  7. Tomatekh

    Is there any way to edit the number of free buildings in a city? (Lua)

    I know I can check if there's a normal building (GetNumBuilding) or a free building in a city (GetNumFreeBuilding). However, SetNumRealBuilding doesn't seem to affect free buildings. So, for example, if the city has a free monument and I SetNumRealBuilding Monument to 0, it doesn't do anything...
  8. Tomatekh

    Notification Messages (building icon? name?)

    Hi, is there any way to make a notification message that displays the icon of a specific building? Or am I stuck using the generic message exclamation mark? I've tried using the various Wonder completed, completed player, beaten types with my building ID but it always ends up showing the Hagia...
  9. Tomatekh

    Checking the value of a column in a building's XML with lua?

    How (can?) I check the value of a column in a building's xml entry with lua? Essentially, I need to do something like this: if Building A <FreshWater> = true elseif Building A <Flat> = true etc. Related to this, is there any easy way to get a building's pre-req tech (or if simply...
  10. Tomatekh

    We love the king day length

    The civlopedia says We love the king day lasts 20 turns. Does anyone know if this changes depending on game speed (if so what are the lengths per game speed) or is it always 20 regardless of what speed you play? I'm going to edit it in a mod but want to make sure I adjust it correctly for...
  11. Tomatekh

    Is there any easy way to check if a city is a Holy City with Lua?

    Is there any easy way to check if one of your cities is a holy city with Lua? (Not just for the religion you founded, but any religion, if say you happened to have captured a holy city in the past). Related to this, is there any easy way to check if a player's founded religion has a certain...
  12. Tomatekh

    Lua when a building is built?

    Is there a way to run a function after a specific building is built?
  13. Tomatekh

    DLL and MP

    I don't really know C++ (or much about editing the DLL in general), so at the moment I'm not really asking how but just wondering if it's possible (with access to the DLL) if any of these MP concerns can be addressed by the fan base: AI not contacting human players in MP (this also includes...
  14. Tomatekh

    Tomatekh's Historical Religion Mods

    As I now have more than one religious mod, this will serve as a base thread. ~~~ Great Prophet Historical Names (BNW or GK) Adds historical names to the Great Prophet unit similar to the other Great People. ~~~ Historical Religions (BNW or GK) Adds 49 historical religions to the base game...
  15. Tomatekh

    Making a Building Require a Feature (Help with my Code)

    Hi, so I want a building to require the city to be adjacent to a feature (Jungle) in order to be built. In this case, the building is also tied to a civ trait. I was trying this: But it's not working. Am I missing something obvious or is my code just completely wrong?
  16. Tomatekh

    Can I change plot yield with Lua?

    I want to lower the production of a specific plot by -1 after a specific event. I have no problem finding the plot and everything, I just don't know how (if) one can then modify the yield. On the wiki I don't see anything for change or set yield. I know there is a changeculture for a plot...
  17. Tomatekh

    Problem placing a new feature with Lua

    So I've run into a problem with the new mod I'm working on. I created a new map feature. It doesn't get generated or placed on the map, but rather I use Lua to put it on a tile after a certain event. The Lua itself works in and of itself, the problem is that it refuses to place the feature...
  18. Tomatekh

    Complete list of scientific buildings/wonders for Korea?

    Hi, I'm working on a mod and need the complete list of the buildings/wonders which activate Korea's UA. I'm pretty sure I know most of them, but just want to double-check and see if it differs at all with G&K. So, does anyone know the complete list?
  19. Tomatekh

    What are the requirements for a mod to get out of the moderation queue?

    Or better yet, to be able to post a file and not have it go to the moderation queue (post count? member for x number of days?). I have three files currently in the queue and plan to post more new civs as I make them. Thanks in advance!
  20. Tomatekh

    Tomatekh's New Civilizations

    Tomatekh's Civilizations (and some other mods...) Benin | Caral | Champa | Garamantes | Goths | Harappa | Hittites | Kievan Rus' | Kilwa | Kongo | Kuikuro | Mali | Mississippi | Olmec | Poverty Point | Shang | Sioux | Sumer | Timurids | Xia Historical Religions | Great Spy | Utility Mods...
Top Bottom