Path_Corners
#9780 posted by Mike Woodham on 2010/05/03 18:33:28
I am having trouble with my Ogres.
Going upstairs he is OK but when he returns, he seems to get stuck and twizzles around on one or two of the steps. He looks like he is searching for the way down but never finds it. Other monsters, such as knights and hell knights, are fine and follow the same path_corners without any trouble.
Is this a bounding box issue and do I need to allow more room on one side going in one direction?
For instance, I seem to remember that in the xy view, the lower left hand corner of the path_corner is significant. But could there be relevance to the direction of travel so that I should allow more room on one side in one direction but more room on the other side in the opposite direction?
There is only one monster on this path and no other monsters can cross the path, or otherwise get in the way of the ogre.
#9781 posted by JneeraZ on 2010/05/03 18:42:40
Well, Hell Knights have the same bounding box as the Ogre so I'm not sure what could be going on...
Well
#9782 posted by ijed on 2010/05/03 18:43:19
id1 Ogres as the same size as a Shambler, so if there's a bottleneck smaller than 64 units they can get stuck.
#9783 posted by gb on 2010/05/03 21:29:19
If you use your own progs, you can simply give ogres the smaller bounding box.
Willem
#9784 posted by Lardarse on 2010/05/03 22:45:09
No they don't. Hell knights use the smaller box, ogres use the larger box.
If the ogre is going up fine, but not down, then you need to raise the ceiling by the height of the step. If it still doesn't work, then keep increasing the ceiling height. But 1 or 1.5 x height of step should be enough.
For gb's suggestion to work, you would need to make them use the smaller box. And yes, they do completely fit inside it.
#9785 posted by necros on 2010/05/03 23:29:21
in order for a monster to take a step, it has to have it's 4 corners of it's bbox 'on ground'. the monster is allowed some leeway, but if the steps are too short, it would have to 'skip a step' which makes the vertical distance too far down.
essentially, the big monsters need bigger steps. :P
Lardarse
#9786 posted by necros on 2010/05/03 23:31:03
obviously, without seeing the map, i can't be sure, but i don't think it's a ceiling issue.
the check when walking up a step is different from when walking down.
it is allowed to step up more than it is allowed to step down.
#9787 posted by Lardarse on 2010/05/04 05:25:41
Aaah yes, I think you might be onto something.
When stepping up, the front corner(s) need to be moving into something, and have a place to stand that is less than maxstepheight (there is a cvar for this, default is 18).
When stepping down, however, it's something like the middle of the box needs to be above a point that is no more than maxstepheight away, while the back corners are still on the top step.
This suggests that the only thing that will work, is either a smaller bounding box, or wider/shallower stairs.
#9788 posted by JneeraZ on 2010/05/04 14:49:59
"in order for a monster to take a step, it has to have it's 4 corners of it's bbox 'on ground'. the monster is allowed some leeway, but if the steps are too short, it would have to 'skip a step' which makes the vertical distance too far down.
essentially, the big monsters need bigger steps. :P"
Are you sure? Ogres can navigate standard sized stairs in most maps that I've made. I've never had a situation where I needed to make stairs deeper to accommodate the bigger bounding box ... or maybe I've been doing it just automatically and not running into this. I dunno!
Upstairs, Downstairs And In My Lady's Chamber
#9789 posted by Mike Woodham on 2010/05/04 14:53:14
So I guess that I'll stop trying to get the ogre to walk down the spiral(!) staircase then.
Mind you, he looks quite funny when he is twizzling on a couple of stairs (he sort of dances between them) and I may leave him there just to give the player a laugh before he blasts the ogre's head of with both barrels.
Thanks for your help everyone.
Spiral Stairs?
#9790 posted by ijed on 2010/05/04 15:00:44
That clears it up :)
#9791 posted by necros on 2010/05/04 19:57:53
spiral, yeah. monsters have even more trouble navigating down stairs that are at an angle. even if all the steps are 45 degrees.
remember that bboxes don't rotate, so when the square bbox hits, say, a 45 degree angle, his leading corner will be even further out than usual (owing that it's a diagonal relative to the 45 degree step). you need to make your steps even bigger in that case.
note that if your steps are in an L shape, they can have trouble on the corners of the steps as well.
willem: now that we know that the map has spiral stairs, it's probably more owing to the non-right angled stairs, but you can see this for yourself by building a stair that is 16 units high and 16 units long. small bbox monsters should still be able to use it, but large bbox monsters will treat it like a ledge.
Closing The Loop...
#9792 posted by Mike Woodham on 2010/05/04 22:24:37
http://img202.imageshack.us/img202/287/fitz0017.jpg
http://img94.imageshack.us/img94/3716/fitz0018.jpg
"He was twizzlin' away, 'till the closing of day, and singing a smoke-twizzlin' song. There was an aeroplane circlin' but he didn't notice at first, 'cause it was so cunningly disguised as a dragon."
#9793 posted by JneeraZ on 2010/05/04 22:41:36
trigger_monsterjump (or whatever it's called)
SOLVED!
Alternative
#9794 posted by ijed on 2010/05/04 23:01:24
Make a pillar so the steps closest to the internal bit of the U aren't so short - the outer width of the steps looks fine for even fatboy to walk down them.
Alternative2:
http://www.mobility-superstore.com/stairlifts/
Might be tricky setting up the func_trains though.
Ijed
#9795 posted by Mike Woodham on 2010/05/04 23:20:01
That's just what I need, never mind the Ogres!
You Have
#9796 posted by ijed on 2010/05/05 00:57:52
A large bounding box?
Large Bounding Box?
#9797 posted by Mike Woodham on 2010/05/05 07:29:25
...oh yes, my box bounds large.
I got round the 'problem' with my ogre by setting the path_corners right next to the right hand side of the stairs where the tread is widest. He goes up and down with a slight twizzle on one step. The downside is that he does not appear to walk on the stairs, he looks as though he is floating above them.
But at least in gives that degree of randomness associated with wandering monsters.
Onwards and upwards, as they say...
Hahah
#9798 posted by ijed on 2010/05/05 13:38:25
Anyway - I didn't think of the path_corners - you can already tell him where he supposed to be.
Looking forward to it, always liked shallots.
Some Simillar Path Corner & Ogres.
#9799 posted by madfox on 2010/05/06 03:56:10
How come the Ogre stops, when there's a 16 or 32 gap on its pathway?
I tried the OldOgre , but he always stops as soon here's a 16 unit gap.
I even tried a clipbrush of 8 units.
To make the screenshot I had to force the Ogre on the midle of the path.
http://members.home.nl/gimli/OldOgre.jpg
Madfox:
#9800 posted by metlslime on 2010/05/06 04:10:50
monsters use the visible geometry (hull 0) to do pathfinding checks. So even if the collision hull (hull 1 or 2, depending on the monster) is flat and continuous, the monster will stop if there is a visual gap. (visual gaps that are 16 or less units deep are okay because they are treated as a step down.)
So, clip brushes won't help because they are not included in hull 0.
Func_wall with a skip texture might work, through.
Thanks
#9801 posted by madfox on 2010/05/06 04:33:46
I wondered why I couldn't let him walk the hallway, while in the old screenshots it does.
That's Cool
#9802 posted by necros on 2010/05/06 06:36:07
like a viking ogre or something :)
#9803 posted by Trinca on 2010/05/06 11:02:50
hehe weardo :) but look sweet!
Ogres and Vores are my favorit monsters of Quake!!!
Awesome to dance with!
OldOgre FTW
#9804 posted by ijed on 2010/05/06 14:22:43
|