Chapter 11Conversations/Scripting

When a player starts up an RPG, he expects a vibrant, living, breathing world populated by people and creatures that he can interact with. These interactions could include holding a conversation with an NPC or fighting a monster. If a character were to walk up to a bartender, he would expect to be able to order a drink and get the latest information about what has been happening in the area. The same holds true for being able to interact with a blacksmith to repair equipment, a shopkeeper to buy supplies, or any other NPC. If the person just stands there when the character tries to talk to him, it becomes obvious that the NPC isn’t a person at all, but just a graphic being drawn on the screen. This breaks the ...

Get RPG Programming with XNA Game Studio 3.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.