Kuro,
I would love to beta test your 1.46 version of the script. But a couple quick points: First, about the dead men in the vehicles. If I'm not mistaken, you don't need to delete the body and create a new unit. You can bring a dead body back to life by simply setdammaging it to something below 1. This would seem easier than creating the same type of soldier, because there is no way to find out the type of a unit, as far as I know (in 1.46).
As far as removing weapons, then adding them again: why can't you make them put the weapon on their back? Didn't you say that's what they would do anyway? It would seem easier, because, again, in 1.46 I don't see an easy way of finding out which weapon someone is carrying.
Anyway, just my 2 cents. Let me know when the 1.46 version is ready for testing.