[1325, ??bug??] Weapon cannot be gained in IDFA if replaced
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.
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.
- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
[1325, ??bug??] Weapon cannot be gained in IDFA if replaced
If a mod replaces a weapon with another pickup item (e.g., "RiflePickup replaces Rifle") that weapon will not be given with a "give all weapons" cheat.
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1325, ??bug??] Weapon cannot be gained in IDFA if replaced
If that pickup is not a weapon, that behavior is perfectly normal. 'Replaces' only affects map placement but not inventory handling.
- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: [1325, ??bug??] Weapon cannot be gained in IDFA if replaced
Graf Zahl wrote:'Replaces' only affects map placement but not inventory handling.
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1325, ??bug??] Weapon cannot be gained in IDFA if replaced
Yes, those are inventory handling - and 'replaces' has no effect on them.
- Matt
- Posts: 9696
- Joined: Sun Jan 04, 2004 5:37 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Debian Bullseye
- Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
- Contact:
Re: [1325, ??bug??] Weapon cannot be gained in IDFA if replaced
In that case I think what I intended to describe is a bug.
If I load a decorate.txt with this:then start a game and type IDFA, I'll get all the Doom weapons except the shotgun.
If I load a decorate.txt with this:
Code: Select all
actor whereisyourgodnow : baronofhell replaces shotgun {}- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1325, ??bug??] Weapon cannot be gained in IDFA if replaced
It's sort of a bug but not quite. Replaced weapons were explicitly excluded from 'give weapons' because most of the time this is not what you want if a weapon mod is loaded.
Re: [1325, ??bug??] Weapon cannot be gained in IDFA if replaced
Graf Zahl wrote:Replaced weapons were explicitly excluded from 'give weapons' because most of the time this is not what you want if a weapon mod is loaded.
So, just to reiterate, if I use "replaces" on my new weapns to replace the old Doom ones, if I use a cheat that gives the weapons I will not get any of the original weapons added to my inventory (assuming that I replace them all)? If so, that's perfect for me.
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [1325, ??bug??] Weapon cannot be gained in IDFA if replaced
Unless you explicitly give yourself the replaced weapon. That still works.