Results 1 to 9 of 9
  1. #1
    Tyler The Creator
    Gamertag: FearfulNinja11
    xXHFLXx's Avatar
    Join Date
    Jun 2011
    Location
    somewere
    Posts
    528
    Points
    1,584
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    somewere
    Posts
    528
    Points
    1,584
    Gamer IDs

    Gamertag: FearFulNinja11

    Contact info:

    Youtube Channel: www.youtube.com/xXHFLXx

    Smiley Zombie kill text script

    Code:
    #include common_scripts\utility;
    
    #include maps\custom\_utility;
    
    #include maps\_utility;
    
    #include maps\_hud_util;
    
    #include maps\_zombiemode_utility;
    OnZombzKilled() // Made by xXHFLXx
    {
    	if( !IsDefined( level.OnZombzKilled ) )
            {
                    level.OnZombzKilled = true;
                    self iPrintln( "Zombie Killed Text ^2On" );
    		for(i=0;i<GetPlayers().size;i++)
    		{
                    	GetPlayers()[i] thread OnZombKilledText();
    		}
            }
            else
            {
                    level.OnZombzKilled = undefined;
                    self iPrintln( "Zombie Killed Text ^1Off" );
                    level notify( "zombKillzEnded" );
            }
    }
    
    OnZombKilledText() // Main idea by xXHFLXx
    { 
    	level endon( "zombKillzEnded" );
    	self.numOfKillz = 3; // change to desired kills
    	self.zombKillCounter = 0;
    	for(;;) 
    	{ 
    		self waittill( "zom_kill" );
    		self.zombKillCounter++;
    		if( self.zombKillCounter >= self.numOfKillz )
    		{
    			self RandomZombKilledText();
    			for(i=0;i<GetPlayers().size;i++)
    			{
    				if( IsDefined( GetPlayers()[i].textActive ) )
    				{
    					continue;
    				}
    				GetPlayers()[i] thread NewHud( self.ZombKilledText );
    			}
    			self.zombKillCounter = 0;
    		}
    	}
    }
    
    RandomZombKilledText() 
    {
        switch(RandomInt(17)) 
        {
            case 0:
                self.ZombKilledText = "^3"+self.playername+"^7 mutilated a zombie!";
            break;
    	case 1:
                self.ZombKilledText = "^3"+self.playername+"^7 ANALED A ZOMBIE";
            break;
    	case 2:
                self.ZombKilledText = "^3"+self.playername+"^7 JUST POOPED A BOONER ";
            break;
    	case 3:
                self.ZombKilledText = "^3"+self.playername+"^7 8=============D~~~";
            break;
    	case 4:
    //            self.ZombKilledText = "^3"+self.playername+"^7 cock-slapped a zombie!";
            break;
    	case 5:
                self.ZombKilledText = "^3"+self.playername+"^7 destroyed a zombie!";
            break;
    	case 6:
                self.ZombKilledText = "^3"+self.playername+"^7 humiliated a zombie!";
            break;
    	case 7:
                self.ZombKilledText = "^3"+self.playername+"^7 is too fast for you!";
            break;
    	case 8:
                self.ZombKilledText = "^3"+self.playername+"^7 JUST HAD A 3 SOME";
            break;
    	case 9:
                self.ZombKilledText = "^3"+self.playername+"^7 GOT SO WET";
            break;
    	case 10:
                self.ZombKilledText = "^3"+self.playername+"^7 PUSSY IS PINK & WET!";
            break;
    	case 11:
                self.ZombKilledText = "^3"+self.playername+"^7 LOVES PUUST THT BEATBOXS xD!";
            break;
    	case 12:
                self.ZombKilledText = "^3"+self.playername+"^7 xXHFLXx & BaTmAn!";
            break;
    	case 13:
                self.ZombKilledText = "^3"+self.playername+"^7 is the Best!";
            break;
    	case 14:
                self.ZombKilledText = "^3"+self.playername+"^7 modder in the world!";
            break;
    	case 15:
                self.ZombKilledText = "^7Watch out for ^3"+self.playername+"!";
            break;
    	case 16:
                self.ZombKilledText = "^3"+self.playername+"^7 is amazing!";
            break;
    	case 17:
                self.ZombKilledText = "^3"+self.playername+"^7 Rocks!";
            break;
        }
    }
    
    NewHud(t)  // This is needed in the beginning ---> PrecacheShader( "scorebar_zom_1" )
    {
    	self.textActive = true;
    	shader = self maps\_hud_util::createFontString( "objective", 1.35, self );
    	shader maps\_hud_util::setPoint( "CENTER", "CENTER", -150, 0 );
    	shader.color = ( 130/255, 2/255, 2/255 );
    	shader.glowColor = ( 85/255, 0/255, 0/255 );
    	shader.glowAlpha = 0;
    	shader.alpha = 0;
    	shader.sort = 0;
    	shader setShader( "scorebar_zom_1", 260, 40 );
    
    	hud = self maps\_hud_util::createFontString( "objective", 1.35, self );
    	hud maps\_hud_util::setPoint( "CENTER", "CENTER", -150, 0 );
    //	hud.color = ( 130/255, 2/255, 2/255 );
    	hud.glowColor = ( 85/255, 0/255, 0/255 );
    	hud.glowAlpha = 0;
    	hud.alpha = 0;
    	hud.sort = 2;
    	hud setText(t);
    
    	saveXHud = hud.x;
    	hud.x = -500;
    	shader.x = -500;
    	hud.alpha = 1;
    	shader.alpha = 1;
    	hud.glowAlpha = 1;
    	shader.glowAlpha = 1;
    	shader moveovertime(0.5);
    	shader.x = saveXHud;
    	hud moveovertime(0.5);
    	hud.x = saveXHud;
    	wait 3;
    	hud moveovertime(0.5);
    	hud.x = -500;
    	shader moveovertime(0.5);
    	shader.x = -500;
    	wait 3;
    	hud destroy();
    	shader destroy();
    	self.textActive = undefined;
    }
    yea lol u can edit the text als o ilso put thiz on the SOTM #1 [ENTRIES] thing intrey thingy lol srry i fail i cloud not do thiz with out silenthitman7 so yea ill give 90% credit lol xD thx silenthitman7

    0 Not allowed! Not allowed!
    Last edited by xXHFLXx; 06-26-2012 at 07:13 PM. Reason: more stuff lol
    want action replay for gamecube without buying it well look here http://www.codeleakers.com/showthrea...-THT-WORKS!!-D

  2. #2
    Blink 182 Give Me Boners mynameisjosh's Avatar
    Join Date
    Oct 2011
    Location
    Massoftwoshits
    Posts
    1,377
    Points
    3,110
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    Massoftwoshits
    Posts
    1,377
    Points
    3,110
    Gamer IDs

    Gamertag: JennaTollzZ PSN ID: HuuughGRection

    Default

    Nice!!!!!

    0 Not allowed! Not allowed!
    Quote Originally Posted by Insane.Dragon View Post
    I fucked a shark once.
    Quote Originally Posted by RED 58 View Post
    i like the sig but i hate russ...
    im seeing conflict here

  3. #3
    Tyler The Creator
    Gamertag: FearfulNinja11
    xXHFLXx's Avatar
    Join Date
    Jun 2011
    Location
    somewere
    Posts
    528
    Points
    1,584
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    somewere
    Posts
    528
    Points
    1,584
    Gamer IDs

    Gamertag: FearFulNinja11

    Contact info:

    Youtube Channel: www.youtube.com/xXHFLXx

    Default

    Quote Originally Posted by mynameisjosh View Post
    Nice!!!!!
    thx :dbanana:

    0 Not allowed! Not allowed!
    want action replay for gamecube without buying it well look here http://www.codeleakers.com/showthrea...-THT-WORKS!!-D

  4. #4
    silenthitman7
    Zombie Modder
    BaTMaN's Avatar
    Join Date
    Feb 2012
    Posts
    235
    Points
    520
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    235
    Points
    520

    Default

    lol, awesome! You didn't post the NewHud() thread?

    0 Not allowed! Not allowed!
    Last edited by BaTMaN; 06-26-2012 at 07:08 PM.

  5. #5
    Tyler The Creator
    Gamertag: FearfulNinja11
    xXHFLXx's Avatar
    Join Date
    Jun 2011
    Location
    somewere
    Posts
    528
    Points
    1,584
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    somewere
    Posts
    528
    Points
    1,584
    Gamer IDs

    Gamertag: FearFulNinja11

    Contact info:

    Youtube Channel: www.youtube.com/xXHFLXx

    Default

    Quote Originally Posted by silenthitman7 View Post
    lol, awesome! You didn't post the NewHud() thread?
    lol srry i just fix it like tht?

    0 Not allowed! Not allowed!
    want action replay for gamecube without buying it well look here http://www.codeleakers.com/showthrea...-THT-WORKS!!-D

  6. #6
    silenthitman7
    Zombie Modder
    BaTMaN's Avatar
    Join Date
    Feb 2012
    Posts
    235
    Points
    520
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    235
    Points
    520

    Default

    Nice! You should make a short video of it... =D

    0 Not allowed! Not allowed!

  7. #7
    Tyler The Creator
    Gamertag: FearfulNinja11
    xXHFLXx's Avatar
    Join Date
    Jun 2011
    Location
    somewere
    Posts
    528
    Points
    1,584
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    somewere
    Posts
    528
    Points
    1,584
    Gamer IDs

    Gamertag: FearFulNinja11

    Contact info:

    Youtube Channel: www.youtube.com/xXHFLXx

    Default

    Quote Originally Posted by silenthitman7 View Post
    Nice! You should make a short video of it... =D
    i am

    0 Not allowed! Not allowed!
    want action replay for gamecube without buying it well look here http://www.codeleakers.com/showthrea...-THT-WORKS!!-D

  8. #8
    Wii Coder
    ChumLee's Avatar

    Badge

    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,390
    Points
    7,613
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,390
    Points
    7,613
    Gamer IDs

    Gamertag: TERR0Rx9

    Contact info:

    Youtube Channel: http://www.youtube.com/user/HAXZingTERR0R

    Default

    I never knew you could script. Nice job.

    0 Not allowed! Not allowed!


  9. #9
    Tyler The Creator
    Gamertag: FearfulNinja11
    xXHFLXx's Avatar
    Join Date
    Jun 2011
    Location
    somewere
    Posts
    528
    Points
    1,584
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    somewere
    Posts
    528
    Points
    1,584
    Gamer IDs

    Gamertag: FearFulNinja11

    Contact info:

    Youtube Channel: www.youtube.com/xXHFLXx

    Default

    Quote Originally Posted by HAXZing TERR0R View Post
    I never knew you could script. Nice job.
    thx ima learn from the best silenthitman7

    0 Not allowed! Not allowed!
    want action replay for gamecube without buying it well look here http://www.codeleakers.com/showthrea...-THT-WORKS!!-D

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:12 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.