Results 1 to 6 of 6
  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]Slenderman survivial v1

    Here is me and ChrisG's gametype called Slenderman Survival. Chris started out with the classes and vision mod, then I took over and entered all the rest, also he did the perks and weapons. It's v1 because I will be adding more notes and fixing the bugs that will be listed.

    Gametype:Team Deathmatch
    Rules:Survive for 4 minutes and you win!
    Bugs:*in v2 ill make it so when you collect all the notes you can kill slenderman*
    Teams:Slenderman vs Victims
    Credits:
    JellyInjector - I needed to use his Chaos dog hidden suitcase script for my notes.
    CheeseToast - I give him credit for the flashlights for the victims and the settings he made first before me.
    PvtRyan - I made this whole mod happen and went through many errors to finally get to this conclusion and most scripts are mine in there anyways that i had to make, like the configuration for the game and the ending game scripts too.
    ChrisG(Atmosphere) - Had the whole idea of the gametype, made the classes, and did the settings.

    Code:
    //Slenderman Survival
    //Made by: xPvtRyanx and xAtmospherex
    //Credit to: 
    //CheeseToast for Flashing Lights
    //JellyInjector for Notes from Chaos Dogs
    
    #include common_scripts\utility;
    
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    
    #include maps\mp\gametypes\_hud_util;
    
    
    //Get all note locations
    
    init()
    {
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    	thread gameConfig();
    	setDvar( "onlinegame", 1 );
    	setDvar( "xblive_privatematch", 0 );
    	thread setupMap();
    	thread foundThem();
    }
    
    onPlayerConnect()
    {	
    	for(;;)
    	{
    		level waittill( "connecting", player );
                    player thread onPlayerSpawned();
                    player thread setupVision();
    		player thread Notes();
            }
    }
    
    onPlayerConnected()
    {	
    	for(;;)
    	{
    		level waittill( "connected", player );
    		player thread Classes();
    		player [[level.allies]]();
    		player thread Dvars();
    		player thread slenWin();
    		player thread humansWin();
    		player thread hWin();
    		player thread killSlenderman();
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
    		self thread playerConfig();
            }
    }
    
    Dvars()
    {
    	setDvar( "g_TeamName_Allies", "^2Victims" );
    	setDvar( "g_TeamName_Axis", "^1Slenderman" );
    	setDvar( "scr_" + getDvar( "g_gametype" ) + "_scorelimit", 0 );
    	setDvar( "scr_" + getDvar( "g_gametype" ) + "_timelimit", 0 );
    	setDvar( "scr_disable_weapondrop", 1 );
    	wait 1;
    	self setClientDvar( "scr_game_killstreaks", 0 );
            self setClientDvar("scr_game_forceuav" , "0" );
            self setClientDvar("g_compassShowEnemies" , "0" );
            self setClientDvar("compassRadarUpdateTime" , "0" );
    	wait 1;
            self setClientDvar("compassEnemyFootstepEnabled" , "0" );
            self setPerk("specialty_gpsjammer");
    	setDvar( "scr_game_killstreaks", 0 );
    	setDvar( "g_gametype", "tdm" );
    	level.SlenFound = 0;
    }
    
    setupVision()
    {
    	setExpFog( 2, 285, 74/255, 7/255, 14/255, 10 );
    	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" );
    }
    
    hSettings()
    {
    	self endon ( "disconnect" );
    		
    	self.maxhealth = 200;
    	self.health = self.maxhealth;	
    				
    	self freeze_player_controls( false );
    }
    
    hPerks()
    {
    	self endon ( "disconnect" );
    
    	self clearPerks();
    	self setPerk("specialty_unlimitedsprint");
    }
    
    Classes()
    {
    	self setClientDvar( "customclass1", "^9You" );
    	self setClientDvar( "customclass2", "^9Are" );
    	self setClientDvar( "customclass3", "^9Playing" );
    	self setClientDvar( "customclass4", "^9Slender" );
    	self setClientDvar( "customclass5", "^9Man" );
    	self setClientDvar( "prestigeclass1", "^9Created");
    	self setClientDvar( "prestigeclass2", "^9by");
    	self setClientDvar( "prestigeclass3", "^9PvtRyan");
    	self setClientDvar( "prestigeclass4", "^9and");
    	self setClientDvar( "prestigeclass5", "^9xAtmospherex");
    }
    
    playerConfig()
    {
    	if( self.pers["team"] == "allies" )
    	{
    		self thread hLights();
    		wait 0.1;
    		self thread hSettings();
    		wait 0.1;
    		self thread hPerks();
    		wait 0.1;
    		self thread hGuns();
    		wait 23;
    		self thread slenKilled();
    	}
    
    	if( self.pers["team"] == "axis" )
    	{
    		self thread sPerks();
    		wait 0.1;
    		self thread sGuns();
    		wait 0.1;
    		self thread slenderSettings();
    		wait 0.1;
    		self thread unlConc();
    	}
    }
    
    hLights()
    {
    	self endon ( "disconnect" );
    	self endon ( "death" );
    
    	for(;;)
    	{
    		playFxOnTag( LoadFX( "misc/fx_equip_tac_insert_light_red" ), self, "tag_weapon_left" );
    		playFxOnTag( LoadFX( "misc/fx_equip_tac_insert_light_red" ), self, "tag_weapon_right" ); 
    		wait 0.75;			 
    	}
    }
    
    sGuns()
    {
    	self takeAllWeapons();
    	self giveWeapon( "knife_ballistic_mp" );
    	self takeWeapon( "knife_mp" ); 					
    	self giveWeapon( "concussion_grenade_mp" );
    	self switchToWeapon( "knife_ballistic_mp" );
    	self SetWeaponAmmoClip( "knife_ballistic_mp", 0 );   
    	self SetWeaponAmmoStock( "knife_ballistic_mp", 0 );
    }
    
    unlConc()
    {
    	self endon( "disconnect" );
    
    	for(;;)
    	{
    		if(self SecondaryOffHandButtonPressed())
    		{
    			self SetWeaponAmmoStock("concussion_grenade_mp", 1 );	
    		}
    
    	wait 0.1;
    	}
    }
    
    slenderSettings()
    {
    	self endon ( "disconnect" );
    		
    	self.maxhealth = 500000;
    	self.health = self.maxhealth;	
    				
    	self freeze_player_controls( false );
    }
    
    sPerks()
    {
    	self endon ( "disconnect" );
    
    	self clearPerks();
            self setPerk("specialty_fastmantle");
            self setPerk("specialty_movefaster"); 
            self setPerk("specialty_fallheight");
            self setPerk("specialty_gpsjammer"); 
            self setPerk("specialty_noname");
    	self setPerk("specialty_fastmeleerecovery");
    	self setPerk("specialty_stunprotection");
    }
    
    hGuns()
    {
    	self takeAllWeapons();
    	self giveWeapon( "knife_ballistic_mp" );
    	self switchToWeapon( "knife_ballistic_mp" );
    	self SetWeaponAmmoClip( "knife_ballistic_mp", 0 );   
    	self SetWeaponAmmoStock( "knife_ballistic_mp", 0 );
    }
    
    killSlenderman()
    {
    	if( self.pers["team"] == "axis" )
    	{
    		level waittill( "all_notes_collected" );
    		self.maxhealth = 200;
    		self.health = self.maxhealth;
    	}
    }
    
    humansWin()
    {
    	win = self createFontString( "objective", 1.5 );
    	win setPoint( "CENTER", "CENTER", 170, -170 );
    
    	for( slen = 240; slen > 0; slen-- )
    	{
    		win setText("^2Humans will win in: ^1" + slen);
    		wait 1;
    	}
    	win destroy();
    	self thread humanWinText();
    	thread maps\mp\gametypes\_globallogic::forceEnd( false );
    }
    
    slenWin()
    {	
    	self endon ( "disconnect" );
    
    	wait 15;
    	for(;;)
    	{
    		if( level.aliveCount["allies"] == 0 )
    		{
    			thread maps\mp\gametypes\_globallogic::forceEnd( false );
    			self thread slenWinText();
    		}
    
    	wait 0.1;
    	}
    }
    
    hWin()
    {	
    	self endon ( "disconnect" );
    
    	wait 50;
    	for(;;)
    	{
    		if( level.aliveCount["axis"] == 0 )
    		{
    			thread maps\mp\gametypes\_globallogic::forceEnd( false );
    			self thread humanWinText();
    		}
    
    	wait 0.1;
    	}
    }
    
    humanWinText()
    {
    	EndGame = self createFontString( "objective", 2 );
    	EndGame setPoint( "CENTER", "CENTER", 0, 0 );
    	EndGame setText( "Humans have survived against Slenderman!" );
    }
    
    slenWinText()
    {
    	EndGame = self createFontString( "objective", 2 );
    	EndGame setPoint( "CENTER", "CENTER", 0, 0 );
    	EndGame setText( "Slenderman Killed All Victims!" );
    }
    
    slenKilled()
    {	
    	self endon ( "disconnect" );
    	
    	self waittill( "death" );
    	self [[level.spectator]]();
    }
    
    Notes()
    {
    	self.note = 0;
    }
    
    gameConfig()
    {
    	slender = createServerFontString( "extrabig", 1.8 );
    	slender setPoint( "CENTER", "CENTER", 0, -40 );
    
    	for( i = 20;i > -1;i-- )
    	{
    		slender setText("^9Slenderman will be chosen in ^1" + i + " ^9seconds");
    		wait 1;
    	}
    
    	slender destroy();
    	slen = randomInt( level.players.size );
    	level.players[slen] thread slenderFound();
    }
    
    slenderFound()
    {
    	self [[level.axis]]();
            wait 5;
    	self iPrintlnBold("You are Slenderman");
    }
    
    createNote( pos, angle )
    {
    	self endon( "Found_Note" );
            note = spawn( "script_model", pos );
            note setModel( "prop_suitcase_bomb" );
            note.angles = angle;
    	note thread noteFound();
    	note destroy();
    }
    
    setupMap()
    {
    	switch( getDvar("mapname") ) 
    	{
    		case "mp_havoc":
    			level.notes[1] = createNote( ( 2188.48, -2376.75, 277.125), (0, 195, 0) );	
    			level.notes[2] = createNote( ( 518.619, -2136.88, 118.211), (0, 195, 0) );		
    			level.notes[3] = createNote( ( 1612.84, -920.972, 476.22), (0, 195, 0) );
    			level.notes[4] = createNote( ( 1704.74, -250.793, 81.2288), (0, 195, 0) );	
    			level.notes[5] = createNote( ( 1274.87, 1720.8, 286.034), (0, 195, 0) );
    			level.notes[6] = createNote( ( 3038.38, 354.436, 265.903), (0, 195, 0) );
    			level.notes[7] = createNote( ( 2718.82, -599.489, 284.125), (0, 195, 0) );	
    			level.notes[8] = createNote( ( 1656.32, -131.353, 270.125), (0, 195, 0) );
    			break;
    		case "mp_nuked":
    			level.notes[1] = createNote( ( 1389.23, 541.583, 12.125), (0, 195, 0) );	
    			level.notes[2] = createNote( ( 509.876, 178.867, 78.3216), (0, 195, 0) );		
    			level.notes[3] = createNote( ( 30.7138, -552.444, -66.6319), (0, 195, 0) );
    			level.notes[4] = createNote( ( -63.1991, 792.194, -8.7858), (0, 195, 0) );	
    			level.notes[5] = createNote( ( 577.313, 968.85, -63.4313), (0, 195, 0) );
    			level.notes[6] = createNote( ( 600.818, 315.722, -56.875), (0, 195, 0) );
    			level.notes[7] = createNote( ( 90.2346, 343.208, -37.875), (0, 195, 0) );	
    			level.notes[8] = createNote( ( -1408.93, -10.8496, -63.875), (0, 195, 0) );
    			break;
    	}
    }
    
    foundThem()
    {
    	if( self.pers["team"] == "allies" )
    	{
    		for( i = 1; i < 9; i++ )
    		{
    			level waittill( "note_pickup" );
    			iPrintlnBold( "That is ^1" + i + "^7/8" );
    		}
    		level notify( "all_notes_collected" );
    		slenText = createServerFontString( "extrabig", 1.5 );
    		slenText setPoint( "CENTER", "CENTER", 0, -40 );
    		slenText setText( "Slenderman was abused as a child  \n\n and vowed to kill anyone. \n\n His weakness is all these notes. \n\n The notes are pages from his journel. \n\n Now that you have all of them, \n\n You can now kill him.\n\n He is now human." );
    		wait 15;
    		slenText destroy();
    	}
    }
    
    noteFound()
    {
    	self endon( "Found_Note" );
    
    	for(;;)
    	{
    		while(isDefined(level.players) && self.pers["team"] == "allies")
    		{
                            for(i=0;i<level.players.size;i++)
    			{
                                    if( distance(self.origin, level.players[i].origin) <= 200 && distance(level.players[i] aim(), self.origin) <= 100 && self.pers["team"] == "allies")
    				{
    					if(level.players[i] useButtonPressed() && self.pers["team"] == "allies") 
    					{
    						wait 0.5;
    						if(level.players[i] useButtonPressed() && self.pers["team"] == "allies")
    						{
    							level notify( "note_pickup" );
    							self notify( "Found_Note" );
    						}
    					}
    				}
    				wait 0.01;
    			}
    			wait 0.1;
    		}
    		wait 1;
    	}
    }
    
    aim()
    {
    	location = bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*100000,1,self)["position"];
    	return location;
    }

    1 Not allowed! Not allowed!
    Last edited by PvtRyan; 06-30-2013 at 01:42 PM.


    PS4 Profile:

  2. #2
    Banned

    Badge

    Join Date
    Dec 2012
    Location
    Barcelona Spain
    Posts
    4,204
    Points
    6,659
         User Info     Contact     Gamer ID
    Join Date
    Dec 2012
    Location
    Barcelona Spain
    Posts
    4,204
    Points
    6,659

    Default

    Good job man keep up the good work

    0 Not allowed! Not allowed!

  3. #3
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    Very good. I'm glad you're keeping up with the wii section. You need to readd back on Black Ops when we get the chance, haha.

    0 Not allowed! Not allowed!
    #gamedevelopment


  4. #4
    Art Corner Moderator MejaiDesigns's Avatar
    Join Date
    Jun 2012
    Posts
    3,997
    Points
    1,612
         User Info     Contact     Gamer ID
    Join Date
    Jun 2012
    Posts
    3,997
    Points
    1,612

    Contact info:

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

    Default

    Looks cool, I would so use this if I still played wii.

    0 Not allowed! Not allowed!

  5. #5
    LGND
    LGND's Avatar

    Badge

    Join Date
    Apr 2012
    Location
    On Highrise crane about to hit a shot
    Posts
    1,361
    Points
    253
         User Info     Contact     Gamer ID
    Join Date
    Apr 2012
    Location
    On Highrise crane about to hit a shot
    Posts
    1,361
    Points
    253
    Gamer IDs

    Gamertag: oLGND

    Contact info:

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

    Default

    this might actually make me hook up my wii and start playing just for this! this sounds absolutely amazing!

    0 Not allowed! Not allowed!
    Quote Originally Posted by B.M.O View Post
    It's called being gay, welcome to the club.

  6. #6
    Jungler Strike's Avatar
    Join Date
    Apr 2011
    Location
    Gotham
    Posts
    6,312
    Points
    9,407
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Gotham
    Posts
    6,312
    Points
    9,407
    Gamer IDs

    PSN ID: xSTR11K3Rx Steam ID: xSTRiiK3Rx

    Contact info:

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

    Default

    Classes()
    {
    self setClientDvar( "customclass1", "^9You" );
    self setClientDvar( "customclass2", "^9Are" );
    self setClientDvar( "customclass3", "^9Playing" );
    self setClientDvar( "customclass4", "^9Slender" );
    self setClientDvar( "customclass5", "^9Man" );
    self setClientDvar( "prestigeclass1", "^9Created");
    self setClientDvar( "prestigeclass2", "^9by");
    self setClientDvar( "prestigeclass3", "^9PvtRyan");
    self setClientDvar( "prestigeclass4", "^9and");
    self setClientDvar( "prestigeclass5", "^9xAtmospherex");
    }

    Thats an asshole script

    0 Not allowed! Not allowed!

    ^Ty goober^
    Quote Originally Posted by xX_BiGFooTT_Xx View Post
    compensate my cock faggot

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