i have this code:
Code:
// walk only when NOT holding duck (is same as walking, combination makes bot super slow)
if (f_walk_time > gpGlobals->time && !(pEdict->v.button & IN_DUCK))
{
// From "KickBot"
// return (float) (((int)flMaxSpeed)/2 + ((int)flMaxSpeed)/50);
//OLD: f_move_speed = f_max_speed / 2.0; // this is not correct
pEdict->v.button &= (~IN_RUN);
f_move_speed = (float) (((int)f_max_speed)/2 + ((int)f_max_speed)/50);
}
The walk speed is slower, i don't know if its correct, but i assume that KickBots speed calculation is better then the simple "devide by 2" thingy. yet, i still hear faster footsteps by bots. Its like the animation is not set right?