Thread: mobs that track
View Single Post
Old 11-25-2003, 10:15 PM   #1
karlan
Member
 
Join Date: Apr 2002
Location: Brisbane Australia
Posts: 74
karlan is on a distinguished road
As I posted a while back, I have a bunch of mobs that go out looking for players (well a few) originaly they used a shortest path algorithm (the one in the stock code) I do not like this it means the mob will head towards the player. So I decided to go for mobs following the tracks in a room this works well until the tracks are lost or the mob follows a false trail, then it just cycles on the last set of tracks as the most recent until they fade out. there is also the problem, due to my dislike of tracks that directly point to a player, it could point to the type of tracks (animal tracks, small boots, huge feet, wagon tracks, ...), so I have for now hit coders block, has anyone else tried to do something similar?
karlan is offline   Reply With Quote