Game Development Community

How do you remove the welcome to torque demo app message?

by NA · in Torque Game Engine · 10/06/2003 (12:44 pm) · 8 replies

Whenever you start a game made with Torque - it displays the message "welcome to the torque demo app" how do I change it to say welcome to gamename??? Any help would be greatly appreciated.

#1
10/06/2003 (12:51 pm)
Have a look at common\server\clientConnection.cs and locate the function GameConnection::onConnect( %client, %name ), scroll down a bit and you will see the following

// Inform the client we've joined up
   messageClient(%client,
      'MsgClientJoin', '\c2Welcome to the Torque demo app %1.', 
      %client.name, 
      %client,
      %client.sendGuid,
      %client.score,
      %client.isAiControlled(), 
      %client.isAdmin, 
      %client.isSuperAdmin);

wash, dry and wear :)

-Ron
#2
10/06/2003 (1:32 pm)
NA, something like "Find in Files..." is your friend when it comes to hunting down strings. :)
#3
10/07/2003 (10:56 am)
And for "find in files" indexing is your friend. Makes finding lightning quick. There are methods to do this for windows, linux, and mac, which is nice.
#4
10/08/2003 (1:20 pm)
Anotherday, another question..Its possible to turn off the whole window, what is contains this Welcome text ? How its to doing ? I mean the transparent, outlined window)
#5
10/08/2003 (5:17 pm)
Check PlayGui.cs ::onWake
#6
10/09/2003 (4:38 am)
Anotherday, another question..Its possible to turn off the whole window, what is contains this Welcome text ? How its to doing ? I mean the transparent, outlined window)
#7
10/09/2003 (4:54 am)
I would suggest that you rephrase your question, other wise there is little point, its alot better I find, to go to your question from a different angle the second time etc. That way it should come across better.

Also it looks rude to me, to just repeat.

Firstly a question, do you have Tribal IDE? it'll help you with searching for what you want in the scripts.

Anyway, Xavier is right your looking for:

// Message hud dialog
Canvas.pushDialog( MainChatHud );
chatHud.attach(HudMessageVector);

which is in PlayGui.cs->::onWake

EDIT: spelling
#8
10/09/2003 (12:24 pm)
That is definetly rude Edward, not just for you.