ConversationLib is a StarCraft 2 mod aimed to add more support for data driven conversations. StarCraft 2 has a dedicated datatype for conversations, with support for having player driven choices, conditional execution, jumping around between groups of dialogue lines, etc. The major problem with it is that its API is extremely limited, and doesnt allow for much customization as to how to render your conversation, nor it easily allows for extended behaviour through the game's own scripting system.
The mod aims to emulate the existing internal data types for data driven conversations, and transform the existing data conversations into its emulated form via the game's Catalog API.
- Parsing Lines
- Parsing Waits
- Parsing Choices
- Parsing Jumps
- Parsing Run Actions
- Parsing Conditions
- Implementing Callbacks for each subtype
Given the following conversation done via the built-in Data Editor:
With a given set of callbacks in can be rendered in different ways, like: