Results 1 to 4 of 4

Threaded View

  1. #1
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,984
    Reputation
    176
    Thanks
    919
    My Mood
    Blah

    Creating text for GSC modding

    I have experienced that a lot of people are having problems getting their text to work, so i decided to make a tutorial. I know this is pretty, pretty stupid but then people can submit there problems here. I have seen 5 threads or something like that about text the last month...

    There are multiple types of text. They should all be placed in your doDvars() which should be self threaded in the onPlayerSpawned.

    One line of text like the text in the beginning of every match:
    Code:
    self iPrintlnBold("Text");
    Replace Text with your text.

    Typewriter text in the middle of the screen:
    Code:
    self thread maps\mp\gametypes\_hud_message::hintMessage("Text");
    Again, replace Text with your text.

    3 lines of text like the first one
    Code:
    notifyData = spawnstruct();
    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
    self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
    Replace Text with you text. The first line is a title, it is bigger, the rest is smaller. You can add or remove lines. Line 4 sould be:
    Code:
    notifyData.notifyText3 = "Text"; //Line 4
    And so on


    I can't believe i had to write this but now you Unverified users and Leechers can ask about stuff related to text here. Not anything else, only text. Send me a PM or contact me via Skype if there are something else you need help with.




    The lines in my Steam are i's

  2. The Following User Says Thank You to Nachos For This Useful Post:

    Larity2056 (04-20-2012)