Bot debug colors?

Please use this forum to ask all your MoHAA Bots questions / discussions

Moderator: Moderators

Post Reply
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Bot debug colors?

Post 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?
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post 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.
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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....
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Here it is

Post 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
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post 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.
Admin .MAP Forums
Image
Head above heels.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post 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.
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

Thats good to know when bots behave like morons :D
Admin .MAP Forums
Image
Head above heels.
Post Reply