View Single Post
Old January 16, 2009, 05:37   #1
Join Date: May 2007
Posts: 53
tigen is on a distinguished road
3.1.0beta monster behavior and a few other things

I'll just throw out a few things I noticed...

1) Sometimes after a monster becomes afraid, instead of running away it steps diagonally adjacent to you. This is if you are in an open room right next to it. I suspect it either is trying to run behind you which doesn't make sense in these instances, or else the AI code decided there was no safe place to go and got confused. I helped fix something like this in NPP so maybe I can help with this too... first I have to get a save game where it happens. The monster AI code is written in an overly-convoluted way IMO.

2) I do have a save game here which shows odd behavior. These snagas will shadow my movements but do not attack unless I give them a free turn. For example if you just walk right and left it does the same instead of just attacking. The second one will come along and they both will do this dance.

I am supposedly a trained software developer myself so hopefully I can try to contribute myself to debugging stuff like this. I got the svn sync and will try to find some time.
tigen is offline   Reply With Quote