[1325, ??bug??] Weapon cannot be gained in IDFA if replaced

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

Post by Matt »

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
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

Post by Graf Zahl »

If that pickup is not a weapon, that behavior is perfectly normal. 'Replaces' only affects map placement but not inventory handling.
User avatar
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

Post by Matt »

Graf Zahl wrote:'Replaces' only affects map placement but not inventory handling.
:? That's why I thought it might be a bug. Isn't IDFA, give all, etc. inventory handling and not map placement?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
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

Post by Graf Zahl »

Yes, those are inventory handling - and 'replaces' has no effect on them.
User avatar
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

Post by Matt »

In that case I think what I intended to describe is a bug.

If I load a decorate.txt with this:

Code: Select all

actor whereisyourgodnow : baronofhell replaces shotgun {}
then start a game and type IDFA, I'll get all the Doom weapons except the shotgun.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
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

Post by Graf Zahl »

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.
User avatar
Enjay
 
 
Posts: 27293
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: [1325, ??bug??] Weapon cannot be gained in IDFA if replaced

Post by Enjay »

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.
:shock: I wish I had realised it worked that way. That's exactly what I wanted rather than having a bunch of unwanted weapons sitting in my inventory that keyconf has already denied through normal means. So I used a DEHACKED patch to basically make all the original weapons useless.

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
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

Post by Graf Zahl »

Unless you explicitly give yourself the replaced weapon. That still works.
Post Reply

Return to “Closed Bugs [GZDoom]”