180 likes | 294 Vues
Explore the world of game AI design with a focus on creating the illusion of intelligent behavior and uncovering buried ancient civilizations. Learn about Scutz, Scrappers, Raiders, and their algorithms, implemented using the OpenSteer library in C++. Discover the pros and cons of Python and Lua scripting for fast prototyping and game development.
E N D
AI/Scripting Jon “uber” Lao Jason “PWN0R” Wong Nathan Britton
AI • Balance Difficulties • Game AI creates the illusion of intelligent behavior • Anything intelligent is motivated by their environment • Assumptions about Environment • ->Game design ideas
The World • Why robots killing stuffs • Buried Ancient Civilization • Metal remnants scattered throughout the land • Humans are the pot holes on the road.
AI • Scutz • Scrappers • Raiders • Open Steer
Scutz • Basic Enemy – size of VW Bug • Behavior: Scavengers/Workers • Goal: Clearing forests for excavating ruins
Scrappers • HUGE, slow, heavily armored. • Single-track mind: destroy buildings • Gathering resources from debris • Weak point and risk
Raiders • Combat oriented • Intelligent, aggressive(pursues player) • Lead and defend other robots (Scutz)
Scrapper Algorithm • Serial Seeking
Scutz Algorithm • Wander
Scot Algorithm • Flee
Raider Algorithm • Pursuit
. Raider Algorithm • Lead Swarm
Open Steer • Open source C++ steering library • Toolkit of steering behaviors • Sample Codes • OpenSteerDemo Framework • Windows, Linux, OSX support • Demo
Scripting • Interpreted (not-compiled) for fast prototyping • Python vs Lua
Python • Pros: • Open Source • Powerful • Bound w/Ogre SDK • Cons: • Very Large • Python-Ogre binding requires more software
Lua • Pros: • Open Source • Small, lightweight • Cons: • Out of date documentation • Start w/nothing
Python • We take care of the complexity for you! • Python up and running in 10 minutes • Ability to pull directly from Ogre