Sleeping AI

From The DarkMod Wiki
Revision as of 18:52, 20 April 2009 by Fidcal (talk | contribs) (New page: PLACEHOLDER TODO... Sleeping AI are (mostly) working now. They can either put themselves to bed at map start when they have set the spawn arg "sleeping" "1" or can be made to go to slee...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

PLACEHOLDER TODO...

Sleeping AI are (mostly) working now. They can either put themselves to bed at map start when they have set the spawn arg "sleeping" "1" or can be made to go to sleep and get back up during patrolling. There is also a testmap, test/sleep, which shows both possibilities. Testing please, there might be a few bugs creeping around (I also changed patrolling quite a bit).

There are a few known problems: They still keep their eyes open. They can only lay down in one direction, so we would need a second mirrored animation. The bed I'm using is too high, so they were clipping into it. I had to push it 8 units into the ground. They often lie close or even over the edge of the bed.