It's never high enuf Created 6 years ago2017-07-29 12:16:00 UTC by freedslave freedslave

Created 6 years ago2017-07-29 12:16:00 UTC by freedslave freedslave

Posted 6 years ago2017-07-29 12:16:00 UTC Post #336535
Hi,
I'm playing with J.A.C.K. and the path_corner.
My elevator only allows 2 or 3 storeys.
How can I enter the patch_corner number I want to reach in case of huge number of storeys ?
I figured out this way :
1 call the elevator
2 enter the elevator
3 enter the path-corner number in the console or somewhat dialog field and press enter
4 doors slide shut
5 farewell to heaven!
Is it possible otherwise how could I achieve this ?
Thanks
Posted 6 years ago2017-07-29 12:32:31 UTC Post #336536
You can make as many storeys/floors as you want. Just make sure the path_corners are linked together. Also make sure that you have the "Wait for retrigger" flag checked, so you will need to activate your elevator every time you want it to move onto the next floor.
"enter the path-corner number in the console or somewhat dialog field and press enter "
As far as I know it's almost impossible to do in GoldSRC, sorry.

I suggest you to (re)read these articles, just in case:

Path_corner
Func_train
Elevators using func_train
Posted 6 years ago2017-07-29 12:41:50 UTC Post #336538
I don't want the elevator to stop and open its doors at every floor.
I want to go up from the basement to the last floor in one shift.
Posted 6 years ago2017-07-29 12:48:04 UTC Post #336539
Well, as far as I know you can't select the next stop target of a path_corner in-game, sorry.

You can do such thing in Source though.
Posted 6 years ago2017-07-29 13:08:55 UTC Post #336540
I can't believe there's no way at all to alter the current path_corner's target from the console.
Posted 6 years ago2017-07-29 13:20:34 UTC Post #336541
There's trigger_changetarget which, obviously, changes the value of the specified entity's "target" parameter. But the "next stop target" and "target" are two different parameters, so path_corners are not affected by the trigger_changetarget. There are also such entities as func_trackchange and func_trackautochange, but they are not really what you're looking for, and they probably work only with func_tracktrain.
You can try mapping for Sven Co-op, which has a "trigger_changevalue" entity, which is the same as trigger_changetarget, but can change almost any parameter's value.
Posted 6 years ago2017-07-29 15:26:26 UTC Post #336542
Actually "next stop target" is the same as "target" for path_corners (turn SmartEdit off to check). So trigger_changetarget will work.
Posted 6 years ago2017-07-29 15:39:30 UTC Post #336543
Oh, I'm sorry then. If so, trigger_changetarget should work fine. But to make the elevator be able to freely move from and to any floor using changetargets, you'll need to create a pretty complex entity setup.
Posted 6 years ago2017-07-29 16:35:10 UTC Post #336551
Posted 6 years ago2017-07-30 08:38:13 UTC Post #336577
I try the tutorial here about changetarget and I hope to find a solution for my elevator.Thanks a lot.
You must be logged in to post a response.