Raw directional input access from ZScript

Moderator: GZDoom Developers

User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49073
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Raw directional input access from ZScript

Post by Graf Zahl »

... and done.
User avatar
Gutawer
Posts: 469
Joined: Sat Apr 16, 2016 6:01 am
Preferred Pronouns: She/Her

Re: Raw directional input access from ZScript

Post by Gutawer »

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:

Code: Select all

		if (health <= RunHealth)
		{
			forward = clamp(forward, -0x1900, 0x1900);
			side = clamp(side, -0x1800, 0x1800);
		}
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49073
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Raw directional input access from ZScript

Post by Graf Zahl »

That old code really has its bad spots... :?
Yes, surely these need to be handled as well.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”