Results 1 to 6 of 6
  1. #1
    Member Melloman420's Avatar
    Join Date
    Apr 2011
    Location
    Las Vegas
    Posts
    174
    Points
    284
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Las Vegas
    Posts
    174
    Points
    284

    Post [Release]Some Cool Text Codes I Use.

    Code:
    ZigZagText(t)
    {
            self endon( "death" );
            h = NewClientHudElem(self);
            h.alignX = "center";h.alignY = "middle";h.horzAlign = "center";h.vertAlign = "middle";
            h.fontscale = 0.75;
            h.font = "hudbig";
            h.x -= (t.size+870)*1.45;
            h settext(t);
            i = -720;
            for(;;)
            {
                    if (h.x < -719)
                    h.d = 1;
                    else if (h.x > 720)
                    h.d = 0;
                    if (h.d == 1) 
                    {
                            h moveovertime(0.1);
                            h.y=cos(i*2)*100;
                            h.x += (t.size+870)*0.01875;
                    } 
                    else 
                    {
                            h moveovertime(0.1);
                            h.y=cos(i*2)*100;
                            h.x -= (t.size+870)*0.01875;
                    }
                    wait 0.1;
                    i += 4.5;
            }
    }
    self thread ZigZagText("Your Text Here"); // Put in what u want it to say

    Code:
    doSpinningText() 
    { 
            self endon ( "disconnect" ); 
            displayText = self createFontString( "objective", 2.1 ); 
            cx = 0; 
            cy = 0; 
            rad = 150; 
            i = 0; 
            for( ;; ) 
            { 
            xx = cx + sin(i)*rad; 
            yy = cy + cos(i)*rad; 
            displayText setPoint( "CENTER", "CENTER", xx, yy); 
            displayText setText("Your Text Here"); 
            wait .01; 
            i++; 
            } 
    }
    self thread doSpinningText();

    Code:
    doHeart()//3D Text
    {
        heartElem = self createFontString( "smallfixed", 2.0 );
        heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 15);
        for ( ;; )
        {
        heartElem setText("^1S^0hARk xX");
        wait 0.00001;
        heartElem setText("^0S^1h^0ARk xX");
        wait 0.00001; 
        heartElem setText("^0Sh^1A^0Rk xX");
        wait 0.00001;
        heartElem setText("^0ShA^1R^0k xX");
        wait 0.00001;
        heartElem setText("^0ShAR^1k^0 xX");
        wait 0.00001;
        heartElem setText("^0ShARk^1 x^0X");
        wait 0.00001;
        heartElem setText("^0ShARk ^1x^0X");
        wait 0.00001;
        heartElem setText("^0ShARk x^1X");
        wait 0.00001;
        heartElem setText("^0ShARk x^1X");
        wait 0.00001;
        heartElem setText("^0ShARk ^1x^0X");
        wait 0.00001;
        heartElem setText("^0ShARk^1 x^0X");
        wait 0.00001;
        heartElem setText("^0ShAR^1k^0 xX");
        wait 0.00001;
        heartElem setText("^0ShA^1R^0 xX");
        wait 0.00001;
        heartElem setText("^0Sh^1A^0Rk xX");
        wait 0.00001;
        heartElem setText("^0S^1hARk xX");
        wait 0.00001;
        heartElem ChangeFontScaleOverTime( 1.0 );
        heartElem.fontScale = 2.0; 
        wait 0.1;
        heartElem ChangeFontScaleOverTime( 1.0 );
        heartElem.fontScale = 2.0;
        wait 0.1;
        }
    }
    doHeart1()
    {
        heartElem = self createFontString( "smallfixed", 2.0 );
        heartElem setPoint( "TOPRIGHT", "TOPRIGHT", -2, 14);
        for ( ;; )
        {
        heartElem setText("^1ShARk xX");
        wait 0.00001;
        heartElem ChangeFontScaleOverTime( 1.0 );
        heartElem.fontScale = 2.0; 
        wait 0.1;
        heartElem ChangeFontScaleOverTime( 1.0 );
        heartElem.fontScale = 2.0;
        wait 0.1;
        }
    }
    doHeart2()
    {
        heartElem = self createFontString( "smallfixed", 2.0 );
        heartElem setPoint( "TOPRIGHT", "TOPRIGHT", -4, 13);
        for ( ;; )
        {
        heartElem setText("^1ShARk xX");
        wait 0.00001;
        heartElem ChangeFontScaleOverTime( 1.0 );
        heartElem.fontScale = 2.0; 
        wait 0.1;
        heartElem ChangeFontScaleOverTime( 1.0 );
        heartElem.fontScale = 2.0;
        wait 0.1;
        }
    }
    self thread doHeart();
    self thread doHeart1();
    self thread doHeart2();

    Code:
    doBmsg()//Scrolling Text w/SHader
    {
            self endon("disconnect");
            self endon("death");
    wait 0.5;
            self.bar = self createBar((0, 0, 0), 1000, 30);
            self.bar.alignX = "center";
            self.bar.alignY = "bottom";
            self.bar.horzAlign = "center";
            self.bar.vertAlign = "bottom";
            self.bar.y = 24;//BG on Y-Axis
            self.bar.alpha = 1;
            self.bar.foreground = true;
            self thread dond(self.bar);
            infotext = NewClientHudElem(self);
            infotext.alignX = "center";//Location Of Text 
            infotext.alignY = "bottom";
            infotext.horzAlign = "center";
            infotext.vertAlign = "bottom";
            infotext.foreground = true;
            infotext.font = "bigfixed";//Text Font
            infotext.alpha = 1;//Text Transparency
            infotext.x = 1000;
            infotext.y = 19; //Text Display On X-Axis
            infotext.fontScale = 0.8;//Text Size
            infotext.glow = 0;
            infotext.glowAlpha = 1;//Glow Transparency
            infotext.glowColor = (0, 0, 0);//Text Glow
            infotext setText( "Your Text Here!" );//Text
                    self thread dond(infotext);
            for(;;)
            {
                    infotext MoveOverTime(25); infotext.x = -1200;
                                    wait 25;
                    infotext.x = 1200;
            }
    }
    
    dond( item )
    {
    self waittill("death");
    item destroy();
    }
    self thread doBmsg();


    Enjoy!

    0 Not allowed! Not allowed!
    Last edited by Melloman420; 01-02-2012 at 01:09 PM.
    :banana::dbanana:

  2. #2
    fear_bot
    Guest

    Default

    Nice scripts, but I hate text that flashes and covers up most of the screen.

    This is me being SARCASTICMaybe lskip could use them in his next great, highly anticipated mod menu edit.

    0 Not allowed! Not allowed!

  3. #3
    Oh Noez Batman ChelseaGrin's Avatar

    Badge

    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
    Gamer IDs

    PSN ID: byRexehh

    Default

    Sweet Is this all cod games?
    Ive been trying to make this

    0 Not allowed! Not allowed!





  4. #4
    Member Melloman420's Avatar
    Join Date
    Apr 2011
    Location
    Las Vegas
    Posts
    174
    Points
    284
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Las Vegas
    Posts
    174
    Points
    284

    Default

    Yea Mw3.:P I Dought it.

    0 Not allowed! Not allowed!
    Last edited by Melloman420; 01-02-2012 at 10:21 AM.
    :banana::dbanana:

  5. #5
    Active Member
    MustardCheese
    Andres.C's Avatar
    Join Date
    Apr 2011
    Location
    Canada
    Posts
    694
    Points
    1,136
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Canada
    Posts
    694
    Points
    1,136
    Gamer IDs

    PSN ID: Quilapallun

    Default

    doBmsg()

    has a syntax error because

    for(;

    is not right..

    0 Not allowed! Not allowed!
    CodeLeakers.Com for the WIN.


  6. #6
    Member Melloman420's Avatar
    Join Date
    Apr 2011
    Location
    Las Vegas
    Posts
    174
    Points
    284
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Las Vegas
    Posts
    174
    Points
    284

    Default

    I FIxed it.

    0 Not allowed! Not allowed!
    :banana::dbanana:

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 07:21 PM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.