Game Development Community

Chat balloons

by AzraelK · in General Discussion · 04/03/2002 (11:49 am) · 7 replies

I want to implement this for my game, I saw this effect on Phantasy star online, and I thought it was pretty cool, but I have no idea how to put it on torque, will it be a gui? a texture? another kind of control?

All I want is a ballon box (like the one in quake3) appearing on top of the character after he is chatting.
that way it will be easy to know who said what.
Dont worry there will be an additional chat box on the bottom of the screen, in case it gets cluttered.

#1
04/03/2002 (11:52 am)
[Warning untested, and just a thought]

Would it be possible to generate another GUI element in the same place that the message box GUI is currently?
The when the person chats, in the same routine that pops the chat box and populates it with text, pop the new gui?


-Ron
#2
04/03/2002 (12:35 pm)
look through the centerprint.cs and related files, I think that will give you an idea where to start.
#3
04/04/2002 (12:31 am)
Like that :
mapage.noos.fr/tut/bulle.jpg
Ok, I will be honest. This picture is just a concept drawing (done on photoshop) done by our mapper to show us what he wanted ;). And we may work on it as we want to add letter box in our game.
#4
04/04/2002 (12:40 am)
Always can draw it onto a 2d gui like the health bar when targeted with crosshair.

You'd have to resize the balloon image (to emulate depth) It wouldn't be too difficult with slower-moving player, but with planes it's going to be trickier.
#5
04/04/2002 (1:06 am)
Draw it the same way the playernames are drawn above heads....just put a timer on it.

-Tim aka Spock
#6
04/04/2002 (11:56 am)
Take a look at guishapenamehud.cc

Basically, do that :))

Phil.
#7
04/05/2002 (12:43 am)
I did it Phil ;)
I'm currently implemented a generic 'weapon hud' things that will allow us to have multiple lock-on on screen for different weapon and to change them according to the player's weapon selection. In two word, we have datablock for weapon icon (weapon icon hud on screen) which defines its attributes such as : speed, lockon, static, numbre of lock, animated, ... and then there is a gui control on which you can set multiple datablock different for each client and it will manage to render them and animate them.

When I will finish it, I will shift to the letter box things.