Raptor007 / aq2-tng

Action Quake 2: The Next Generation. Raptor007's sandbox for testing changes. When verified stable, this code is pushed to the official aq2-tng repo:
https://github.com/aq2-tng/aq2-tng/tree/bots
4 stars 2 forks source link

sv addbot, bot amount parameters? #76

Closed dynamic0 closed 4 years ago

dynamic0 commented 5 years ago

sv addbot 1 3 adds 1 bot named "3" to team 1.

Instead of sv addbot [team] [name] could it be:

sv addbot [team] [amount] [name]

or check if the second parameter has numbers or letters:

sv addbot [team] [amount/name]

When added more than 1 bot, generate random names for the bots.

Raptor007 commented 5 years ago

I would rather not change and complicate the existing behavior, but how about a new addbots command that always uses random names?

sv addbots [qty] add [qty] bots, auto-assign team if teamplay

sv addbots [qty] [team] add [qty] bots to [team]

dynamic0 commented 5 years ago

Seems like a good idea! 👍

Raptor007 commented 4 years ago

Done, and pushed this update to main aq2-tng.