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

Neon on/off dimming?

Archive: 15 posts


I'm having troubles figuring out how to get neon to slowly light up to full brightness then slowly dim, and repeat over and over.

Technically what I'm trying to do is what you see in the background pipes of Victoria's Laboratory background as seen in create mode.

I thought the lighting of the neon would work the same as actual lights which work with a speed scale. But I tried numerous switches and even tried the LBP1 technique of piston with magnet key slowly approaching magnetic switch on speed scale which makes light slowly turn on. So I tried many things, tag sensor with tag on piston, tried speed scale switches and none of them worked, even tried things other than speed scale. No matter what I tried the neon would light up and go out quick (instantly) rather than slowly.

Is it possible to make it go on and off slowly in a repeating on/off pattern? If so how? It seems it would be. Please help!
2011-02-04 12:15:00

Author:
Hana_Kami
Posts: 393


I hope you did change the Neon's input action to Dimmer. 2011-02-04 13:01:00

Author:
Rogar
Posts: 2284


This is one of my favorite things to do to test dimmable materials.

First, do what Rogar said ^ MAke sure input action is set to "Dimmer" not "On/Off" (Should show a wrench with a bolt)

You can not only dim between lit and unlit, but an entirely different color if you so choosed. Now to just go back and forth easily, put down a timer. Tweak the timer for input action "Forwards/Backwards" and set "Invert Output" to true. Plug the timer's output into its own input and you'll see the timer will just constantly count back and forth. Plug the timer's output into the neon as well, and now you have your constantly fading in and out endlessly.
2011-02-04 13:41:00

Author:
Foofles
Posts: 2278


I'm pretty sure there's a logic chip exactly how Foofles described it in a logic giveaway level. I can't remember the name at the top of my head, but it's in my hearted page.2011-02-04 14:32:00

Author:
Infernox
Posts: 93


How about having a neon material that's normally set at 40%, but can be triggered to blink on and off brighter when a player performs an action? As soon as I attach a switch to it, it goes to 0%2011-02-04 17:57:00

Author:
ZipCity
Posts: 208


A Timer works well as a Dimmer switch, as you can control it more accuratley.

...and of course, set the Holo to 'Dimmer'
2011-02-04 18:08:00

Author:
Nurolight
Posts: 918


This is one of my favorite things to do to test dimmable materials.

First, do what Rogar said ^ MAke sure input action is set to "Dimmer" not "On/Off" (Should show a wrench with a bolt)

You can not only dim between lit and unlit, but an entirely different color if you so choosed. Now to just go back and forth easily, put down a timer. Tweak the timer for input action "Forwards/Backwards" and set "Invert Output" to true. Plug the timer's output into its own input and you'll see the timer will just constantly count back and forth. Plug the timer's output into the neon as well, and now you have your constantly fading in and out endlessly.

Can you then set, say, a tag sensor to trigger that timer?
2011-02-04 18:11:00

Author:
ZipCity
Posts: 208


Now to just go back and forth easily, put down a timer. Tweak the timer for input action "Forwards/Backwards" and set "Invert Output" to true. Plug the timer's output into its own input and you'll see the timer will just constantly count back and forth. Plug the timer's output into the neon as well, and now you have your constantly fading in and out endlessly.

I thanked you for this then tried it out and it didn't work. For the timer to go up and down like you said, you must connect an alternating input to it. I needed to add another timer and a toggle to get the light to fade up and down. Without an alternating input the timer fills gradually then resets to 0, so the light gradually fades in then suddenly switches off.
2011-02-04 18:16:00

Author:
Frogmeister
Posts: 236


Thanks guys! I will try that, but I could have sworn I tried setting it to dimmer. I'll double check.


This is one of my favorite things to do to test dimmable materials.

First, do what Rogar said ^ MAke sure input action is set to "Dimmer" not "On/Off" (Should show a wrench with a bolt)

You can not only dim between lit and unlit, but an entirely different color if you so choosed. Now to just go back and forth easily, put down a timer. Tweak the timer for input action "Forwards/Backwards" and set "Invert Output" to true. Plug the timer's output into its own input and you'll see the timer will just constantly count back and forth. Plug the timer's output into the neon as well, and now you have your constantly fading in and out endlessly.

I could of sworn I tried that. I tried everything I could think of. I used a timer with battery attached, had timer on backwards/forward. Only thing I didn't try is the invert output part you mentioned and of course I always wire timers to its own reset to recount, but it did exactly what Frogmeister said and just reset to zero.

I'm about to get on in a bit. I'll just combine what you said with what Frogmeister found out. Should work then. ^^
2011-02-04 19:48:00

Author:
Hana_Kami
Posts: 393


Ok, this is really frustrating me.

Almost everything in LBP2 even the easiest things is complicated to get it working. Things that were easy to get working in LBP1 are now complicated. Only thing easier in LBP2 is that things that were complicated to get working in LBP1 are now easier to do, but things that were easy in LBP1 are now harder to do. Weird.

@Frogmeister

I added another timer and a toggle and cannot get them working. I tried all kinds of different wiring and either 1. both timers fill at same time, or 2 one starts full and one empty but they both go at same time.

How do I wire what you did?
2011-02-04 20:32:00

Author:
Hana_Kami
Posts: 393


I thanked you for this then tried it out and it didn't work. For the timer to go up and down like you said, you must connect an alternating input to it. I needed to add another timer and a toggle to get the light to fade up and down. Without an alternating input the timer fills gradually then resets to 0, so the light gradually fades in then suddenly switches off. I just tried it and it works. Did you wire the output of the timer to its own input, or its reset? Based on your description I'd say you wired it into its reset.


How about having a neon material that's normally set at 40%, but can be triggered to blink on and off brighter when a player performs an action? As soon as I attach a switch to it, it goes to 0%
You can use a series of batteries with varying % outputs, each on their own microchip, wired to an or gate that powers the neon. Simply have something activate the microchip with the battery on it that has your desired % value and the neon will be powered by it.
2011-02-04 21:02:00

Author:
xero
Posts: 2419


I agree with Xero, you guys are connecting the timer into its Reset port, I mean the input - the port on the left. It'll bounce back and forth between 0 and 100%.2011-02-04 21:56:00

Author:
Foofles
Posts: 2278


(Smacks face and looks ashamed) Thanks xero. Yup I did attach to reset and not it's own input. I've just tried it and it works. Thanks for that.

@Hana-kami
I agree that it takes a different way of thinking to get things working in LBP2, I've been having quite a few teething troubles myself. If you try what xero said and hitch the output from the timer to the input of the same timer (not to the timer reset) it works like a dream.
2011-02-04 22:02:00

Author:
Frogmeister
Posts: 236


Thanks Xero and everyone! ^^

Yeah I was wiring the output of timer to its reset, lol.

I'll try input in a bit when I get back to the level.
2011-02-04 22:24:00

Author:
Hana_Kami
Posts: 393


You can not only dim between lit and unlit, but an entirely different color if you so choosed.

Can you explain how you do that?
2011-02-05 15:52:00

Author:
Stampy
Posts: 86


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.