Set-up gates in KOTH?

Discussion in 'Mapping Questions & Discussion' started by Montezuma, Jun 12, 2011.

  1. Montezuma

    Montezuma L2: Junior Member

    Messages:
    57
    Positive Ratings:
    2
    So I'm working on a new KOTH map similar to Nucleus in that it has a center control point that "opens" once the set-up time is finished. Unfortunately, I have no idea how to make the point "open". I can't find an entity that relates to the set-up time of the KOTH logic entity, and thus have no way of opening the doors to the control point building. Does anyone know how Nucleus does it? Or how my map could do this? Thanks for any help you can give me.

    Other info:
    • I'm using func_doors to seal the points
    • My set up time is 60 secs instead of the normal 30
    • That's it

    Thanks guys, you're grand :thumbup:
     
  2. Randdalf

    aa Randdalf

    Messages:
    1,054
    Positive Ratings:
    462
    There's a setting in tf_logic_koth called "Unlock time" which is at 30 seconds by default. I don't know if you could add a setup timer, and how that would conflict with the koth timers. It seems like a decent idea though.
     
  3. Loc_n_lol

    Loc_n_lol L10: Glamorous Member

    Messages:
    726
    Positive Ratings:
    273
    I don't think an actual setup timer would work, but you could use a regular logic_timer (or an invisible team_round_timer ?) to trigger the gates. It won't be exactly when the point unlocks though.
     
  4. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,906
    I think you can set the door to "OnCapEnabled" (i think thats it)... you can have it open without the need of timers, I used something similiar in backlot.
     
  5. Empyre

    Empyre L6: Sharp Member

    Messages:
    294
    Positive Ratings:
    141
    You can download the source file for koth_nucleus in this thread. Maybe you can figure out how Valve did it by looking at it.
     
  6. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    This is correct. Works for both Arena and KOTH.
     
  7. Montezuma

    Montezuma L2: Junior Member

    Messages:
    57
    Positive Ratings:
    2
    thanks guys (especially for the decompiled map link, I've taken to looking at Valve maps as of late) and I think this will let me get the map out this evening.
     
  8. MangyCarface

    aa MangyCarface Mapper

    Messages:
    1,616
    Positive Ratings:
    1,275
    Er... why not send an input on mapspawn to the entity with a delay = setup time?
     
  9. Fr0Z3nR

    aa Fr0Z3nR Creator of blackholes & memes. Destroyer of forums

    Messages:
    6,391
    Positive Ratings:
    4,906
    Because doing it directly with the game logic and "oncapenabled" is easier/less entities required iirc.