Page 1 of 1

Bot debug colors?

Posted: Mon Jun 16, 2003 2:05 pm
by Bjarne BZR
I like the debug mode where the bots "glow" in the color assigned to their current task. Some colors I can guess pretty easily but some are more tricky. So the Q is:

What colors are associated with what tasks?
And what does it mean when a bot is not colored? Is he to lazy to pick a task?

Posted: Mon Jun 16, 2003 2:14 pm
by jv_map
Yeah the colors were designed to quickly show the task of the bot but they became a bit messy over time :oops:, especially when the subtask concept entered the bomb code. Anyway I'll try to assemble a correct list and post it down here.

Posted: Mon Jun 16, 2003 2:22 pm
by Bjarne BZR
Blue: follows player
Red: intends to set a bomb
Yellow: intends to snipe some ass
Green: .... eh... heading for a bombcamp?

... hm no use... I'll just wait for the exact answers from jv....

Here it is

Posted: Mon Jun 16, 2003 2:27 pm
by jv_map
Everything behind a colon ( : ) is a subtask. As you see attackbomb and defendbomb use largely the same color scheme.

If a bot doesn't have a color he does not perform any of the tasks below, this means, he is idle (no task) or busy with the trigger :) or the coloring code has a bug somewhere :oops:

Code: Select all

purple 			
	-> attackbomb : plant
	-> defendbomb : defuse
	-> camp
blue 			
	-> defendbomb : ignoredefuse
	-> defendbomb : defuse (defusing)
	-> follow
	-> health
light blue 		
	-> attackbomb : escort
	-> defendbomb : escort
yellow
	-> sniper
red				
	-> attackbomb : activate
	-> defendbomb : activate
	-> attackbomb : plant (planting)
	-> machinegun
green			
	-> attackbomb : camp
	-> defendbomb : camp

Posted: Mon Jun 16, 2003 2:43 pm
by Bjarne BZR
Thanx :)

Great tool. Im a visual guy :wink:
The uncolored ones I've seen looks "bored"... I can push them out of the way, but they wont do anything useful.

Posted: Mon Jun 16, 2003 2:46 pm
by jv_map
Hmm you can also get their task from the jvbot_status command (if you run the bots in verbose mode, you'll get more info).

To retrieve the targetname of a bot, type g_entinfo 1 in console.

To find out the destination of a bot (where he is running to, or 'patrolnode' as mohaa programmers called it), type 'actorinfo <entnum>'. You can also find the entnum with the entinfo command.

Posted: Mon Jun 16, 2003 2:51 pm
by Bjarne BZR
Thats good to know when bots behave like morons :D