quintensky Posted October 11, 2011 Author Share Posted October 11, 2011 i have a problem which i can't seem to solve…my npc's move like this:1 tile3,4 secs later2 tiles3,4 secs later3 tilesits just way too slow, can anyone help me?? i want them to walk like normal players do. Link to comment Share on other sites More sharing options...
PD Posted October 11, 2011 Share Posted October 11, 2011 @quintensky:> i have a problem which i can't seem to solve…> my npc's move like this:> > 1 tile> 3,4 secs later> 2 tiles> 3,4 secs later> 3 tiles> > its just way too slow, can anyone help me?? i want them to walk like normal players do.Yea I hate the way they move too. You will need VB6 and a copy of the source to change the way they walk. Link to comment Share on other sites More sharing options...
quintensky Posted October 11, 2011 Author Share Posted October 11, 2011 i have both, but i just can't fix it… i know it's (probably) very simple, but i can't can come up with the solution Link to comment Share on other sites More sharing options...
PD Posted October 11, 2011 Share Posted October 11, 2011 Take a look in modServerLoop > UpdateMapLogic and find the comment 'Lets move the npc' and take a look at that. You should be able to change the way NPCs move in there. Link to comment Share on other sites More sharing options...
Robin Posted October 11, 2011 Share Posted October 11, 2011 I think there's a 1 in 4 chance the NPC won't choose any direction during path finding. Remove that. Increase timer on movement checks. Done. Link to comment Share on other sites More sharing options...
quintensky Posted October 12, 2011 Author Share Posted October 12, 2011 thanks :) Link to comment Share on other sites More sharing options...
Justn Posted October 13, 2011 Share Posted October 13, 2011 I know I'm going to get yelled at for this but what is the name of the timer? I thought it was the walk timer but that's for npcs and players movement… Sorry if this is a stupid question I also looked at updatemaplogic in serverloop and didn't see it :embarrassed: Link to comment Share on other sites More sharing options...
quintensky Posted October 13, 2011 Author Share Posted October 13, 2011 i didn't get it right either.. can any1 make a (detailed) guide please?or help me find one, that would help too :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now