Page 1 of 1

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

Posted: Thu Dec 25, 2008 8:51 pm
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.

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

Posted: Fri Dec 26, 2008 2:29 am
by Graf Zahl
If that pickup is not a weapon, that behavior is perfectly normal. 'Replaces' only affects map placement but not inventory handling.

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

Posted: Fri Dec 26, 2008 2:45 am
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?

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

Posted: Fri Dec 26, 2008 2:54 am
by Graf Zahl
Yes, those are inventory handling - and 'replaces' has no effect on them.

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

Posted: Fri Dec 26, 2008 3:33 am
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.

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

Posted: Fri Dec 26, 2008 3:50 am
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.

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

Posted: Fri Dec 26, 2008 7:13 am
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.

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

Posted: Fri Dec 26, 2008 8:09 am
by Graf Zahl
Unless you explicitly give yourself the replaced weapon. That still works.