How to make bots to use door only from one side
How to make bots to use door only from one side
Hey, I've run on small poblem recently, I want to make a corridor with bars blocking it, which can be passed only from one side (same thing as it's on q3dm7). I have a corridor, and bars connected with trigger brush, and it works fine. The problems starts with bots, it seems that they 'don't see' the bars, and try to go through them from the side without the trigger. It looks bad, and what's worse destroys the gameplay in the area. I was wandering how to solve it, I'm not sure to what to do :/. Any ideas? I would like to make bots 'blind' about passage from one side only somehow.
[url]http://shadowsdomain.wordpress.com/[/url]
Re: How to make bots to use door only from one side
Just a guess:
A botclip (botsdonotenter?) patch across the corridor.
Not sure if the "backside" of the patch will allow passage, though.
EDIT: Or maybe a nodraw brush with only the blocking face textured with botclip/botsdonotenter.
A botclip (botsdonotenter?) patch across the corridor.
Not sure if the "backside" of the patch will allow passage, though.
EDIT: Or maybe a nodraw brush with only the blocking face textured with botclip/botsdonotenter.
Re: How to make bots to use door only from one side
That was my first idea, to make invisible brush (trigger texture, nodraw or whatever else) and them put 'donotenter' on one side. Not sure tho is it correct, and my bots won't start making even more stupid things
.

[url]http://shadowsdomain.wordpress.com/[/url]
Re: How to make bots to use door only from one side
Did you cover the door with botclip/playerclip and group it as part of the func_door entity? Perhaps the bots aren't seeing it as a door if it's a grate.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Re: How to make bots to use door only from one side
Yeah, but have you tried it?ShadoW_86 wrote:That was my first idea, to make invisible brush (trigger texture, nodraw or whatever else) and them put 'donotenter' on one side. Not sure tho is it correct, and my bots won't start making even more stupid things.
Probably one of the most difficult parts of mapping, this, because there's no other way than go in-game, and observe the bot behavior.
To force things, place a desirable item in the space you want blocked.
Re: How to make bots to use door only from one side
For timer prevention in defrag there is this method to do a playerclip on a patch. You can go through it once, but not back. Maybe that also works for a botclip. Or you make a bot map and place a playerpatch or wallpatch there?
Re: How to make bots to use door only from one side
AFAIK botclip wont work on patches.
Do the bars on the doorway open and close?
If so I would use a botclip brush as part of the entity.
Do the bars on the doorway open and close?
If so I would use a botclip brush as part of the entity.
Re: How to make bots to use door only from one side
Hmmm, I think I've "solved it". Actually I'm not sure it's done right way, but it seems to work
. So I have this corridor with 2 bars working as a door (q3dm7 dungeon style). I've added cluster portal and hint brush around bars (they fit the corridor size), and also put nodraw brush with one face covered with botdonotenter at one side of the corridor. I tested it with bots, and it really seems to work well. They don't try to go 'through' the bars from blocked size, and use the door from other one.
As I said, I'm still not sure doing nodraw brush with only one face covered with botdonotenter is corect from the engine point, but as long as it seems to work it's enough for me
.

As I said, I'm still not sure doing nodraw brush with only one face covered with botdonotenter is corect from the engine point, but as long as it seems to work it's enough for me

[url]http://shadowsdomain.wordpress.com/[/url]
Re: How to make bots to use door only from one side
Well, then I'm looking forward to your experimental SP map in the contest 
judge... maybe if time..


Re: How to make bots to use door only from one side
No way for me to participate, sorry :/. No time. But I would like to be a judge :P! If you would like me to be a judge, contact me via pm or sth.
[url]http://shadowsdomain.wordpress.com/[/url]
Re: How to make bots to use door only from one side
Ask tig via the lvlworld form.
Re: How to make bots to use door only from one side
Let's hope, there'll be more entries than judges in the end. 
EDIT: @ShadoW_86: nice idea, man! Might steal that somewhere in the next few years. Credits will feature you, then, of course.

EDIT: @ShadoW_86: nice idea, man! Might steal that somewhere in the next few years. Credits will feature you, then, of course.
If you are caught on a golf course during a storm and are afraid of lightning, hold up a 1-iron. Not even God can hit a 1-iron.
-Lee Trevino, golfer who actually has been struck by lightning.
-Lee Trevino, golfer who actually has been struck by lightning.