JarlFrank on 20/2/2017 at 14:56
For my current FM, I need to create a portal that teleports you elsewhere when you walk through it. I know how to make one that would teleport you if you frob it, but since I require the player to carry an unconscious body through the portal, I need it to work by walking through it.
How would I best do this?
marbleman on 20/2/2017 at 15:05
In Trail of Blood, there was a portal that you have to jump into. Might be worth checking out.
Unna Oertdottir on 20/2/2017 at 15:06
Boundstrigger (TrigOBBPlayer)-->cd to teleport trap-->cd to starting point
Daraan on 20/2/2017 at 17:10
TeleportTrap is the easiest but the least smooth. As the camera will be set to the facing of the trap object you feel a strong break.
To seamlessly move the player you can either use (custom)Stims or what I would suggest the telliamed's (
http://dromed.whoopdedo.org/tnhscript/trapmoverelative) TrapMoveRelative scipt.
For my mission I created a real portal trap setup (only copy&paste!) which is based on Telliameds scipt but also enables the teleportation of uhmm... everything else that passes it. Even a body on it's own^^
I wrote down a basic version down here (
http://www.ttlg.com/forums/showthread.php?t=138414).
Meanwhile it's improved further more fail safe and even patrolling/alerted guards can use it.
If you are interested in it I pass the new version on. As said -what was important for me - it's heavenly based on scripts and works with copy and paste and no linking work at all!
JarlFrank on 20/2/2017 at 20:03
Quote Posted by Daraan
TeleportTrap is the easiest but the least smooth. As the camera will be set to the facing of the trap object you feel a strong break.
To seamlessly move the player you can either use (custom)Stims or what I would suggest the telliamed's (
http://dromed.whoopdedo.org/tnhscript/trapmoverelative) TrapMoveRelative scipt.
For my mission I created a real portal trap setup (only copy&paste!) which is based on Telliameds scipt but also enables the teleportation of uhmm... everything else that passes it. Even a body on it's own^^
I wrote down a basic version down here (
http://www.ttlg.com/forums/showthread.php?t=138414).
Meanwhile it's improved further more fail safe and even patrolling/alerted guards can use it.
If you are interested in it I pass the new version on. As said -what was important for me - it's heavenly based on scripts and works with copy and paste and no linking work at all!
Wow, that looks all very complicated. I'm not at the point where I understand such complex scripts yet :D
But it looks interesting though, if you have updated it posting the new version might certainly be useful for Dromeders :)
Quote Posted by Unna Oertdottir
Boundstrigger (TrigOBBPlayer)-->cd to teleport trap-->cd to starting point
I tried that and even compared it to how it is done in Trail of Blood. But nothing happens for some reason!
I built a Maw Portal effect surrounded by brushes. I made a Boundstrigger, added the "TrigOBBPlayer" script, made the Boundstrigger's size exactly the same as the size of the portal effect, and placed it in the middle.
I linked it with ControlDevice to the TeleportTrap.
I linked the TeleportTrap with ControlDevice to the StartingPoint.
And yet, when I walk into the portal, nothing happens.
EDIT: Okay, that was stupid of me. I wrote Trigg instead of Trig in the script name. Now it works!
nightshifter on 24/2/2017 at 05:45
in the endgame of the spear of destiny the portal does exactly what you want, might want to check that one ..;)