I don't know if this is a bug or just a setting, if it is a bug please put it in the BUG section.
I am trying to figure out how to keep keys from vanishing when the player picks them up. In older Doom ports playing Co-op, the key remains even after one of the players has picked it up. But one of the problems I have with GZDoom is that while playing Co-op when one of the players picks the key up it vanishes, and unless item respawn is set the key doesn't come back, and I was wondering if there is an actual in-game CVAR to correct this, or if its a program bug.
[I took the liberty of making the thread title a bit more meaningful. - Enjay]
I need some help with this. [Disappearing Keys in Co-op]
Moderator: Graf Zahl
-
- Posts: 11
- Joined: Wed Sep 18, 2013 23:55
- Location: USA
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: I need some help with this.
Does this happen in ZDoom as well? If yes, please report it as a bug there.
- Rachael
- Developer
- Posts: 3651
- Joined: Sat May 13, 2006 10:30
Re: I need some help with this. [Disappearing Keys in Co-op]
From my own testing, keys seem to stay just fine. If you're spawning keys, you should be aware that spawned items have no staying rules; their spawn copies are destroyed (or moved to player's inventory without a copy) the moment they're picked up. Only items that spawn with the map usually stay or respawn - although there are special ACS commands you can use on spawned items that make them behave as if they were map-spawned.
I do not know if that rule is appropriate for keys or not, but I suspect that the situation applies here with the lack of any further details.
I do not know if that rule is appropriate for keys or not, but I suspect that the situation applies here with the lack of any further details.
-
- Posts: 11
- Joined: Wed Sep 18, 2013 23:55
- Location: USA
- Contact:
Re: I need some help with this. [Disappearing Keys in Co-op]
Hi.
No I'm not spawning keys, the keys are the ones from the maps.
I also tested Zdoom and it doesn't have this problem.
I don't know how relevant this is, but my dmflags are 1063389204 and dmflags2 are 65536. Though I tested the same flags in Zdoom and there was no problem with the keys staying, so other then that I don't have much else to go by.
No I'm not spawning keys, the keys are the ones from the maps.
I also tested Zdoom and it doesn't have this problem.
I don't know how relevant this is, but my dmflags are 1063389204 and dmflags2 are 65536. Though I tested the same flags in Zdoom and there was no problem with the keys staying, so other then that I don't have much else to go by.
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Re: I need some help with this. [Disappearing Keys in Co-op]
Just to check, you don't have any mods loaded do you? I just tried a coop game (activated by spawning a bot) with nothing other than doom2.wad loaded and the keys behaved correctly (ie did not vanish).
-
- Posts: 11
- Joined: Wed Sep 18, 2013 23:55
- Location: USA
- Contact:
Re: I need some help with this. [Disappearing Keys in Co-op]
Nope. No mods. We were playing strictly from the base IWAD.
But now that I've tested it on my own, the keys do seem to stay in Co-op but only if I run the game on my home LAN. When my friend Boingo and I play over the internet, thats when the glitch occurs.
I haven't actually had a chance to test Zdoom over the internet just GZDoom because thats the port he always uses. He says he'll be back sometime today, so I will see if he can help me test on that as well.
But now that I've tested it on my own, the keys do seem to stay in Co-op but only if I run the game on my home LAN. When my friend Boingo and I play over the internet, thats when the glitch occurs.
I haven't actually had a chance to test Zdoom over the internet just GZDoom because thats the port he always uses. He says he'll be back sometime today, so I will see if he can help me test on that as well.
-
- Posts: 11
- Joined: Wed Sep 18, 2013 23:55
- Location: USA
- Contact:
Re: I need some help with this. [Disappearing Keys in Co-op]
Okay. Boingo and I have tested the game again. The problem doesn't show up in Zdoom, but it does in GZDoom. We tested Doom.wad and it had no problems in Zdoom. So it seems to be a problem in GZDoom.
- Rachael
- Developer
- Posts: 3651
- Joined: Sat May 13, 2006 10:30
Re: I need some help with this. [Disappearing Keys in Co-op]
Tested on GZDoom g1.8.1-252-g2885056 - not the latest version, I know, but it is more recent than this topic. I played on a LAN with two of my computers present. Played the base Doom2.wad with only a few custom add-ons, nothing that would affect the keys though, and the keys stayed just fine. I ran it off exactly the same path - over the network itself - to ensure that both versions loaded exactly the same resources. The only issue I had was the game crashed when I exited, but the keys still stayed.
Maybe you're using an older version?
edit: I have gone through a second time, a little more thoroughly, testing the same dmflags, and did not have the problem. Both computers were still running the same version of gzdoom.
Maybe you're using an older version?
edit: I have gone through a second time, a little more thoroughly, testing the same dmflags, and did not have the problem. Both computers were still running the same version of gzdoom.