SKKmods Posted April 23, 2019 Share Posted April 23, 2019 (edited) 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 April 23, 2019 by SKK50 Link to comment Share on other sites More sharing options...
Hoamaii Posted April 23, 2019 Share Posted April 23, 2019 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 More sharing options...
Hoamaii Posted April 23, 2019 Share Posted April 23, 2019 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 More sharing options...
SKKmods Posted April 23, 2019 Author Share Posted April 23, 2019 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 More sharing options...
Hoamaii Posted April 23, 2019 Share Posted April 23, 2019 Great :) Link to comment Share on other sites More sharing options...
SKKmods Posted April 23, 2019 Author Share Posted April 23, 2019 Appreciated ! Link to comment Share on other sites More sharing options...
Hoamaii Posted April 23, 2019 Share Posted April 23, 2019 Glad I could help :) Link to comment Share on other sites More sharing options...
Recommended Posts