Portfolio

LibCT

posted on July 23, 2010

LibCT is the name of the project I originally made for part one of the Videogame Middleware assignment, the task was to create a middleware that would be useful for games. I continued developing this project after University. It is currently on version 2

So what does LibCT do? Well it aims to solve a common task that faces game makers today, that of creating conversation trees that a player can traverse.

Conversations are broken down into a number of phases, each phase has some text that is shown to the user (what the NPC is saying for example) and a number of choices (at-least one), which represent a response the player can give. Choices will lead to another node.

There are also Decision nodes, which allow the path of the conversation to alter depending on an equation, equations use variables (it is currently possible to set 5 different types of variable: String, float, int, bool and double. variables can be either global, where they can effect all conversations, or local, only effecting the conversation they are attached to) decision nodes allow, for example, certain branches of the conversation path to be accessible only by player who have a certain reputation.

LibCT comes with a custom-made editor EdCT, designed to make creating and editing conversations easy and fast.

 

For more information and download links, check out the LibCT project page