Jump to content

Player gets stuck crouching on entering bleedout


SKKmods

Recommended Posts

I have a highly unusual set of circumstances which is spoiling the UX on one of my mods.

 

If the player is crouching to sneak/shoot and gets put into negative health bleedout (part of a PlayerUndead recovery service) they get stuck in the crouched pose until they use furniture which normally pops them tall OnGetUp. Yes they can still sprint as if they were standing, but the perspective is from crouch and shooting aim stability is as if standing.

 

Unfortunately taking a seat in the middle of a competitive (scored) shootout is impractical. Tried forcing them to stand up but this has zero effect on the pose when stuck:

If (pPlayerREF.IsSneaking() == TRUE)
   pPlayerREF.StartSneaking() ;This switches back to standing
Endif

Current workaround is to disable sneaking on an InputEnableLayer, but that makes using cover and aiming harder than it should be.

 

I have zero experience with poses and animations, any suggestions how I could force the player out of crouch ?

Edited by SKK50
Link to comment
Share on other sites

Try to use either:

 

PlayerRef.PlayIdle(IdleStop)

 

or

 

PlayerRef.PlayIdle(RaiderSneakStop)

 

To see if that forces your character to get back to its feet again.

 

Not sure which animation would help you get out of this seemingly forced anim - does this crouched pose look exactly like sneaking? Or more like when an essential character is down? Do you have a screenshot?

Link to comment
Share on other sites

Actually, while looking at animations in the CK, these two might be more appropriate:

 

Idle EssentialDownEndRoot

 

or Idle RaiderEssentialEndRoot

 

Both seems to be associated with bleedout stop.

Link to comment
Share on other sites

hey that first one is perfect, I can rip out all the "sneaking disabled" workarounds:

While (pPlayerREF.IsBleedingOut() == TRUE)
	Utility.WaitMenuMode(1.0)
EndWhile 
pPlayerRef.PlayIdle(pRaiderSneakStop)
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...