Hiiammike Posted February 1, 2019 Is there a script that will make the player always crouch never stop crouching but also at the same time make it so the player is still able to walk at normal walking speed. When crouching? 0 Share this post Link to post
Salt-Man Z Posted February 1, 2019 (edited) I feel like this could be done with just a simple dehacked patch to change the player height/view, maybe? 0 Share this post Link to post
Hiiammike Posted February 1, 2019 Salt man maybe you are right. But i am not too sure. 0 Share this post Link to post
Salt-Man Z Posted February 1, 2019 Interestingly, I just came across this thread from two years ago: 0 Share this post Link to post
Hiiammike Posted February 1, 2019 1 minute ago, Salt-Man Z said: Interestingly, I just came across this thread from two years ago: I'll see. 0 Share this post Link to post
EarthQuake Posted February 1, 2019 Since you were asking about a "script", I'm assuming you're designing whatever you're... uh designing... for ZDoom? If that's the case, then it sounds like you want to define a new player class and change the Height property and Player.ViewHeight property of the new player. What exactly are you trying to do? 2 Share this post Link to post
Hiiammike Posted February 1, 2019 1 minute ago, EarthQuake said: Since you were asking about a "script", I'm assuming you're designing whatever you're... uh designing... for ZDoom? If that's the case, then it sounds like you want to define a new player class and change the Height property and Player.ViewHeight property of the new player. What exactly are you trying to do? For gzdoom. 0 Share this post Link to post
Empyre Posted February 1, 2019 Do what EarthQuake said, but also change the YScale so the player will also look shorter. Or, find some crouching sprites and use those as the sprites for your custom class. 0 Share this post Link to post
Hiiammike Posted February 1, 2019 4 minutes ago, Empyre said: Do what EarthQuake said, but also change the YScale so the player will also look shorter. Or, find some crouching sprites and use those as the sprites for your custom class. Ok i will do just that. But i wont add a custom class. 0 Share this post Link to post
Empyre Posted February 2, 2019 But the whole idea depends on a custom class. Making the class should be relatively simple, since you are not changing much. In fact, I'll make it here and now: actor CrouchingPlayer : DoomPlayer { Height 28 //56 / 2 Player.ViewHeight 20 //41 / 2 YScale 0.5 } Put that in a DECORATE lump. Then put the following in a KEYCONF lump: clearplayerclasses addplayerclass CrouchingPlayer That should do the trick. The catch is that the player will be able to crouch and be even shorter. I don't know a way to disable that in a mod. A mapper can disable crouching in MAPINFO. 0 Share this post Link to post