Did you see my previous post?
Vishaing said:Units are defind based on their indeces in the xml files. (So add all of your new units at the very end)
These indeces are converted into the "iLongbowman" format in the Consts.py file. Units begin around line 599, so you will need to define them there, or just plug the index right into the function, but I am not sure if that will work, so I would redefine the new constants.
Good luck on this project! If you can finish it and get me a copy I can merge it into RFC++, because otherwise I modify some of the unit files, so it would be one or the other.