Siege Map Timers

JezJez Join Date: 2004-07-15 Member: 29923Members
I already tried a search to find a fix, but i couldnt find one. Im making a siege map, and i find using trigger_auto works fine for the first round but then after that it fails to start off again, meaning my map would only be good for one round. Does anyone know what the best trigger is for this sort of thing? thanks

Jez

Comments

  • EnceladusEnceladus Join Date: 2004-01-18 Member: 25442Members
    the problen is, that a trigger_auto only get's triggered once, when the map is loaded. And there aren't many enities which automatically reset after each round.
    The best way (in my opinion) to get something triggered once every round start is the following:

    make a small func_door (like 16x16x16 units) somewhere covered with the null texture so noone get's there (e.g. in a box above the level), give it a name and as "delay before close" set the value -1. in the field "Target" you enter the name of what should be targeted. in your case probably the siege door. you can also specify the "delay before fire" if you don't want the door to trigger the target immediately.
    okay, now you have the door which doesn't close and which acts as a relay.
    As a second you now have to make a trigger_multiple brush which coveres all marine spawns. that trigger_multiple get's the Name of the invisible door as a Target.
    When a marine player enters the level now, the will be inside the trigger_multiple, which causes the invisible door to be triggered. and the door triggers whatever you want it to trigger. but since the door is set to stay open, it will just trigger it's target once. And at the beginning of the next round that invisible door automatically resets so it can be triggered again.
  • ReebdoogReebdoog Join Date: 2003-09-20 Member: 21035Members
    IIRC func_random triggers every round. Might want to look into that.
  • JezJez Join Date: 2004-07-15 Member: 29923Members
    Thanks for the help, i had previously tried trigger_random but i couldnt get it to work, but i stuck with it and now it works .. i hope. Although i cant test it with other people yet, but thanks again <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
  • WolvWolv Join Date: 2002-01-25 Member: 56Members
    Doesn't gamestartedstatus work anymore? IIRC giving an entity that name means it's fired when the game has begun. Perhaps the bug that it's fired twice still exists, but if you're using a multimanager that shouldn't be a problem, since a normal one can only be triggered once until it's triggered all its targets.
  • GiGaBiTeGiGaBiTe Join Date: 2003-10-07 Member: 21489Members
    too bad they dont arcive posts from years ago, because i have asked this question before and you use trigger_random to make the siege timer. actually if you want it to report every x mins what the time is you have to use multiple trigger_randoms and game_texts for it to work correctly. i will go look at my map siege911 and see what i did because i forgot what the keyvalues were that made it work.
Sign In or Register to comment.