--
[ Picked text/plain from multipart/alternative ]
Ok, so I tried ProcessUsercmds(&cmd, 1, 1, 0, false); in place of
IBotController::RunPlayerMove(&cmd); It fixed the lift bug it seems but
broke the view angles, and the bot kept facing his spawn direction or
something. That's probably not too hard to fix, but after that I also tried
m_pParent->UpdatePhysicsShadowToCurrentPosition(); in
CPlayerInfo::RunPlayerMove and kept my previous user command method of
IBotController::RunPlayerMove(&cmd); This way he could move normally, but
the lift bug wasn't fixed.

I don't know what m_pPhysicsController->Update is doing in
CBasePlayer::UpdateVPhysicsPosition, but apparently it isn't updating the
physics position. Can't tell yet if theres an order of operation I'm
missing. I guess after work I'll change it back to ProcessUsercmds method
and figure out why their view angles are busted. Probably less work than
trying to debug this broken bot command codepath.

If theres anyone at valve who has any input or a possible 'right' solution
to fixing the issue please let me know. I hate to deviate too far from the
functionality that is also usable in server plugins, as I still hold out
hope of that stuff being fixed in a future sdk update.

J

On 8/22/06, Paul Peloski <[EMAIL PROTECTED]> wrote:
>
> --
> [ Picked text/plain from multipart/alternative ]
> Not working on bots myself just trying to be helpful.
>
> You're right about the user command stuff, that's why the
> UpdateVPhysicsPosition is not being called, maybe someone from Valve can
> suggest potential problems with calling UpdateVPhysicsPosition or
> ProcessUsercmds on the bots, I wonder what the CS: Source bots do?
>
> Regards,
>
> Paul
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to