PDA

View Full Version : Bots don't care about AssaultPaths



Murphy
05-30-2008, 12:22 PM
Hi,
My bots only take one route to the flag and another on the way home so I looked around a bit and found Blitz's tutorial about botpathing. I learned about AssaultPaths there and used them as described in the tutorial.

I just let the bots play a test-match now, but they simply don't give a darn about the AssaultPaths. It's like they weren't even there at all.

What can I do about that? Where could I have made a mistake?

Thanks in advance!

[s§s]Bison_Boy
06-02-2008, 11:25 AM
let us know what you find out, I never got that to work eather@!

Murphy
06-02-2008, 02:13 PM
I posted this on another forum too now but so far I've had no luck. I'll keep you posted!

EDIT:
I fixed a few minor BSP holes yesterday evening and changed the paths and flags so that the Tag of the flag matches the objective tag of the paths. Further I took a look at CTF-Twintombs and there are AssaultPaths at each entrance to the bases and their priority values are all "1"!
Apparently if all of them are set to 1 the bots will just chose one at random and you only need to change the values if you really want your bots to take some paths more often than others. That's not the case for me so I changed this to "1" for all my paths. Strange enough it now seems to work.

I can confirm that Blitz was right and it's the Tag, not the name or anything. What exactly made them work for me now I don't now. Maybe faulty values are worse than just leaving the priorities to 1 and I had faulty values before? Could be, because every AssaultPath had multiple paths assigned to it.

Anyway, it works now.