Question: How to create a "Slave" like unit type?

The magnar can train slaves.

But I don't quite know how this is tied into the game.

For example, the trainslaves trait have no modifiers tied into them.

Which xml file should I look into?

I checked core_units, abilities, etc.

2,463 views 2 replies
Reply #1 Top

The "other" unit category is defined by a faction's racetype (CoreRaceTypes.xml), in this case    

<RaceType InternalName="Race_Type_Quendar">
        <GenericUnitType_Other>Generic_Slave</GenericUnitType_Other>

Reply #2 Top

Quoting Heavenfall, reply 1
The "other" unit category is defined by a faction's racetype (CoreRaceTypes.xml), in this case    

<RaceType InternalName="Race_Type_Quendar">
        <GenericUnitType_Other>Generic_Slave</GenericUnitType_Other>

 

TYVM!!

<3