Playermodel Pelvis/Thigh Distortion

Quite new to Blender and porting, so this issue is beyond me. Got the model to work pretty decently, except for when it comes to the pelvis/thigh region.
I’m 95% sure it’s not my weighting, but just in case it is:

Also using the default qc, ragdoll, and phymodel reference files.

Would greatly appreciate any help, and if there’s any other info I need to give let me know.

So after further research and testing, it’s a rigging problem. Didn’t realize I had to position it 1 for 1 as the valvebipped skeleton.