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

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
dichtfux
Posts: 571
Joined: Thu Feb 02, 2006 10:51 pm

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

Post 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.
Last edited by dichtfux on Mon Apr 24, 2006 1:34 pm, edited 2 times in total.
[color=#FFFFFF][url=http://maps.rcmd.org]my FPS maps[/url][/color]
Fjoggs
Posts: 2555
Joined: Fri May 03, 2002 7:00 am

Post by Fjoggs »

Easily:
add these parameters to your bspc compile line
-forcesidesvisible (or forcesidevisible can't remember)
-optimize

Voila
dichtfux
Posts: 571
Joined: Thu Feb 02, 2006 10:51 pm

Post 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".
[color=#FFFFFF][url=http://maps.rcmd.org]my FPS maps[/url][/color]
Fjoggs
Posts: 2555
Joined: Fri May 03, 2002 7:00 am

Post by Fjoggs »

Stuff like that will take your sleep away, and then do it again when the solution is so easy. ;)
Post Reply