Instant sector movement bug [.96]

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49228
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Instant sector movement bug [.96]

Post by Graf Zahl »

Ceiling/Floor_Raise/LowerInstant often need 2 tics to complete instead of one.

Except for a floor moving down all other movement types only check whether the target height has been passed, not reached so that a movement to the exact target height doesn't stop the mover. For Instant movers this can create problems because they lock the sector longer than necessary.

See here:

http://www.doomworld.com/vb/showthread. ... adid=32766
skadoomer
Posts: 1026
Joined: Fri Sep 05, 2003 12:49 pm

Post by skadoomer »

how long has this been a problem? I recall a sequence in foreverhood which used floorlowerinstant, which wouldn't always trigger right away. Good to know it wan't me abusing the feature.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49228
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Forever. It's in the original source. Apparently Randy fixed one of four cases for some previous problem but didn't adjust the others as well.

It's really only a problem with instant movers that need to finish in one tic.
Ajapted
Posts: 71
Joined: Sat Apr 16, 2005 3:50 am
Location: Tasmania

Re: Instant sector movement bug [.96]

Post by Ajapted »

Graf Zahl wrote:all other movement types only check whether the target height has been passed
Make the instant movers have a very high speed (32768), so they always go past in one tic.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49228
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Instant movers automatically set their internal speed. But what's the point of them if you have to use other specials to make them work properly? I think the 3 missing '=' chars should be added.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

Fixed.
Post Reply

Return to “Closed Bugs [GZDoom]”