Home    LittleBigPlanet 1 - PSP - Tearaway -Run Sackboy Run    LittleBigPlanet 1    [LBP1] Help! [Archive]
#1

Getting a light to switch on then gradually fade out...

Archive: 12 posts


The effect I'm trying to achieve is to have a light switch on to full strength then gradually fade to nothing.

The player activates a switch to turn the light on, as the light gradually fades it gives them a limited time to get through the area.

I can get the light to fade in and out using 2 way switch to control the light which is attached to a piston. The only problem with this is the light gradually fades in then out, I need the light to come on immediately then gradually fade out.

Oh, and the other thing is this process needs to be repeatable:

Light is off
Player trips switch
Light is immediately on
Light gradually fades out
Light stays off until switch tripped again

I've had a quick go at using two pistons connected to the same 2 way switch (one with a fast speed to switch it on and the other going slow) but one piston seems to overpower the other.

Any suggestions?

Thanks
2009-01-13 18:20:00

Author:
EastwoodAndy
Posts: 70


I believe you could set your piston to Flipper mode so that the piston will instantly move in one direction and then gradually move back.

If not, maybe you could have a set of overlapping lights that all turn on at once and then gradually turn off one at a time. I don't know how the game handles overlapping lights though.

Hope this helps, it sounds like a pretty interesting concept.
2009-01-13 19:02:00

Author:
Gilgamesh
Posts: 2536


ya i'd do a sensor switch connected to a piston thats on a flipper setting going outward... have a magnetic key set up on the pistons block / below it and have the magnetic switch hooked up to the light and have it on a speed setting. that should do it perfectly2009-01-13 19:07:00

Author:
Hamsalad
Posts: 2551


Thanks, that's just what I've been looking for!

I've never used flipper before, I didn't realise it would come back at a different speed.

Now I'm looking to see if I can squeeze a bit more out of this. The ideal scenario would be for the player to shoot the light to switch it on, but I realise the Paintinator Switch can only be used once.

But I noticed in the MGS levels there were a couple of sections where you had to shoot two boxes one after the other but if you weren't quick enough the first switch had changed back and needed to be shot again. Any idea how this was achieved? Or was it another Mm trick where they don't offer those options to us?

[EDIT] Nevermind, I've found how to do this: 1 Shot!
2009-01-13 19:27:00

Author:
EastwoodAndy
Posts: 70


Hello All,

I'm new to lbp level creating and found this lights topic very interesting.

As a side issue, how could I make a light (or lights) fade in as I enter a zone and then have the lights fade out as I exit the zone?

I see that you can't connect more than one switch to an item, so I'm intreaged as to how to do this as its essentially just a reverse of the lights out fade.

Thanks,

Neil
2009-03-03 19:38:00

Author:
neilj99
Posts: 38


Just a proximity swich set to speed connected to the lights.
Since the speed setting is Proximity=Speed Output or Brithness
2009-03-03 20:14:00

Author:
DRT99
Posts: 431


I'm not with you.

I've done the example above with the proximity and magnetic switches.

The lights are already connected. This is my point.

Neil
2009-03-03 20:37:00

Author:
neilj99
Posts: 38


you don't need anything to turn the lights on and off, thats handled automatically.
Just the speed setting is enough.
2009-03-03 22:20:00

Author:
DRT99
Posts: 431


I tried your example.

This isn't what I want.

I want a controlled, steady, (timed) fade in of lights when I enter an area and I want to reverse that as I leave the area. Just as the example above shows how to control a fade with a piston.
2009-03-03 23:33:00

Author:
neilj99
Posts: 38


OOOOOH!
So when you enter the..... Yeah, I get it now.
Try a proximity Swich set to directional, Controlling a piston with a magnetic key on the end. A magnetic swich set to speed connected to the lights, you may have to invert the proximity swich.
WHAT HAPPENS:
You enter the area, and the piston starts moving towards the 'Dimmer' At it's fully extended reach, the lights should be as dim as you want them to be, and the timing on the piston should be the 'transition' from bright to dim.
2009-03-04 01:44:00

Author:
DRT99
Posts: 431


It works a treat (looks quite cool too).

Thankyou.
2009-03-04 08:39:00

Author:
neilj99
Posts: 38


haha! no problem!
If I had known that was what you wanted from the beginning, it would have been MUCH easier!
2009-03-04 19:52:00

Author:
DRT99
Posts: 431


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.