• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Request "passive zombies"

MaxTunnerX

Refugee
Id really love to see this game play out the way I envisioned when I first bought it many years ago, which is a "realistic zombie minecraft". In other words, I would like to get rid of the incredibly annoying predatory nature of enemies and the whole tower defense concept. I think the easiest solution would be to make zombies (and vultures etc.) passive, aka not reacting to my presence until I attack them or something. The game would look goofy but it would be way better than what it is now. Does anyone here know how to do it? Or maybe you know of a better way to give me my zombie minecraft?
 
You can try and modify these values in the entityclasses files

SetNearestEntityAsTarget class=EntityPlayer,0,0,EntityBandit,0,-10|

The first number is Hear distance, the second number is see distance. 0 means that the entity uses the default setting while negative means no scale. You can change the zombies target behavior to negative numbers which should reduce how far away you are before they engage.

There are also two additional properties you can adjust

<property name="AIFeralSense" value="1.5"/>
<property name="AINoiseSeekDist" value="8"/>

In addition to those above, you also have the AI Tasks

<property name="AITask" value="
BreakBlock|
DestroyArea|
Territorial|
ApproachDistraction|
ApproachAndAttackTarget class=EntityPlayer,0,EntityBandit,0,EntityEnemyAnimal,0,EntityAnimal|
ApproachSpot|
Look|
Wander|
"/>

Remove those would remove that behavior from the zombie.
 
You can try and modify these values in the entityclasses files

SetNearestEntityAsTarget class=EntityPlayer,0,0,EntityBandit,0,-10|

The first number is Hear distance, the second number is see distance. 0 means that the entity uses the default setting while negative means no scale. You can change the zombies target behavior to negative numbers which should reduce how far away you are before they engage.

There are also two additional properties you can adjust

<property name="AIFeralSense" value="1.5"/>
<property name="AINoiseSeekDist" value="8"/>

In addition to those above, you also have the AI Tasks

<property name="AITask" value="
BreakBlock|
DestroyArea|
Territorial|
ApproachDistraction|
ApproachAndAttackTarget class=EntityPlayer,0,EntityBandit,0,EntityEnemyAnimal,0,EntityAnimal|
ApproachSpot|
Look|
Wander|
"/>

Remove those would remove that behavior from the zombie.
Excellent, I will test this out tomorrow and come back with results.
 
So Ive given it a test run, and it works! Thank you so much for this. Now Im probably gonna give them back the wandering and stuff as its just creepy and unnatural when they stand still in the fields. Also can I make them attack me if I attack them first? Right now theyre all the way passive and dont fight back.
 
So Ive just tried only removing "destroy blocks" and "destroy doors" as thats my biggest issue with the enemies, but the enemies are still not moving in any way. Not even the new ones. I know for sure they register me and actively hunt me (the stealth eye says so), but theyre not doing anything. Very strange indeed.
 
Back
Top