Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Would this Work

  1. #1
    Tig O Bitties
    Grey's Avatar
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964

    Contact info:

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

    Default Would this Work

    I was gonna make a add health script for my gametype and can someone tell me is this perk machine would work? it adds 200 health

    Code:
    if( distance( self.origin, level.perk[4].origin ) < 60 && self.pers["team"] == "allies" )
    		{        
    			self iPrintln( "Press [{+activate}] To Buy ^1Extra Health^7(^2$400^7)" );
    
    			while( distance( self.origin, level.perk[1].origin ) < 60 )
    			{
    				if( self useButtonPressed() && self.cash >= 400 )
    				{
    					self.cash = self.cash - 400;
    					self.health += 200;		
    				}
    		
    				else if( self useButtonPressed() && self.cash <= 399 )
    				{
    					self iPrintln( "Not Enough Money" );
    				}
    				wait 1;
    			}
    		}

    0 Not allowed! Not allowed!

  2. #2
    *NUKE PWNS*
    *HATERS GONNA HATE?!*
    iNuKE's Avatar
    Join Date
    Jul 2011
    Location
    Some where playing PAINTBALL !!!!
    Posts
    273
    Points
    519
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Some where playing PAINTBALL !!!!
    Posts
    273
    Points
    519
    Gamer IDs

    Gamertag: iNUKE PSN ID: iNUKE Steam ID: iNUKE

    Contact info:

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

    Default

    Better Solution (TRY IT OUT) :P
    Quote Originally Posted by G-rey View Post
    I was gonna make a add health script for my gametype and can someone tell me is this perk machine would work? it adds 200 health

    Code:
    if( distance( self.origin, level.perk[4].origin ) < 60 && self.pers["team"] == "allies" )
    		{        
    			self iPrintln( "Press [{+activate}] To Buy ^1Extra Health^7(^2$400^7)" );
    
    			while( distance( self.origin, level.perk[1].origin ) < 60 )
    			{
    				if( self useButtonPressed() && self.cash >= 400 )
    				{
    					self.cash = self.cash - 400;
    					self.health += 200;		
    				}
    		
    				else if( self useButtonPressed() && self.cash <= 399 )
    				{
    					self iPrintln( "Not Enough Money" );
    				}
    				wait 1;
    			}
    		}

    0 Not allowed! Not allowed!

    HATERS GONNA HATE
    MW3 Ally Code *pm me so i know who added me*
    0015-2584-4684

  3. #3
    Tig O Bitties
    Grey's Avatar
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964

    Contact info:

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

    Default

    i can't at the moment...my tv is broken

    0 Not allowed! Not allowed!

  4. #4
    *NUKE PWNS*
    *HATERS GONNA HATE?!*
    iNuKE's Avatar
    Join Date
    Jul 2011
    Location
    Some where playing PAINTBALL !!!!
    Posts
    273
    Points
    519
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    Some where playing PAINTBALL !!!!
    Posts
    273
    Points
    519
    Gamer IDs

    Gamertag: iNUKE PSN ID: iNUKE Steam ID: iNUKE

    Contact info:

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

    Default

    neighbor?

    0 Not allowed! Not allowed!

    HATERS GONNA HATE
    MW3 Ally Code *pm me so i know who added me*
    0015-2584-4684

  5. #5
    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

    instead of self.health = self.health - 400; do self.health -= 400;
    And dont do iPrintLn, it looks super ugly.

    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

    what tl said try making ur own text variable

    i suggest a colorful flashing text i ould show u some nice fonts and ways of appliing

    0 Not allowed! Not allowed!

  7. #7
    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 tony View Post
    what tl said try making ur own text variable

    i suggest a colorful flashing text i ould show u some nice fonts and ways of appliing
    Lol, I wish I was helpful, I dont have the patience.

    0 Not allowed! Not allowed!

  8. #8
    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

    Quote Originally Posted by Tlpwnzer View Post
    Lol, I wish I was helpful
    dont we all

    0 Not allowed! Not allowed!

  9. #9
    Tig O Bitties
    Grey's Avatar
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964
         User Info     Contact     Gamer ID
    Join Date
    May 2011
    Location
    Candy Mountain
    Posts
    2,935
    Points
    2,964

    Contact info:

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

    Default

    Quote Originally Posted by tony View Post
    what tl said try making ur own text variable

    i suggest a colorful flashing text i ould show u some nice fonts and ways of appliing
    yeh i rlly have been trying to make a text varriable but it won't work

    0 Not allowed! Not allowed!

  10. #10
    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

    You need to know this stuff to be a wii coder. As far as im concerned your not very smart in modding and could use a little work (alot) like "level.perk[4]" you need to make an entity for that before you can use it and you basicly did a copy and paste on what i did. Thanks

    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

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