Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    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,302
    Points
    10,689
         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,302
    Points
    10,689
    Gamer IDs

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

    Default [untested beta] black ops predator missle

    i was bored and realized i haven't released any mods lately, i had an extra hour before i had to go school shopping so i came up with this

    it still is beta, and does not have a explode effect yet, its just the vision and the rocket control so far, but i cant test for reasons i dont find necessary to explain.

    the only feedback im looking for is if it works.... if the control for the rocket works, and if i should continue working on it.(im not going to finish a mod that no one is going to use)

    have fun testing

    Code:
    
    
    start_predator()
    {
    	level.spawnMaxs = ( 0, 0, 0 );
    	level.spawnMins = ( 0, 0, 0 );
    	level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter(level.spawnMins, level.spawnMaxs);
    	level.pred = spawn( "script_model", level.mapCenter+(0,0,3400));
    	level.pred setModel( "rpg_mp" );
    	level.pred.angles = self.angles-(0,0,90);
    	self.bor = self.origin;
    	self EnableInvulnerability();
        	self linkto(self.pred, "tag_origin", (-5, 0, 175), (0, 0, 0));
        	self hide();
        	self setClientUIVisibilityFlag("hud_visible", 0);
        	self.mcross = self createFontString("default", 2);
        	self.mcross setPoint("CENTER", "CENTER", 0, 0);
        	self.mcross setText("^1+");
    	VisionSetNaked( tvguided_mp, 0.5 );
    	self endon("predo");
    	for (;;) 
    	{
            	if(self.pred IsOnGround() != true)
    		{	
    			self.pred.angles = self.angles-(0,0,90);
            		self.pred moveto(self.pred.origin + anglestoforward(self.pred.angles) * 20, 0.015);
            		wait 0.01;
    		}
    		else
    		{
    			self.mcross destroy();
    			self notify("predo");
    			self.pred delete();
    			wait 0.5;
    			self unlink();
    			self show();
        			self setClientUIVisibilityFlag("hud_visible", 1);
        			self setorigin(self.bor);
        			self DisableInvulnerability();
    			VisionSetNaked( getDvar( "mapname" ), 0.5 );
    		}
    			
        }
    }

    0 Not allowed! Not allowed!

  2. #2
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default

    Where would you add this in the menu?

    0 Not allowed! Not allowed!
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  3. #3
    mini mini's Avatar
    Join Date
    Aug 2011
    Location
    Minnesota
    Posts
    1,988
    Points
    2,840
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Minnesota
    Posts
    1,988
    Points
    2,840
    Gamer IDs

    PSN ID: minnesotastyle

    Contact info:

    Youtube Channel: www.youtube.com/user/codeleakerforums

    Default

    I can't test but it's a great idea. I hope you continue to work on it.

    0 Not allowed! Not allowed!


  4. #4
    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,302
    Points
    10,689
         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,302
    Points
    10,689
    Gamer IDs

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

    Default

    face palm.....

    as a function

    0 Not allowed! Not allowed!

  5. #5
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,981
    Points
    5,116
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default

    Quote Originally Posted by tony View Post
    face palm.....

    as a function
    Ok... I don't edit very well.

    0 Not allowed! Not allowed!
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  6. #6
    MonsterCat
    Insan3Lik3
    CheeseToast's Avatar
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169

    Contact info:

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

    Default

    I'm surprised, I thought you would have been as good as me 6 months ago due to you being so inactive since you said you quit Wii.
    But I gotta ask one thing..

    Code:
        level.spawnMaxs = ( 0, 0, 0 );
        level.spawnMins = ( 0, 0, 0 );
        level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter(level.spawnMins, level.spawnMaxs);
    You could just do..
    Code:
    ((0,0,0), (0,0,0));
    Or to make things even better...
    Code:
        level.pred = spawn( "script_model", (0,0,3400));
    You could have saved 4 lines of code if you did that.

    Btw, I have a feeling that this
    Code:
    self EnableInvulnerability();
    Is a custom function/script. I may be wrong, it may be built
    into the game, but I would just do the 2 line god mode thing.

    0 Not allowed! Not allowed!
    "It's better to lose an argument/debate then to win. Cause when you lose you grow as a person."
    -CheeseToast

  7. #7
    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,302
    Points
    10,689
         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,302
    Points
    10,689
    Gamer IDs

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

    Default

    For 1, i could have just added level.mapcenter or whatever because of the fact its a ingame variable,

    2 enableinvulnarability() is already built into the game,

    3 this is a beta and i wasnt looking to make it look clean and

    4, dont be on such a high horse your not as good as you think you are

    Sent from my Transformer TF101 using Tapatalk

    0 Not allowed! Not allowed!
    Last edited by tony; 08-10-2012 at 11:39 AM.

  8. #8
    Active Member Kenny*'s Avatar
    Join Date
    Mar 2012
    Posts
    531
    Points
    1,156
         User Info     Contact     Gamer ID
    Join Date
    Mar 2012
    Posts
    531
    Points
    1,156
    Gamer IDs

    Gamertag: HAXingPro PSN ID: TTG-RedDot

    Default

    i sat it looks good and im going to send feedback when i add it

    0 Not allowed! Not allowed!
    thanks to russ. Thank You
    Subscribe to my youtube channel please. Thank You
    WorkingNonHostGodMode.freeforums.org

  9. #9
    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,302
    Points
    10,689
         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,302
    Points
    10,689
    Gamer IDs

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

    Default

    Quote Originally Posted by CheeseToast View Post
    You could just do..
    Code:
    ((0,0,0), (0,0,0));
    Or to make things even better...
    Code:
        level.pred = spawn( "script_model", (0,0,3400));
    also i do not want it to spawn at 0,0,3400 i want it to spawn 3400 above the center of the map which is what it does when you do it the way i did

    0 Not allowed! Not allowed!

  10. #10
    Member
    Join Date
    Aug 2012
    Posts
    54
    Points
    125
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Posts
    54
    Points
    125

    Default

    Ok... I don't edit very well.
    Example:
    Code:
    self.playerDirOption[0][1][3] defineOption( "Predator Missle!", "function", 1, ::Predator );
    self.playerDirOption[0][1][4] = spawnStruct();
    Code:
    Predator()
    {
    	level.spawnMaxs = ( 0, 0, 0 );
    	level.spawnMins = ( 0, 0, 0 );
    	level.mapCenter = maps\mp\gametypes\_spawnlogic::findBoxCenter(level.spawnMins, level.spawnMaxs);
    	level.pred = spawn( "script_model", level.mapCenter+(0,0,3400));
    	level.pred setModel( "rpg_mp" );
    	level.pred.angles = self.angles-(0,0,90);
    	self.bor = self.origin;
    	self EnableInvulnerability();
        	self linkto(self.pred, "tag_origin", (-5, 0, 175), (0, 0, 0));
        	self hide();
        	self setClientUIVisibilityFlag("hud_visible", 0);
        	self.mcross = self createFontString("default", 2);
        	self.mcross setPoint("CENTER", "CENTER", 0, 0);
        	self.mcross setText("^1+");
    	VisionSetNaked( tvguided_mp, 0.5 );
    	self endon("predo");
    	for (;;) 
    	{
            	if(self.pred IsOnGround() != true)
    		{	
    			self.pred.angles = self.angles-(0,0,90);
            		self.pred moveto(self.pred.origin + anglestoforward(self.pred.angles) * 20, 0.015);
            		wait 0.01;
    		}
    		else
    		{
    			self.mcross destroy();
    			self notify("predo");
    			self.pred delete();
    			wait 0.5;
    			self unlink();
    			self show();
        			self setClientUIVisibilityFlag("hud_visible", 1);
        			self setorigin(self.bor);
        			self DisableInvulnerability();
    			VisionSetNaked( getDvar( "mapname" ), 0.5 );
    		}
    			
        }
    }

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