Skip to main content
This document outlines the technical implementation details for adding the Dacia civilization to Civilization VII, following the game’s XML structure and modding patterns.

1. Directory Structure

Maintain the following directory structure for implementing the mod:

2. XML Implementation Guidelines

2.1 Civilization Definition (civilizations/dacia/current.xml)

2.2 Civilization Game Effects (civilizations/dacia/game-effects.xml)

2.3 Leader Definition (Example for Decebalus)

2.4 Leader Game Effects (Example for Decebalus)

2.5 Unique Unit Definition (units/dacia/current.xml)

2.6 Unique Unit Game Effects (units/dacia/game-effects.xml)

2.7 Unique Building - Mountain Sanctuary (constructibles/dacia/mountain-sanctuary/current.xml)

2.8 Unique District - Hill Fortress (constructibles/dacia/hill-fortress/current.xml)

2.9 Localization (Example for Civilization and Leaders)

3. ModInfo File Updates

Update the Dacia.modinfo file to reference all the new files:

4. Implementation Notes and Recommendations

  1. Effect Types: The EffectType values used in game-effects.xml files are critical for proper functionality. The examples provided align with expected Civ 7 patterns, but you may need to adjust based on actual game implementation.
  2. Testing Approach: Implement the basic civilization first, then add leaders, followed by unique units and buildings. Test each component before proceeding to the next to isolate any issues.
  3. Art Assets: For a complete implementation, you would need to create:
    • Civilization icon (multiple sizes)
    • Leader portraits
    • Unit models and icons
    • Building/district icons
  4. Balance Considerations:
    • Combat bonuses are set at +5 for terrain, which is significant but not overwhelming
    • Additional yields are generally +1, which is standard for civilization bonuses
    • Unique units are slightly stronger than standard units but have drawbacks
    • Leader bonuses are designed to encourage different playstyles
  5. Technical Limitations:
    • Some effects may require custom JavaScript if they cannot be implemented through standard XML
    • Leader animations and 3D assets aren’t covered here as they require more advanced tools

5. Implementation Priorities

For initial testing, implement the components in this order:
  1. Base civilization definition and traits
  2. Decebalus leader (as he’s the more combat-focused, straightforward leader)
  3. Falx Warrior unique unit
  4. Hill Fortress unique district
  5. Burebista leader
  6. Mountain Sanctuary unique building
  7. Traditions and remaining elements
This approach ensures you can test the most fundamental components first before adding more complex gameplay systems.