ZScript: Externalize jumping or landing?

Moderator: GZDoom Developers

Post Reply
User avatar
nazakomu
Posts: 131
Joined: Wed Nov 30, 2016 12:51 am
Graphics Processor: nVidia with Vulkan support

ZScript: Externalize jumping or landing?

Post by nazakomu »

So, as some of you may already know, zscript/shared/player.txt has all the virtuals that could be overridden in a PlayerPawn class.

It has been roughly around two months since I have worked on a PlayerPawn class that has overrides, and I know that the virtual CheckJump() currently exists, but there is nothing to do with the player's camera in that virtual. I presumably thought that it made sense for there to be nothing related to the camera there because the default movement of the camera only occurs when the player lands. So I think that the landing should be externalized so people can control the way the camera moves (or anything else that could potentially be done other than camera handling) when the player lands from jumping (or falling off from a higher area).

Is this in any way feasible at the moment? :)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: ZScript: Externalize jumping or landing?

Post by Graf Zahl »

All 'jump' does is to add some vertical velocity. Everything else is just regular movement.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”