Game Development Community

JuanMa's Resources

Web Chat for TGE, Communicate from the Outside

Every day at work I think of my looser/unemployed friends who are playing games at home. "I wish I could at least chat with them!" I have thought to myself several times... Based on this idea I have implement a Command Server inside TGE that will listen for commands from the outside and act based on the instruction received. I have also implemented a web chat that sends the messages to the torque game chat and vice versa. In this way I can log in to a web site where I have access to a simple chat and communicate with my looser friends. This resource also will give you a good idea on how to use the TCPobject. NOTE 1: I will not take in consideration any security issues. NOTE 2: you need a web server that runs PHP and MySQL NOTE 3: if your web provider does not allow you to do socket_create or socket_connect you will not be able to finish this resource.

Author JuanMa Date 05/06/2008 (2:30 pm) Comment 6 comments

Creating chat rooms for TGE 1.5

This tutorial will explain how to create simple in-game chat rooms using torque script only. It mods the way MessageVector and GuiMessageVectorCtrl are used in the original version of the starter.fps game to manage the global chat only. This will not allow you to dynamically create chat rooms in game or private chat rooms managed by one user, though the idea of this resource is to provide some basic understanding on how the chat works and how it could be mod hoping that the community will take this idea to work on top of it and create better and cooler resources. If you have any idea how to make this resource better I will appreciate any comments.

Author JuanMa Date 01/22/2008 (7:24 am) Comment 8 comments