Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Patrick

Slow Player Movement?

Recommended Posts

So I have a need to slow the player's movement for a ZDoom weapon mod I'm working on. Anyone know to slow the player's movement via ACS or DECORATE?

Share this post


Link to post

If you're using a relatively recent ZDoom, you could do so through a player class:

// DECORATE
ACTOR PatrickPlayer : DoomPlayer
{
   Player.ForwardMove 0.5, 0.5
   Player.SideMove 0.5, 0.5
}

// KEYCONF

clearplayerclasses
addplayerclass "PatrickPlayer"
There is also the ACS function SetActorProperty, but if you want it to be permanent, I'd think it'd be better to do it through Decorate.

Share this post


Link to post

I'm only trying to slow the player's speed temporarily, namely when looking through the scope of a gun. Set actor property could be useful. The only problem is, how would I restore the player to normal speed?

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×