Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Zombie_Mod

How to make parts of anatomy invulnerable?

Recommended Posts

Hi all.

As you probably know, I'm working on zombies. surprise!! biggrin_o.gif

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 sad_o.gif

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 smile_o.gif

I don't want to use eventhandlers, I hate them biggrin_o.gif

Thanks for your help.

Share this post


Link to post
Share on other sites

you can just delete everything in the fire geo lod except the head part biggrin_o.gif

that would work

Share this post


Link to post
Share on other sites
you can just delete everything in the fire geo lod except the head part biggrin_o.gif

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

nope blood wont squirt out sad_o.gif

that the only way i can think of right now

Share this post


Link to post
Share on other sites

<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
<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

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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×