Trouble trying to add bots through command-line parameters

Need help running various source ports? Did your computer break? Ask here.

Moderators: GZDoom Developers, LZDoom Developers, UZDoom Developers

Forum rules
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
Solid One
Posts: 1
Joined: Mon Jun 17, 2019 8:13 am
Graphics Processor: nVidia (Modern GZDoom)

Trouble trying to add bots through command-line parameters

Post by Solid One »

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?

Return to “Technical Issues”