Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31
  1. #1
    Formally known as Tlpwnzer KazzababeGamer's Avatar
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427

    Default [Release]Monkey Bomb - Untested

    //Put preCacheModel( "global_explosive_barrel" ); in init()

    Code:
    monitorThrow()
    {
    	self endon( "death" );
    	
    	for(;;)
    	{
    		self waittill ( "grenade_fire", grenade, weapname );
    		
    		if( weapname == "frag_grenade_mp" )
    		{
    			Monkey = spawn( "script_model", grenade.origin );
    			Monkey setModel( "global_explosive_barrel" );
    			Monkey linkTo( grenade );
    			Monkey thread monitorDistanceToMonkey();
    			Monkey thread watchAngles( grenade );
    			grenade waittill( "explode", position, surface );
    			self RadiusDamage( position, 500, 1000, 500, self );
    			PlayFX( level._equipment_explode_fx, Monkey.origin );
    			Monkey delete();
    			Monkey notify( "stop_explode" );
    		}
    	}
    }
    
    watchAngles( grenade )
    {
    	self endon( "stop_explode" );
    	
    	for(;;)
    	{
    		self.angles = grenade.angles;
    		wait 0.01;
    	}
    }
    
    monitorDistanceToMonkey()
    {
    	self endon( "stop_explode" );
    
    	for(;;)
    	{
    		for( i = 0; i < level.players.size; i++ )
    		{
    			player = level.players[i];
    			if( distance( self.origin, player.origin ) < 500 && player.pers["team"] == "axis" && player.isZombie == true )
    			{
    				player moveTo( self.origin, 4 );
    			}
    		}
    		wait 0.01;
    	}
    }
    You can make your own type of grenades like this, They did it somewhat like this in the actual zombies for The monkey bomb

    0 Not allowed! Not allowed!

  2. #2
    Member Tech~Tac's Avatar
    Join Date
    Jun 2011
    Location
    East St.Louis
    Posts
    155
    Points
    273
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    East St.Louis
    Posts
    155
    Points
    273
    Gamer IDs

    Gamertag: CarribouL0U

    Contact info:

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

    Default

    waitwaitwait. what exactly is this supposed to do?

    0 Not allowed! Not allowed!

  3. #3
    Formally known as Tlpwnzer KazzababeGamer's Avatar
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427

    Default

    You throw a frag grenade, and if the the other team is close enough they move towards it and after 5 seconds it explodes
    You have to change it a bit as its optimized for my zombie mod

    0 Not allowed! Not allowed!

  4. #4
    Member Tech~Tac's Avatar
    Join Date
    Jun 2011
    Location
    East St.Louis
    Posts
    155
    Points
    273
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    East St.Louis
    Posts
    155
    Points
    273
    Gamer IDs

    Gamertag: CarribouL0U

    Contact info:

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

    Default

    ohh so it forces them in no matter what?

    0 Not allowed! Not allowed!

  5. #5
    Wii Coder
    ChumLee's Avatar

    Badge

    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,390
    Points
    7,613
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    'Murica
    Posts
    5,390
    Points
    7,613
    Gamer IDs

    Gamertag: TERR0Rx9

    Contact info:

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

    Default

    This sounds cool.

    0 Not allowed! Not allowed!


  6. #6
    Evolved Modder
    Living Liek Larry
    tony's Avatar
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,309
    Points
    10,700
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Listen, strange women lyin' in ponds distributin' swords is no basis for a system of government.
    Posts
    6,309
    Points
    10,700
    Gamer IDs

    PSN ID: L33T_T0ny Steam ID: ToNy Wii Code: L33T_T0ny

    Default

    iff it works imm adding to the semtex killer script from rtd and addin it to rewind modz

    0 Not allowed! Not allowed!

  7. #7
    Banned
    Join Date
    May 2011
    Posts
    61
    Points
    154
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    61
    Points
    154

    Default

    Didnt Work 4 me

    0 Not allowed! Not allowed!

  8. #8
    Wii Modder
    I AM BEAST
    JellyInjector's Avatar
    Join Date
    Apr 2011
    Posts
    598
    Points
    1,088
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Posts
    598
    Points
    1,088

    Default

    nice job... never thought of attaching a model to the grenade... good thinking

    0 Not allowed! Not allowed!

  9. #9
    Formally known as Tlpwnzer KazzababeGamer's Avatar
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    2,947
    Points
    5,427

    Default

    Quote Originally Posted by 2much4u View Post
    Didnt Work 4 me
    Did you preCacheModel() ?

    0 Not allowed! Not allowed!

  10. #10
    Banned
    Join Date
    May 2011
    Posts
    61
    Points
    154
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Posts
    61
    Points
    154

    Default

    Ya And I did self thread monitorThrow(); on onplayerspawn

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