400 likes | 518 Views
videos for before. swarm.flv (art. intelligence swarmites 1:20) endorphin2.5.flv (2:38) antfarmsimulator.flv (3:30) for very early swarmflocking.mp4 (Suzie swarmites 2:36) andiland.mp4 (5:04 min). Warning - This presentation contains graphic depictions of
E N D
videos for before swarm.flv (art. intelligence swarmites 1:20) endorphin2.5.flv (2:38) antfarmsimulator.flv (3:30) for very early • swarmflocking.mp4 (Suzie swarmites2:36) • andiland.mp4 (5:04 min)
Warning - This presentation contains graphic depictions of violence and the death of badly pixelated Nazis
Hans Apfël Born Dec 18, 1923, Dusseldorf Wanted to study chemistry after the war Engaged to Elsa Bauer
Hans Apfël Killed by a Super Terror Flamethrower on level 7 of Nazi Killer Rampage IV. One of over 143,000,000,000,000 NPC's killed in computer games since 1959
Ground Rules The topic is game AI It's not 'real' AI Their morality is a separate discussion I'll take questions as they come up Please hold side topics to the end
Sections Goals Architecture Inputs Actions Action Selection
Vocabulary NPC Game Design Third Person shooter RTS
Our Example The Saboteur start up screen
PLAYER FUN not to win!
Fun Is Appealing Characters Meaningful Choices
Play Balance Knobs Unit strength Adjusting NPC tactics better/worse Complexity, favor things the computer does better than the human. Cognitive and cockpit load, UI design, behavior mod, degrade the human's skills
Mimic Human Actions Mimic the events the NPC would get Stupid actions look inhuman Sadly, stupid choices of action look all too human So as long as each low level action is believable, overall we have a chance
Model Their World View Give NPC's only the info they should have, then they won't act on info they shouldn't Give them a view frustum Present information as their sensory apparatus would receive it. Present information in functional terms (e.g. 'a cover position', not 'a tree') .
Overview Most action is • move the character's basepoint • play canned animations Some other possibilities • play sounds, particle effects, delete/add item, etc. Physics: ragdoll, euphoria, steering, lennard-jones Middle layer • Pathfinding
Basic Animation Play one or more layered animations Move the basepoint Do a whole motion!
A* Open circles are in open set Filled circles are colored red to green by distance from start
Scripting Either use an existing 'friendly' language (Python and Lua are popular) or make one up Actor languages are often a good choice burying complexity in message passing
Planning Operators: preconditions, forbidden, add, remove Operators: run_to_door, get_out_of_car, enter_building, climb_stairs, descend_stairs, run_onto_roof, get_in_car, lay_down, get_up
Adjusting Long Term Play Genetic Algorithms Neural nets Random strategic alterations