Would making a game mode like this be possible?

Discussion in 'Mapping Questions & Discussion' started by mmik, Jun 21, 2009.

  1. mmik

    mmik L2: Junior Member

    Messages:
    76
    Positive Ratings:
    0
    I want it to go like this:

    if a team is eliminated, they lose, and if the timer runs out, red team wins. Is it possible to modify an existing game type to work like this, or even create it from scratch somehow? I'm not very good with gametypes.
     
  2. TracerDX

    TracerDX L3: Member

    Messages:
    127
    Positive Ratings:
    25
    I would guess

    arena mode + a game_timer + a game_round_win

    Really, just replacing the central CP with a timer that favors RED.
     
  3. mmik

    mmik L2: Junior Member

    Messages:
    76
    Positive Ratings:
    0
    that's a good idea.
     
  4. Ankh

    Ankh L3: Member

    Messages:
    114
    Positive Ratings:
    41
    while possible seems like it'd give Red a bit of an unfair advantage - they have two win conditions as opposed to Blu's one. Why would a player then want to join Blu team in this gametype?
     
  5. mmik

    mmik L2: Junior Member

    Messages:
    76
    Positive Ratings:
    0
    No they wouldn't. (not the way the map is set up)

    Looking at the logic_timer entity, I don't know how I'd use this to set a win condition... Can anyone help please? If there's another entity I should use instead, please let me know.
     
  6. Loc_n_lol

    Loc_n_lol L10: Glamorous Member

    Messages:
    726
    Positive Ratings:
    273
    There's an example map that ships with the SDK, it's the entity setup for cp_well. You can reuse the timer from here. You'll probably want to remove setup time though.
     
  7. mmik

    mmik L2: Junior Member

    Messages:
    76
    Positive Ratings:
    0
    Ok there's a problem with this. Adding the logic_arena entity causes the game to ignore the timer. Is it maybe possible to set a trigger to make the game end when a timer running in the background hits a certain time?

    edit: Ok, If I can figure out how the CP's entities for round-end works, I think I can leave those in, along with a timer that activates them.

    However, I don't even see anything with the timer atm. The only options are "random interval" related. That doesn't sound like what I need at all. The team_round_timer seems to be ignored entirely when using the arena logic, so I need to find something else.
     
    Last edited: Jun 22, 2009
  8. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    team_round_timer isn't be ignored, it's just not being displayed on the hud.
     
  9. mmik

    mmik L2: Junior Member

    Messages:
    76
    Positive Ratings:
    0
    But I left it sitting for 10 minutes and the game didn't end.