[Fixed] Can't pickup more than one of each key.

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Another Typical Stupid Xaser Request

Postby Xaser » Sun Dec 21, 2003 10:48 pm

I noticed that you can't pick up a key if you have a key of the same type (when you pick up a blue keycard, for example, you can't pick up any more blue keycards). I find this rather annoying, and in previous Zdoom versions (1.22) it wasn't like this. Could this could be changed?
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Postby Giest118 » Sun Dec 21, 2003 10:52 pm

Why would you want to pick up two blue keycards?
User avatar
Giest118
I don't trust people who trust me. Because they're stoned.
 
Joined: 05 Dec 2003

Postby Graf Zahl » Mon Dec 22, 2003 5:02 am

Because it was possible in vanilla Doom...? (On the other hand you can take away a key with scripting so it might make some sense to leave the key in the map.)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby SargeBaldy » Mon Dec 22, 2003 6:09 am

I like the idea of being able to grab more than one. Not only was that the original behavior, I like the idea of cleaning them up from all over the place in maps with a bunch of them and stuff.
User avatar
SargeBaldy
my password is grapefruit6
 
Joined: 15 Jul 2003
Location: Oregon

Postby Xaser » Mon Dec 22, 2003 7:57 am

SargeBaldy wrote:I like the idea of being able to grab more than one. Not only was that the original behavior, I like the idea of cleaning them up from all over the place in maps with a bunch of them and stuff.


Yeah, especially in certain Mock2 maps (Map25 and map39 in particular).
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Postby Virgil » Mon Dec 22, 2003 2:03 pm

You can still do that, even if you can't pick up the same key more than once. One way to do it is to change the thing special of the keys to a script such as this:


Code: Select allExpand view
script 1 (void) //takes blue skull key away if there are more blue skull keys around the level
{
    if(thingcount(T_BLUESKULLKEY, 0) > 0)
    {
        TakeInventory("blue key or whatever", 1);
    }
}


In this variation, you won't get to see the nice shiny blue skull symbol on your status bar until you get the last key. But yeah, it's sort of a pain to have to make scripts just to pick up another key. I think there should be some option in the MAPINFO lump, like "MultKeyPickup 1", that lets you customize multiple key pickup for every individual map.
User avatar
Virgil
 
Joined: 28 Sep 2003

Postby Hirogen2 » Mon Dec 22, 2003 2:48 pm

giest118 wrote:Why would you want to pick up two blue keycards?

To trigger a script which decides what to do.

Code: Select allExpand view
if(count > 1) { print(s:"why pick up another blue card"); }
User avatar
Hirogen2
 
Joined: 19 Jul 2003
Location: Central Germany
Github ID: jengelh
Operating System: RedHat-like Linux (RHEL, Fedora, CentOS, etc) 64-bit
Graphics Processor: Intel (Modern GZDoom)

Postby Killo Zapit » Mon Dec 22, 2003 4:37 pm

Could be useful if your cheating/testing with idkfa and need to trigger a special on a key.
User avatar
Killo Zapit
PIGBUTT LIVES AGAIN!
 
Joined: 16 Jul 2003
Location: Most likely sleeping.

Postby Giest118 » Mon Dec 22, 2003 4:48 pm

All I can see from this thread is that people want to pick up 4000 blue keycards in the same map and say, "Look at me! I'm the blue-keycard master!"

And um... generally idfa is more useful than idkfa for testing maps.
User avatar
Giest118
I don't trust people who trust me. Because they're stoned.
 
Joined: 05 Dec 2003

Postby Virgil » Mon Dec 22, 2003 7:00 pm

Idkfa != idfa by one letter. I typed the extra 'k' a lot when I was playtesting my levels and then had to start all over again because of a key's special.
User avatar
Virgil
 
Joined: 28 Sep 2003

Postby Xaser » Mon Dec 22, 2003 7:27 pm

Virgil wrote:Idkfa != idfa by one letter. I typed the extra 'k' a lot when I was playtesting my levels and then had to start all over again because of a key's special.


Hey, thanx for yet another reason to change the bluekey thing!
User avatar
Xaser
anarchivist
 
 
 
Joined: 20 Jul 2003

Postby Giest118 » Mon Dec 22, 2003 7:34 pm

All you have to do is use idfa and NOT idkfa and your problems are over, dammit! What's difficult to understand about that?

And I still don't get why one would want to collect 4000 blue keycards in one level just for the sake of collecting 4000 blue keycards in one level.
User avatar
Giest118
I don't trust people who trust me. Because they're stoned.
 
Joined: 05 Dec 2003

Postby Killo Zapit » Mon Dec 22, 2003 11:10 pm

giest118 wrote:All you have to do is use idfa and NOT idkfa and your problems are over, dammit! What's difficult to understand about that?

And I still don't get why one would want to collect 4000 blue keycards in one level just for the sake of collecting 4000 blue keycards in one level.



Ah ha! But what if you want to test a special on a key through a door locked by another key! ... Er... well I guess idclip would work. Actually, idkfa is much more commonly known then idfa. Or what if you need to use give all for inventory items? Yeah that’s the ticket!
User avatar
Killo Zapit
PIGBUTT LIVES AGAIN!
 
Joined: 16 Jul 2003
Location: Most likely sleeping.

Postby cccp_leha » Mon Dec 22, 2003 11:19 pm

For testing purposes, I personally bind a key to "give all".
User avatar
cccp_leha
Words are silver; silence is gold... so stfu.
 
Joined: 16 Jul 2003
Location: NJ, USA

Postby Giest118 » Tue Dec 23, 2003 12:10 am

Maybe I sould have underlined the 'k'... alright,

use idfa and NOT idkfa. Idkfa is stupid. WHY DO PEOPLE USE IDKFA WHEN IDFA IS SO MUCH MORE USEFUL FOR TESTING!? WHY!!!!????
SERIOUSLY!

I will not rest until someone gives me a 902947493-paragraph explanation as to why you would want to pick up more than one key of the same type in the same map.

Obviously, people would want to pick up 4000 blue-keycards just so they could say, "I have a handfull of blue keycards and a headfull of... er... blue."

And I must say again, idfa and not idkfa.

And I will repeat everything I just said, only to make a point.

Maybe I sould have underlined the 'k'... alright,

use idfa and NOT idkfa. Idkfa is stupid. WHY DO PEOPLE USE IDKFA WHEN IDFA IS SO MUCH MORE USEFUL FOR TESTING!? WHY!!!!????
SERIOUSLY!

I will not rest until someone gives me a 902947493-paragraph explanation as to why you would want to pick up more than one key of the same type in the same map.

Obviously, people would want to pick up 4000 blue-keycards just so they could say, "I have a handfull of blue keycards and a headfull of... er... blue."

And I must say again, idfa and not idkfa.

And I will repeat everything I just said, only to make a point.

Maybe I sould have underlined the 'k'... alright,

use idfa and NOT idkfa. Idkfa is stupid. WHY DO PEOPLE USE IDKFA WHEN IDFA IS SO MUCH MORE USEFUL FOR TESTING!? WHY!!!!????
SERIOUSLY!

I will not rest until someone gives me a 902947493-paragraph explanation as to why you would want to pick up more than one key of the same type in the same map.

Obviously, people would want to pick up 4000 blue-keycards just so they could say, "I have a handfull of blue keycards and a headfull of... er... blue."

And I must say again, idfa and not idkfa.

And I will repeat everything I just said, only to make a point.

Maybe I sould have underlined the 'k'... alright,

use idfa and NOT idkfa. Idkfa is stupid. WHY DO PEOPLE USE IDKFA WHEN IDFA IS SO MUCH MORE USEFUL FOR TESTING!? WHY!!!!????
SERIOUSLY!

I will not rest until someone gives me a 902947493-paragraph explanation as to why you would want to pick up more than one key of the same type in the same map.

Obviously, people would want to pick up 4000 blue-keycards just so they could say, "I have a handfull of blue keycards and a headfull of... er... blue."

And I must say again, idfa and not idkfa.
User avatar
Giest118
I don't trust people who trust me. Because they're stoned.
 
Joined: 05 Dec 2003

Next

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest