Raised This Month: $51 Target: $400
 12% 

[L4D2] Fixing body_yaw when incapped? / Set pose parameters?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Shadowysn
Senior Member
Join Date: Sep 2015
Location: Location:
Old 06-10-2019 , 06:46   [L4D2] Fixing body_yaw when incapped? / Set pose parameters?
Reply With Quote #1


Imgur post

Although I couldn't quite manage it correctly, I made the commentary_dummy parented to Coach look back while incapacitated, thus giving us the impossible sight of a character looking back while incapped in L4D2.
(Also for some reason, the angles for the dummy always stay at 0 even though it's supposed to set them to the client's existing angles already.)

What I planned to do was to make the player's model invisible, parent a dummy model and set that model's pose parameters instead.
(A bug I encountered is that the pose parameters don't change while active for the dummy.)
The new version with atleast some functionality is attached below, the old version is in the original description.



Original Description
I attempted to fix it myself, but turns out that setting the pose parameter on a think hook does not appear to work.

For those that don't know, Valve managed to screw it up in-game, so incapacitated survivors face the front when the actual person's looking at the opposite direction.
The pose parameter I found that manipulated the bugged direction is body_yaw.

Here's some test code that prints out information and is supposed to set the pose parameter in a debuggy way:
Spoiler
Attached Files
File Type: sp Get Plugin or Get Source (L4D2_Incap_Yaw_Fix.sp - 353 views - 10.2 KB)
__________________
ragdoll spam, that is all

Steam profile, where I game, obviously.
Youtube channel, where I do Stick Death Maze animations and some other stuff.
no plugin requests, sorry


My Plugins:
-search list-
Modified Plugins:
1 | 2 | 3 | 4

Last edited by Shadowysn; 01-22-2020 at 01:33.
Shadowysn is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode