OldManBrian Posted January 22, 2019 Share Posted January 22, 2019 Has anyone done any modding on the zombie AI? I'm wanting to reduce the # of zombies that can simultaneously hit the same block to about 3 or so. Any other zombies that *want* to hit the same block would either have to wait their turn or find an adjacent block. Also, I'd like them to think that doors have 20% their actual durability, so that they generally zero in on those as possible weakpoints. Trying to figure out where to get started on this, is it doable? Link to comment Share on other sites More sharing options...
AtomicUs5000 Posted January 22, 2019 Share Posted January 22, 2019 I don't think this is possible because you would have to have variables store values representing which three zombies were currently hitting a block, plus timers to help remove those values when a zombie stops... or methods to clear those values when a zombie hits a different block instead. Way too much overhead! I think the real thing you want to change is the group damage bonus they get when they are together. For that, I don't know where or if it can be changed, but that might give you some information to help you find it if it exists. Link to comment Share on other sites More sharing options...
FringeRecall Posted January 23, 2019 Share Posted January 23, 2019 Haven't had a chance to look into this yet but plan to - a possible work-around may be to change the MaxRange on zombie hands in items.xml and with any luck you can tag it to blocks only? Link to comment Share on other sites More sharing options...
xyth Posted January 23, 2019 Share Posted January 23, 2019 As a work around, you could duplicate all the zombies in EntityClasses.xml and on the new set remove the BreakBlock AITask. Then in spawning you can decide how many of each type will spawn. So you would have ZobieNurse and a ZombieNurseNohitblocks. On the nohitblocks version remove the BreakBlock AITask and then reorder the numbers so there is no gap. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.