Quote:
Originally Posted by The Storm
From very long time I've also wasn't digging in bot movement/looking code so I can't really point out a solution, but if you have trouble compiling some function I will be glad to help.
|
Thanks!
I've had a new problem crop up which has me completely stumped: the bots can't crouch any more! I had it working great, the bots were able to climb ladders, crouch into vents etc, and then suddenly they stopped crouching. Now they sort of start walking but remain standing up.
To try and debug the issue, I commented out all code and just set the bot's forward speed to pEdict->v.maxspeed and pEdict->v.button |= IN_DUCK. The bots just start walking. What the hell?!
EDIT: Never mind, no idea how I fixed it but it works now. I really need to abstract some of this stuff and hide it somewhere safe so I don't keep accidentally breaking it.