Results 1 to 1 of 1
  1. #1
    Nintendo Section Moderator PvtRyan's Avatar

    Badge

    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Coding Wii
    Posts
    3,837
    Points
    1,586
    Gamer IDs

    PSN ID: gamer_pvtryan Steam ID: pvtryan_cl Wii Code: PvtRyan

    Contact info:

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

    Default [SC7E52]Balcony Ballistics and Tomahawks

    Map: Nuketown
    Mode: Team Deathmatch
    How to Play: You kill the other team by shooting ballistics and tomahawks, there are crates above and below you to stop you from falling off so you may duck down to stop from dying, but you still have a chance to die. It gets hard for whatever side but it gets fun, it's not fun on combat but with friends it is.

    Code:
    #include common_scripts\utility;
    
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    
    #include maps\mp\gametypes\_hud_util;
    
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    	level thread doBox();
    }
    
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connecting", player );
    		
    		player thread onPlayerSpawned();
    		player thread Dvars();
    		player [[level.autoassign]]();
    	}
    }
    
    onPlayerConnected()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
    		self thread weapons();
    		self thread teams();
    	}
    }
    
    teams()
    {
    	if( self.pers["team"] == "allies" )
    	{
    		self setOrigin( ( 713.687, 335.297, 79.125) );
    	}
    
    	else if( self.pers["team"] == "axis" )
    	{
    
    		self setOrigin( ( -558.676, 581.995, 79.125) );
    	}
    }
    
    Dvars()
    {
    	setDvar( "scr_disable_weapondrop", 1 );
    	setDvar( "g_TeamName_Allies", "^2Snipers" );
    	setDvar( "g_TeamName_Axis", "^1Snipers" );
    	wait 0.01;
            setDvar( "scr_game_hardpoints", 0 );
            setDvar( "scr_game_killstreaks", 0 );
            setDvar( "scr_game_hardpoints", "0" );
            setDvar( "scr_game_killstreaks", "0" );
    	wait 0.01;
            setDvar( "scr_disable_cac", 1 );
    	setDvar( "g_gametype", "tdm" );
    	wait 0.01;
    	setDvar( "scr_" + getDvar( "g_gametype" ) + "_scorelimit", 50000 );
    	setDvar( "scr_" + getDvar( "g_gametype" ) + "_timelimit", 0 );
    }
    
    weapons()
    {
    	self takeAllWeapons();
    	self clearPerks();
    	self giveWeapon( "hatchet_mp" );
    	self giveWeapon( "knife_ballistic_mp" );
    	self switchToWeapon( "knife_ballistic_mp" );
    }
    
    findBox( pos, angle )
    {
    	box = spawn( "script_model", pos );
    	box setModel( "mp_supplydrop_axis" );
    	box.angles = angle;
    }
    
    findiBox( pos, angle )
    {
    	box = spawn( "script_model", pos );
    	box setModel( "mp_supplydrop_axis" );
    	box.angles = angle;
    	box hide();
    }
    
    doBox()
    {
    	level.boxes[1] = findBox( ( 811.192, 244.065, 96.6977), ( 0, 196.368, 0) );
    	level.boxes[2] = findBox( ( 811.192, 244.065, 126.6977), ( 0, 196.368, 0) );
    	level.boxes[3] = findBox( ( 811.192, 244.065, 156.6977), ( 0, 196.368, 0) );
    	level.boxes[4] = findBox( ( -751.811, 377.004, 95.2015), ( 0, 341.368, 0) );
    	level.boxes[5] = findBox( ( -751.811, 377.004, 125.2015), ( 0, 341.368, 0) );
    	level.boxes[6] = findBox( ( -751.811, 377.004, 155.2015), ( 0, 341.368, 0) );
    	level.boxes[7] = findiBox( ( 588.261, -9.71448, 112.144), ( 0, 16.7142, 90) );
    	level.boxes[8] = findiBox( ( 550.261, -16.71448, 112.144), ( 0, 16.7142, 90) );
    	level.boxes[9] = findiBox( ( 485.919, 313.949, 110.182), ( 0, 16.7142, 90) );
    	level.boxes[10] = findiBox( ( 445.919, 277.949, 110.182), ( 0, 73.7142, 90) );
    	level.boxes[11] = findiBox( ( 504.868, 21.2716, 110.0192), ( 0, 15.1929, 0) );
    	level.boxes[12] = findiBox( ( 504.868, 21.2716, 180.0192), ( 0, 15.1929, 0) );
    	level.boxes[13] = findiBox( ( 474.868, 112.2716, 110.0192), ( 0, 15.1929, 0) );
    	level.boxes[14] = findiBox( ( 474.868, 112.2716, 180.0192), ( 0, 15.1929, 0) );
    	level.boxes[15] = findiBox( ( 455.868, 202.2716, 110.0192), ( 0, 15.1929, 0) );
    	level.boxes[16] = findiBox( ( 455.868, 202.2716, 180.0192), ( 0, 15.1929, 0) );
    	level.boxes[17] = findiBox( ( -522.682, 228.707, 105.307), ( 0, -23.0937, 90) );
    	level.boxes[18] = findiBox( ( -485.97, 220.413, 105.307), ( 0, 74.0764, 90) );
    	level.boxes[19] = findiBox( ( -443.205, 262.622, 110.099), ( 0, -20.5296, 0) );
    	level.boxes[20] = findiBox( ( -443.205, 262.622, 180.099), ( 0, -20.5296, 0) );
    	level.boxes[21] = findiBox( ( -427.205, 332.622, 110.099), ( 0, -20.5296, 0) );
    	level.boxes[22] = findiBox( ( -427.205, 332.622, 180.099), ( 0, -20.5296, 0) );
    	level.boxes[23] = findiBox( ( -393.205, 397.622, 110.099), ( 0, -20.5296, 0) );
    	level.boxes[24] = findiBox( ( -393.205, 397.622, 180.099), ( 0, -20.5296, 0) );
    	level.boxes[25] = findiBox( ( -435.883, 453.466, 105.307), ( 0, -23.0937, 90) );
    	level.boxes[26] = findiBox( ( -396.97, 451.413, 105.307), ( 0, 74.0764, 90) );
    }
    INGAME VIDEO

    0 Not allowed! Not allowed!
    Last edited by PvtRyan; 02-16-2014 at 02:49 PM.


    PS4 Profile:

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 04:16 PM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.