Staredit Network

Staredit Network -> UMS Assistance -> AI Script wonkyness
Report, edit, etc...Posted by DoomPenguin on 2006-11-26 at 09:31:05
Alright, so I'm making your basic zombie surivival map.

Here's what I WANT to happen:

☼ Zombies spawn and then run around attacking players, humans (comp), and building (another comp).

☼ Humans wander around and try to kill any zombie they see.



I have the humans set to junkyard dog, which works alright. Sometimes they'll attack the Zombies, sometime's they'll walk past 'em.


The problem with the zombies is they'll attack buildings close to them, but then just stop moving after that building is destroyed. They'll mainly focuse on moving to where Player 1 is, which is bad, I want them to roam the city sem-randomly. Zombies will move right past humans (comp), which I set as their enemy. Very rarely will they attack them on their own.

This is bugging me...
Report, edit, etc...Posted by Shocko on 2006-11-26 at 09:35:21
I'm not good with AI's but you might be looking for the suicide AI's or something like that "suicide missions tactical" or something like that. If they stop when you have a building chances are they don't know what to do so do something like

zombies score atleast 1 razing ( i think it's razing anyways )
townsfolk sufferred deaths of that building

SetAIScript
SetScore to 0
SetDeaths to 0
PreserveTrigger
Comment *

* optional.
Report, edit, etc...Posted by Velendesril on 2006-11-26 at 09:39:55
You could also use an Aggresive AI. It dosen't matter what race though, but they should attack nearly everything.
Report, edit, etc...Posted by DoomPenguin on 2006-11-26 at 09:48:14
Yeah, i'm using Random Suicide. I'm going to have to tweak it around.


Next Page (1)