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?
ZScript: Externalize jumping or landing?
Moderator: GZDoom Developers
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49056
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: ZScript: Externalize jumping or landing?
All 'jump' does is to add some vertical velocity. Everything else is just regular movement.