CSV based Dialogue System is simple and flexible C# scripts kit. It suits for small projects and helps to organize dialogues between two game persons. Each dialogue is described in Comma-Separated Values (CSV) files and can be created with any text/spreadsheet editor.
Scripts kit consists of two parts:
- CsvParser for parsing dialogue files and searching for necessary data;
- DialogueManager controls dialogue state and calls for external handlers when player clicks answers. It is also used to select dialogue settings.
Features:
- Display dialogue from CSV descriptor;
- Dialogue descriptors can be created with any text/spreadsheet editor. It is necessary to follow specified format;
- Easy multilanguage. Place new text fields in CSV file to add new language;
- Flexible integration. It is possible to add your own code in special handlers for answer's requirements and effects (items, sounds, emotions and so on);
- Answers that didn't meet requirements are invisible or displayed inactive (depend on the settings);
- Adjustable text scroll speed;
- Stores answers chosen during the dialogue;
- Possibility to manualy make any answer inactive (from script).