Spawn in several spawnrooms

Discussion in 'Mapping Questions & Discussion' started by daemon, Jan 1, 2008.

  1. daemon

    daemon L1: Registered

    Messages:
    32
    Positive Ratings:
    2
    Hello all, happy christmas and 2008. :laugh:

    This holidays i have some time to work on my noob map and i have come across a problem, i hope i can explain myself and you can help me.

    My map is CTF, and i want to have 2 spawnrooms per team, just like 2fort, the thing is, whenever i try it, i always spawn in the same room, so my question is, how can i make it, so i can spawn on any of both rooms?

    That was confusing, thanks for your help. :blink:
     
  2. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    736
    I set it up with a info_player_teamspawn with team your choice.
    Then create a trigger brush and CTRL+T to "Respawnroom" with team your choice.

    Its completely random as to which you spawn in... but you will spawn between the two.

    Note: Make sure they are also named for ease of use later.
     
  3. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    It isn't completely random. Valid spawn points are used in the order they are created in the map. So if you put a whole bunch in one room and then copied them to the other, you'd have to go through every spawn point in the first before you spawn in the other room, but they'd still be there and working.
     
  4. daemon

    daemon L1: Registered

    Messages:
    32
    Positive Ratings:
    2
    Interesting thanks for your help guys.
     
  5. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    736
    I did not know that. So what your saying is if i have 2 spawn rooms and i want to have it setup so while not completely random i want a "spread" of spawns i should set it up like?

    [​IMG]

    ?

    If so good info. Would i just name each in order 0,1,2,3,4,ETC
     
  6. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    Yes, you'd have to individually place/clone each spawn point to make sure you know their order in the file.
     
  7. Squirrelly

    Squirrelly Guest

    Positive Ratings:
    0
    yea its been like that for since i can remember using hammer. Id think they would change it for source sdk, but meh :/

    I wish there was an entity or option to make it random, because spawning back & forth between spawn rooms, or constantly in the same one is annoying :/