How to restrict to one team?

Discussion in 'Mapping Questions & Discussion' started by BitGuzz, Jul 22, 2019.

  1. BitGuzz

    BitGuzz L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    I need a way for my map to be only playable as red (as it is co-op similar to mvm)
    I haven't seen anything on the internet, so i thought y'all could help
     
  2. fbi.bmw.ultra.car

    fbi.bmw.ultra.car L2: Junior Member

    Messages:
    95
    Positive Ratings:
    6
    I think you need gamemode for red only
     
  3. BitGuzz

    BitGuzz L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    How would you do that; I've checked in the different gamemodes and logic entities yet I've found nothing
     
  4. fbi.bmw.ultra.car

    fbi.bmw.ultra.car L2: Junior Member

    Messages:
    95
    Positive Ratings:
    6
    Idk Im beginner as well but I think u need like mvm gamemode type without robots if like the map is not "serious"
     
    • Thanks Thanks x 1
  5. Box Of Paper

    Box Of Paper L1: Registered

    Messages:
    24
    Positive Ratings:
    15
    There is a way:
    bitguzzrequest.png
    Create 12 (half the player cap) "bot_generator" entities, name them blue_bot_generator and set them so that they spawn only Blue bots.
    Create a "logic_auto" and add the following Output {OnMultiNewMap blue_bot_generator SpawnBot}.
    Create a "info_player_teamspawn" for the Blue team.

    That's it, sadly the spawned bots don't work as intended when spawned like this, the bot_generator input RemoveBots doesn't do anything, and the bots will always spawn at the info_player_teamspawn (even if you set -No- to <Use Team Spawn Point>).
     
  6. Da Spud Lord

    aa Da Spud Lord Occasionally I make maps

    Messages:
    1,295
    Positive Ratings:
    858
    You could put all of the Blu spawnpoints in a box separate from the rest of the map, with a sign telling players to join Red team.