Spawnpoints that correspond to certain control points?

Discussion in 'Mapping Questions & Discussion' started by Pigzit, Aug 29, 2017.

  1. Pigzit

    Pigzit L1: Registered

    Messages:
    27
    Positive Ratings:
    10
    How do you make spawnpoints that correspond to certain control points being capped? ie a spawnpoint for red only if A has not been capped or both A and B have been capped.
    I'm making a Mountain Lab like 3 CP attack and defense map, and I'd like there to be 3 different spawnpoints for red.
    Thanks, sorry if this is a stupid or mundane question.
     
  2. ics

    aa ics http://ics-base.net

    Messages:
    654
    Positive Ratings:
    410
    Just one short example, perhaps not the best but add 3 sets of info_player_teamspawn, set the team to Red and name them spawn_1, spawn_2, and spawn_3. (You need one for each player so technically 3x16 spots.)

    Mark the spawn_2 and spawn_3 entities to start as disabled. So now your Red team spawns from the spawn_1 point, which obviously is the closes to the frontlines. When the BLU team captures 1 point, on the trigger_capture_area of the control point, you add on it's output tab "OnEndCap spawn_1 Disable" and another line "OnEndCap spawn_2 Enable". This disables the 1st spawn and enables the second.
     
    • Thanks Thanks x 1
  3. Pigzit

    Pigzit L1: Registered

    Messages:
    27
    Positive Ratings:
    10
    So for this method, would I tie all of them selected to one entity teamspawn and name that spawn_1? Or would I name each of them spawn_1, 2 and 3.
     
  4. ics

    aa ics http://ics-base.net

    Messages:
    654
    Positive Ratings:
    410
    You make a spawn area, where you insert 16 times info_player_teamspawn which you all name as spawn_1. Then you make another spawn, and put again 16 of those and name as spawn_2 and so on. Then just disable / enable spawns as you want them. You can use any names as you like, just the entities needs to be correct.
     
  5. Pigzit

    Pigzit L1: Registered

    Messages:
    27
    Positive Ratings:
    10
    That's not what I mean. What I mean is are all of them tied to one entity? Or all of them named the same in groups of 16?
     
  6. ics

    aa ics http://ics-base.net

    Messages:
    654
    Positive Ratings:
    410
    Yes, all are named the same in the same spawn area. 16 entities with same name.
     
    • Thanks Thanks x 1
  7. henke37

    aa henke37

    Messages:
    1,832
    Positive Ratings:
    420
    You can't tie point entities together. That's for brush entities where you tie multiple brushes into one entity.
     
    • Thanks Thanks x 1