Thread: Custom Spawns

Results 1 to 1 of 1
  1. #1
    ijwgamer's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Location
    Long Island, New York
    Posts
    12
    Reputation
    10
    Thanks
    0
    My Mood
    Confused

    Custom Spawns

    I threw together a really simple spawn system in an old iSnipe mod I put together a good amount of time ago.
    I was wondering if there was a better way to go about this in a "revamped" version of this old mod of mine.
    It works really well, only people would drop a few feet when spawning and get hurt and the guy would continuously make the "bleeding noise" (panting).. Which I think I wound up fixing some how.. I don't really remember it was so long ago xD.

    And, players would spawn facing random directions, and I definitely never figured out how to set the direction they were facing. If anyone knows a better way to set up a spawn system, please don't hesitate to contact me! Either on here or via Skype: thatKid.bro

    My code:
    Code:
    spawnsys()
    {
       if(getDvar("mapname") == "mp_terminal")
       { 
          if(self.team == "allies")
          {
    
             {
                self.spawnLocations = [];
                self.spawnLocations[0] = (-310.8,  4853.7,  253.1);
                self.spawnLocations[1] = (-56.7,  4866.4,  253.1);
                self.spawnLocations[2] = (-57.3,  5383.9,  253.1);
    	    self.spawnLocations[3] = ( 75.3,  5405.2,  252.1);
    	    self.spawnLocations[4] = ( 396.9,  5062,  252.1);
    	    self.spawnLocations[5] = (-439.5,  5585.2,  252.1);
                self setOrigin(self.spawnLocations[randomInt(self.spawnLocations.size)]);
             }
          }
          else if(self.team == "axis")
          {
    
             {
                self.spawnLocations = [];
                self.spawnLocations[0] = ( 2254.7,  4485.5,  252.1);
                self.spawnLocations[1] = ( 1944.4,  5035.9,  252.1);
                self.spawnLocations[2] = ( 2307.0,  4731.8,  252.1);
                self.spawnLocations[3] = ( 2579.4,  4748.6,  252.1);
    	    self.spawnLocations[4] = ( 2202.1,  4198.3,  108.1);
    	    self.spawnLocations[5] = ( 2616.8,  4130.4,  108.1);
                self setOrigin(self.spawnLocations[randomInt(self.spawnLocations.size)]);
             }
          }
       }
    }
    Just checked, I did wind up fixing the "panting/bleeding noise". So that's not a problem anymore.
    Last edited by ijwgamer; 06-21-2014 at 02:05 AM.

Similar Threads

  1. [Solved] Custom spawn locations
    By TechnoX in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 06-11-2011, 06:01 PM
  2. custom spawn points
    By jimmynguyen3030 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 3
    Last Post: 01-22-2011, 08:08 AM
  3. Emblems on UAV? And custom spawns for teams?
    By EpicPlayer in forum Call of Duty Modern Warfare 2 Help
    Replies: 0
    Last Post: 11-07-2010, 09:24 AM
  4. Problem with custom spawns
    By prisma in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 6
    Last Post: 10-11-2010, 11:35 AM
  5. [Solved]Making custom spawn points
    By justas1234 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 19
    Last Post: 10-11-2010, 04:30 AM