4.14.2 (and probably forever) Poly Doors and speed 24

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
User avatar
Enjay
 
 
Posts: 27380
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

4.14.2 (and probably forever) Poly Doors and speed 24

Post by Enjay »

Just a minor oddity I've noticed with PolyObject doors and speed 24. I'm guessing it's a rounding thing, or something to do with non ^2 calculations but here it is.

If I set up a polyobject door like in the attached file (in this case, a double door made from 2x32-wide doors mirroring each other) and set their front lines to type 8 (Polyobj_DoorSlide), and give the doors a speed of 24 and a travel distance of 32, they actually travel a bit further than 32 units. I'm not sure if it's 33 units, or just under, but it seems pretty close to 33.

It's easy enough to see if you load the attached map and type iddt at the map so that you can see the lines, and then use the doors. You can see that the lines of the doors travel beyond the end of the containing sector (which gives the door 32 units to move).

Image

You can also notice it at the game screen because the retracted doors leave a slight lip, rather than stopping flush with the walls either side.

Image

My guess is that the answer is "use 16 or 32 instead of 24" and, certainly, if I use 32, the door travels the correct number of units. However, I find 24 to be a useful speed. So, if it is fixable, that would be nice.
You do not have the required permissions to view the files attached to this post.

Return to “Bugs [GZDoom]”