How do you use addbot?

Re: How do you..

Postby qreeves » 24 Mar 2011, 05:52

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) ] ]
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: How do you use addbot?

Postby Ulukai » 24 Mar 2011, 09:18

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?
User avatar
Ulukai
 
Posts: 741
Joined: 19 Mar 2011, 10:55
Location: Mechelen, Belgium

Re: How do you use addbot?

Postby qreeves » 24 Mar 2011, 10:31

"botbalance -1" means use "numplayers" which is stored in the map files.
Quinton "quin" Reeves | Lead Developer, Red Eclipse | http://redeclipse.net/ | http://www.facebook.com/redeclipse.net
User avatar
qreeves
 
Posts: 1294
Joined: 17 Mar 2011, 03:46
Location: Queensland, Australia

Re: How do you use addbot?

Postby inpersona64 » 01 Apr 2011, 18:21

by default, my "addbot" button is 'PageUp'. it was 'Insert' in Blood Frontier.
User avatar
inpersona64
 
Posts: 474
Joined: 01 Apr 2011, 18:19
Location: Eastern USA

Who is online

Users browsing this forum: No registered users and 1 guest