Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    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 [SM8E52]Portal Gun

    Code:
    createPortalGun()
    {
    	self endon( "death" );
    
    	self takeAllWeapons();
    	self giveWeapon( "knife_mp" );
    
    	Plus = self createFontString( "hudbig", 3 );
    	Plus setPoint( "CENTER", "CENTER", 0, 0 );
    	Plus setText( "+" );
    	self thread onDeath( Plus );
    
    	created["green"] = 0;
    	created["red"] = 0;
    	done = 0;
    
    	portal2 = spawn( "script_model", ( 0, 0, 900 ) );
    	portal2 setModel( "com_plasticcase_enemy" );
    	self thread onDeath( portal2 );
    
    	portal1 = spawn( "script_model", ( 0, 0, 900 ) );
    	portal1 setModel( "com_plasticcase_friendly" );
    	self thread onDeath( portal1 );
    
    	FragPressed = 0;
    	SmokePressed = 0;
    	stop = 0;
    
    	for(;;)
    	{
    		if( self FragButtonPressed() )
    		{
    			portal1.origin = self getAim();
    			if( FragPressed == 0 ) FragPressed = 1;
    			wait 0.2;
    		}
    		else if( self SecondaryOffhandButtonPressed() )
    		{
    			portal2.origin = self getAim();
    			if( SmokePressed == 0 ) SmokePressed = 1;
    			wait 0.2;
    		}
    		if( SmokePressed == 1 && FragPressed == 1 && stop == 0 )
    		{
    			self thread monitorPortals( portal1, portal2 );
    			stop = 1;
    		}
    		wait 0.01;
    	}
    }
    
    monitorPortals( p1, p2 )
    {
    	self endon( "death" );
    
    	for(;;)
    	{
    		if( distance( p1.origin, self.origin ) < 70 ) 
    		{
    			self setOrigin( p2.origin + ( 0, 0, 30 ) );
    			wait 3;
    		}
    		else if( distance( p2.origin, self.origin ) < 70 ) 
    		{
    			self setOrigin( p1.origin + ( 0, 0, 30 ) );
    			wait 3;
    		}
    		wait 0.05;
    	}
    }
    
    getAim()
    {
            forward = self getTagOrigin( "tag_eye" );
            end = self vector_Scal( AnglesToForward( self getPlayerAngles() ), 1000000 );
            Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
            return Crosshair;
    }
    
    vector_scal(vec, scale)
    {
            vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
            return vec;
    }
    Press Frag Button and Smoke button to use portals, Dont teleport to a portal on the wall or you will get stuck.

    0 Not allowed! Not allowed!

  2. #2
    Tig O Bitties
    Grey's Avatar
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964

    Contact info:

    Youtube Channel: http://www.youtube.com/l3g3darymods

    Default

    fucking awesome...tlpwnzer u have continued to amaze me

    0 Not allowed! Not allowed!

  3. #3
    Member Ju!Ce's Avatar
    Join Date
    Aug 2011
    Posts
    161
    Points
    318
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    161
    Points
    318

    Default

    Quote Originally Posted by G-rey View Post
    fucking awesome...tlpwnzer u have continued to amaze me
    Leech much?

    0 Not allowed! Not allowed!

  4. #4
    1010010011010101101001
    Austin .'s Avatar
    Join Date
    May 2011
    Location
    Where the Green Grass Grows. <3
    Posts
    4,830
    Points
    2,134
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Where the Green Grass Grows. <3
    Posts
    4,830
    Points
    2,134
    Gamer IDs

    PSN ID: x-CrimsoN-x21

    Contact info:

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

    Default

    Quote Originally Posted by A Real Hacker View Post
    Leech much?
    Your leechier then G, so stfu. I don't see you contribute.

    Very nice tlpwnzer, thanks for sharing.

    0 Not allowed! Not allowed!

    1v1 (as of June) :
    Wins: 2 Losses: 0
    We accept the love we think we deserve.

  5. #5
    Nooblet
    Join Date
    Apr 2011
    Posts
    30
    Points
    45
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Posts
    30
    Points
    45

    Default

    lol i love this place - ps your all leaches I AM THE ONLY ONE CONTRIBUTING! thx guy

    0 Not allowed! Not allowed!

  6. #6
    Retired Wii Modder
    Feet Fetish
    MiniSodaBoy's Avatar
    Join Date
    Oct 2011
    Location
    Taking a shit on hetoan
    Posts
    816
    Points
    1,051
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    Taking a shit on hetoan
    Posts
    816
    Points
    1,051
    Gamer IDs

    Gamertag: Mini Soda Boy

    Contact info:

    Youtube Channel: www.youtube.com/THEMANSMODZ

    Default

    dude nice! Is this like a teleport gun or noclip?

    0 Not allowed! Not allowed!

    Free Porn Passwords-->CLICK ME!
    DO NOT CLICK THIS LINK!!!
    Old Name: THE-MAN

  7. #7
    Member RazorHawk's Avatar
    Join Date
    May 2011
    Location
    Behind You.
    Posts
    51
    Points
    141
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Behind You.
    Posts
    51
    Points
    141
    Gamer IDs

    Gamertag: WolfDragon900 PSN ID: derrickdaman6 Steam ID: WolfDragon9000

    Contact info:

    Youtube Channel: BlueDragon975

    Default

    Host or Non-Host
    :banana:

    But no really is it Host only?

    0 Not allowed! Not allowed!
    Last edited by KazzababeGamer; 11-28-2011 at 03:24 PM. Reason: Stop Spamming
    :banana:

  8. #8
    Lskip Dont Double Dip
    Join Date
    Nov 2011
    Posts
    550
    Points
    265
         User Info     Contact     Gamer ID
    Join Date
    Nov 2011
    Posts
    550
    Points
    265

    Contact info:

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

    Default

    where in the .gsc do i put this can someone please answer me?

    0 Not allowed! Not allowed!

  9. #9
    Member kwaq's Avatar
    Join Date
    Aug 2011
    Location
    eying you at the end of the bar
    Posts
    200
    Points
    558
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    eying you at the end of the bar
    Posts
    200
    Points
    558

    Default

    THE CAKE IS A LIE! lol

    anyway, nice work with this Pwnzer! Im glad you are still releasing (leech)

    0 Not allowed! Not allowed!

  10. #10
    Member Smile's Avatar
    Join Date
    May 2011
    Location
    USA
    Posts
    258
    Points
    599
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    USA
    Posts
    258
    Points
    599
    Gamer IDs

    Gamertag: Data Report

    Contact info:

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

    Default

    Looks good, Nice work man. Soon I'll have to start releasing some of my shit here D:

    0 Not allowed! Not allowed!
    I'm a professional doer of stuff.

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