[Vanilla] [SOLVED] Unique units don't replace units they are supposed to replace

Zobtzler

Chieftain
Joined
Oct 21, 2017
Messages
95
Location
Sweden
The civ I'm currently trying to make as 3 unique units, where 2 of them replaces 2 existing units. The problem I'm having is that the current units don't get replaced (Both the new unique units and the old existing units can be built/bough at the same time)
I have still included the <UnitReplaces></UnitReplacesType> for both units.
Link to latest version of the mod
 
You have no TraitType designation in the <Units> table for the units that are meant to replace standard units. The game cannot link the unit to your leader or civilization without a TraitType designation for a trait that belongs to either the leader or the civ. So it does not know for whom these units should replace the standard Musketmen and Pikeman.
 
Back
Top Bottom