I'm trying to run GZDoom in local deathmatch with bots. I know I can add a bot with the console command "addbot", and I've played a lot of Doom deathmatches with bots in the past (passing through Doom Legacy, Zdoom and Skulltag).
However, I'm trying to start a game in deathmatch, but at the same time adding three bots automatically in the match. Here's the command I'm using:
Code: Select all
gzdoom -file wads/Exec.wad -skill 4 -nomonsters -altdeath -warp 01 +addbot +addbot +addbot
The skill is Ultraviolence, there's no monsters and I'm spawned in a random place on map01. Everything works fine, except for the bots, that weren't added. Instead, I got the following messages in the console:
Code: Select all
Bots cannot be added when not in a game!
Bots cannot be added when not in a game!
Bots cannot be added when not in a game!
I've already created the "zcajun" folder and put "bots.cfg" in there, and I confirm that I can add the bots
after the game is started, by typing "addbot" in the console. However, I'm in a case that I haven't a keyboard in my possession, but a USB controller, mouse or a touch-screen instead. Although I can map "addbot" to a button on any of those devices, is there a way of adding those bots directly from command-line parameters somehow?