"give weapons" doesn't work from the command line

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Player701
 
 
Posts: 1636
Joined: Wed May 13, 2009 3:15 am
Graphics Processor: nVidia with Vulkan support
Contact:

"give weapons" doesn't work from the command line

Post by Player701 »

The "give weapons" cheat will not work if added to the command line when starting GZDoom. Example command line:

Code: Select all

gzdoom -iwad doom2 -warp 1 +give weapons
Similarly, "give all" and "give everything" also don't work properly from the command line, since weapons is a part of what they're supposed to give. They do give everything else, though.

It seems that this happens because the player's weapon slots are initialized after these commands have already been processed. I'm not sure if this can be fixed easily, but I would still like to report it, as this behavior doesn't look consistent to me (all other cheats I can think of appear to work fine).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: "give weapons" doesn't work from the command line

Post by Graf Zahl »

I think your analysis is correct. This looks like one of those edge cases where the effort for fixing it stands in no relation to the result. It's not that the player cannot receive any weapons, but that the cheat code simply does not know what weapons to give.
Post Reply

Return to “Closed Bugs [GZDoom]”