Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Abrax

Monster Behavior

Recommended Posts

I noticed while making a classic "imp box" offset at 45 degrees that in the 64x64 area the monster would not move, implying that it could not turn, do the monsters hit boxes physically turn with the direction the monster is facing, or do they remain strictly aligned to the map grid?



I solved the problem of the imp not moving by making the box slightly larger and adding some fake wall with midtex, but I thought I'd ask, just to learn some more about monster behavior.

Share this post


Link to post

The monster hit boxes remain strictly aligned. However, it's possible that the movement code moves the imp first on one axis and then on the other; since it already does that for vertical movement (first horizontal, then vertical), resulting in the one-way stairs bug. I'd look into the movement code to check, but I know it'd just give me a headache.

Share this post


Link to post

Muha, I can remember making a staircase like that once upon a time, Dooms movement code is full of allsorts of oddities and imprecisions (plasma bump, wallrunning, thingrunning etc). I guess it explains why monsters appear to turn on the spot (pinky comes to mind).

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×