Spawn time question

Discussion in 'Mapping Questions & Discussion' started by ScorpioUprising, Jul 25, 2011.

  1. ScorpioUprising

    aa ScorpioUprising

    Messages:
    402
    Positive Ratings:
    354
    I want to set up a cp map with an inverse of the cap time rules for traditional maps. I.E. Instead of getting a spawn bonus for controlling a control point, the team that doesn't control it gets a spawn bonus. I'm not sure how to set this up, but I had some ideas.

    Set the default spawn time to like 10 secs, then invert the spawn bonus so that if someone owns a control point they get +X seconds on their spawn instead of -X. I'm not sure on how to do that, but it seems easy to do.

    Other option: however koth maps do it. I know that viaduct, for example, gives the team that doesn't control the point a bonus, but I don't know what entity makes that possible.
     
  2. ScorpioUprising

    aa ScorpioUprising

    Messages:
    402
    Positive Ratings:
    354
  3. Tyker

    Tyker L5: Dapper Member

    Messages:
    232
    Positive Ratings:
    141
    These outputs on the CP capture trigger:

    OnCapTeam1 -> rules -> SetBlueTeamRespawnWaveTime 5
    OnCapTeam1 -> rules -> SetRedTeamRespawnWaveTime 10

    OnCapTeam2 -> rules -> SetRedTeamRespawnWaveTime 10
    OnCapTeam2 -> rules -> SetBlueTeamRespawnWaveTime 5

    I think this is all you need. For a koth map anyway. And for a multi CP change SetBlueTeamRespawnWaveTime to AddBlueTeamRespawnWaveTime
     
    • Thanks Thanks x 1