[BNW] New Mod Help. Screen wipe on selection

Lord_Baal

Chieftain
Joined
Mar 27, 2018
Messages
6
So I am making a new mod and I had decent experience with XML about 10 years ago but this is my first project since then. I am making a mod using all existing art and graphics so I don't have to deal with them and to limit problems but I'm still having to troubleshoot after 5 hour of working on it.

the problem is that once selecting my civilization all of the UI goes away and I am left with the background of Civ5 and that's it. I'm assuming that I'm missing something small and I have gone over my XML files several times and they seem fine.

Another problem that I am having is my civ description and UA are not showing up in the menu but it looks ok on the XML file and I'm assuming that this is linked to my other problem.

I appreciate the help.
 

Attachments

  1. Enable error logging: whoward69's enable error logging tutorial
  2. Database.log reports this error:
    Code:
    [1681699.453] table Traits has no column named BarbarianCombatBonus
    [1681699.453] 
    [1681699.453] In XMLSerializer while updating table Traits from file XML/Trait.xml.
    You are attemnpting to jam a column from table Policies into table Traits. This cannot be done. You can only use the columns within a table that have already been defined for use within that table.

    This error is the root cause of your problem. The attempt to use the invalid column causes the game to reject the entire contents of your Trait.xml file, causing your leader to not have a leader-trait, which crashes the DOM system and results in the empty hanging screen with nothing but the "backdrop" image.
  3. Database.log reports this error:
    Code:
    [1681709.140] Invalid Reference on Civilization_CityNames.CivilizationType - "CIVILIZATION_CENDALL" does not exist in Civilizations
    This is from a typo. You've typed "CIVILIZATION_CENDALL" instead of the correct civ-name in one of the Civilization_CityNames rows
    Code:
        <Row>
          <CivilizationType>CIVILIZATION_CENDALL</CivilizationType>
          <CityName>TXT_KEY_CITY_NAME_ENDALL_17</CityName>
        </Row>
  4. Database.log reports this error:
    Code:
    [1681709.968] Invalid Reference on Leader_Traits.TraitType - "TRAIT_BRINGER_OF_SORROWS" does not exist in Traits
    It does so because of the 1st error mentioned above (ie, the invalid use of the column in file Trait.xml)
  5. Database.log reports these errors:
    Code:
    [1681711.484] Invalid Reference on Unit_FreePromotions.PromotionType - "PROMOTION_SURVIVALISM_I" does not exist in UnitPromotions
    [1681711.484] Invalid Reference on Unit_FreePromotions.PromotionType - "PROMOTION_SURVIVALISM_II" does not exist in UnitPromotions
    There are no such promotions with these names. The correct names are "PROMOTION_SURVIVALISM_1" and "PROMOTION_SURVIVALISM_2".
  6. TXT_KEY_SOMETHING tag-names cannot contain lower-case letters.
    • This is invalid: "TXT_KEY_LEADER_Daucity"
      • It causes you to see literally "TXT_KEY_LEADER_Daucity" in-game instead of the text you defined for usage with that tag-name.
    • This is correct: "TXT_KEY_LEADER_DAUCITY"
      • My advice would be to root out "Daucity" everywhere you are using it in xml tag-names and change it to "DAUCITY". You want LEADER_DAUCITY not LEADER_Daucity
 
Oh! I checked my database log files and I only saw the normal errors. What was the path for your log file? I checked

my games/Civilization V/Logs

I’m doing this from my phone so it’s all from memory. I really appreciate the rapid and specific response.

*edit*
“Enable error logging”
Ok I will.
 
Back
Top Bottom