Author Topic: Bots + Stat Guns = wtf?  (Read 800 times)

0 Members and 1 Guest are viewing this topic.

Offline tntnik

  • Major(1)
  • Posts: 10
Bots + Stat Guns = wtf?
« on: August 28, 2007, 06:37:33 pm »
Ok, in one part of my map the bots use the stat gun properly, but in the other part (a tower) they are just stupid.  When using the stat gun on a tower overlooking the map, the bots shoot at the tower randomly and do not shoot at the enemy... If anybody knows how to solve this, please help me out.

Offline Mastadi

  • Camper
  • ***
  • Posts: 263
  • What makes me a good demoman!?
Re: Bots + Stat Guns = wtf?
« Reply #1 on: August 28, 2007, 06:53:59 pm »
They'll shoot in one direction if there's no enemy. If there's enemy, they'll aim at him and shoot him. If he dies/gets out of the sight of the bot, they keep shooting in the direction where that person was last. Could you specify your problem?

Offline tntnik

  • Major(1)
  • Posts: 10
Re: Bots + Stat Guns = wtf?
« Reply #2 on: August 28, 2007, 07:09:25 pm »
Sorry for the lack of details, but I was pretty pissed and wanted to give the problem into someone else's hands,
Here's what I figured out:
The problem arizes in realistic mode, as a bot picks up the stat gun, even before seeing an enemy (even if there is no enemy on the oposit team) he will constantly shoot at the same point (at the floor). And since the bot is not looking in the direction of the enemy, he cannot see him. And as you said,  if the bot does not see the enemy, he shoots in the same spot.. over and over again :\.
I need the bot to either have the ability to see the enemy from the tower or point the bot, as he touches the stat gun, to the enemy's spawn.

thanks