Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Tutorials
#1

Delayed Spawn and Activation Guide For Wormholes

Archive: 7 posts


First connect a player sensor to the input of your entrance wormhole. This will act as the proximity trigger of the wormhole. If you want the player to be invisible during a (opening)cutscene or event, place the entrance portal in range of your player sensor so players will always enter the wormhole upon entry to your level. Angle the range so that it is way lower than 360 degrees and pointed towards the portal. This will prevent players from entering it again. The player sensor will be connected to a counter. This counter will be used to activate two timers.(Using the second timer is optional and it's use depends on what you're doing)

The first timer serves as the duration(delay) of how long players will be in the entrance before players are ejected from the exit wormhole. Whether the timer match the length of the event, cutscene, or teleportation is up to you. This timer will be connected to the input of the second wormhole.*As long as a player is in stasis, a exit wormhole will eject them when activated. It doesn't need to be directly activated by a entrance wormhole for this to happen.

*If you're using player invisibility for a event that takes place in one area and the second timer keep reading
Now the second timer will cause the destruction of the wormholes(if merged) after you have no more use for them. Their destroyer should have the option: include rigid connections on so that they'll be destroyed together. If you want to have a sound effect played during ejection, have it so that it'll be activated upon destruction. This timer must be a couple miliseconds longer than the first one. If the first timer is 5sec and the second is 5.1sec, only one player will escape the wormhole. The others will be trapped in stasis until another exit wormhole is actiavted. So having it about 5 milliseconds or longer will cure this problem.

If you're having trouble or want the merged wormholes complete with the logic ask me or visit me on my moon. Just tell me in a message okay?

*I forgot to add this in. But here are some problems to note/avoid when using this logic.
-if you're using this as a opening event and the wormholes are close to your entrance portal, make sure you reset the timers/counter should you activate them in create mode upon entry because the logic will destory itself afterwards.
- your friends can activate this logic as well so make sure you enter pause mode before they join you in create mode.
2013-07-20 23:54:00

Author:
SirenScribble7189
Posts: 52


This is a good option for having starting cutscenes or anything else that doesn't require the player to spawn at the beginning. Thanks for posting!2013-07-23 22:53:00

Author:
L1N3R1D3R
Posts: 13447


Great idea. Will try it..2013-08-06 18:08:00

Author:
Unknown User


Great trick! Currently modding this into all my existing projects... Although I'm a little confused as to why my Entrance Portal doesn't function when off-screen (i.e. due to custom camera angle). Do people hide this setup behind their 'first scene' or am I doing something stupid?2013-10-15 15:44:00

Author:
Bovrillor
Posts: 309


Great trick! Currently modding this into all my existing projects... Although I'm a little confused as to why my Entrance Portal doesn't function when off-screen (i.e. due to custom camera angle). Do people hide this setup behind their 'first scene' or am I doing something stupid?

I don't understand what you mean. Do you have something hooked up to it's input that's preventing it from working? You can use this tech for multiple scenes as long as it's triggered by proximity.
2013-10-15 16:14:00

Author:
SirenScribble7189
Posts: 52


I don't understand what you mean. Do you have something hooked up to it's input that's preventing it from working? You can use this tech for multiple scenes as long as it's triggered by proximity.

Never mind, I was being thick. Got it working now, just what my level needed
2013-10-16 23:54:00

Author:
Bovrillor
Posts: 309


Glad to hear you got it working 2013-10-20 14:58:00

Author:
SirenScribble7189
Posts: 52


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.