Player Model shrinks when crouching

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
SPZ1
Posts: 205
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois

Player Model shrinks when crouching

Post by SPZ1 »

Player Model shrinks when crouching:

This is currently not what is happening.
User avatar
Kappes Buur
 
 
Posts: 4010
Joined: Thu Jul 17, 2003 12:19 am
Location: British Columbia, Canada

Re: Player Model shrinks when crouching

Post by Kappes Buur »

SPZ1 wrote:Player Model shrinks when crouching:

This is currently not what is happening.
That couldn't be any more vague if you tried.

What exactly are you referring to:
  • Player model or Player sprite ?
  • Shrinking as a way of scaling the player ?
  • Crouching as a way of lowering the player?
For both, shrinking or crouching, there are no animations in the DOOM/2 IWAD, however:
  • for a crouching Player sprite GZDoom has added the sprites and animation from SmoothDoom
    see gzdoom.pk3
  • for a crouching Player model that has to be added through a mod
    for example Enjay's Gene-Tech: Before the Storm
Enable chasecam to see the animation.
  • for a shrinking player, action and animation must be added through a mod
User avatar
SPZ1
Posts: 205
Joined: Wed Aug 02, 2017 3:01 pm
Location: Illinois

Re: Player Model shrinks when crouching

Post by SPZ1 »

I'm asking about scaling the player's 3D model vertically when crouching.
User avatar
ramon.dexter
Posts: 1252
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Player Model shrinks when crouching

Post by ramon.dexter »

Yeah, expected behaviour. Try using a player sprite without defined crouch sprites and see what happens.

Return to “Scripting”