Jez
Jul 15 2004, 10:42 AM
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
Sorcerer
Jul 15 2004, 12:27 PM
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.
Reebdoog
Jul 15 2004, 12:58 PM
IIRC func_random triggers every round. Might want to look into that.
Jez
Jul 15 2004, 04:09 PM
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
Wolv
Jul 15 2004, 06:06 PM
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.
GiGaBiTe
Jul 20 2004, 05:06 AM
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.