Post: Adding Welcome Message
10-30-2010, 03:25 PM #1
mattbettiol
Internet Marker
(adsbygoogle = window.adsbygoogle || []).push({}); Ok, If you look at my title undernaeth my username(ScreamsHD) on my profile, you will see that it says "NOOB GSC Editor".

So I have a "NOOB" GSC question.

How do I add a simple welcome to message to a patch(Gun Game). I just want it to says welcome and maybe simple instructions. Any help would be greatly appreciated.
(adsbygoogle = window.adsbygoogle || []).push({});
10-30-2010, 03:31 PM #2
Originally posted by ScreamsHD View Post
Ok, If you look at my title undernaeth my username(ScreamsHD) on my profile, you will see that it says "NOOB GSC Editor".

So I have a "NOOB" GSC question.

How do I add a simple welcome to message to a patch(Gun Game). I just want it to says welcome and maybe simple instructions. Any help would be greatly appreciated.


look at Onplayerspawn()
and underneath self waittill( "spawned_player" );
add this
self thread welcome();

Add this anywere in the patch

welcome()
{
self thread maps\mp\gametypes\_hud_message::hintMessage( "Type your text here !" );
}

Your onplayerspawn
should look something like this

onPlayerSpawned(){
self endon( "disconnect" );

for(;Winky Winky{
self waittill( "spawned_player" );
self thread dowelcome();
}
}

The following user thanked ii LeDgEnz x for this useful post:

Shaarpy
10-30-2010, 03:34 PM #3
mattbettiol
Internet Marker
Thanks... will give it a try

---------- Post added at 11:34 AM ---------- Previous post was at 11:33 AM ----------

Originally posted by ii
look at Onplayerspawn()
and underneath self waittill( "spawned_player" );
add this
self thread welcome();

Add this anywere in the patch

welcome()
{
self thread maps\mp\gametypes\_hud_message::hintMessage( "Type your text here !" );
}

Your onplayerspawn
should look something like this

onPlayerSpawned(){
self endon( "disconnect" );

for(;Winky Winky{
self waittill( "spawned_player" );
self thread dowelcome();
}
}


For the self thread maps\mp\gametypes\_hud_message::hintMessage( "Type your text here !" ); can I just keep putting as many as those as I want ?

Ex.
self thread maps\mp\gametypes\_hud_message::hintMessage( "Type your text here !" );
self thread maps\mp\gametypes\_hud_message::hintMessage( "Type your text here also" );
self thread maps\mp\gametypes\_hud_message::hintMessage( "Type your text here again" );
10-30-2010, 03:39 PM #4
juddylovespizza
I'VE GOT JUNGLE FEVER
Yes, there are different styles of text depends what you are thinking of?
10-30-2010, 03:42 PM #5
mattbettiol
Internet Marker
Originally posted by juddylovespizza View Post
Yes, there are different styles of text depends what you are thinking of?

Would this work:

    welcome()
{
self thread maps\mp\gametypes\_hud_message::hintMessage( "^1Welcome to ^6The Gun Game" );
wait 0.05;
self thread maps\mp\gametypes\_hud_message::hintMessage( "^4Edited by ^0Screams^1HD" );
wait 0.05;
self thread maps\mp\gametypes\_hud_message::hintMessage( "^3Hope You Enjoy" );
}


and if so, then how would I change the text to a different style like you said ?
10-30-2010, 03:46 PM #6
juddylovespizza
I'VE GOT JUNGLE FEVER
Yes that would work, just test on PC its a lot easier so you know if everything works..

Different styles are these:

Text at bottem left
    self iPrintln("Text");


Text at top
    self iPrintlnBold("Text");


Typewriter Text
    self thread maps\mp\gametypes\_hud_message::hintMessage("Text");


Text with Icon, color, sound, and 3 lines
    notifyData = spawnstruct();
notifyData.iconName = "rank_prestige10"; //Icon, 10th prestige
notifyData.titleText = "Text"; //Line 1
notifyData.notifyText = "Text"; //Line 2
notifyData.notifyText2 = "Text"; //Line 3
notifyData.glowColor = (0.3, 0.6, 0.3); //RGB Color array divided by 100
notifyData.sound = "mp_level_up"; //Sound, level up sound here
notifyData.duration = 7; //Change Duration
notifyData.font = "DAStacks"; //Edit fonts, there isn't a complete list
notifyData.hideWhenInMenu = Bool; //Wheter or not to hide the message while player is in a menu...
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );

The following user thanked juddylovespizza for this useful post:

mattbettiol
10-30-2010, 04:21 PM #7
Sempiternal
Previously uG~ Wounded
Questions answered. Mod please close.
10-30-2010, 05:15 PM #8
lostcaptain
Little One
Originally posted by Bhoii View Post
Questions answered. Mod please close.


Really? People like you... My god.

To OP, I was wondering the same thing. Thanks to those who answered.

Ignore Iriish and help us out more, if there are any more ways of doing this.
10-30-2010, 05:58 PM #9
Big Poppa Bren
Treasure hunter
lol, gotta love the back seat moderation ;-0)

The following 2 users say thank you to Big Poppa Bren for this useful post:

mattbettiol, x-BoT
10-30-2010, 07:17 PM #10
SamMight69Her
CRAZY 4 INK
Originally posted by juddylovespizza View Post
Yes that would work, just test on PC its a lot easier so you know if everything works..

Different styles are these:

Text at bottem left
    self iPrintln("Text");
Text at top
    self iPrintlnBold("Text");
Typewriter Text
    self thread maps\mp\gametypes\_hud_message::hintMessage("Text");
Text with Icon, color, sound, and 3 lines
    notifyData = spawnstruct();
notifyData.iconName = "rank_prestige10"; //Icon, 10th prestige
notifyData.titleText = "Text"; //Line 1
notifyData.notifyText = "Text"; //Line 2
notifyData.notifyText2 = "Text"; //Line 3
notifyData.glowColor = (0.3, 0.6, 0.3); //RGB Color array divided by 100
notifyData.sound = "mp_level_up"; //Sound, level up sound here
notifyData.duration = 7; //Change Duration
notifyData.font = "DAStacks"; //Edit fonts, there isn't a complete list
notifyData.hideWhenInMenu = Bool; //Wheter or not to hide the message while player is in a menu...
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );


how do you test it on pc?

The following user thanked SamMight69Her for this useful post:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo