<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by Sir Random</i>
2. It's easy enough to script the chopping off of limbs, but it requires that the enemy mesh has a different material for each limb. The Doom approach would be to make the enemy's limb invisible, and spawn a detached limb object in it's place. I don't know how hard it would be to assign different materials to different limbs on a mesh, or if it's even possible.
Still lots to do...
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">
Afaik you can use the doom skins system to change materials on a single mesh, that's the way id used for the rocket launcher, the rockets are just made invisible when used by the use of different skins.
p.s - Forgot to say yes is totally possible and easy to assign any number of different materials to a single model, there's no hardcoded limit either, the only limit is performance, for example you can make one material for the head and then make a skin file that changes the head material for the textures/common/nodraw one making it invisible and so on for any part of a characters body, with this system is entirely possible to simulate the original BOD wounded system.
here i made a fast test sample for you.