Thanks a lot everyone. We solved it! :)
Here's how in case someone else runs into the same problem.
The problem was that if we started the game with a prop model the function
SetupPoseParameters failed because the model doesn't have any poses.
Interestingly the function ComputePoseParam_AimYaw seems to have fallback which
simply used for the case that the model doesn't have any poses. :)
Thanks again and have a good week.
Tobias
Ryan Kistner <azuisl...@gmail.com> hat am 24. März 2013 um 21:54 geschrieben:
> You likely need to take a look at the animation system. If the player's
> model is not a player rig, then it won't have all the pose parameters
> the animation code likes to do calculations on. Check out the logic
> m_bForceAimYaw does in PlayerAnimState.
>
> On Sunday, March 24, 2013 12:01:55 PM, m...@tobiasbaumann.net wrote:
> > Thank you :)
> > And no it isn't. Its the same result with any other mdl except if we
> > use a proper player model.
> > Does this have something to do with the fact that prop models don't
> > have any bones?
> > We're also doing a switch to thirdperson on Team change. Not sure if
> > this might be relevant.
> > Best regards,
> > Tobias
> >
> > Michael Zehnich <twincan...@gmail.com> hat am 24. März 2013 um 16:27
> > geschrieben:
> >> Is the model compiled with $staticprop? That can cause them to stop
> >> responding to stuff like that via code in my experience.
> >> Also Suicide Survival is a lot of fun. :)
> >>
> >>
> >> On Sun, Mar 24, 2013 at 10:42 AM, Roman Schmid <bummz...@gmail.com
> >> <mailto:bummz...@gmail.com>> wrote:
> >>
> >> Hello HL coders
> >>
> >> We're working on a Source SDK 2007 mod (called Suicide Survival) and
> >> came across a problem we're unable to solve.
> >>
> >> We have a player entity, that refuses to rotate into the
> >> direction the
> >> player is looking.
> >> Interestingly enough, when we switch the entity to another .mdl file
> >> (one from the source SDK), it works fine. That lead us to the
> >> conclusion, that something might be wrong with our .mdl file...
> >> however, if the player changes team (and gets another .mdl file
> >> assigned) and then switches team again (to get the troubelsome .mdl
> >> assigned), it works fine, even with the .mdl that previously didn't
> >> work.
> >>
> >> So we're kinda baffled there and would appreciate some hints what
> >> might be the cause for this?
> >>
> >> Thanks in advance and best regards
> >> Roman
> >>
> >> _______________________________________________
> >> To unsubscribe, edit your list preferences, or view the list
> >> archives, please visit:
> >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
> >>
> >> _______________________________________________
> >> To unsubscribe, edit your list preferences, or view the list
> >> archives, please visit:
> >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
> >>
> >
> >
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> > please visit:
> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
> >
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please
> visit:
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders