[Solved] Problem with double-doors

Please use this forum to ask all your MoHAA Bots questions / discussions

Moderator: Moderators

Post Reply
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

[Solved] Problem with double-doors

Post 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?
Last edited by Bjarne BZR on Sat Jun 14, 2003 10:30 pm, edited 1 time in total.
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

I think it's the 'toggle' spawnflag, it may forbid the door to open for bots.
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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: )
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Do an -onlyents compile.

It'll give duplicate plane errors :? but should work just fine :)
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Does that just recompile the entities and leave the basic brushes as they were from last compile?
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Yes, unless you have touched a brush or added / removed entities. In that case you'll need a full recompile :(
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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?
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Did you try it without the DONT_LINK spawnflag?
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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?
Admin .MAP Forums
Image
Head above heels.
User avatar
Reish Vedaur
Sergeant
Posts: 64
Joined: Sat Apr 26, 2003 10:36 pm
Location: Illinois
Contact:

Post 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.
My warning meant nothing. You're dancing in quicksand. Why don't you watch where you're wandering? Why don't you watch where you're stumbling? You're in knee-deep and going in, and you may never come back again.
~Tool.
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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: )
Admin .MAP Forums
Image
Head above heels.
Post Reply