Zombie_Mod 0 Posted January 4, 2005 Hi all. As you probably know, I'm working on zombies. surprise!! I have hit a small snag. Whenever the AI shoots the unit in the body, I don't want the unit to take any damage. As it is, I can shoot zombies in the stomach and put them down How can I edit a model (or its config.cpp) so that only the HEAD can take damage, every other part of the body will be indestructable? Only shooting the zombies in the head will knock them down for good. I don't want to skimp on this I don't want to use eventhandlers, I hate them Thanks for your help. Share this post Link to post Share on other sites
oyman 0 Posted January 4, 2005 you can just delete everything in the fire geo lod except the head part that would work Share this post Link to post Share on other sites
Zombie_Mod 0 Posted January 4, 2005 you can just delete everything in the fire geo lod except the head part that would work Would blood still spurt from the shot wounds though? I want blood splashes to appear, but no actual "damage" to be done to the unit. Again, only a headshot should fell these chaps. Only one way to find out I suppose... Share this post Link to post Share on other sites
oyman 0 Posted January 4, 2005 nope blood wont squirt out that the only way i can think of right now Share this post Link to post Share on other sites
Sniperwolf572 759 Posted January 4, 2005 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> armor=4; armorStructural=1.5; armorHead=0.7; armorBody=9.5; armorHands=9.5; armorLegs=9.5; set the values as you like but unit will be killed eventually. Share this post Link to post Share on other sites
Zombie_Mod 0 Posted January 8, 2005 <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">armor=4; armorStructural=1.5; armorHead=0.7; armorBody=9.5; armorHands=9.5; armorLegs=9.5; set the values as you like but unit will be killed eventually. Yeah, already done that in existing config.cpp; I believe if the values are too high though that the AI soldiers won't target the unit. Share this post Link to post Share on other sites
Sniperwolf572 759 Posted January 8, 2005 I don't think so, I remember few addons that had huge armour values like that Terminator addon or Skeletons from some config addon EECP or Y2k3. AI engaged them as regular units Share this post Link to post Share on other sites
raedor 8 Posted January 8, 2005 or add a eventhandler "dammaged"... with the right script you can try to make some parts invulnerable- Share this post Link to post Share on other sites