Quote:
Originally Posted by Arkshine
Yeah, totally forget about this one. I'm blind because I'm reviewing the SinglePlayer HLSDK too.
Anyway, i've tested and the same result, zombie is warped instead of walking. Probably because there is not path available at this time.
|
Take a look into hlsdk-2.3-p3/singleplayer/dlls/monsters.cpp
PHP Code:
int CBaseMonster :: CheckLocalMove
It says something about making WALK_MOVE for every step
PHP Code:
// this loop takes single steps to the goal.
for ( flStep = 0 ; flStep < flDist ; flStep += LOCAL_STEP_SIZE )
...
...
...
if ( !WALK_MOVE( ENT(pev), flYaw, stepSize, WALKMOVE_CHECKONLY ) )
...
EDIT:
Remember to set MOVETYPE_WALK on the monster!!!!
__________________