Page 1 of 1

[Solved] Problem with double-doors

Posted: Mon May 19, 2003 10:57 am
by Bjarne BZR
My bots have no problem with single doors, they open them as needed.
But double doors are another story, they just run into them and continue running without trying to open them.

Here are my double-doors:

Code: Select all

alwaysaway / 1
classname / func_rotatingdoor
angle / 90 or 0 depending on direction
spawnflags / 36 ( DOOR_DONT_LINK & TOGGLE selected )
Another possible cause for this, is that all my double doors have a small window in them like this:
Image
Maby the bots think they can go there because they can see the other side?

Posted: Mon May 19, 2003 2:51 pm
by jv_map
I think it's the 'toggle' spawnflag, it may forbid the door to open for bots.

Posted: Mon May 19, 2003 3:06 pm
by Bjarne BZR
Oh thats.... like.... soooooooo obvious!!!!


... how could I have missed that?







*unload bitterness module*
.
.
.
*bitterness module unloaded*
:wink:

Are U sure? ( Every fast re-compile takes 6 h for me :cry: )

Posted: Mon May 19, 2003 3:09 pm
by jv_map
Do an -onlyents compile.

It'll give duplicate plane errors :? but should work just fine :)

Posted: Mon May 19, 2003 3:26 pm
by Bjarne BZR
Does that just recompile the entities and leave the basic brushes as they were from last compile?

Posted: Mon May 19, 2003 3:28 pm
by jv_map
Yes, unless you have touched a brush or added / removed entities. In that case you'll need a full recompile :(

Posted: Sat Jun 14, 2003 8:41 pm
by Bjarne BZR
Now I tried it ( took me a while )

Code: Select all

alwaysaway / 1 
classname / func_rotatingdoor 
angle / 90 or 0 depending on direction 
spawnflags / DOOR_DONT_LINK
...wihout the TOGGLE spawnflag. Still thew same results, the bots cant use the double doors...

The thing is: the CAN use the single dors, without any problems... and the toggle does not matter... :cry:
Any other ideas?

Posted: Sat Jun 14, 2003 9:00 pm
by jv_map
Did you try it without the DONT_LINK spawnflag?

Posted: Sat Jun 14, 2003 10:02 pm
by Bjarne BZR
No, not yet... but how would it be able to make a difference? I dont see any reason for it NOT to work just because it is a double door... they'll spawn the same trigger as any other door, wont they?
Cant it be someting else?

Posted: Sat Jun 14, 2003 10:19 pm
by Reish Vedaur
My theory, even though I have no true knowledge of bots, is that they see the double door and can't make up their minds about which one to open.

Posted: Sat Jun 14, 2003 10:29 pm
by Bjarne BZR
You have a good theory going there Reish, because now I tried it without the DONT_LINK spawnflag: and it now works like a charm... maby because now the double doors spawn a single trigger, instead of two?

In any case: Problem solved: Dont set the DOORS_DONT_LINK spawnflag on double doors, else the bots cant go through them!!

Tada!

( Now, onto the next bot-related problem to torment poor jv with :wink: )