So i decided to try to add allied cavalry to xgm. basicly copied from all files from alex the parts that say somethng about allied cavalry. i mean from ui, text, export descr unit and model battle, unit enums sprities and so on. now when i try to start a game it writes unknown unit tipe in export descr building.
can someone tell me what should i do to make this unit work. exactly which files i need to copy and what should i change.
thanks in advance