[Closed] "give weapons" doesn't work from the command line

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

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

Postby Player701 » Fri Nov 30, 2018 1:56 pm

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

Code: Select allExpand view
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
You are now breathing manually.
Joined: 13 May 2009
Location: Russian Federation
Discord: Player701#8214

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

Postby Graf Zahl » Fri Nov 30, 2018 2:02 pm

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.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
Joined: 19 Jul 2003
Location: Germany

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests