Results 1 to 6 of 6

Threaded View

  1. #1
    ThrowTheCat's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    14
    My Mood
    Angelic

    Post [Tutorial] Adding emblems to on-display text

    Adding Emblems To On-Display Text


    In this guide i explain:
    1. Showing emblems on ingame screen
    2. Adding simple text under the emblem
    3. Adding colors to the text
    4. Line of code you can change to change the sound played when emblem comes up


    ok so i will add a code here and explain how it works under:
    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
    self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
    ok so the actual thing in the code above that displays the icon of the 10th prestige emblem is:

    notifyData.iconName = "rank_prestige10"; //Icon, 10th prestige

    then under u can easely add me text like this:

    notifyData.titleText = "Text"; //Line 1
    notifyData.notifyText = "Text"; //Line 2
    notifyData.notifyText2 = "Text"; //Line 3
    and then simply add color to it:
    notifyData.glowColor = (0.3, 0.6, 0.3); //RGB Color array divided by 100
    The line:

    notifyData = spawnstruct();

    means that when you spawn it comes up.


    This is for the sound that plays when the emblem appears on the screen:

    notifyData.sound = "mp_level_up"; //Sound, level up sound here

    Credits:

    Abstract - for teaching me to do this whith his guide (link to his guide i learn this from)
    Last edited by ThrowTheCat; 10-03-2010 at 01:13 AM.
    [IMG]https://i126.photobucke*****m/albums/p86/preg_lionheart/th_PointingDown.gif[/IMG]

Similar Threads

  1. [Tutorial]Adding Glitcher to your hack
    By NOOBJr in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 55
    Last Post: 10-02-2010, 10:32 PM
  2. Text Tutorial by Heath
    By Heath in forum Tutorials
    Replies: 5
    Last Post: 10-30-2009, 06:28 PM
  3. Signature Text Tutorial
    By Ryguy in forum Tutorials
    Replies: 3
    Last Post: 06-24-2009, 07:50 PM
  4. [Tutorial] Adding Pointers in your VB5/6 Trainer
    By mains3rv3r in forum WarRock - International Hacks
    Replies: 17
    Last Post: 06-08-2007, 03:14 PM
  5. Stylish Text Tutorial
    By Bull3t in forum Tutorials
    Replies: 13
    Last Post: 08-15-2006, 10:25 PM