Recent content by whoward69

  1. whoward69

    [vanilla] Does one of the most essential (IMO) mod for vanilla Civ5 exist ?

    It's a DLL fix and you won't find any of those for vanilla, as almost every modder move to BNW https://www.picknmixmods.com/mods/CivV/Global/Units%20Awake%20In%20Danger.html
  2. whoward69

    Need Help Disabling Ancient Ruins Reward

    https://www.picknmixmods.com/mods/CivV/Goody%20Huts/No%20Maps.html
  3. whoward69

    C++/Lua Request Thread

    My "minor civs" do you mean City States? There is code in the DLL for city states that makes them always raise a captured city if it would take their happiness below 0 - which is most of the time as they tend not to build happiness buildings. A City State with multiple cities is almost...
  4. whoward69

    C++/Lua Request Thread

    Welcome back to the Land of Rust! Didn't check the code (too much rust myself to be able to just scan it any longer) pCity:IsCapital(), pCity:IsOriginalCapital() and pCity:IsOriginalMajorCapital() are the methods you're interested in (not so much rust that I can't find my spreadsheets!) W
  5. whoward69

    Looking for DLL help (Unified Yields)

    Correct, apart from bug fixes (science overflow and many others), all game play changes are disabled without the corresponding mod that turns them on Most mods are XML/SQL (database) and LUA (UI/Logic) and are "swappable" (enabled/disabled). The problem is that for DLL (C++) mods you can only...
  6. whoward69

    Looking for DLL help (Unified Yields)

    Can't speak for the CBP DLL, but pulling all that code out of DLL - VMC would be a major undertaking. Most of DLL - VMC is "off" by default, so you could try using that as your base. Then if there is something "on" that you don't want, rip that code out (I use #if/#endif blocks to identify...
  7. whoward69

    [BNW] Any Custom Civ Templates for Civ 5 Modding?

    Not a custom civ template, but all the components of the standard civs are here - https://forums.civfanatics.com/threads/xml-data-files-for-standard-civilizations-inc-dlc.490901/ - with a worked example of how to pull bits from them to base a custom civ on.
  8. whoward69

    Tomatekh's Historical Religion Mods

    No need to ask - https://forums.civfanatics.com/threads/the-modiquette.473030/ - just credit
  9. whoward69

    WHoward's Pick 'N' Mix Mods

    return (v == iReligion) is just testing the first religion in the list, you need something like if (v == iReligion) then return true end and also after the end of the for loop but before the end of the surrounding if, you need return false
  10. whoward69

    Using SQLite

    Civ5DebugDatabase.db file contains the modded database, the Civ5CoreDatabase.db file contains the unmodded database
  11. whoward69

    New to Civ modding. Is it possible to extract and edit an existing civ?

    https://forums.civfanatics.com/threads/xml-data-files-for-standard-civilizations-inc-dlc.490901/
  12. whoward69

    Custom Civ UU

    Your best bet with flavours is to find a similar Maxis unit/building/policy/leader/whatever and copy them
  13. whoward69

    Custom Civ UU

    You're trying to add a row that already exists, so it fails, which causes the entire XML to be discarded, which means the unit doesn't exist in the database when you come to reference it from the Civilization_UnitClassOverrides table, hence the error. "Invalid reference" ... "something I was...
  14. whoward69

    Custom Civ UU

    <Row Tag="TXT_KEY_UNIT_HELP_LANDSKNECHT"> right at the end of Units.xml
  15. whoward69

    Creating a Leader

    FLAVOR_CITY_DEFENSE only seems to be used as a bias when picking policies and beliefs. FLAVOR_DEFENSE is used for those and also picking promotions, deciding how many units to build to protect the homeland and if the AI is likely to start a war
Back
Top Bottom