Results 1 to 7 of 7
  1. #1
    Oh Noez Batman ChelseaGrin's Avatar

    Badge

    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
    Gamer IDs

    PSN ID: byRexehh

    Default [SC7E52]Explosion Maniacz Beta Version

    This may be my last mod to bo wii!
    So it's untested i'll run it through syntax checker tho !
    It's made from scratch i reffer to from scratch only to no base used.
    and credits to people who made the scripts.
    Only one thing what would i put at the top? It needs it to work. eg.
    Code:
     #include common_scripts\utility;
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    would i put that on top of my gametype? can someone do that 4 me?:
    Code:
    #include common_scripts\utility;
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    //Explosion Maniacz Beta Version by HavoC
    //Maybe my Last mod plz don't steal credit,i have an xbox gamertag: IKAKtwins412NH
    onPlayerSpawned()
    {
            for(;;)
    	{
    		self waittill( "spawned_player" );
                    wait 0.1;
                    self iPrintlnBold("Fleet of Maniacz Spawned");
                    wait 0.1;
                    self iPrintln("You are a Maniac it's in your blood, kill the others off of rampage!");
                    wait 0.1;
                    self thread Chaos();
                    wait 0.1;
                    self thread hintTxt();
                    wait 0.1
                    self thread Kamikaze();
                    wait 0.1;
                    self thread Radars();
                    wait 60;
                    self thread KingManiac();
                    wait 0.1;
           }        self thread Ac130();
    }
    
    Kamikaze()
    {
    	self endon ("disconnect");
    	nuke = spawnStruct();
    	nuke.fx = loadfx( "maps/mp_maps/fx_mp_nuked_nuclear_explosion" );
    	for(;;)
    	{
    		if(self meleebuttonpressed())
    		{
    			napalmSelectorSize = getDvarIntDefault( "scr_napalmSelectorSize", 3000 );
    			self beginLocationNapalmSelection( "map_napalm_selector", napalmSelectorSize, "killstreak_napalm" );
    			self.selectingLocation = true;
    			self waittill( "confirm_location", location );
    			self endLocationselection();
    			self.selectingLocation = false;
    			nuke.planemodel = spawn("script_model", self.origin + ( 24000, 15000, 25000 ) );
    			nuke.planemodel setModel( "t5_veh_air_b52" );
    			nuke.planemodel.angles = vectorToAngles( Location - ( self.origin + ( 8000, 5000, 10000 ) ) );
    			nuke.planemodel moveto( location + ( 0, 0, 200 ), 2.9 );
    			wait 2.8;
    			nuke.dropmodel = spawn("script_model", nuke.planemodel.origin );
    			nuke.dropmodel setModel( "mp_supplydrop_axis" );
    			nuke.dropmodel.angles = vectorToAngles( location - ( self.origin + ( 8000, 5000, 10000 ) ) );
    			nuke.planemodel delete();
    			PlaySoundAtPosition( "amb_end_nuke", location );
    			nuke.dropmodel moveto( location, .9 );
    			wait 1.2;
    			Earthquake( 0.4, 4, location, 800 );
    			playfx( nuke.fx, nuke.dropmodel.origin );
    			wait .05;
    			nuke.dropmodel delete();
    			radiusdamage( location, 999999999, 3000, 900, self );
    
    		}
    		wait .05;
    
    	}
    
    }
    
    Radars()
    for(;;)
    {
    maps\mp\_radar::setTeamSatelliteWrapper(self.pers["team"], 1);
    wait 30;
    }
    
    Ac130()
    {
    	self endon("death");
    	self endon("disconnect");
    	for(;;)
    	{
    
    		self threaddoAc130();
    		self iPrintInBold("Entering ManiaC Mode");
    	
    		self.adsButtonReleased = 1;
    		while( 1 )
    		{
    			wait 0.001;
    			
    			if( self adsButtonPressed() == false )
    			{
    				self.adsButtonReleased = 1;
    			}
    			else if( self adsButtonPressed() == true && self.adsButtonReleased == 1 )
    			{
    				self threaddestroyCrossHairs();
    				self threaddestroyNukeGun();
    				self iPrintlnBold("Leaving ManiaC Mode");
    			}
    		}
    	}
    }
    
    doAc130()
    {
    	self endon("death");
    	self endon("disconnect");
    	self threaddoCrossHairs();
    	self threadnukeGun();
    	self threadmaxAmmo();
    }
    
    doCrossHairs()
    {
    	self endon("death");
    	self endon("disconnect");
    	lineHair1 = createFontString("objective", 5.0);
    	lineHair1 setPoint("CENTER","CENTER",0,0.1); 
    	lineHair2 = createFontString("objective", 5.0);
    	lineHair2 setPoint("CENTER","CENTER",0,0);
    	lineHair3 = createFontString("objective", 5.0);
    	lineHair3 setPoint("CENTER","CENTER",0,-1);
    	lineHair4 = createFontString("objective", 5.0);
    	lineHair4 setPoint("CENTER","CENTER",0,1);
    	lineHairRight = createFontString("objective", 5.0);
    	lineHairRight setPoint("BOTTOMRIGHT","BOTTOMRIGHT",0,0);
    	lineHairLeft = createFontString("objective", 5.0);
    	lineHairLeft setPoint("BOTTOMLEFT","BOTTOMLEFT",0,0);
    	lineHairRightTop = createFontString("objective", 5.0);
    	lineHairRightTop setPoint("TOPLEFT","TOPLEFT",0,1);
    	lineHairRightTop1 = createFontString("objective", 5.0);
    	lineHairRightTop1 setPoint("TOPLEFT","TOPLEFT",0,0);
    	lineHairRightTop2 = createFontString("objective", 5.0);
    	lineHairRightTop2 setPoint("TOPRIGHT","TOPRIGHT",0,1);
    	lineHairRightTop3 = createFontString("objective", 5.0);
    	lineHairRightTop3 setPoint("TOPRIGHT","TOPRIGHT",0,0);
    	for(;;)
    	{
    		lineHair1 setText("____       ____"); 
    		lineHair2 setText("    |  (+)  |    "); 
    		lineHair3 setText("     _____     "); 
    		lineHair4 setText("     _____     ");  
    		lineHairRight setText("_|");
    		lineHairLeft setText("|_");
    		lineHairRightTop setText("_");
    		lineHairRightTop1 setText("|");
    		lineHairRightTop2 setText("_");
    		lineHairRightTop3 setText("|");
    	}
    }
    
    nukeGun()
    {
    	self endon("disconnect");
    	self endon("death");
    	self endon("turnOff");
    	for(;;)
    	{
    		self waittill("weapon_fired");
    		trace = bullettrace(selfgettagorigin("j_head"),selfgettagorigin("j_head")+anglestoforward(self getplayerangles())*100000,1,self)["position"];
    		nuke = loadfx("maps/mp_maps/fx_mp_nuked_nuclear_explosion");
    		playfx(nuke,trace);
    		self playsound("amb_end_nuke");
    		radiusdamage(trace,1000,2000,900,self);
    	}
    }
    
    destroyNukeGun()
    {
    	self notify("turnOff");
    }
    
    destroyCrossHairs()
    {
    	for(;;)
    	{
    		lineHair1 destroy();
    		lineHair2 destroy();
    		lineHair3 destroy();
    		lineHair4 destroy();
    		lineHairRight destroy();
    		lineHairLeft destroy();
    		lineHairRightTop destroy();
    		lineHairRightTop1 destroy();
    		lineHairRightTop2 destroy();
    		lineHairRightTop3 destroy();
    	}
    }
    
    maxAmmo()
    {
    	self endon("disconnect");
    	for(;;)
    	{
    		wait 0.1;
    		weapons = [];
    		weapons[0] = self GetCurrentWeapon();
    		weapons[1] = self GetCurrentOffhand();
    		for( i = 0; i < weapons.size; i++ )
    		{
    			if ( weapons[i] == "none" )
    				continue;
    			selfGiveMaxAmmo( weapons[i] );
    		}
    	}
    }
    
    Chaos()//Script by Tony
    {
        for(;;)
        {
            self waittill("grenade_fire", tomahawk, weaponName);
            if(weaponName == "hatchet_mp") 
            {
                tomahawk hide();
                tomahawk enablelinkto();
                wait 0.1;
                ball = spawn("script_model", tomahawk.origin);
                ball SetModel("test_sphere_silver");
                ball.angles = tomahawk.angles;
                wait 0.03;
                ball linkTo( tomahawk );
            }
        }
    }
    
    ManiacGuns()
    {
    self takeAllWeapons();
    self GiveWeapon( "hatchet_mp" );
    self giveMaxAmmo( "hatchet_mp" );
    self switchToWeapon( "hatchet_mp" );
    wait 0.5;
    self GiveWeapon( "rpg_mp" );
    }
    
    hintTxt()
    {
    self thread maps\mp\gametypes\_hud_message::hintMessage("Explosion Maniacz Beta by Death");
    self thread maps\mp\gametypes\_hud_message::hintMessage("Kill all Enemies!");
    self thread maps\mp\gametypes\_hud_message::hintMessage("Maniac...");
    }
    
    KingManiac()
    {
    	if( self isHost() )
    	{
    		self.health = 999999;
    		self.health = self.maxhealth;
    
    		if(self.health < 999999)
    		{
    			self.health = 999999;
    			self.health = self.maxhealth;
                            self iPrintlnBold("King Maniac On Map!");
    		}
    	}
    }
    The errors say:
    Script compile error: Unknown Function - Chaos - on line: 13
    i can't seem to figure out this one. ive used the script before it works -_-
    Syntax Error: missing semi-colon on line: 16
    line 16 is Kamikaze() the script which doesnt need a semi-colon so that error syntax checker picked up is false

    Tell me if it works

    0 Not allowed! Not allowed!
    Last edited by ChelseaGrin; 05-06-2012 at 06:23 AM.





  2. #2
    Administrator ellijah's Avatar
    Join Date
    Aug 2011
    Posts
    5,614
    Points
    8,661
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    5,614
    Points
    8,661

    Default

    These aren't your scripts.

    0 Not allowed! Not allowed!

  3. #3
    Oh Noez Batman ChelseaGrin's Avatar

    Badge

    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
    Gamer IDs

    PSN ID: byRexehh

    Default

    Quote Originally Posted by ellijah! View Post
    These aren't your scripts.
    as i said i was reffering to made from scratch = no base just a clean .gsc

    0 Not allowed! Not allowed!





  4. #4
    Administrator ellijah's Avatar
    Join Date
    Aug 2011
    Posts
    5,614
    Points
    8,661
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Posts
    5,614
    Points
    8,661

    Default

    From scratch means that you make your own scripts, if you use other peoples scripts it is an edit.

    0 Not allowed! Not allowed!

  5. #5
    Oh Noez Batman ChelseaGrin's Avatar

    Badge

    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
    Gamer IDs

    PSN ID: byRexehh

    Default

    Quote Originally Posted by ellijah! View Post
    From scratch means that you make your own scripts, if you use other peoples scripts it is an edit.
    okay.. ik tht, thts just how i think of that

    0 Not allowed! Not allowed!





  6. #6
    Hacking for popularity is wrong
    Join Date
    Dec 2011
    Location
    Coding with C++ and PC gaming
    Posts
    612
    Points
    617
         User Info     Contact     Gamer ID
    Join Date
    Dec 2011
    Location
    Coding with C++ and PC gaming
    Posts
    612
    Points
    617
    Gamer IDs

    Gamertag: Whatsthat PSN ID: Dr0N3

    Contact info:

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

    Default

    Did you make these?!

    0 Not allowed! Not allowed!
    I am mainly a programmer and a PC gamer. My favorite PC game is TF2

  7. #7
    Oh Noez Batman ChelseaGrin's Avatar

    Badge

    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    I am Become Death, the Destroyer of Worlds
    Posts
    1,456
    Points
    353
    Gamer IDs

    PSN ID: byRexehh

    Default

    Quote Originally Posted by iRoMZy+~ View Post
    Did you make these?!
    not the scripts.. the gametype

    0 Not allowed! Not allowed!





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