[No] Raw directional input access from ZScript

Moderator: GZDoom Developers

Re: Raw directional input access from ZScript

Postby Graf Zahl » Sat Jan 05, 2019 2:50 am

... and done.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Raw directional input access from ZScript

Postby Gutawer » Sat Jan 05, 2019 7:54 am

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 allExpand view
      if (health <= RunHealth)
      {
         forward = clamp(forward, -0x1900, 0x1900);
         side = clamp(side, -0x1800, 0x1800);
      }
User avatar
Gutawer
User Accounts Assistant
 
Joined: 16 Apr 2016
Discord: Gutawer#3431

Re: Raw directional input access from ZScript

Postby Graf Zahl » Sat Jan 05, 2019 9:00 am

That old code really has its bad spots... :?
Yes, surely these need to be handled as well.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Previous

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest