I haven't been regular on these (and other forums) for a while, and I might have missed this. On GZD v4.10.0 (and v4.7.1, for that matter) the player jump height is 64. If I remember correctly, it used to 60. What prompted the change?
(No complaints, by the way.)
Player Jump Height is Now 64?
Re: Player Jump Height is Now 64?
This shouldn't have been changed AFAIK, you can normally jump 36+24=60 units in Doom, Heretic, and Strife, and 45+24=69 units in Hexen.
-
- Posts: 256
- Joined: Mon Jan 09, 2023 2:02 am
- Graphics Processor: nVidia (Modern GZDoom)
Re: Player Jump Height is Now 64?
There is no such thing as "jump height", only jump velocity and this has indeed not changed since it got added. The only thing that comes to mind that may have caused this change is that Doom has a weird quirk in its gravity code that when z velocity is 0 the gravity application is doubled for one tic. ZDoom has changed this - but this also was a long time ago, in 2009 according to the Git commit log. This change may be responsible for the larger achievable height.
Re: Player Jump Height is Now 64?
Certainly, if this had changed it would cause problems in many maps that assume the player cannot clear a 64 tall barrier.
However, I just tried jumping onto the 64-tall crates in Doom2 Map04 and I could not get on to them.
Perhaps there is something unusual about the crates/surrounding landscape/gravity/player definition in your map Rex?
However, I just tried jumping onto the 64-tall crates in Doom2 Map04 and I could not get on to them.
Perhaps there is something unusual about the crates/surrounding landscape/gravity/player definition in your map Rex?
Re: Player Jump Height is Now 64?
Crate = 64 units tall
Surrounding landscape = flat
Gravity = "normal"
Player Definition = Player.JumpZ 9.5
The JumpZ of 9.5 must be what's causing this.
[EDIT: I reviewed the wiki article on Player.JumpZ to determine that the default value is 8.0. The table for the wiki article on jumping points to what @Gez said. Therefore, a Player.JumpZ value of 9.5 yields a jump height of 50 + 24 = 74]
Thank all of you for your responses (and my education).