I have this map, DM with bots, and I was playing when I realize that there was a bot that was standing in the middle of a room, pointing his gun to to ceiling. I checked for errors and...nothing. Routes are ok, no console errors.
After 1 hour waiting in spectator mode the error finally repeated and I finally found the problem:
This room is the first floor of a house and there is a door in the 2nd floor. when another bot opens the door on the 2nd floor AND happens to have another bot in the 1st floor, in the very moment the upper bot opens the door, the lower bot stops and go into attack mode!!!!!! Having no obj to achieve, he just stay there forever...This rarely happens, you need to have 1 bot opening the door on the 2nd floor and another bot passing on the 1st floor at the very moment the upper bot is opening the door, but still very annoying.
Am I being clear? Do you guys need some screenshots?
Anyway, I tryed to put a actor brush so the bot cannot see or whatever...nothing, he keeps stoping.
Question: Is there a way to...avoid that?
Bots and attack mode
Moderator: Moderators
-
Krane
- Lieutenant General
- Posts: 782
- Joined: Sat May 31, 2003 4:18 pm
- Location: California, USA
- Contact:
Thanks jv for your reply...what should I say? bua!!!!
I'll release my map tomorrow with this very little problem anyway... we can always shot the bot and he will be back to the battle...
byw: hmm, yes, that door have a areaportal!!!!!! Is this the problem? Should I have to remove the areaportal to fix this problem? Good fps on that building or 1 bot less in the battle?
The problem is, for testing I have to spend 1 hour before this happens again...anyway, I'll test!
Cheers
I'll release my map tomorrow with this very little problem anyway... we can always shot the bot and he will be back to the battle...
byw: hmm, yes, that door have a areaportal!!!!!! Is this the problem? Should I have to remove the areaportal to fix this problem? Good fps on that building or 1 bot less in the battle?
The problem is, for testing I have to spend 1 hour before this happens again...anyway, I'll test!
Cheers
No removing the areaportal will not remove the problem I think
The areaportal however explains the strong 'reaction' of bots to the opening of the door a floor higher. In fact, I think this areaportal seals the lower floor from the upper floor. This means that the bot on the upper floor is in the same pvs (potential viewable set) as the lower bot and the lower bot is able to trace this enemy. As long as the door is closed both bots are unaware of each other's presence.
This indicates that there's probably a way to fix it, namely by preventing the lower and upper floor from being in the same pvs. This can be done by using hint brushes or vis_leafgroups. In game, use the r_showtris 2 and / or the r_lockpvs 1 command to check your current pvs.
Hopefully this helps!
The areaportal however explains the strong 'reaction' of bots to the opening of the door a floor higher. In fact, I think this areaportal seals the lower floor from the upper floor. This means that the bot on the upper floor is in the same pvs (potential viewable set) as the lower bot and the lower bot is able to trace this enemy. As long as the door is closed both bots are unaware of each other's presence.
This indicates that there's probably a way to fix it, namely by preventing the lower and upper floor from being in the same pvs. This can be done by using hint brushes or vis_leafgroups. In game, use the r_showtris 2 and / or the r_lockpvs 1 command to check your current pvs.
Hopefully this helps!

