Jump to content
Sign in to follow this  
Zombie_Mod

Alter  units so that AI aims for head?

Recommended Posts

Dear all,

I am working on a new version of the zombie mod, and would like all AI units to aim for the head of zombies, instead of the legs and body. The zombies have the same named selections as "normal" units (hlava etc) so no problems there.

Can anyone please tell me if this is possible in OFP without scripting? How do you specify vulnerable points on a unit in OFP? I am sure it is one of the LODS....

Thanks for your help.

Share this post


Link to post
Share on other sites

in the memory lod move the zamerny selection from here

zamery.jpg

to here

zamery1.jpg

see if that works smile_o.gif

Share this post


Link to post
Share on other sites

No, not yet - Mig was trying it though smile_o.gif

He said that if you just delete every named selection except "hlava" that the AI will target the head only.

I really need to try this myself.

Share this post


Link to post
Share on other sites

Some tips for that:

1- The geometry lod:

The zombies are able to cause dammage in vehicles so if a car try to hit a zombie the car will get some dammaged. Just need to change the zombie mass in the geometry lod and adjust it the way you want. I set the mass to 1828.903 , that is more than a unit an less than a car and it works fine.

1

2- The hitpoints lod:

Zombies only die if they get shotted in the head so we only leave one hitpoint: the hlava so the zombie only get dammage in the head.

2

3- The viewgeometry lod:

This lod represents what the AI can see ingame so we only leave the head area, nothing more smile_o.gif

3

Share this post


Link to post
Share on other sites
Some tips for that:

1- The geometry lod:

The zombies are able to cause dammage in vehicles so if a car try to hit a zombie the car will get some dammaged. Just need to change the zombie mass in the geometry lod and adjust it the way you want. I set the mass to 1828.903 , that is more than a unit an less than a car and it works fine.

1

2- The hitpoints lod:

Zombies only die if they get shotted in the head so we only leave one hitpoint: the hlava so the zombie only get dammage in the head.

2

3- The viewgeometry lod:

This lod represents what the AI can see ingame so we only leave  the head area, nothing more smile_o.gif

3

With regards to #3

Hi Mig, I don't think the viewgeometry should be cut down, as explained by this page:

http://o2tutor.zwadar.com/t_flo_en.html

we don't want the AI to "see through" the zombies, do we? That would just be rubbish biggrin_o.gif

Share this post


Link to post
Share on other sites
Some tips for that:

1- The geometry lod:

The zombies are able to cause dammage in vehicles so if a car try to hit a zombie the car will get some dammaged. Just need to change the zombie mass in the geometry lod and adjust it the way you want. I set the mass to 1828.903 , that is more than a unit an less than a car and it works fine.

1

2- The hitpoints lod:

Zombies only die if they get shotted in the head so we only leave one hitpoint: the hlava so the zombie only get dammage in the head.

2

3- The viewgeometry lod:

This lod represents what the AI can see ingame so we only leave  the head area, nothing more smile_o.gif

3

With regards to #3

Hi Mig, I don't think the viewgeometry should be cut down, as explained by this page:

http://o2tutor.zwadar.com/t_flo_en.html

we don't want the AI to "see through" the zombies, do we? That would just be rubbish biggrin_o.gif

You are right but that is the only way i found so the AI aim only the head. If you found a script way to make AI aim the head only, problem solved and we can keep the full view geometry lod so AI can't see through them smile_o.gif

Share this post


Link to post
Share on other sites

well why only make the AI aim for the head for? why not let the AI shoot them all over? would be intresting to see the zombies get shot up but not go down.

make it so that the zombies take damge all over but only die if they get hit in the head?

Share this post


Link to post
Share on other sites
Dynamo @ Oct. 29 2004,06:47)]well why only make the AI aim for the head for? why not let the AI shoot them all over? would be intresting to see the zombies get shot up but not go down.

make it so that the zombies take damge all over but only die if they get hit in the head?

I make it work so AI must shoot only the head cause it's better for AI soldiers or they wont have any chance against the zombies  tounge_o.gif The zombies are faster now  smile_o.gif Anyway this new features are working only in the new zombies models. The BIS civilians that zombie_mod has used as zombies will behave the same way (concerning O2 features)

Share this post


Link to post
Share on other sites

So does the zamerny selection work or not?

I need to find out biggrin_o.gif

I must have the AI aiming for the head.

Share this post


Link to post
Share on other sites
So does the zamerny selection work or not?

I need to find out biggrin_o.gif

I must have the AI aiming for the head.

I've tryed it the first time, but cause terrible mess with AI smile_o.gif

Share this post


Link to post
Share on other sites
in the memory lod move the zamerny selection from here

smile_o.gif

I've made a little research and you are right. Zarmeny means aiming point (damn language) so moving the zarmeny selection from chest to the head it is a simple way to achieve what we want. I've just tryed again and it works just fine  I'm a damn stubborn!!!

Share this post


Link to post
Share on other sites
in the memory lod move the zamerny selection from here

smile_o.gif

I've made a little research and you are right. Zarmeny means aiming point (damn language) so moving the zarmeny selection from chest to the head it is a simple way to achieve what we want. I've just tryed again and it works just fine  I'm a damn stubborn!!!

lol, took you about 3 months to try that out

how long did it take you to do the other method biggrin_o.gif

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  

×