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

Help resetting sinking platform?

Archive: 7 posts


Hi eveyone, I've been tinkering for way too long trying to figure this rather simple thing out, but I can't seem to get it right.

I've included a picture to help, I have two platforms with a player sensor on it, attached to a piston. What I'm trying to do is:

http://farm6.static.flickr.com/5068/5613134933_1a70ccc0c6.jpg (http://www.flickr.com/photos/littlebigdes/5613134933/)


When the player jumps on it it starts to slowly sink (towards the lethal gas) and they have a few seconds to jump off to the next one before it completely sinks.



Second, if the player doesn't make it and dies I want my the platform to go back up, resets itself to its original height. Then the sequence starts again when the jumps on it again.


How do I do this? I've tried a counter set to 1 and to it's reset. I've tried a toggle and direction splitter and various other things. I've tried changing the settings of the piston to one-cycle, backwards/forwards and on/off. I can't seem to get it working.

___________________________________________
2011-04-12 17:23:00

Author:
LittleBigDes
Posts: 920


If the platform moving is done via pistons, then this is very easy. Simply set the piston to forwards/backwards, and then attach the player sensor to it. If you still don't understand, please specify what you're having trouble with.2011-04-12 17:57:00

Author:
DaSpoony
Posts: 191


Yep the above suggestion is how I did mine. Set pistons for directional. You may have to invert the pistons too depending on how it's set up. 2011-04-12 18:12:00

Author:
Morgana25
Posts: 5983


If you only want it when they're set foot on it, try the above suggestion and instead try an impact sensor. Haven't tested it but it may work.2011-04-12 18:27:00

Author:
faulky
Posts: 80


I tried impact sensors at first on mine and they work but they get a bit jittery. When sackboy is standing on the surface it doesn't always read as a constant impact.2011-04-12 18:30:00

Author:
Morgana25
Posts: 5983


I tried impact sensors at first on mine and they work but they get a bit jittery. When sackboy is standing on the surface it doesn't always read as a constant impact.

Gah. There's always something.

I think it'd be possible to trigger a sequencer doing the required actions when the sackboy sets foot on it but this may be overkill.
2011-04-12 18:33:00

Author:
faulky
Posts: 80


Thanks everyone. I never thought about inverting it, I tried the forwards/backwards but not with inverting the pistons. It's my first level so I'm still learning as I go. It's a level where you have to explore underground and rescue two kids and guide them back out to safety.

So I'll give it go later and post back

UPDATE: YES all done, 'A' ok, attached the player sensor to the piston. The piston is set to forwards/backwards BUT the motion setting on the piston is now changed to REVERSED:YES. Inverted the motion and it works, perfectly. Fiddling with logic has made me look at things too complicated then what they really are.
2011-04-12 19:08:00

Author:
LittleBigDes
Posts: 920


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.