entityclasses.xml
factions.xml
The above is my code to try to get zombies to target animals, if they're closer than they player. However, their behavior does not change.
Any ideas?
XML:
<configs>
<set xpath="/entity_classes/entity_class[@name='zombieTemplateMale']/property[@name='AITask']/@value">
BreakBlock|
DestroyArea|
Territorial|
ApproachDistraction|
ApproachAndAttackTarget class=EntityEnemyAnimal,0,EntityAnimal,0,EntityPlayer,0,EntityBandit,0|
ApproachSpot|
Look|
Wander|
</set>
</configs>
factions.xml
XML:
<configs>
<append xpath="/factions/faction[@name='undead']">
<relation faction="animal" name="Hate"/>
</append>
</configs>
The above is my code to try to get zombies to target animals, if they're closer than they player. However, their behavior does not change.
Any ideas?