Recent content by StormingRomans

  1. StormingRomans

    .modinfo Criteria for Configuration Values

    I actually don't think it does work .. at least reliably. Sometimes it appeared to work, and other times it quite clearly didn't do anything. I spent hours trying to figure out what was going on, and in the end gave up as there was other stuff I wanted to work on. At some point I'll come back to...
  2. StormingRomans

    LUA Code Help - Generating Great Persons

    Oh wow, just discovered that the next GP available is connected to the GP recruited/granted in some way: Turn 8: Medieval Era Great Musician listed in GP pop-up Turn 9: Granted Atomic Era Great Musician, via Game.GetGreatPeople():GrantPerson() Now GP pop-up lists an Atomic Era Great Musician...
  3. StormingRomans

    Current Status of Lua Modding

    Have spent the last 4 hours trying to do this, with no success. Existing files work fine, but custom lua files from your own mod just don't seem to work. But then again, I could be doing something totally wrong too....
  4. StormingRomans

    LUA Code Help - Generating Great Persons

    Game.GetGreatPeople():GetTimeline() gives the currently recruit-able GPs. I haven't experimented with it enough to see if it's just a simple table, or there's actually more that can be done with it. I can't take any credit for the Save/Load code ... it's just a variation of Gedemon's code...
  5. StormingRomans

    LUA Code Help - Generating Great Persons

    I'm guessing you mean the GP after the one currently displayed in the GP Screen? Hmmm, that's what I'm doing. My main code runs as a gameplay script - I've not set the context to in-game (actually when I did, my main code failed). I have another script which runs in the UI/in-game context, that...
  6. StormingRomans

    Civ6 Modding Evaluation

    Just looked at this a bit more, I've not done a custom district but I have done custom buildings that re-use existing building graphics. I'm guessing they won't be that different. You'll need 2 artdefs - one for the 'Landmark' and one for the 'District' - I can only see one in the ZIP. As a...
  7. StormingRomans

    Civ6 Modding Evaluation

    You're XLP isn't quite right and also, based on my experience, you need two XLPs. So, .... in your current XLP change the package name to 'UI/Icons', and then create an exact copy and give it a package name of 'UI/UI_Icons' instead. Basically, you need to use the same package names as the game...
  8. StormingRomans

    LUA Code Help - Generating Great Persons

    It looks like for the parameters for GrantPerson(): Parameter 5 = Player ID Parameter 6 = Movement remaining this turn ( true = 0, false = max for GP unit (i.e. 4) ) If you set #6 to false you get 'Unit Command' alerts for some reason ... at least I do :confused:
  9. StormingRomans

    LUA Code Help - Generating Great Persons

    Cool, thanks. Speaking of "has this great person already been picked?", do you know if there's a better way of finding that out, other than just looking for them in pGreatPeople:GetPastTimeline()?
  10. StormingRomans

    LUA Code Help - Generating Great Persons

    Oh wow, that would've made writing that code so much easier :lol: I think I'll adapt my code to be able to do both a specific individual or just the next available. Do you know what the 'false' parameter does?
  11. StormingRomans

    LUA Code Help - Generating Great Persons

    I've been trying to do something similar, although I wanted to create a specific great person when a player is the first to do something (e.g. create a building, discover a tech, etc.). I was trying to work with the following code lifted from GreatPeoplePopup.lua: local kParameters:table = {}...
  12. StormingRomans

    More Artifacts and Relics

    That's a cool idea. Unfortunately from what I can see in the code, the way artifacts are determined is inside the core game DLL and there doesn't look to be any way to change this at the moment.
  13. StormingRomans

    More Great Artists - Now with triggered Great Artists

    Updates First player to build a Statue has 100% of their GP points towards a Great Artist completed, allowing recruitment First player to discover a Natural Wonder is granted 50% of remaining GP poins towards a Great Artist Content bug fixes
  14. StormingRomans

    More Great Artists

    StormingRomans updated More Great Artists with a new update entry: Now with triggered Great Artists Read the rest of this update entry...
  15. StormingRomans

    More Great Musicians - Now with triggered Great Musicians

    Updates NEW: First player to get the Radio Civic has 100% of their GP points towards a Great Musician completed, allowing recruitment NEW: First player to get the Mass Media Tech has 100% of their GP points towards a Great Musician completed, allowing recruitment Adds a couple more Great...
Top Bottom