The game looks for certain entity names for assignment of units. I'd suggest looking through gfx/models/units/ROM/ROM_infantry_01.asset as an example.
Most units are assigned culture wide, they are called "culture_gfx_type" like this:
When we create a country specific unit for a country tag it uses the tag instead of culture_gfx like this:
So if we created an entity inside an asset file called:
It would replace Etruscan light infantry.
In the bottom of the asset docs there's usually also a bunch of clones, essentially entities with the name of what slot they will fill, but with a clone value, stating another entity which they take their data from.
Most units are assigned culture wide, they are called "culture_gfx_type" like this:
Code:
roman_gfx_light_infantry
When we create a country specific unit for a country tag it uses the tag instead of culture_gfx like this:
Code:
ROM_light_infantry
So if we created an entity inside an asset file called:
Code:
ETR_light_infantry
It would replace Etruscan light infantry.
In the bottom of the asset docs there's usually also a bunch of clones, essentially entities with the name of what slot they will fill, but with a clone value, stating another entity which they take their data from.