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?
Bot debug colors?
Moderator: Moderators
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
Here it is
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 
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
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
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
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.
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.
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:

