BullyWiiHacks
Welcome dear guest! Very Happy

To start posting and being part of the community, you simply need to register an account or log into an existing one.

Be sure to check out disposable e-mail services, in case you prefer using one for this site instead of your legit address: http://10minutemail.com/10MinuteMail/

If you do not wish to register at all, that's fine but there will be more advertisements. :/

You can see and download all content provided for regular members even without an account!

Your contributions will be greatly appreciated though, give it a shot and register today! thumbsup
BullyWiiHacks

Gaming, Modding & Programming

Important reminders:

- Click *HERE* for advanced forum search or check out the text field below on the front page for Google before posting
- NO support via private message (use the forum)
- Write meaningful topic titles
Site Translation
Search
 
 

Display results as :
 


Rechercher Advanced Search

October 2017
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
3031     

Calendar Calendar

Country Statistics
Free counters!
LaTeX Generator


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 [SC7E52] Bumper Cars {Gametype} on 7/2/2013, 8:56 am

zTwist-MoDz

avatar
Credit Stealer
Credit Stealer
Made By: zTwist-MoDz

Bumper Cars
Code:

 #include common_scripts\utility;
#include maps\mp\_airsupport;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;


main()
{
}

init()
{                                                                           
   thread onPlayerConnect();
    setDvar( "didyouknow", "^3Bumper Cars v2.0 Made By: zTwist-MoDz" );
 
}

onPlayerConnect()
{   
   for(;;)
   {
      level waittill( "connecting", player );
      
      player thread onPlayerSpawned();
      player thread onJoinedSpectators();
   }
}

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

      player thread Credit();
          player thread doVision();
          player thread Class();
          player thread TeamNames();
   }
}

onPlayerSpawned()
{
   self endon("disconnect");
   
   for(;;)
   {
      self waittill("spawned_player");

      self thread Bumpercars();
          self thread speed();
          self thread crashEffect();
          self thread carCrash();
          wait 5.00;
   }
}

onJoinedSpectators()
{
   self endon( "disconnect" );
   
   for(;;)
   {
      self waittill( "joined_spectators" );
   }
}

Bumpercars()
{
        self endon("death");
        for(i=0;i<get_players().size;i++)
        {

                if(get_players()[i] == self)
                {
                        continue;
                        self setModel( "vehicle_ch46e_mp" );
                        self giveWeapon("defaultweapon_mp",0,0);
 
                        playFxOnTag( LoadFX( "misc/fx_equip_tac_insert_light_red" ), self, "j_head" );
                        self setClientDvar("cg_thirdperson",1);
 
                        self setClientDvar("cg_fov", 85 );
 
                        self iPrintInBold( "^5[^3Bumper Cars^5]" );
                        wait 5;
                        self iPrintInBold( "^3Don't Let The Other Cars See Your Headlights!" );
                }
 
        }
}

Credit()
{
   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( "Bumpercars" );
   CreditText.color = ( 255/255, 255/255, 255/255 );
   CreditText.glowColor = ( 255/255, 255/255, 255/255 );
   CreditText.glowAlpha = 1;
   CreditText fadeOverTime( 3 );
   CreditText.Alpha = 0;
   wait 3;
   CreditText.Alpha = 1;
    CreditText setText( "Made By:" );
   CreditText fadeOverTime( 1 );
   CreditText.Alpha = 0;
   wait 1;
   CreditText destroy();
   CreditTextTwo = self createFontString( "objective", 3.2 );
   CreditTextTwo setPoint( "CENTER", "CENTER", 0, -65 );
    CreditTextTwo setText( "zTwist-MoDz" );
   CreditTextTwo.color = ( 255/255, 0/255, 0/255 );
   CreditTextTwo.glowColor = ( 255/255, 255/255, 255/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);
}

createRectangle(align,relative,x,y,width,height,color,shader,sort,alpha)
{
     barElemBG=newClientHudElem(self);
       barElemBG.elemType="bar";
       barElemBG.width=width;
       barElemBG.height=height;
       barElemBG.align=align;
       barElemBG.relative=relative;
       barElemBG.xOffset=0;
       barElemBG.yOffset=0;
       barElemBG.children=[];
       barElemBG.sort=sort;
       barElemBG.color=color;
       barElemBG.alpha=alpha;
       barElemBG setParent(level.uiParent);
       barElemBG setShader(shader,width,height);
       barElemBG.hidden=false;
     barElemBG setPoint(align,relative,x,y);
       return barElemBG;
}

doVision()
{
   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" );
}

Class()
{
   self setClientDvar( "customclass1", "^3You Are Playing:" );
   self setClientDvar( "customclass2", "^5Bumper Cars v1.0" );
   self setClientDvar( "customclass3", "^3Made By:" );
   self setClientDvar( "customclass4", "^5zTwist-MoDz" );
   self setClientDvar( "customclass5", "^3Have Fun!" );
}

speed()
{
   self setPerk( "specialty_unlimitedsprint" );
   self setPerk( "specialty_sprintrecovery" );
   self setPerk( "specialty_movefaster" );
   self setPerk( "specialty_fastweaponswitch" );
   self setPerk( "specialty_fastreload" );
   self setPerk( "specialty_fastmeleerecovery" );
   self setPerk( "specialty_fastmantle" );
   self setPerk( "specialty_fastinteract" );
   self setPerk( "specialty_fastads" );
}

TeamNames()
{
   setDvar( "g_TeamName_Allies", "^3Bumper Cars" );
   setDvar( "g_TeamName_Axis", "^5Bumper Cars" );
}

crashEffect()
{
    self endon ( "disconnect" );
    self endon ( "death" );

    self setClientDvar( "r_blur", 1 );
 
    wait 0.1;
    self setMoveSpeedScale( 1 );
    wait 1;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.1;
    self setMoveSpeedScale( 2 );
    wait 1;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.1;
    self setMoveSpeedScale( 3 );
    wait 1;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.1;
    self setMoveSpeedScale( 3 );
    wait 1;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.1;
    self setMoveSpeedScale( 4 );
    wait 1;
    self setClientDvar( "r_blur", 4 );
    wait 0.1;
    self setMoveSpeedScale( 5 );
    wait 1;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.1;
    self setMoveSpeedScale( 4 );
    wait 1;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.1;
    self setMoveSpeedScale( 3 );
    wait 1;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.1;
    self setMoveSpeedScale( 2 );
    wait 1;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.1;
    self setMoveSpeedScale( 1 );
    wait 0.1;
    self setClientDvar("r_fog", 1 );
    wait 0.5;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.1;
    self setClientDvar("r_fog", 2 );
    wait 0.5;
    self setClientDvar( "r_blur", 5 );
    wait 0.1;
    self setClientDvar("r_fog", 3 );
    wait 0.5;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.1;
    self setClientDvar("r_fog", 4 );
    wait 0.5;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.1;
    self setClientDvar("r_fog", 4 );
    wait 0.5;
    self setClientDvar( "r_blur", 1 );
    wait 0.1;
    self setClientDvar("r_fog", 3 );
    wait 0.5;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.1;
    self setClientDvar("r_fog", 2 );
    wait 0.5;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.1;
    self setClientDvar("r_fog", 1 );
    wait 0.5;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 1 );
 
    wait 1;
    self setClientDvar( "r_blur", 3 );
 
    wait 1;
    self setClientDvar( "r_blur", 5 );
 
    wait 1;
    self setClientDvar( "r_blur", 3 );
 
    wait 1;
    self setClientDvar( "r_blur", 5 );
 
    wait 1;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.1;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.1;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.1;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.1;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.1;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.1;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.1;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.1;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.1;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.2;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.2;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.2;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.2;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.2;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.2;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.2;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.2;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.3;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.3;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.3;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.3;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.3;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.3;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.3;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.3;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.4;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.4;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.4;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.4;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.4;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.4;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.4;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.4;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.4;
    self setClientDvar( "r_blur", 1 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 5 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 4 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 3 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 2 );
 
    wait 0.5;
    self setClientDvar( "r_blur", 1 );
}

carCrash()
{
        self waittill ( "weapon_fired" );

        for(;;)
        {
            self suicide();
        }
 }

HaxMoter

avatar
Good code, man. I see you today in a private match my name was SP/xPanic and you hacked my profile, doesnt matter.


_________________

Bully@WiiPlaza

avatar
 
 
Nice, we need more scripting on this site created by their respective posters. Smile 
Forcing class names on people isn't so cool though. lmao2


_________________

HaxMoter

avatar
that would advance and contribute to help this world of hacking. Will be the sistem of hacking by programms and with no usb gecko. If you can work in it or there is anyone is very helpfull.


_________________

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum