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

Controllinator Toggle

Archive: 9 posts


Been making a radio vehicle thingy since yesterday, & I'm using the D-pad for 4 different things that it shoots out.
How would you make it so that when each projectile is toggled, only the one controllinator that's corresponded with the attack be on?
I'm setting the launch button to square for each one, and I got the toggle working just fine for each direction, but whenever I put a wire up to the sending controllinator, all it says is eject player, and transmitters don't work that well either.

Tell me how to get it to work, if possible.
2011-03-10 22:29:00

Author:
Unknown User


Do you just want the weapon selected to stay on once the button has been pressed? Use a selector with 4 inputs and outputs, connecting your 4 directions to each input and the outputs to the desired weapon.

The controllinator only has one input, and the input ejects the player. I get the impression you're using multiple controllinators here? No need to if you use my suggestion above.
2011-03-10 22:39:00

Author:
Xaif
Posts: 365


I'm trying to get it so that when the weapon selected is up, pressing square will shoot it once, not continuously.
Will it still work the same?
2011-03-10 22:53:00

Author:
Unknown User


What is your setup at the moment, can you post a screenshot? What you've asked for there is different to your original post, and that even still isn't very clear.

A selector manages lots of inputs. In your case you have the 4 directions of the D-pad, up, down, left and right, if you hook each one of these up to a selector with number of inputs/outputs set to 4, it will 'remember' which was the last direction pressed, and never have more than one of them active. If you have 'up' connected to input port 1, the selector will turn output port 1 on, and it will stay on even if you let go of 'up' on the D-pad. Then say you have 'left' hooked up to input port 3, when pressed, the selector will turn off output port 1 and turn on output port 3.

If you want your projectile to be fired only once per button press, you'll need an AND gate along with some other logic. If you mean you want your projectile to be fired once and only ever once you'll need a similar setup. For the former, hook the selector output to the AND gate directly, and have the square button hooked up to the other port but instead with some logic that only allows it to trigger once per button press. There are various ways to do this. For the latter have the same setup, but instead have the 'one use' logic attached to the selector's output and the square button linked to the AND gate directly.

Hope that helps, but I'm still not exactly sure what you're trying to achieve, so ask if you need any more details.
2011-03-11 00:03:00

Author:
Xaif
Posts: 365


1. Take out a Selector with 4 ports.

2. Take out 4 AND gates and 4 Counters.

3. Wire the Counters to their own "reset" ports. Set them to activate at one count.

4. Wire up Square to the counters' increment ports.

5. Wire up each directional button to a port on the bottom of the Selector. One button to a port.

6. Wire the Counters to a port on the AND gates. 1 Counter to an AND gate.

7. Wire up the selector inputs to the 2nd port of the AND gates

8. Wire the AND gates to the weapons.

Hope this helps.
2011-03-11 00:31:00

Author:
comishguy67
Posts: 849


Metaphorically up, as in on, my bad.
Edit:
http://www.picvalley.net/u/2905/9411319719110219451299810324EHukMULCelebXHSg1NTh.J PG

Bomb is the red sequencer & microchip to the left, there's the sender controllinator on the chip, and there's only a chip because it can be activated. Rights the receiver for it, & it's hooked up to the emitter. Up & Down toggle isn't up (Same word use, as in on) because I couldn't figure out a base system for Left & Right.

You suggest putting a microchip in the middle of both toggles and the thing that figures out which is on?
2011-03-11 01:47:00

Author:
Unknown User


Got the selectors up for each weapon, and the subtitles for it (to say which one is on) work fine, but the emitters are as buggy as all hell.
http://www.picvalley.net/u/2476/16147338454899451921299855116Yx19Ltrj6KMGPnuhdYux. JPG

Light blue microchip's up and down, and purples left & right. Both are on, and emit two things instead of one. I tried a bunch of ways to fix it (disabling the microchip whenever a side is on), but either I'm doing it wrong or it doesn't work.
2011-03-11 14:58:00

Author:
Unknown User


I haven't scrutinized it too much, but I think comishguy67's suggestion should work. It's different than what you're showing here. The trick is the AND gates. Since one of the selector outputs is always on, as in your design, you're going to get things emitted even when the button is not pressed. Follow his exactly, and I think you'll find it will work the way you want.

I have to ask though, what exactly do the sequencers do?
2011-03-11 20:00:00

Author:
Shanghaidilly
Posts: 153


Sequencers show a subtitle of what weapon was selected. If I press down, it'll say 'Selected Weapon 3', or something along the lines of that, because the mouths alone don't have the subtitle option

Edit:
Cormish's way made the selection easier to understand, but both directions were still on, used a reversed NOT gate to tell it which one's on and what's not, works perfect now. I'll post a link to it whenever it's done and I'm that bored.
2011-03-11 20:35:00

Author:
Unknown User


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.