Personal tools

Omni-Bot

From Bunkerwiki

Jump to: navigation, search

Helpful Links

Youtube tutorials

Command List

The following list has been created with Omni-Bot itself, with the command #wiki_commands.

ab

       Add Bots, add a given number of bots
       Usage: /bot ab <numbots>

aim_debug

       Aim Debug, an aim debugging tool
       Usage: /bot aim_debug
       Note: adds two bots to the game and positions them on both
              sides of the player at the given range
              shooting is disabled and the AIM debug flag is set

aim_debug_reload

       Aim Debug Reload, reloads each bots profile
       Usage: /bot aim_debug_reload

aim_pos

       Aim Position, lists the players current aim position
       Usage: /bot aim_pos

autosave

       My Waypoint Mode, enables waypoint view and autosave
       Usage: /bot mywpmode

balanceteams

       balanceteams - sets bot balance teams on/off
       Usage: /bot balanceteams 1

botgoal

       Bot Goal, used for debugging a bots goal on remote server

botsperhuman

       set the team the ratio of bots per humans in a humans vs bots game

botteam

       set the team the bots should be on in a humans vs bots game

botwar

       Enable or disable bots vs human teams
           bot botwar 2 1 3 - set bots to be on allies with a 3 to 1 ratio compared to humans on the axis team
           bot botwar -1 - disable it

bvp

       Build Vehicle Path, assists the waypointer in creating the vehicle path
       Usage: /bot bvp <goalname1> <goalname2> <optional seconds>
              goalname1 should be set to the construct goal of the vehicle
              goalname2 should be set to the mover goal of the vehicle
              seconds can be optionally set to adjust the interval between the vehicle being damaged

bvpo

       Build Vehicle Path Off, turns off Build Vehicle Path
       Usage: /bot bvpo

campnext

       sends a signal to advance to the next camp goal position. waypoint tool for adding camp facings

campstart

       start iterating through the plant goals in the map. helper for adding facings
       note: when warped, it will automatically select the goal
       binding a key to /bot goal_setproperty facing 99 will make things fast!

cg

       Clear Goal, disables the given goalname for the given team
       Usage: /bot cg <goalname> <team>

console

       Console, enables / disables the debug console
       Usage: /bot console, /bot console off

cvp

       Check Vehicle Path, test bots ability to repair the vehicle along its entire path
       Usage: /bot cvp <goalname1> <goalname2> <optional seconds>
              goalname1 should be set to the construct goal of the vehicle
              goalname2 should be set to the mover goal of the vehicle
              seconds can be optionally set to adjust the interval between the vehicle being damaged

cvpo

       Check Vehicle Path Off, turns off Check Vehicle Path
       Usage: /bot cvpo

cwn

       Clear Waypoint Names, remove all waypoint names
       Usage: /bot cwn <optional true>
       Note: the true parameter will list each waypoint that has been cleared

dbg_goalavailability

       toggle goal availability debugging

dbg_mapscripts

       toggle map script debugging

dbg_scriptgoals

       toggle script goals debugging (pathfailed, timedout, ...)

debug

       Debug, enables / disables bot debugging
       Usage: /bot debug, /bot debug off

dg

       Display Goal, runs a thread that lists the given goals name, position, and facing
       Usage: /bot dg <goalname> <true|false>
       Note: useful for mover type goals

dist

       Distance View, gives distance to a players aim position
       Usage: /bot dist, /bot dist off

draw_oids

       Draw Objective Info Displays, waypoint tool. draws the bounds of all OID's in the map
       Usage: /bot draw_oids

draw_paththrough

       render 3d text over paththrough node locations

draw_spawns

       Draw spawn points, waypoint tool. draws the bounds of all spawn points in the map
       Usage: /bot draw_spawns

dump_autocomplete

       Creates an xml file for autocompletion with Notepad++

dumpglobals

       Dump Globals, writes all functions and references to files in the ~user directory
       Usage: /bot dumpglobals

dwoff

       Debug Window Off, closes the debug window
       Usage: /bot dwoff

dwon

       Debug Window On, opens up the debug window
       Usage: /bot dwon

eob

       Exec on Bots, executes the given command on all bots
       Usage: /bot eob <command>

fgp

        fix waypoint based goal positions that were incorectly set to ground position

fgs

        fix waypoint based goal stances. optionally use /bot fgs 1 to check for waypoint flags

fix_waterwps

       adds inwater flag to waypoints close to the water surface

fixnext

fixoffsets

goal_echo

       echo's the closest enabled and rendering goal within goal_edit range to the screen

goal_exp

       Goal Exp, lists each goal index, mapgoal, and name
       Usage: /bot goal_exp

humanteam

       set the team the humans should be on in a humans vs bots game

idt

       initial - sets delay time for server manager to execute on map changes
       Usage: /bot delaytime 1

initialdelaytime

       initial - sets delay time for server manager to execute on map changes
       Usage: /bot delaytime 1

ip

       Ignore Player, bots won't shoot player
       Usage: /bot ip <on|off>

keepbot

       Keep Bot, remove all bots without the given partial name
       Usage: /bot keepbot <partial botname>

kg

       Kill Goal, damage a given goal if cheats are allowed
       Usage: /bot kg <goalname>

kt

       Kill Team, kills all bots on the given team
       Usage: /bot kt <teamname>

makegm

       Make GM, creates a map script and test map script for the current map
       Usage: /bot makegm

makemapgm

       Make Map GM, creates a map script for the current map
       Usage: /bot makemapgm

makemapgoallist

       Make Map Goal List, creates a map goal list for the current map
       Usage: /bot makemapgoallist

maketestmapgm

       Make Test Map GM, creates a test map script for the current map
       Usage: /bot maketestmapgm

maxbots

       MaxBots - sets the MaxBots
       Usage: /bot MaxBots 20

minbots

       MinBots - sets the MinBots
       Usage: /bot minbots 10

minformobilemg

       set the minimum number of players playing in order for bots to choose the mobile mortar

minformortar

       set the minimum number of players playing in order for bots to choose the mobile mortar

moveskill

       Combat Difficulty, sets persistent combat movement difficulty
       0 = off, 1 = easy, 2 = medium, 3 = hard, 4 = random

mypos

       My Position, gets the players current position and facing
       Usage: /bot mypos

mywpmode

       My Waypoint Mode, enables waypoint view and autosave
       Usage: /bot mywpmode

numthreads

       Number of Threads, prints the number of current threads
       Usage: /bot numthreads

plantnext

       sends a signal to advance to the next plant goal position. waypoint tool for adding cover spots

plantstart

       start iterating through the plant goals in the map. helper for adding cover spots

rollcall

       Roll Call, lists each bots name, team, class, and entity
       Usage: /bot rollcall

sag

       Show Active Goals, lists and optionally renders each currently active goal by team
       Usage: /bot sag <optional render teamId>, <optional bool routes>, <optional bool show use slots>
       Example: /bot sag 0 0 1  - shows active goals for both team plus current MaxInuse and MaxInProgress settings

saveplayerpos

       Waypointing tool - writes player positions to a file in user folder

saveusepoint

       Waypointing tool - stores player position as usepoint in a file in user folder

sei

       Show Entity Info, runs a traceline and returns Entity information
       Usage: /bot sei

sendtrigger

       test command and example of sending a trigger from script

sg

       Set Goal, enables the given goalname for the given team
       Usage: /bot sg <goalname> <team>

sgi

       Show Goal Info, lists information about the given goal
       Usage: /bot sgi <goalname>
       Note: lists goals health, DEAD status, entity number, and position

sgn

       Show Goal Name, lists all goals found within the given radius
       Usage: /bot sgn <radius> <optional true>
       Note: passing the optional true parameter will give player offset

sgo

       Show Goal Offset, lists players offset to the given goal
       Usage: /bot sgo <goalname>

showactive

       Show Active Goals, lists and optionally renders each currently active goal by team
       Usage: /bot sag <optional render teamId>, <optional bool routes>, <optional bool show use slots>
       Example: /bot sag 0 0 1  - shows active goals for both team plus current MaxInuse and MaxInProgress settings

showentityinfo

       Show Entity Info, runs a traceline and returns Entity information
       Usage: /bot showentityinfo

showevents

       Show Events, lists all events in the EVENT table
       Usage: /bot showevents

showgroup

       lists all goals of a given group in console

showscriptgoals

       Show Script Goals, lists each bots current script goal
       Usage: /bot showscriptgoals

showweapons

       Show Weapons, lists all weapons in the WEAPON table
       Usage: /bot showweapons

skip

       Skip, sets Util.Skip to true
       Usage: /bot skip
       Note: Util.Skip is used in some debugging functions

skipreset

       Skip Reset, sets Util.Skip to false
       Usage: /bot skipreset
       Note: Util.Skip is used in some debugging functions

spp

       Waypointing tool - writes player positions to a file in user folder

stresstest

       Stress Test, this command should only be used by developers
       Usage: /bot stresstest

stucknext

       used with stuckage checking. sends a signal to advance to the next stuckage vector

stuckstart

       start iterating through the stuckage table for the map

sup

       Waypointing tool - stores player position as usepoint in a file in user folder

sysusage

       writes a timeline of system usage stats to systemtimeline.gm

table_members

       prints a sorted list of table members to the console for the given table name
       optionally list by 'value' by passing value as the second param

tbr

       test bot roles

test_priorities

       Test Priorities, test SetGoalPriorities calls on all map goals
       usage, /bot test_priorities <bool allgoals>
       example: /bot test_priorities true will loop through all goals in the map table

testbot

       Test Bot, adds a testbot to the given team with the given class
       Usage: /bot testbot <team> <class>
       Usage: /bot testbot 0 - kicks the test bot
       Note: once a map restarts, the tesbot is released to a regular state

testbotroles

       test bot roles

testmap

       Test Map, starts the auto testing of maps based on the testmap scripts
       Usage: /bot testmap

testme

       Test command, prints out all arguments
       Usage: /bot testme

testvoice

        Test Voice Macro, used for testing a bots usage of given voice macro 
        usage, /bot testvoice <voice macro name>
       example, /bot testvoice NEED_MEDIC

testwin

       Test Windows, tests the debug window script testdebugwindows.gm
       Usage: /bot testwin

time

       echo's the current time to the screen

trace_pos

       returns position from a trace

tracearty

       Runs a trace to find arty targets from closest arty goal

tracebox

       Trace Box, builds an AABB based on the players position
       Usage: /bot tracebox

tracetrajectory

       Trace Box, builds an AABB based on the players position
       Usage: /bot tracebox

trigger_aimpos

       Trigger Aim Position, creates a region trigger based on the players aim position
       Usage: /bot trigger_aimpos

trigger_bounds

       Trigger Bounds, builds an AABB region trigger based on the players position
       Usage: /bot trigger_bounds

wab

       Warp any bot, will teleport a bot matching given name to the player
       Usage: /bot wab

warpanybot

       Warp any bot, will teleport a bot matching given name to the player
       Usage: /bot wab

warpbot

       Warp Test Bot, will teleport testbot to given waypoint name if cheats are enabled
       Usage: /bot wb <wpname>

warpto

       Warp To, will teleport player to given goal or waypoint name if cheats are enabled
       Usage: /bot warpto <goalname|wpname>

warptogoaloffset

       Warp To Goal Offset, will teleport player to given goal real world offset if cheats are enabled
       Usage: /bot warptogoaloffset <goalname>

waypoint_startover

       delete all waypoints that do not have properties / flags

wb

       Warp Test Bot, will teleport testbot to given waypoint name if cheats are enabled
       Usage: /bot wb <wpname>

wiki_commands

       write all script commands to a file in wiki markup

wpa

       Waypoint Array, adds an array of waypoints numx by numy, distx and disty apart
       Usage: /bot wpa <numx> <distx> <numy> <disty>

wt

       Warp To, will teleport player to given goal or waypoint name if cheats are enabled
       Usage: /bot wt <goalname|wpname>

wtgo

       Warp To, will teleport player to given goal real world offset if cheats are enabled
       Usage: /bot wtgo <goalname>