View Single Post
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 12-02-2009 , 13:25   Re: [INFO] Fakemeta & Ham detailed function descriptions and examples
Reply With Quote #128

Quote:
Originally Posted by Arkshine View Post
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 flStep flDist flStep += LOCAL_STEP_SIZE )
...
...
...
                if ( !
WALK_MOVEENT(pev), flYawstepSizeWALKMOVE_CHECKONLY ) )
... 
EDIT:

Remember to set MOVETYPE_WALK on the monster!!!!
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.

Last edited by joropito; 12-02-2009 at 13:27.
joropito is offline
Send a message via MSN to joropito