Results 1 to 7 of 7
  1. #1
    Redx Even in death
    Clarity?
    Seal Ricky's Avatar

    Badge

    Join Date
    Feb 2012
    Location
    Chi-Town
    Posts
    1,142
    Points
    1,426
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Location
    Chi-Town
    Posts
    1,142
    Points
    1,426
    Gamer IDs

    PSN ID: xSeal_Rickyx Steam ID: sealricky

    Default The Matrix gametype

    So its pretty much just the matrixs..lol

    It has the ported matrix script and I made it so it will go slow motion and make
    your vision darker.

    It also has matrixs guns (i.e uzi)


    Object:
    None


    What happens
    ~Random letters go on your screen
    ~It goes slow motion
    ~Your vision gets darker
    ~It stops and then does it over again






    Code:
    //The Matrix Made By Teh xSeal Rickyx :D
    #include common_scripts\utility;
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    main()
    
    {
    }
    
    init()       
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    	
    }
    
    onPlayerConnect()
    {	
    	for(;;)
    	{
    		level waittill( "connecting", player );
    
    		player thread onPlayerSpawned();
    		player thread Credit();
                    player thread Dvars();
    	}
    }
    
    onPlayerConnected()
    {	
    	for(;;)
    	{
    		level waittill( "connected", player );
    		
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" ); 
                    self thread Settings();
                    wait 20;
                    self thread EnterTheMatrix();
    	}	
    }
    
    Dvars()
    {
    	setDvar( "g_TeamName_Allies", "^9xSeal Rickyx" );
    	setDvar( "g_TeamName_Axis", "^1Is teh best" );
            setDvar( "scr_disable_weapondrop", 1 );
            SetMatchFlag( "disableingamemenu", 1 );
    	self setClientDvar( "scr_game_killstreaks", false );
    }
    Settings()
    {
    {
    	if( self.pers["team"] == "axis" )
    	{
    		self thread RandomGuns();
    		wait 0.1;
    		self thread Perks();
    		wait 0.1;
    		self thread Health();	
    	}
    
    	else if( self.pers["team"] == "allies" )
    	{
    		self thread RandomGuns();
    		wait 0.1;
    		self thread PerksTwo();
    		wait 0.1;
    		self thread HealthTwo();
    
    	}
    }
    }
    Health()
    {
    self.maxhealth = 150;
    self.health = self.maxhealth;
    }
    HealthTwo()
    {
    self.maxhealth = 150;
    self.health = self.maxhealth;
    }
    Perks()
    {
    	self endon ( "disconnect" );
    	self clearPerks();
            self setPerk("specialty_movefaster");
            self setPerk("specialty_fallheight");
            self setPerk("specialty_scavenger");
            self setPerk("specialty_extraammo");
            self setPerk("specialty_gpsjammer");
            self setPerk("specialty_reconnaissance");
            self setPerk("specialty_nottargetedbyai");
            self setPerk("specialty_noname");
            self setPerk("specialty_fastweaponswitch");
            self setPerk("specialty_bulletaccuracy");
            self setPerk("specialty_sprintrecovery");
            self setPerk("specialty_fastmeleerecovery");
            self setPerk("specialty_fastreload"); 
    }
    PerksTwo()
    {
    	self endon ( "disconnect" );
    	self clearPerks();
            self setPerk("specialty_gas_mask");
            self setPerk("specialty_showonradar");
            self setPerk("specialty_stunprotection");
            self setPerk("specialty_longersprint");
            self setPerk("specialty_unlimitedsprint");
            self setPerk("specialty_quieter");
            self setPerk("specialty_loudenemies");
            self setPerk("specialty_pistoldeath");
            self setPerk("specialty_finalstand");
            self setPerk("specialty_healthregen");
            self setPerk("specialty_showenemyequipment");
            self setPerk("specialty_nomotionsensor");
            self setPerk("specialty_disarmexplosive");
            self setPerk("specialty_detectexplosive");
            self setPerk("specialty_delayexplosive");
    }
    Credit()//Please don't change this, idc if you love me or hate me but using this mod means keeping this. If you change this I'll tell the world how gay you are. Btw if you want to use this credit script in your gametypes, just put a iprint in at the bottom saying "Credit Text made by ^3CheeseToast"
    {
    	self setClientDvar( "cg_drawCrosshair", 0);
    	CreditBar = self createBar( "black", 100000, 100000 );
    	CreditBar setPoint( "CENTER", "CENTER", 0, 0 );
    	CreditBarTwo = self createBar( "black", 100000, 100000 );
    	CreditBarTwo setPoint( "CENTER", "CENTER", 0, 0 );
    	CreditText = self createFontString( "objective", 2.2 );
    	CreditText setPoint( "CENTER", "CENTER", 0, -100 );
           	CreditText setText( "The Matrix By" );
    	CreditText.color = ( 0/255, 215/255, 255/255 );
    	CreditText.glowColor = ( 0/255, 100/255, 120/255 );
    	CreditText.glowAlpha = 1;
    	CreditText fadeOverTime( 3 );
    	CreditText.Alpha = 0;
    	wait 3;
    	CreditText.Alpha = 1;
           	CreditText setText( "xSeal Rickyx" );
    	CreditText fadeOverTime( 1 );
    	CreditText.Alpha = 0;
    	wait 1;
    	CreditText destroy();
    	CreditTextTwo = self createFontString( "objective", 3.2 );
    	CreditTextTwo setPoint( "CENTER", "CENTER", 0, -65 );
            CreditTextTwo setText( "Thanks To whoever" );
    	CreditTextTwo.color = ( 230/255, 230/255, 0/255 );
    	CreditTextTwo.glowColor = ( 215/255, 160/255, 0/255 );
    	CreditTextTwo.glowAlpha = 1;
    	CreditTextTwo fadeOverTime( 4 );
    	CreditTextTwo.Alpha = 0;
    	CreditBar fadeOverTime( 4 );
    	CreditBar.Alpha = 0;
    	CreditBarTwo fadeOverTime( 4 );
    	CreditBarTwo.Alpha = 0;
    	visionSetNaked( "default", 4 );
    	wait 4;
    	CreditBar destroy();
    	CreditBarTwo destroy();
    	CreditTextTwo destroy();
    	self setClientDvar( "cg_drawCrosshair", 1);
    }
    
    RandomGuns()
    {
    	self endon( "death" );
    	self endon( "disconnect" );
    
    	switch( RandomInt(5) ) 
    	{
    		case 0: 
                            self thread Weapons( "uzi_reflex_extclip_silencer_mp" );
    			break;
    		case 1:
    			self thread Weapons( "uzi_reflex_extclip_silencer_mp" );
    			break;
    		case 2:
    			self thread Weapons( "uzi_reflex_rf_silencer_mp" );		
    			break;
    		case 3:
    			self thread Weapons( "uzi_acog_grip_extclip_silencer_mp" );		
    			break;
                    case 4:
    			self thread Weapons( "cz75dw_mp" );		
    			break;
    		default:
    			break;
    	}
    }
    
    Weapons( gun )
    {
    	self takeAllWeapons();
    	self giveWeapon( gun );
    	self giveWeapon( "knife_mp" );
    	self switchToWeapon( gun );
    	self giveMaxAmmo( gun );
    }
    EnterTheMatrix()
    {
    	for(i=0;i < level.players.size;i++)
    	{
    		player = level.players[i];
    		player thread EnterMatrix();
    	}
    }
    EnterMatrix()
    {
    	self endon("death");
    	self endon("disconnect");
    	ms("Enter The Matrix");
    	wait 3;
            self thread cycleVisions();
            wait 2;
            self thread cycleMotion();
            wait 3;
    	self thread Matrix();
    	wait 8;
    }
    TT(T,D,pos)
    {
    	self endon("death");
    	a=pos;
    	b=10;
    	m=createFontString("default",1.5);
    	m SetText(T);
    	m.x=a;
    	m.y=b;
    	m.alignX="top";
    	m.alignY="top";
    	m.horzAlign="top";
    	m.vertAlign="top";
    	m.sort=3;
    	m.foreground=false;
    	m transitionPulseFXIn(3,5);
    	m trans(pos);
    	m.color =(.6 ,.8,.6);
    	m.alpha=1;
    	m fadeOverTime(0.1);
    	m.alpha=.2;
    	wait 0.1;
    	m fadeOverTime(0.1);
    	m.alpha=1;
    	m.color =(1.0,1.0,1.0);
    	wait 0.1;
    	m fadeOverTime(0.1);
    	m.alpha=.2;
    	wait 0.1;
    	m fadeOverTime(0.1);
    	m.alpha=3;
    	m.color =(.6 ,.8,.6);
    	m.alpha=1;
    	m fadeOverTime(0.1);
    	m.alpha=.2;
    	wait 0.1;
    	m fadeOverTime(0.1);
    	m.alpha=1;
    	m.color =(1.0,1.0,1.0);
    	wait 0.1;
    	m fadeOverTime(0.1);
    	m.alpha=.2;
    	wait 0.1;
    	m fadeOverTime(0.1);
    	m.alpha=1;
    	m.color =(.6 ,.8,.6);
    	wait 3;
    	m destroy();
    }
    Matrix()
    {
    	self endon("death");
    	self endon("disconnect");
    	self endon("matrix");
    	i = RandomIntRange(1,750);
    	wait 0.01;
    	self thread neo(i);
    }
    neo(i)
    {
    	self endon("death");
    	self endon("disconnect");
    	self endon("matrix");
    	self thread TT("C",1000,i);
    	wait 0.01;
    	self thread Matrix();
    }
    r(a,b)
    {
    	self setclientdvar(a,b);
    }
    trans(i)
    {
    	gotoX=self.xOffset;
    	gotoY=self.yOffset;
    	gotoY +=(1000+i);
    	self.alpha=1;
    	self moveOverTime(8);
    	self.x=gotoX;
    	self.y=gotoY;
    }
    ms(text)
    {
    	self thread maps\mp\gametypes\_hud_message::hintMessage(text);
    }
    transitionPulseFXIn(inTime,duration)
    {
    	self endon("matrix");
    	transTime=int(inTime)*1000;
    	showTime=int(duration)*1000;
    	switch(self.elemType)
    	{
    		case "font": case "timer": self setPulseFX(transTime+250,showTime+transTime,transTime+250);
    		break;
    		default: break;
    	}
    }
    cycleVisions()
    {
    	for(;;)
    	{
    		self setClientDvar( "r_filmTweakInvert", "0" );
    	        self setClientDvar( "r_filmUseTweaks", "1" );
    	        self setClientDvar( "r_filmTweakEnable", "1" );
    	        self setClientDvar( "r_filmTweakLightTint", "0 0 0" );
    	        self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    	        self setClientDvar( "r_filmTweakHue", "0 0 0" );
    		wait 14;
    		self setClientDvar( "r_filmTweakInvert", "0" );
    	        self setClientDvar( "r_filmUseTweaks", "0" );
    	        self setClientDvar( "r_filmTweakEnable", "0" );
    	        self setClientDvar( "r_filmTweakLightTint", "1 1 1" );
    	        self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    	        self setClientDvar( "r_filmTweakHue", "0 0 0" );
    		wait 10;
    	 }
    }
    
    cycleMotion()
    {
    	for(;;)
    	{
    		setDvar ( "Timescale", .25 );
    		wait 14;
    		setDvar ( "Timescale", 1 );
    		wait 10;
    	 }
    }
    Credit:
    MorderVonJuden- for porting
    Dv0id- for general help

    0 Not allowed! Not allowed!
    Last edited by Seal Ricky; 12-13-2012 at 07:55 PM.
    Click me if your an awesome person

    This quote moved me.
    Quote Originally Posted by xICAMPx View Post
    Makes no sense
    Secret Santa game to strong

  2. #2
    Notorious B.I.G
    http://xat.com/cleaker
    Goober.'s Avatar
    Join Date
    Dec 2011
    Location
    A Safe Haven
    Posts
    6,713
    Points
    10,699
         User Info     Contact     Gamer ID
    Join Date
    Dec 2011
    Location
    A Safe Haven
    Posts
    6,713
    Points
    10,699

    Contact info:

    Youtube Channel: http://www.youtube.com/user/Goober1337FX?feature=mhee

    Default

    how slow is the slow motion, super slow gets on my nerves

    0 Not allowed! Not allowed!

  3. #3
    Redx Even in death
    Clarity?
    Seal Ricky's Avatar

    Badge

    Join Date
    Feb 2012
    Location
    Chi-Town
    Posts
    1,142
    Points
    1,426
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Location
    Chi-Town
    Posts
    1,142
    Points
    1,426
    Gamer IDs

    PSN ID: xSeal_Rickyx Steam ID: sealricky

    Default

    Quote Originally Posted by Goober View Post
    how slow is the slow motion, super slow gets on my nerves
    Its pretty slow .
    But you can change it If you like.

    0 Not allowed! Not allowed!
    Click me if your an awesome person

    This quote moved me.
    Quote Originally Posted by xICAMPx View Post
    Makes no sense
    Secret Santa game to strong

  4. #4
    Suicidal Thoughts
    Atmosphere's Avatar
    Join Date
    Oct 2012
    Location
    South Carolina
    Posts
    3,666
    Points
    2,315
         User Info     Contact     Gamer ID
    Join Date
    Oct 2012
    Location
    South Carolina
    Posts
    3,666
    Points
    2,315
    Gamer IDs

    Gamertag: xINSTANT CRUSHx Steam ID: xatmospherex

    Default

    Ricky...I have a idea for v2

    0 Not allowed! Not allowed!

  5. #5
    Formally known as Tlpwnzer KazzababeGamer's Avatar
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427

    Default

    What a gametype! This deserves an award.

    0 Not allowed! Not allowed!

  6. #6
    Redx Even in death
    Clarity?
    Seal Ricky's Avatar

    Badge

    Join Date
    Feb 2012
    Location
    Chi-Town
    Posts
    1,142
    Points
    1,426
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Location
    Chi-Town
    Posts
    1,142
    Points
    1,426
    Gamer IDs

    PSN ID: xSeal_Rickyx Steam ID: sealricky

    Default

    Quote Originally Posted by Atmosphere View Post
    Ricky...I have a idea for v2
    Lay it on on.
    Quote Originally Posted by Kazzababe View Post
    What a gametype! This deserves an award.
    Your being sarcastic (frown)
    Quote Originally Posted by Clay10 View Post
    Meh, cool I guess.
    Thanks

    0 Not allowed! Not allowed!
    Click me if your an awesome person

    This quote moved me.
    Quote Originally Posted by xICAMPx View Post
    Makes no sense
    Secret Santa game to strong

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