Raw directional input access from ZScript
Moderator: GZDoom Developers
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49073
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Raw directional input access from ZScript
... and done.
Re: Raw directional input access from ZScript
Oh, awesome! This already helps a ton. I think the only thing left that's needed to solve my initial suggestion would just be the reliable way to detect if the player is sprinting.
EDIT:
Oh, and also, as a side note, doesn't TweakSpeeds need to be changed to adhere to these constants properly? Right now it has them hardcoded still, for example:
EDIT:
Oh, and also, as a side note, doesn't TweakSpeeds need to be changed to adhere to these constants properly? Right now it has them hardcoded still, for example:
Code: Select all
if (health <= RunHealth)
{
forward = clamp(forward, -0x1900, 0x1900);
side = clamp(side, -0x1800, 0x1800);
}
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49073
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Raw directional input access from ZScript
That old code really has its bad spots...
Yes, surely these need to be handled as well.
Yes, surely these need to be handled as well.