|
Post by RRain on Nov 16, 2010 22:56:05 GMT
So i allready have door that crushes people underneath it, how would i go about making it so that the door is constantly going up and down, staying up with a delay of 3 seconds and down with a delay of 2 seconds? Would this be possible or would i have to compromise on the wait times, if so please could you tell me how?
Thanks -Rain
|
|
|
Post by Zeph on Nov 16, 2010 23:49:59 GMT
Change the "Delay" keyvalue for the door to "3". This will be Open for 3 seconds (ie, up).
Add the output: OnFullyClosed -> !Self -> Open -> Delay -> 2
|
|
|
Post by Toxindude on Nov 17, 2010 1:31:42 GMT
The way I would do it is I would make a trigger brush around the map then ctrl t set it to a trigger_multiple tell that trigger under the Outputs tab Ontrigger, Door , Open after a delay of 3seconds and this will make the door start automatically 3 seconds after spawn Under the flags tab check mark touch I believe. Set the doors delay until reset to 2seconds. Also you will need to time how long it takes to move from a open position to a closed position and from a closed position to and open position. The reason for that is so you know what to set your trigger multiple reset to. So lets say your door takes 1.5 to open and 1.5 to close You would want to set your trigger reset to 3 + 2 + 1.5 +1.5 = 6 seconds. I did this to make an automatic elevator in a map I also did this to make a constantly changing shifting map works pretty well the only thing is getting the timing down and everything to move together. The only way to time how long it takes to open and close though would be to render the map play it and watch the timer on the screen. Thats just the way I would do it, seems complicated but its really not.
|
|
|
Post by Angush :] on Nov 17, 2010 5:35:19 GMT
Zeph's makes more sense imo.
|
|
|
Post by Zeph on Nov 17, 2010 11:03:58 GMT
I stopped reading there. Sorry, but that's a horrible idea!
The better use is a Logic_Auto: OnMapSpawn -> Door -> Open
And then get it to open itself once is closes as above.
|
|
|
Post by RRRain on Nov 17, 2010 15:28:22 GMT
Thankyou for all your help, it now works perfectly. I appreciate your input toxicdude but i decided to go with zeph's idea. And zeph I had allready used a logic_auto to open it THankyou for helping me achieve this (especially without me having to compromise on delays)
|
|
|
Post by Zeph on Nov 17, 2010 17:50:41 GMT
I assumed you had, hence i didnt mention it
|
|
|
Post by Toxindude on Nov 17, 2010 21:00:00 GMT
I'm glad you got it fixed rain. I admit it is not such a great idea but I had to use it before I new about logic_auto ent : )
|
|