Page 1 of 1

[r316] Respawning objects sometimes fall through 3d floors

Posted: Sun Mar 29, 2009 0:12
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).

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

Posted: Sun Mar 29, 2009 8:23
by NeoHippo
Which objects are you referring to exactly. There seems to be nothing respawning after pickup.

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

Posted: Sun Mar 29, 2009 8:44
by Edward850
<_<
You did switch on 'items respawn' right?

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

Posted: Sun Mar 29, 2009 10:00
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 :

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

Posted: Sun Mar 29, 2009 21:39
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.

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

Posted: Thu Apr 02, 2009 2:13
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.

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

Posted: Thu Apr 02, 2009 8:11
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.

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

Posted: Tue Jul 20, 2010 16:55
by Gez
This seems to work so far.

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

Posted: Mon Aug 09, 2010 14:03
by Gez
Moving this to closed bugs since nobody found any problem with my simple fix.