You should read all the stuff about navmesh here and check out this source code, it might give you a general idea on how to approch it.
Once you completed reading all the references (*.nvm, *.bsr, *.cpd, *.bms) you can work with A* (A* search algorithm - Wikipedia, the free encyclopedia) for pathfinding.
"A* pathfinding" is the alrogrithm you are looking for. Go to Youtube and you will find tons of tutorials about it.
Basic idea behind is that you need to create a grid of your game, and then take the point you are on and compare G force and F force for every square around you, by finding the lowest number, it will be your next fastest point, then on the next point you will do the samething until you get to the spot you are looking to get to; However, you need to consider the obstacles you may find on the way.
Running Function 2 after Function 1 finished 09/15/2013 - AutoIt - 3 Replies Hey, its me again.
Im stuck on a problem since yesterday and as much as i hate to ask for help, i really dont know what else to try. I want Function 2 to run after Function 1 has finished. I tried GuiCtrlSetOnEvent and MsgLoop, but i dont really understand it. I tried to read tutorials but they didnt help at all.
The line that are underline is what im talking about. I want gamestart() to run first and when its finished, i want iniviteteam() to run.
#AutoIt3Wrapper_UseX64=n...
War Z Autowalk 08/31/2013 - Infestation - 13 Replies Ist es i-wie möglich zu laufen während man z.B auf dem Desktop ist?
Bräuchte dringend diese Info, danke!
[Help] Coding Autowalk/Need good C++ Coder 05/12/2012 - 12Sky2 - 8 Replies Ok hello,
I have found a way to make an auto-walk function using the World Character coordinates. I found the GoTo Coords that get set everytime you click a new spot to walk to, and I found the function that actually makes the character walk. So now I can manually set the coords that I want to walk to, and then make the character walk.
Now I am trying to figure a way to "record" a set of waypoints into an Array or Vector. Such as turn a Bool on called "Record", when the Record Bool...
Cabal Rider ab PF kein Autowalk mehr? 06/06/2011 - Cabal Online - 1 Replies Habt ihr auch das Problem, dass der Bot ab Pontus ferrum nicht emhr in der lage ist alleien über die Karte zu laufen? Wenn ich einen Doppelklick auf die Minimap mache, erscheitn kein Kreuz und er läuft nicht los, auch wenn der Bot zwischendurch mal stirbt, kann er nicht alleine zurück zum Botplatz laufen. Auf den niedrigen Maps kann er das, aber in PF nicht mehr.
Ist das bei euch auch ein Problem?