[G&K] Civ 5 Modding UU Help

Tommyd27

Chieftain
Joined
Mar 7, 2017
Messages
18
Hey guys,

I'm having a problem with two UU I've added to a new civilisation I've added. All other parts work fine but just the units dont. With logging enabled. I've identified the problem. Apparently I've invalidly referenced my units:
[182025.421] Invalid Reference on Civilization_UnitClassOverrides.UnitType - "UNIT_THE_SPARTANS_HOPLITE_WARRIOR" does not exist in Units
[182025.421] Invalid Reference on Civilization_UnitClassOverrides.UnitType - "UNIT_THE_SPARTANS_BOW_WARRIOR" does not exist in Units


These UUs or there original couterparts dont appear anywhere in game. Any help? (attached Units and Civilisation xml)

Thanks
 

Attachments

  • Units.xml
    13 KB · Views: 177
  • Civilization.xml
    25.4 KB · Views: 189
PurchaseOnly and MoveAfterPurchase are not valid columns in table <Units> for G&K. You probably have additional invalid column-names for G&K in your units file.

You've copied a template that is only usable for BNW. The game is therefore erroring on and rejecting your entire units file.
 
Top Bottom