Digital Paint Discussion Board
Paintball 2: The Game => Help and Support => Topic started by: brucem on April 02, 2016, 03:16:08 AM
-
Hi there - just installed Build41 on 3 windows pc's - great fun with my kids - I want to control bots - add, remove and most importantly assign teams - but sv botcmd and sv botcommand both say "server command not found"
Any documentation or commands I could look at?
-
Build 41 got a new Bot AI. The old commands dont work right now.
-
addbot <name> - adds a bot, name is optional
removebot <name> - remove a bot given a name
removeallbots - removes all bots
To change the teams of a bot, type 'players' to get their ID number, then 'forcejoin <id> <team>' where team can be the colour or its first letter, ie r for red, b for blue, p for purple, etc. If you're currently playing a round you wont see any notification that the bots change team until the round ends or they die. You'll also need to disable auto balance if you're throwing the teams out of whack.
Cvar settings:
g_autobalance 0 - disabled
g_autobalance 1 - autobalance enabled. Players will be autoswitched when player counts are unbalanced by more than 1.
g_autobalance 2 - autobalance enabled, team switching to a team with the same number or more players disallowed.
So to disable it, 'cvar_set g_autobalance 0'.
Build 41 got a new Bot AI. The old commands dont work right now.
The ones above are working for me and I'm using 41.
This is also out of date, but more complete than anything else I know of (eg it won't have autobalanace, as its a newer feature).
https://web.archive.org/web/20090612040933/http://digitalpaint.therisenrealm.com/reference/commands
-
Thanks so much - is there a way to set the skill level of the bots, or add different types of bots?
-
No worries.
Not that I'm aware of - the new bots as ic3y said were implemented in the latest release, and are still in development.
http://dplogin.com/forums/index.php?topic=26523.0
-
The ones above are working for me and I'm using 41.
Mixed it up. For sure, add, remove and forcejoin will work. But I thought about commands like "botcommand all join red", "botcommand all say HELLO" and that stuff.
-
Thanks, all worked. Is there some way to make shortcuts or something that automatically runs whenever a new map is started? I always want the 3 human players in my game to be on the same team, and all bots we add to be on the opposing team.
-
Forcejoin playernumber r/b/y/p
-
Forcejoin playernumber r/b/y/p
Great - one more thing: once I've run forcejoin, it only changes the players on the next round - how do I kill off everyone, or force the start of a new round?
-
I'm not sure if this is the fastest way, but you could go observer (if you are alive, you get yourself killed with a paintgren) and start to chase the bots with "p". Then you spam "viewgib" in the console until a team is dead and a new round starts.
-
Thanks. I learned about "exec play.cfg" where I can put a series of console commands in a file. But can't get it working just right. Can anyone suggest what series of commands would end with the 3 human players being on the same team, and 3 bots being on the other team?
-
You could solve it with an alias in your config.cfg.
This would add 3 bots and make them join the blue team (g_autobalance has to be 0):
bind X botgame;
alias botgame "addbot; addbot; addbot; forcejoin 7 b; forcejoin 6 b; forcejoin 5 b"
I think the best solution for your problem would be a menu to add and control bots. I'm sure someone wrote a menu like this already.
-
1. type in "cvar_set g_autobalance 0 in console. 2. spam "addbot" into your console until you have the number of bots you want. 3. type "forcejoin all r,b,y,p" into the console. once every bot and player is forced to that color, you and your friends type " join r,y,p,b" into the console to sswitch teams. 4. have fun playin bots. P.s: the current bots (DPBots) are way more advanced than the previous bots(ACEbots). If you prefer acebots, i recommend downloading build 40 again, which can be found at supermanspub.com/downloads. Also, many server commands, bot commands, etc can be found in the documentation link on this site.