Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Help!
#1
fire randomiser once
Archive: 9 posts
Hi guys, new here. Quick question, how would I go about firing a randomiser only once after the object has been emitted? cheers in advance. | 2011-02-05 12:37:00 Author: Unknown User |
I think the randomizer internally supports one shot functionality, just set it to "Override Pattern" for input mode. If you want extra one-shot certainty, you can feed it with a counter of 1 that never gets reset or something else permanent. I believe "Override Pattern" will only fire one per an input received. | 2011-02-05 12:49:00 Author: Foofles Posts: 2278 |
thanks for the advice, but i still can`t figure it out. this is what i`m trying to do.. I have cubes which are emitted, once emitted they emit a smaller cube inside them. These cubes need to be random out of 5 different. In the first larger cubes I have 5 emitters each emiting a different smaller cube, in the same location. I need these 5 emitters to only fire one random cube into the larger cube. hope this makes sense | 2011-02-05 17:08:00 Author: Unknown User |
Instantly when it's emitted? You could hook up a battery to the randomizer and have its input mode set to "override pattern" and say "one at a time" for pattern type, that should do it | 2011-02-05 18:06:00 Author: Foofles Posts: 2278 |
Instantly when it's emitted? You could hook up a battery to the randomizer and have its input mode set to "override pattern" and say "one at a time" for pattern type, that should do it I'm working on something similar, and I keep running into an error: When the randomizer picks an emitter (when triggered with an override pattern), the emitter (set to one shot) will emit the object. However, if the randomizer chooses the same emitter a second time, right after just using it, for some reason the emitter won't emit - looking at the wiring, it appears the randomizer won't "cut" the signal to the emitter after the one shot, and then if it picks that emitter at random twice in a row, it acts like it never sent a second input. I've tried workarounds for this - hooking up a timer with a toggle to turn the randomizer on for .5 seconds, then off again - or counts to make sure that the signal is only sent once and not repeating, but it always seems to cause the same problem. The toggle worked pretty well, but I'm still getting the same hangup when it picks an emitter twice in a row. Any thoughts, guys? I really wish MM just added a "random choice" setting to the randomizer, and reset nodes to the emitter / randomizer as well. | 2011-02-05 19:04:00 Author: LucidMomentum Posts: 8 |
You can try using the "add" option in the pattern, I think it'll cycle in a way that it can't do the same thing twice in a row. Or you can put the randomizer on a microchip and activate the chip when its needed. | 2011-02-05 20:32:00 Author: Foofles Posts: 2278 |
You can try using the "add" option in the pattern, I think it'll cycle in a way that it can't do the same thing twice in a row. Or you can put the randomizer on a microchip and activate the chip when its needed. Will try these out, thanks. Questions though: Doesn't the add option leave all the prior ones on? It'd get real messy having 8 or so objects emitted when I only need one at a time. Oh wait... I just set the emitters to one time use, right? Do microchips have a reset option? Or do I just toggle it on / off? | 2011-02-05 20:49:00 Author: LucidMomentum Posts: 8 |
Yeah the emitter once shot always stays in effect. Microchips all have an activation input that just deactivates all logic (and turning all values output from the chip to 0, clearing the line that feeds the emitters The randomizer does however have an "off time" value... something to consider. OFf time means it will temporarily output no signal. So that might work as well. | 2011-02-05 21:55:00 Author: Foofles Posts: 2278 |
Will try these out, thanks. Questions though: Doesn't the add option leave all the prior ones on? It'd get real messy having 8 or so objects emitted when I only need one at a time. Oh wait... I just set the emitters to one time use, right? Do microchips have a reset option? Or do I just toggle it on / off? *Update* Of all things, it was the randomizer settings - somehow, maximum off time was set to 1second, so every so often the randomizer would choose off as an option. Anyways, got an impromptu rig set up for random generation over timed intervals - I might make it as a prize in my level if anyone wants it. I made a thread about the design here (https://lbpcentral.lbp-hub.com/index.php?t=47918-Random-Sequence-Object-Emitter-Generator&p=763342) | 2011-02-05 22:13:00 Author: LucidMomentum Posts: 8 |
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.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.