[r316] Respawning objects sometimes fall through 3d floors

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Edward850
Posts: 63
Joined: Fri Mar 20, 2009 21:48

[r316] Respawning objects sometimes fall through 3d floors

Post by Edward850 »

Not exactly sure on the rules of this one, but it seems that random items in the map will choose if they stay on 3dfloors when they respawn during a deathmatch game.

In the attached map, the rockets and the rocket launcher will sit on the 3dfoor fine when they respawn, but a lot of things in the upper platform just fall straight though. (Yes there's a lot of missing items on the map, but that shouldn't stop you from observing the bug).
Attachments
DM01.wad
(134.37 KiB) Downloaded 69 times
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Re: [r316] Respawning objects sometimes fall through 3d floors

Post by NeoHippo »

Which objects are you referring to exactly. There seems to be nothing respawning after pickup.
Attachments
dm01.png
dm01.png (128.38 KiB) Viewed 1424 times
User avatar
Edward850
Posts: 63
Joined: Fri Mar 20, 2009 21:48

Re: [r316] Respawning objects sometimes fall through 3d floors

Post by Edward850 »

<_<
You did switch on 'items respawn' right?
User avatar
NeoHippo
Posts: 408
Joined: Tue Sep 13, 2005 0:47
Location: British Columbia Canada

Re: [r316] Respawning objects sometimes fall through 3d floors

Post by NeoHippo »

Edward850 wrote:<_<
You did switch on 'items respawn' right?
I see what you mean.

It seems that this is related to same problem as the player start on a 3D floor on entering a level. The only way around this is to provide a solid floor for the objects to respawn on. For example building a small niche into the column :
Attachments
dm01_2.png
dm01_2.png (127.89 KiB) Viewed 1420 times
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [r316] Respawning objects sometimes fall through 3d floors

Post by Graf Zahl »

This is going to be messy. Something about this code just doesn't work right and so far I have been unable to see what causes the problems.
User avatar
Edward850
Posts: 63
Joined: Fri Mar 20, 2009 21:48

Re: [r316] Respawning objects sometimes fall through 3d floors

Post by Edward850 »

What isn't it doing exactly? From some browsing, would I be right in saying that it has to do with this? If so, couldn't you just add it for UDMF only? I don't see why someone would try to hide something in a small sector in an updated map format.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: [r316] Respawning objects sometimes fall through 3d floors

Post by Graf Zahl »

The item respawning code makes some weird assumptions that are not true when there's 3D floors in the map. Unfortunately currently the code depends on these assumptions to be true so it's a bit more complicated to fix.
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: [r316] Respawning objects sometimes fall through 3d floo

Post by Gez »

This seems to work so far.
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Re: [r316] Respawning objects sometimes fall through 3d floo

Post by Gez »

Moving this to closed bugs since nobody found any problem with my simple fix.
Locked

Return to “Closed Bugs”