Recent content by MouseyPounds

  1. M

    Detecting Railroad Connection?

    The tooltip hack is only needed for the railroad bonus; pPlayer:IsCapitalConnectedToCity(pCity) can be used to check for a simple trade route to the capital (see an example in the code in the first post.) As for city-to-city connections, if both have harbors you can probably use a check like...
  2. M

    Increasing the city work range ?

    There are global defines that appear to be related to this (CITY_PLOTS_RADIUS, CITY_PLOTS_DIAMETER, NUM_CITY_PLOTS), but they are apparently defined by the DLL rather than through XML, so this is probably not moddable until the DLL source is released.
  3. M

    My first LUA mod, need some advice

    Nope, your understanding is correct. XML feeds into the database so it is easy to make small changes that are usually (but not always) compatible with other mods. But the Lua is directly interpreted and the smallest replaceable chunk is an entire file.
  4. M

    Problem

    Your delete statements are fine. I tried my own test with your mod active and looked at the database after the game started; every difficulty other than Settler had only GOODY_TECH entries listed, just as expected. (Settler also had GOODY_SETTLER and GOODY_WORKER available.) Anyhow I plopped...
  5. M

    Pointiest Sticks, and Random XML ???'s

    If you modify the base files, then yes, you will need to reapply the changes after a patch (or any other time Steam decides to update them). If you still want to do that, those text keys all start with TXT_KEY_PROGRESS_SCREEN_ and they are defined in CIV5GameTextInfos_Jon.xml. If you'd rather...
  6. M

    IndieStone - Visual Tech Tree Editor

    For those still looking for this, magzhi kindly uploaded his copy as an attachment in another topic.
  7. M

    Database Queries for Saved Game Data

    My response would be similar to Sam's. I see it as something pretty useful, but not something I definitely "need" currently. In part that's because until there's DLL access, I'm focusing on UI and "informational" modding that doesn't need to do much data saving. But another part of it, is it's...
  8. M

    DDS unpacker for interface textures

    I hope you mean Civ5. ;) Anyhow, this tool doesn't do single files. You have to give it a directory and it'll unpack everything it finds in that directory. So assuming you're already run the Nexus extract script, you just need to set the input directory to <Install Directory>\resource\DX9 and...
  9. M

    Can I Edit The Map of My Current Game?

    I know, I've done it. But when answering a question posted by someone whose familiarity with Lua, the Tuner, and the database are all unknown to me, I'm gonna stick with my stock answer that "it's not easy." :p
  10. M

    Can I Edit The Map of My Current Game?

    We have different definitions of "easily" then Spatz. ;)
  11. M

    Valley of the Kings - mod by Royal Aconite - missing a file

    Look inside the mod's folder to see if that file is actually missing. It's possible the file is there, but the VFS flag is not properly set, which is something you can fix.
  12. M

    Crazy Spatz's Alpha Centauri Mod

    [7923.031] ERR: Missing argument 1. (Has encontrado artefactos culturales que asombran a tus ciudadanos. ¡Has recibido {1_Num} de Cultura [ICON_CULTURE]!) [7923.078] ERR: Missing argument 1. (En las ruinas encuentras los tesoros de un antiguo imperio. Has recibido {1_Num} de Oro [ICON_GOLD].)...
  13. M

    Can I Edit The Map of My Current Game?

    You can't easily edit the map of a game in progress, but you can use the FireTuner from the SDK to add additional resources.
  14. M

    A Few Mod Questions

    :confused: They already can. I don't think this is feasible in the current game, but it's not something I've looked into personally. There is an "OutsideBorders" field in the Improvement table which you should be able to set. You'd need to change several GlobalDefines for this. See the...
  15. M

    Crazy Spatz's Alpha Centauri Mod

    That's the Spanish version of TXT_KEY_TP_UNHAPPINESS_TOTAL in Civ5GameTextInfos_Worldview.xml and it does indeed look like a Firaxis typo since the English version uses {1_NUM}.
Top Bottom