Ah, I don't know about replacing unit types in certain buildings. I guess you could do it the lame way, the units being replaced after they are trained or something like when they enter a specific region or via a trigger that runs each sec and turns all rangers to crossbowmen or something. Gonna check.