Time

Discussion in 'Mapping' started by LordDz, Oct 26, 2008.

  1. LordDz

    LordDz Capitan Rainbow Flowers

    Messages:
    5,221
    Likes Received:
    0
    Trophy Points:
    0
    Is there a way to set of an event after the com time have ended? Or what is the common com vote time for servers?
     
  2. petemyster

    petemyster Member

    Messages:
    1,610
    Likes Received:
    0
    Trophy Points:
    0
    well, the average waiting time is 60secs, and with the 60secs freeze time in 2.2, i'd say, just have a trigger to go off in 2mins time.


    if this is about the map we were discussing, don't forget the texture :D
     
  3. BumGravy

    BumGravy Member

    Messages:
    663
    Likes Received:
    1
    Trophy Points:
    0
    The best way to do this: Place a trigger_once in one teams / both teams starting barracks so it is triggered as soon as a player spawns, and target it to trigger your event after however long you want.

    This means that regardless of the comm vote on the server, the event will always be triggered after the same amount of time from the end of the vote - remember if this map is used in a clanwar it is common to set the comm vote time very high so it could fuck up your event.

    It does rely on a player spawning in a barracks though, so bear in mind the event won't be triggered if you plan on having a one on one on this map and both players spawn in the CV (lolwtf).
     
  4. LordDz

    LordDz Capitan Rainbow Flowers

    Messages:
    5,221
    Likes Received:
    0
    Trophy Points:
    0
    Ye, true.
     
  5. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    I must admit that i have not yet tried this, but is there not an output in the logic_auto entity that triggers "ongamestart", as to trigger on the actual game starting

    in hl2dm this would relay as, as soon as there are enough players in each team for a mp game to start (1 in each team, players will respawn and scores reset if i am correct) the game starts and the trigger is fired
     
  6. BumGravy

    BumGravy Member

    Messages:
    663
    Likes Received:
    1
    Trophy Points:
    0
    Not sure how compatible it is with empires it would have to be tested.
     
  7. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    Exactly, please consider to relay your findings if any on the matter back to me, i am interested in how this will go!!!
     
  8. BumGravy

    BumGravy Member

    Messages:
    663
    Likes Received:
    1
    Trophy Points:
    0
    No u relay YOUR findings!!!
     
  9. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    I am sorry i did not want to offend you or push you into a position so that you would have to do all the work, i will try it out as soon as possible and relay my findings!!!
     
  10. BumGravy

    BumGravy Member

    Messages:
    663
    Likes Received:
    1
    Trophy Points:
    0
    I was only joking, I was hoping Lorddz might do it lol.
     
  11. LordDz

    LordDz Capitan Rainbow Flowers

    Messages:
    5,221
    Likes Received:
    0
    Trophy Points:
    0
  12. Theowningone

    Theowningone Noone likes me :'(

    Messages:
    704
    Likes Received:
    0
    Trophy Points:
    0
    Just want to throw out there that those times are cvars and may not be the same on every server.
     
  13. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Dz, I made a failmap with a comm-cage with a func_vehicle clip linked to a trigger_once entity in the barracks for 2 minutes, so It works perfectly. Use that. I´ll send you the failvmf once I´m home if you want.
     
  14. LordDz

    LordDz Capitan Rainbow Flowers

    Messages:
    5,221
    Likes Received:
    0
    Trophy Points:
    0
    Trickster. Check the link.
     
  15. Caelo

    Caelo Member

    Messages:
    2,371
    Likes Received:
    5
    Trophy Points:
    0
  16. Demented

    Demented Member

    Messages:
    2,337
    Likes Received:
    0
    Trophy Points:
    0
    Make it for the default 60 seconds, and then make a 30 second and 90 second variety if you want to.

    It's up to the servers to put the right version in their rotation, or just not have it there at all.
     
  17. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Or use what I said. It works, stop overcomplicating stuff.
     
  18. blizzerd

    blizzerd Member

    Messages:
    10,552
    Likes Received:
    60
    Trophy Points:
    0
    you could always make your own clock with triggers, a few logic_relays and 1 logic_timers then make the logic timer fire all the relays, and make the relays unlock the next relay on trigger, and start locked

    you know, like in a binary clock, if a relay is locked its a 0, if its unlocked its a 1


    yes i did this and no it is a sarcasm, :p
     
    Last edited: Oct 29, 2008
  19. Trickster

    Trickster Retired Developer

    Messages:
    16,576
    Likes Received:
    46
    Trophy Points:
    0
    Like I said. Trigger_once brush. Link it to the clip. Set it to destroy and a timer. Job done.
     

Share This Page