How can I add bots to an Alien Swarm online game?

How can I play Alien Swarm with only one friend and have the AI control the other two characters?

I find it very difficult to play with only 2 characters, and I'd like to fill the empty slots with AI.

I know it must be possible somehow.

EDIT: The accepted answer works, but the bots don't do anything more than firing (no healing, no welding, nothing). I have to control them to do anything more than just firing.

Does anybody know how to solve this?


Solution 1:

To add a bot to your game: cl_selectm (marinenum) (slot)

To remove a bot from your game: cl_dselectm (marinenum)

(marinenum) should be between 0-7 and corresponds to the character to be added.

(slot) should be between 0-3 and relates to the player slot the bot will fill. -1 can also be used; this will fill the next available slot.

These commands must be used while in the lobby; using them anywhere else will result in invalid command errors.

Source/More information

Solution 2:

This is a response to:

EDIT: The accepted answer works, but the bots don't do anything more than firing (no healing, no welding, nothing). I have to control them to do anything more than just firing.

Does anybody know how to solve this?

The lobby leader commands the bots. You can see this by looking on your minimap (the red lines between the leader and the bots). You have to give them a "GO" sign for them to start moving. Or a "STOP" sign for them to hold position. Other needed commands should be given by pressing the action key (E) on hackable terminals and invertory keys 1, 2, 3, and 4 for bots to do something associated with their invertory (for example to command the medic to place the healing beacon, to weld ...). Some extra options for offhand items might show up while holding the crouch key (Shift by default). To use them, press the corresponding invertory key (1, 2, 3 or 4) while holding Shift.

So for them to follow you, you should press the V key on your keyboard to give them the move command (by default).