Creating Leader-Civilization Associations
In Civilization VII, the TypeScript Modding Tools primarily support associating existing game leaders with civilizations rather than creating entirely new leaders. The toolkit provides theLeaderUnlockBuilder class for this purpose.
Creating Entirely New Leaders
To create entirely new leaders (rather than just associating existing ones), you’ll need to use direct XML manipulation, as the toolkit doesn’t provide a dedicatedLeaderBuilder class. Here’s how to approach this:
- Create XML Files Directly: Define leaders using the database schema structure
- Import XML Files: Use
ImportFileBuilderto include your custom XML files
Working with Age-Specific Content
Civilization VII’s Age system affects how leaders and civilizations evolve throughout the game. Here’s how to work with age-specific content:Age-Specific Leader Abilities
You can create leader abilities that only apply in specific Ages:Leader Transitions Between Ages
Similar to civilizations, you can define how leaders transition between Ages:Best Practices for Age and Leader Content
When working with leaders across multiple Ages, keep these points in mind:- Historical Accuracy: Leaders should generally transition in ways that make historical sense
- Gameplay Balance: Consider how a leader’s abilities interact across different Ages
- Civilization Synergy: Ensure leader abilities complement their civilization’s strengths
- XML Documentation: Thoroughly document any direct XML leader definitions
- Leader Traits: Use appropriate traits to guide AI behavior in different Ages