Hey all,
Can you explain me how i can make zombots please ?
Thanks
Hey all,
Can you explain me how i can make zombots please ?
Thanks
http://killtube.org/showthread.php?1...hlight=zombots
Making zombot takes a lot of work and a well-functioning algorithm. Not a lot of people did zombot and I think you can't get the source code. You need to make an algorithm that will not be charged to the server and also chose the shortest path (the problem comes at the height of 3D maps and locating entity).
Here is simple navigation mesh tutorial (found by iznogod): http://www.ai-blog.net/archives/000152.html
In my zombots i used A* search algorithm, I adapted it to 3d maps and it's working well (https://en.wikipedia.org/wiki/A*_search_algorithm)
"Don't worry if your code doesn't work correctly - if everything worked, you would not work" ~Mosher's right
Hi,
in cod2 iwds you can find an astar.gsc file, its a pathfinding algorithm. Use it for search the path between the bots and players. Write a function what searches the shortest path and get the closest player. The bots have to move along on this path. If the bot is close enough to the target, hit him. That's all.
I understand nothing about that :/
Its just general math. If you know nothing about graphs or vectors, forget the botzom and make easier scripts, for example opening doors, moving plates etc.
Lol yes its will be better i think.
Thanks..