Jump to content

Home

Functionality of Func_trains


Shadriss

Recommended Posts

One of the problems I'm working on with my current project (Duel of The Fates, V 2) is the issue with the forcefield timing in the corridor just before the pit room.

 

Me and LDJ have discussed this a few times, and we THINK we have a solution, but we havent had the time to test it out, so I thought I'd ask if this Idea might work, or if there were another way to do it easier.

 

The base problem is that we cannot, so far as we know, have a func_door auto-trrigger every "x" number of seconds. The reason this is important is because of the way we set up those fields, which is thus...

 

WHen door one opens/closes, ,it triggers the next one via a target_delay, which gives a one or two second pause between each beam opening/closing. The trick then becomes how do we trigger the FIRST door.

 

We have a theory, and it uses a pair of Func_trains.

 

What we think will happen is : we create a pair of trtains to ACT as doors, ,each having two points to go between at a high rate of speed. Since we can set delay on those, and they ALWAYS move... we THINK that each time it moves, it would trigger the target_delay, and thus, the whole array of doors.

 

But, we're not sure, and we havent had time to do a test build of it.

 

If you have any informaiton on weither or not his would work, or on an easier way to handle the situation, post here, please. Would make a map that is already great even better. Be a part of the NEW most-downloaded map on the internet. (I think the original still holds that title...)

Link to comment
Share on other sites

Hmm...

 

Why can not the last door trigger the first through a target_delay with a longer delay than between the other doors? This case you only need to trigger the first door once (for the first time) wich can be made anywhere with a trigger_once. For example you can put a trigger once around one of the spawn points.

 

Does this make sense? :)

Link to comment
Share on other sites

So nice a solution, ,I should have know something was wrong with it. And I was right - there IS no trigger_once in the MP side! ARGH!

 

So, now I'm back to square one - using func_trains.

 

UNLESS!

 

There is an entity called trigger_always.... do you think that, if this was pointed at a target_delay, it could do the job of the trigger_once?

 

Just a thought, I guess.

Link to comment
Share on other sites

Sorry, Shadriss, I make SP maps. :)

 

So... I took a quick look, but no info about how often the trigger always triggers it's target. Maybe very often and maybe you can find some detailed info on the net.

 

The point is that it can be good for you trough a target_delay to fire your first door, as would the func_train do. You have to try. :)

Link to comment
Share on other sites

That about says it all.

 

I was trtying to implement the func_train idea (and struggling to get it done) when I happened to let my eyes wander for a moment. And they landed on a slightly different function brush... a nifty little thing called (get this...) a Func_Timer.

 

In the entities properties window, the first thing it says is "This should be renamed trigger_timer"

 

Yup, this thing apparently does what I've been asking for! I havent run a test yet (it's compiling while I speak) but if it DOES do what it appears to do, then all we had to do was actually LOOK AT THE LIST OF FUNCs!

 

Isn't that, like, number two on the idiot-check checklist of troubleshooting?

 

I'll let you know the results... but I think I've got it figured out now. :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...