Air control property for players

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Air control property for players

Postby Marrub » Tue Nov 21, 2017 9:23 pm

This movement code could easily be extended to allow for a variable, either in PlayerPawn or in PlayerInfo. Would also be useful to have an APROP for it:
Code: Select allExpand view
         if (!player.onground && !bNoGravity && !waterlevel)
         {
            // [RH] allow very limited movement if not on ground.
            movefactor *= level.aircontrol;
            bobfactor*= level.aircontrol;
         }

Could be something like:
Code: Select allExpand view
         if (!player.onground && !bNoGravity && !waterlevel)
         {
            // [RH] allow very limited movement if not on ground.
            movefactor *= level.aircontrol * player.aircontrol;
            bobfactor *= level.aircontrol * player.aircontrol;
         }
User avatar
Marrub
Xevv Va Rkvyr
 
 
 
Joined: 26 Feb 2013
Discord: Marrub#5455
Twitch ID: marrubdaskuleion
Github ID: marrub--

Re: Air control property for players

Postby ZippeyKeys12 » Fri Nov 24, 2017 12:43 pm

I need this, desperately.
ZippeyKeys12
 
Joined: 15 Jun 2016


Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest