distance between triggers to activate
Moderator: Moderators
distance between triggers to activate
Hi There,
I'm working on elevators, and want to put a switchpanel into the elevator to select the speparate destination floors. Does anyone know how to put multiple trigger_use triggers on a relatively small space and let select individual triggers by pushing a switch? In my experience the area to activate 1 trigger is much greater than the trigger itself.
I'm working on elevators, and want to put a switchpanel into the elevator to select the speparate destination floors. Does anyone know how to put multiple trigger_use triggers on a relatively small space and let select individual triggers by pushing a switch? In my experience the area to activate 1 trigger is much greater than the trigger itself.
player
The player can be 128 units away and still use the trigger. So, any triggers in his FOV (field of view) will be triggered. You can narrow the player's FOV in the script, but it is much easier to just put your buttons far apart.
Have you seen this tutorial map?
http://pages.sbcglobal.net/tltrude/Temp ... ngdoor.zip
It has a very complex three story elevator.

This tutorial map has a five story elevator that requires no scripting.
http://pages.sbcglobal.net/tltrude/Temp/altelevator.zip

Have you seen this tutorial map?
http://pages.sbcglobal.net/tltrude/Temp ... ngdoor.zip
It has a very complex three story elevator.

This tutorial map has a five story elevator that requires no scripting.
http://pages.sbcglobal.net/tltrude/Temp/altelevator.zip

I will look into those two maps tomorrow, see if i can find the clue to my problem, have good hope. I think i will overcome this one. My Elevators are fully scripted. Works from the ouside of elevator. I works on 6 floors. Now i have to find the solution to select the floors from inside de elevator.
Think the script will be a good example of using variables and objecs for script newbees.
Thanx for now, maybe i'll be back in a few days.
Think the script will be a good example of using variables and objecs for script newbees.
Thanx for now, maybe i'll be back in a few days.
texture
Well, here is a one trigger idea. What if you had 6 textures for the switch panel. Starting on ground level, when the player hits the use key, the floor 2 button-lit texture appears. But, there is a pause and if the player hit the use key again, before the pause is up, the thrid floor button-lit texture shows up and so on. Whenever he stops hitting use and waits, the elevator will go to the floor of whichever button is lit.
The texture change could be done with 6 script_object brushes--5 would be hidden at any one time. Another option would be to have the player hold the use key to change the textures and destination.
If you have doors, then the door would reopen if the player does not select a floor, or selects the floor he is still on when the pause is up.
I think the scripting would not be to hard--if you are using waypoints and func_doors. By the way, you can open or close a pair of func_doors, with the same targetname, using a single line in the script.
The texture change could be done with 6 script_object brushes--5 would be hidden at any one time. Another option would be to have the player hold the use key to change the textures and destination.
If you have doors, then the door would reopen if the player does not select a floor, or selects the floor he is still on when the pause is up.
I think the scripting would not be to hard--if you are using waypoints and func_doors. By the way, you can open or close a pair of func_doors, with the same targetname, using a single line in the script.
jv_map wrote:
I hope I can try your elevator myself some day
That will take sometime jv. I'm working on it for 8 months now, and still have a couple of months to go i think. It a replica of the building where i work. Lots of windows and glass. So i even dont know if i can distribute a detailed model of a real building legally. What if a burglar gets it???
I hope I can try your elevator myself some day
That will take sometime jv. I'm working on it for 8 months now, and still have a couple of months to go i think. It a replica of the building where i work. Lots of windows and glass. So i even dont know if i can distribute a detailed model of a real building legally. What if a burglar gets it???


