Not for sure of the way you are wanting to do this, but you are allowing 1-1 of army to infantry, archers, mounted knights, I'm assuming these are groups and not singles?
You might want to look at the longbows and cross bows. It looks like the distance is specified from the archer, and not for the weapon, which wouldn't allow these weapons to be different.