Game Development Community

Chat window in TGB?

by Colin Richardson · in Torque Game Builder · 07/02/2009 (12:10 pm) · 1 replies

Hello,

Sorry it's me again.

I am going to investigate this tonight, but i am wondering if anyone can point me in the general direction.

Today is day 4 of real coding for TGB and i can only do so in the evenings so it's code or research, and i'm hoping someone can help with the research.

Inside the game we're making i need a chat window.

It's not for other players to send tells/group chat etc. It's for the game to send messages to the player, ie when an NPC talks they see it in the chat window, when they pick up an item it appears in the chat window.

One of the other reasons for this style is so we can parse that chat into a text file for reference later on.

So has anyone got any pointers as to where i can look, or perhaps how i should look at coding this?

Thanks in advance.
Colin

#1
07/02/2009 (3:13 pm)
Ok i did some research and it looks like i can use the ChatHUD.cs and .gui from TGE.

Shouldn't take too much to bring it over to work.

So i think i've answered my own question :)