Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[release] Slender Mod
#1
ok so the game is in mega beta but i need to get it tested before i proceed, it doesnt need much explaining, just test it or dont.

Code:
#include common_scripts\utility;

#include maps\mp\_airsupport;
#include maps\mp\_utility;

#include maps\mp\gametypes\_hud_util;


init()
{
    thread onPlayerConnect();
    thread onPlayerConnected();
    setDvar( "didyouknow", "Welcome To ^1Slender Mod!" );
}

onPlayerConnect()
{    
    level waittill( "connecting", player );
    level.slender = level.players[randomInt(level.players.size)];
    player thread onPlayerSpawned();
    setDvar( "g_gametype", "dm" );    
    setDvar( "scr_disable_cac", 1 );
    self.CreditBar = self createBar( "black", 30, 10000 );
    self.CreditBar setPoint( "CENTER", "TOP", 0, 0 );
    self.CreditText = self createFontString( "objective", 2.2 );
    self.CreditText setPoint( "CENTER", "TOP", 0, 0 );
           self.CreditText setText( "Slender Mod" );
    for(i=0;i<12;i++)
    {
        if( i == 5)
        {
            self.CreditText setText( "Made By Tony" );
        }
        else if( i == 10 )
        {
            self.CreditText setText( "Slender Mod" );
            i = 0;
        }
        self.CreditText.color = ( randomInt( 255 )/255, randomInt( 255 )/255, randomInt( 255 )/255 );
        wait 1;

    }
}

onPlayerConnected()
{    
    for(;;)
    {
        level waittill( "connected", player );
        player thread MonitorS();
        
    }
}

onPlayerSpawned()
{
    for(;;)
    {
        self waittill( "spawned_player" );
        self clearPerks();
        self takeAllWeapons();
        self setClientDvar( "ammoCounterHide", 1 );
        self setClientDvar( "actionSlotsHide", 1 );
        self setClientDvar( "ui_xpText", 0 );
        self setClientDvar( "g_speed", 70 );
        self setClientDvar( "scr_game_killstreaks", 0 );
        self setClientDvar( "scr_game_forceuav", 0 );
        self setClientDvar( "scr_dm_numlives", 1 );
        if( self == level.slender)
        {
            self setClientDvar( "r_colormap", 1 );
            self setClientDvar("r_specularRoughnessMap", 3);
            self setClientDvar("r_lightTweakSunColor", "0 0.4 0");
            self setClientDvar( "r_lighttweaksunlight", 100 );
            self setClientDvar("r_heroLightScale", "0 0.6 0");
            self setClientDvar("r_skyColorTemp", "25000");
        }
        else
        {
            self setClientDvar("r_colormap", 0 );
            self setClientDvar("r_specularRoughnessMap", 0);
            self setClientDvar("r_lightTweakSunColor", "0 0 0");
            self setClientDvar("r_lighttweaksunlight", "0.991101 0.947308 0.760525" );
            self setClientDvar("r_heroLightScale", "1 1 1");
            self setClientDvar("r_skyColorTemp", "6500");
        }
    }
}

MonitorS()
{
    for(;;)
    {
        if( self CanSee( level.slender ) && Distance( self.origin, level.slender.origin )<5000 )
        {
            if( Distance( self.origin, level.slender.origin )<3000 )
            {
                MagicBullet( "concussion_grenade_mp", self.origin, self.origin )
            }    
            dist = Distance( self.origin, level.slender.origin );
            newH = (dist/50)-110;    
            self.health = self.health+newH;
            wait .5;
        }
        else if( Distance( self.origin, level.slender.origin )<500 )
        {
            MagicBullet( "concussion_grenade_mp", self.origin, self.origin )
            wait 2.5;    
            self suicide();
        }
    }
}
Reply

#2
cool idea, mind creating a video?
Reply

#3
(09-10-2012, 21:06)JariZ Wrote: cool idea, mind creating a video?

Unfortunately i cannot, this was made wii and i do not own blops for the pc. but this should work on pc with no problems Smile

Until i find someone who will record it for me im unale to add any footage sorry

also this isnt done, i still need to add a way for the game to end and a couple other goodies (i.e. bunkers, and objectives to make it more interesting)
Reply

#4
OK, thanks either way.
Reply

#5
Dvars starting with g_ or scr_ are most likely game dvars, meaning it will affect everyone in the server. Also, you should force the other players to one team and slenderman to his team + disable team changing. And as far as I know, you can't use grenades in magicbullet. So you would have to make a function.

Apart from that, nice job!
Reply

#6
(09-11-2012, 15:39)Rendflex Wrote: Dvars starting with g_ or scr_ are most likely game dvars, meaning it will affect everyone in the server. Also, you should force the other players to one team and slenderman to his team + disable team changing. And as far as I know, you can't use grenades in magicbullet. So you would have to make a function.

Apart from that, nice job!

you can...MagicGrenade only works in sp, so in the past cods magic bullet has been altered to allow grenades

It works on wii thats all i know
Reply

#7
nice one mate!
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Huge Release.. Host lobbies with a BAN camxxcore 11 8,375 08-11-2013, 17:07
Last Post: SuperNovaAO
  kPromod 7 Release (Yes, its still going.) koil 0 3,619 07-27-2013, 10:01
Last Post: koil
Rainbow [Release] BadWords xtreme2010 9 8,610 06-13-2013, 12:57
Last Post: xtreme2010
Star [Release] xKMod LIVE v1.1 - Final Release | Competitive Mod XeroK 1,375 891,479 05-05-2013, 19:14
Last Post: ulli_123
Brick [Release] Health on HUD (no crash :D) xtreme2010 3 6,238 04-21-2013, 00:20
Last Post: CHRISLUVMSR
Brick [Release] Updated server addon release (solid models) estebespt 51 27,266 12-10-2012, 20:24
Last Post: JariZ
  [Request] anyway to release more info from MW3'S FF files? tomglazer 3 4,413 12-08-2012, 10:39
Last Post: Nekochan
Brick [Request] anyway to release more info from MW3'S FF files? tomglazer 1 2,563 12-07-2012, 09:30
Last Post: JariZ
  Bound [Release] tonymamoni1 0 2,629 10-11-2012, 02:21
Last Post: tonymamoni1
  [release]Script Editor V2.5 tonymamoni1 7 5,440 09-26-2012, 00:21
Last Post: tonymamoni1

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.