Page 1 of 1

Re: How do you..

PostPosted: 24 Mar 2011, 05:52
by qreeves
FlyingHigh {l Wrote}:I assigned a key to the addbot function so i could have bigger battles but the game says there isn't a command called addbot. How do I add bots??


Press INSERT and DELETE, or use the botbalance variable.

{l Code}: {l Select All Code}
bind INSERT [ if (= $botbalance $botlimit) [ botbalance -1 ] [ botbalance (+ $botbalance 1) ] ]
bind DELETE [ if (= $botbalance -1) [ botbalance $botlimit ] [ botbalance (- $botbalance 1) ] ]

Re: How do you use addbot?

PostPosted: 24 Mar 2011, 09:18
by Ulukai
I had the same problem when I modified the key to add or delete bots in the menu to another key. When you lok at the cfg file in your profile, it says BIND INSRT ADDBOT, which is wrong imo.
When I then emptied the line in the menu, pressing insert or delete worked again to insert or delete bots.

My guess is that there is something wrong with the binding.

Also, which var is used to determine the default amount of bots?

Re: How do you use addbot?

PostPosted: 24 Mar 2011, 10:31
by qreeves
"botbalance -1" means use "numplayers" which is stored in the map files.

Re: How do you use addbot?

PostPosted: 01 Apr 2011, 18:21
by inpersona64
by default, my "addbot" button is 'PageUp'. it was 'Insert' in Blood Frontier.