Download presentation
Presentation is loading. Please wait.
Published byPauline Joseph Modified over 9 years ago
1
AI Pr0n Maximum Exposure of your debug info! By David “Rez” Graham
2
Who's this Rez guy, anyway?
9
What We’re Going to Talk About Crash-Course on Sims AI Developing the tools of Sims Medieval Navigation Tools – Nav Mesh – Path Info – Routing Pane Decision Making Tools – Autonomy Window – Decision Making – Attempted Interactions
10
Sims AI Crash Course Meta Autonomy – Which lot should I be on? – Based on venue desire tuned by designers – Schedules Local Autonomy – What should I do on my current lot? – Based on Utility provided for each interaction on each object – Utility is based on Commodities, like hunger, energy, social, etc.
11
Developing Tools Most AI tools were written in C# Gameplay code was in C# AI Tools & Gameplay code were fully integrated – The Good: oGameplay programmers became tools programmers oFast turnaround thanks to.NET functionality oUsed the same data structures and calculation code – The Bad: oTools broke when hitting a breakpoint oCode was spread out Exception to C#: Routing – All routing code was in C++ – Easier to do specialized rendering for paths, routing mesh, etc.
12
Route Debugging
13
Nav Mesh & Routing Slots Objects change mesh at runtime Nav Mesh Interactions can also effect mesh Routing Slots
14
Path Info & Walker States Path Plans Walker State Mover Destination
15
Routing Pane Start & Goal Positions Failure Reason Routing pane tool toggles Requestor Sim History
16
Autonomy Window Commodities Autonomy Tool Tabs History
17
Decision Making: Scores Tab The last chosen interaction is colored in greenThe interaction that would have been chosen this turn is bolded Interactions that fail the Test() function are colored in red
18
Attempted Interactions Tab Practice Cards was cancelled by Be Chatted To
19
Attempted Interactions Tab
20
Final Thoughts Tool Integration is a balancing act Tools should be easy to extend Tools should be interactive –If you can see it, you should be able to change it Color is your friend –Learn from syntax highlighting History is important –History is often the key to understanding why something entered a bad state
21
Thank You! Email: rez@ea.comrez@ea.com
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.