Leverage the facility of Lua programming to create online game AI that specializes in movement, animation, and tactics
About This Book
- Focus on programming online game AI instead of dealing with low-level source management
- Bind Lua to construct a script-based online game AI utilizing a C++ backend that offers hooks for photographs, physics, and source handling
- A tutorial-based process the place AI functionalities are layered piece via piece to create totally sensible AI
Who This booklet Is For
If you're a video game developer or a basic programmer who needs to target programming platforms and strategies to construct your online game AI with out developing low-level interfaces in a video game engine, then this e-book is for you.
Knowledge of C++ will come in useful to debug everything of the AI sandbox and extend at the gains current in the publication, however it isn't really required.
What you'll Learn
- Create an animation nation laptop to force AI animations inside of Lua
- Build and locate paths on navigation meshes
- Write and debug Lua scripts inside a full-scale Lua IDE
- Develop selection common sense with habit timber, kingdom machines, and choice bushes to construct modular, reusable AI
- Manage brief- and long term wisdom illustration with blackboard information structures
- Add sensory conception to offer AIs the facility to work out and hear
- Develop high-level strategies with a number of AIs in response to effect maps
Game AI could be simply damaged up right into a variety of elements reminiscent of choice making, animation dealing with, and strategies, however the stability and interplay among every one process moves a stability among reliable AI and undesirable AI.
Beginning with an advent to the AI sandbox, every one new point of online game AI is brought, carried out, after which extended upon. Going ahead, you'll discover ways to make the most of open resource libraries resembling Ogre3D, Bullet Physics, OpenSteer, Recast, Detour, and Lua to create an AI sandbox with a complete codebase on hand to extend and step through.
This is completed via a step by step procedure, from studying to maneuver easy shapes to totally animating your squaddies. through the tip of the booklet, your AI should be in a position to navigate, pathfind, deal with animation playback, speak, and understand their environment.