Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    Okay Arasonic, I got everything working by now...
    Except quick revieve, nothing happends when I press F (Was the same with speed cola, Orange soda but I made it work again >_>)

    Oh and btw, your _rank.gsc is so weird! xD
    How old is it? Lolz

    Now to make a power switch, zipline and a elevator... ;P

  2. #17
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Quote Originally Posted by EpicPlayer View Post
    Okay Arasonic, I got everything working by now...
    Except quick revieve, nothing happends when I press F (Was the same with speed cola, Orange soda but I made it work again >_>)
    Quick Revive wasn't made, it was just there so I had it for later.

    Oh and btw, your _rank.gsc is so weird! xD
    How old is it? Lolz
    The _rank was basicly a testing .gsc for me, no 'real' function went in there. It was far from done.

    Now to make a power switch, zipline and a elevator... ;P
    Now you just ruin the point with my mod
    Well, most of the codes was just 'alpha codes' or whatever I should call it. I just wanted the basics to work, then finish them totally later on.
    Check the random weapon box spawner for example, that was one thing I was 100% sure I was going to fix later on.
    Last edited by Arasonic; 02-05-2011 at 04:18 AM.

  3. #18
    nextiii's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    1
    awesome.
    Make a new zombie mod for this perhabs^^

  4. #19
    EpicPlayer's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Posts
    628
    Reputation
    13
    Thanks
    158
    Quote Originally Posted by Arasonic View Post
    Well, most of the codes was just 'alpha codes' or whatever I should call it. I just wanted the basics to work, then finish them totally later on.
    Check the random weapon box spawner for example, that was one thing I was 100% sure I was going to fix later on.
    Lemme show you what I wrote for the quickrevive...

    Code:
    quickReviveThink(pos) 
    { 
            self endon("disconnect"); 
    
            while(1) 
            { 
                            self waittill( "trigger", player );  
                            if(player.extralife != 1)     
                            if(Distance(pos, Player.origin) <= 200){
                            Player setLowerMessage("activate", "Hold ^3[{+activate}]^7 for a Quick Revive [^32500^7]" );}
                            if(Distance(pos, Player.origin) >220){
                            Player ClearLowerMessage("activate", 1);}
                            if(Distance(pos, Player.origin) <= 230 && player.extralife != 1 && player.cash >= 1750 && player useButtonPressed())
                            { 
                                  player ClearLowerMessage("activate", 1);
                                  player.cash -= 1750;
                                  player thread _setZMPerk("specialty_quickrevive");
                                  wait 1;
                            } 
                            else if(Distance(pos, Player.origin) <= 230 && player.extralife != 1 && player.cash <= 1750 && player useButtonPressed())
                            {
                            player iPrintln("You do not have enough points!");
                            wait 1;
                            }
                    wait .25; 
            }   
    }
    Code:
    _setZMPerk(perk)
    {
          self endon("disconnect");
    	self endon("death");
    
    	switch(perk)
    	{
    	    case "specialty_speedcola":
    	        self _setperk("specialty_fastreload");
                  self.speed = 1;
                  self.speedIcon = createIcon("specialty_fastreload", 32, 32);
                  self.speedIcon setPoint( "TOPRIGHT", "TOPRIGHT", -150, 400);   
                  self thread maps\mp\gametypes\_Humans::Death(self.speedIcon);
    	        break;
              case "specialty_orangesoda":
    	        self _setPerk("specialty_bulletaccuracy");
                  self.orange = 1;
                  orangeIcon = createIcon("specialty_bulletaccuracy", 32, 32);
                  orangeIcon setPoint( "TOPRIGHT", "TOPRIGHT", -100, 400);   
                  self thread maps\mp\gametypes\_Humans::Death(orangeIcon);
    	        break;
              case "specialty_quickrevive":
                  //self maps\mp\perks\_perks::givePerk( "specialty_pistoldeath" );
                  self.extralife = 1;
                  reviveIcon = createIcon("specialty_hardline_upgrade", 32, 32);
                  reviveIcon setPoint( "TOPRIGHT", "TOPRIGHT", -50, 400);   
                  self thread maps\mp\gametypes\_Humans::Death(reviveIcon);
    	        self _setPerk("specialty_pistoldeath");
                  self waittill("death");
                  self.extralife = 0;
    	        break;
    	}
    }
    Hm? O.o

    Oh and... I can't make the power, I always get the syntax error (Should I maybe make the host turn the power on, but that would ruin the "idea") =_=

  5. #20
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Make a new box, after purchased, make it 'level.powerOn = 1;'
    then, use for example, this:

    Code:
    quickReviveThink(pos) 
    { 
            self endon("disconnect"); 
    
            while(1) 
            { 
                            self waittill( "trigger", player );  
                            if(player.extralife != 1 && level.powerOn == 1)     
                            if(Distance(pos, Player.origin) <= 200){
                            Player setLowerMessage("activate", "Hold ^3[{+activate}]^7 for a Quick Revive [^32500^7]" );}
                            if(Distance(pos, Player.origin) >220){
                            Player ClearLowerMessage("activate", 1);}
                            if(Distance(pos, Player.origin) <= 230 && player.extralife != 1 && player.cash >= 1750 && player useButtonPressed())
                            { 
                                  player ClearLowerMessage("activate", 1);
                                  player.cash -= 1750;
                                  player thread _setZMPerk("specialty_quickrevive");
                                  wait 1;
                            } 
                            else if(Distance(pos, Player.origin) <= 230 && player.extralife != 1 && player.cash <= 1750 && player useButtonPressed())
                            {
                            player iPrintln("You do not have enough points!");
                            wait 1;
                            }
                    wait .25; 
            }   
    }

  6. #21
    superbob323's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Texas
    Posts
    18
    Reputation
    10
    Thanks
    0
    My Mood
    Sneaky
    its bad syntax how did you record
    SneakyPete's Alt Account

  7. #22
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    Read the friggin post, I stated that it will indeed give an error

  8. #23
    superbob323's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Texas
    Posts
    18
    Reputation
    10
    Thanks
    0
    My Mood
    Sneaky
    Quote Originally Posted by Arasonic View Post
    Read the friggin post, I stated that it will indeed give an error
    i know but how did you reord it
    SneakyPete's Alt Account

  9. #24
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed
    Quote Originally Posted by superbob323 View Post
    i know but how did you reord it
    Because he started from 0 his mod, he make those things, he recorded them and then when he continued adding things, he lost his interest and left some error there. . Is that so hard to think?

Page 2 of 2 FirstFirst 12