Jump to content

LF mod to disable zombies' aggresive behavior


Recommended Posts

Thanks to @Boidster we can now all have "passive aggressive" zombies (passive until you attack them, then aggresive) by doing this:

 

Open entitygroups.xml in 7D2D/data/config folder and under "zombieTemlateMale" find this line:

 

<property name="AITarget-4" value="SetNearestEntityAsTarget" data="class=EntityPlayer,0,0,EntityNPC,0,0"/> <!-- class, hear distance, see dist (checked left to right, 0 dist uses entity default) -->

 

Then remove the part Boidster made red in the text above. That's all, now zombies will only attack you if you attack them first.

Edited by MaxTunnerX (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...