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

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: "give weapons" doesn't work from the command line

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

by Graf Zahl » Fri Nov 30, 2018 1: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.

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

by Player701 » Fri Nov 30, 2018 12:56 pm

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).

Top