Page 1 of 1

gzdoom-mac netplay command line arguments?

Posted: Wed Apr 08, 2020 4:32
by killdozer
I downloaded gzdoom-g4.4pre-131-g5490ffcd7.dmg, and am running Doom 2 peer to peer on macOS 10.15.3. I start the game with the following command:

Code: Select all

cd /Applications/GZDoom.app/Contents/MacOS
./gzdoom -host 2
If I add additional arguments, such as "-skill 4" or "-teamdamage 1", they have no effect. I can turn teamdamage on in the console after the game begins, but I can't change the difficulty mid-game, so I'm stumped, because all the guides say I'm doing this correctly by appending it on the command line.

I have one more question. When I used to play vanilla Doom 2 netplay over a modem, players would not keep their weapons when they died. The behavior I'm seeing now is extra weapons everywhere, which can only be collected once, are kept in inventory permanently even after death, and can't be picked up again, for eg. in subsequent levels to replenish ammo. Therefore, ammo can only be picked up from ammo powerups, and not from weapons, save for enemy weapon drops. We end up with all the guns, but constantly running out of ammo. This is vaguely familiar as an alternative game mode, but I can't remember. Any insight into this, please?

Re: gzdoom-mac netplay command line arguments?

Posted: Wed Apr 08, 2020 12:24
by _mental_
killdozer wrote:
Wed Apr 08, 2020 4:32
If I add additional arguments, such as "-skill 4" or "-teamdamage 1", they have no effect. I can turn teamdamage on in the console after the game begins, but I can't change the difficulty mid-game, so I'm stumped, because all the guides say I'm doing this correctly by appending it on the command line.
No, this is not correct. CVARs need to be prepended with '+', not '-'. So, command line should include +skill 4 +teamdamage 1.

Re: gzdoom-mac netplay command line arguments?

Posted: Wed Apr 08, 2020 20:01
by Guest
Thank you. What a perfectly conceived and executed source port this is! The performance and quality is better than anything I've ever tried out before. This is absolutely the definitive classic Doom experience.

Re: gzdoom-mac netplay command line arguments?

Posted: Wed Apr 08, 2020 20:06
by killdozer
Thanks again. So, I think the CVARs I want, for my desired game mode, are:

Code: Select all

./gzdoom -host 2 +skill 4 +teamdamage 1 +SV_Coop_LoseInventory

Re: gzdoom-mac netplay command line arguments?

Posted: Sun Apr 12, 2020 9:57
by _mental_
The CVAR is named sv_cooploseinventory, without the second underscore.