The recruiting is set in export_descr_buildings (EDB) from Rome - Total War/data
The unit is already recruitable by the following hellenistic factions:
Seleucids
Pontus
Bactria (thrace in EDB)
Ptolemaics (egypt in EDB)
Since it is an aor unit it is only recruitable based on the aor_mace hidden resource(this is to say it is only available in the macedonian regions). If you want to make it recruitable as a faction unit with no restrictions in terms of area of recruitment you need to add a line like this:
Code:
recruit "aor macedon phalanx" 0 requires factions { seleucid, }
under each of the barracks you want it recruitable from. The barracks are faction specific so you need to add it for each faction. The red name in the brakets is the faction which will recruit it and you need to change that for each faction under its own barracks. Take another unit from that faction as example.
And be careful so you add the line for the superior levels of the barracks too or otherwise the unit will disappear from the recruitment panel once you upgrade the barracks. Also, if you add it for one of the factions that already recruit it as an aor you should just remove that
Code:
and hidden_resource aor_mace
part it has at the end so as to make it recruitable from anywhere. The unit name in the text file is aor macedon phalanx. You could, for example, make/leave the unit recruitable only from the aor_mace area for the lower levels of the barracks(like the second and third auxilia levels) and make it generally recuitable from the higher ones.
Another thing to know is that the internal name you`ll see in the text files for some factions is different from what you see in game. For example:
Romans - romans_julii
Ptolemaics - egypt
Illyrians - britons
Bactria - thrace
Thracians - dacia
Sarmatians - scythia
Also, try to use the space bar for spaces in EDB and not the tab. The file is apparently sensitive to these and if too many tabs are used it might ctd.
Happy New Year!