Page 1 of 1

Q3A : bots barely move - how to fix this? [solved]

Posted: Mon Apr 24, 2006 1:10 pm
by dichtfux
hi again,

i just added bots to my map by generating the aas file using bspc and have some questions on the bots.

let's just say the bots act, umm, not that intelligent yet. Basically, they spawn and stand at the spawn point until someone (me or a bot i lured there, see below) walks by. Then, they start firing with the MG or pick up a weapon if it is very close to them. While firing, they move around a bit.

But if a wall, roof or any other brush gets between me and the bot ( i walk around a corner or maybe the bot just jumps behind a thin column) he starts to stand around again.

The bots can (physically or whatever you want to call it) move through the map, i.e. the path is not blocked for them. I tested this by shooting at them with the MG and walking slowly backwards - they follow me then, and i can go for a walk with them through the whole map as long as i'm careful. :puke:

There are items in the map and i bot-clipped a lot of stuff. But obviously, that wasn't enough.

Any ideas on how to improve the bots are welcome and so are links to a tutorial that decribes how to improve the AI of the bots in ones maps - i couldn't find one.

Is there something you can do besides placing bot-clips or did i not clip well enough?

A last, quick question, just to be sure : Player-Clip does also clip bots, doesn't it? (No, i did not use playerclip for botclipping, but there's an outer wall i don't want players or bots to rocket-jump across.)

The map i'm having the problems with is prejudice, you can get a no-lightmap version of a pre-beta2 state
here if you feel like having a look at the bots behaviour yourself.

Posted: Mon Apr 24, 2006 1:17 pm
by Fjoggs
Easily:
add these parameters to your bspc compile line
-forcesidesvisible (or forcesidevisible can't remember)
-optimize

Voila

Posted: Mon Apr 24, 2006 1:33 pm
by dichtfux
Fjoggs wrote:Easily:
add these parameters to your bspc compile line
-forcesidesvisible (or forcesidevisible can't remember)
-optimize

Voila
unbelievable, i thought i was in for weeks of bot-clipping and two bspc switches did it. i was looking in the completely wrong direction, it seems. Bots are now running and attacking.

Thanks, Fjoggs.

BTW : Writing the aas file took 3 instead of 2 seconds - maybe these switches should be on by default. And it's "-forcesidesvisible".

Posted: Mon Apr 24, 2006 1:38 pm
by Fjoggs
Stuff like that will take your sleep away, and then do it again when the solution is so easy. ;)