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

How to toggle between multiple sackbots using the same controllinator

Archive: 10 posts


First create the Controllinator you will have your sackboy sit in, and set it to remote control transmitter.

On the Controllinator your sackboy will sit in put:
Two direction spiltters
One direction combiner

Connect the output from the buttons you want to use to cycle between the bots (I used L1 and L2) to the inputs of the direction splitters. Then put the positive output of both splitters into the inputs of the combiner. This isn't especially necessary, but it lets you cycle through the bots in both directions which is nifty.

Make a small piece of holo and set its transparency to 100%. Put a microchip on it, and on that microchip put:
Two movie cameras
Two selectors (with as many inputs as bots you want to control)
As many followers as you have bots

Connect the Controller Output: Active (this is the black circle between the directional pad and the buttons on the right) from the Controllinator to the first movie camera. Make sure to tweak the hold time for this camera to infinite, and disable controllers to no. Connect the button you want to serve as eject (I used triangle) to both the Controllinator and the second movie camera. Tweak the second move camera to have a hold time of 0.0 seconds. (Thanks to BludgaBoy, copied his moving camera from his video found in the sticky in the Help! section of the forums)

Each sackbot will need a unique tag (either different colors, or same colors with different labels) and a Controllinator set to receive (the same frequency as your transmitter).

EDIT: Instead of connecting every single output from Selector 1 into the inputs of Selector 2, you can simply connect the output from the combiner to the cycle input for both Selectors.

Here's where it gets interesting. Connect the output from the combiner into the cycle input of Selector 1. Now connect the first output of Selector 1 to the input of the Follower for the first sackbot AND to input #1 on Selector 2. Make sure to tweak the Follow Tag Instead option to yes and match it to the tag of your first bot. Also tweak the minimum and maximum detection range, and movement speed of the follower especially if your level is going to be big. Now connect the second output of Selector 1 to the follower for your second bot AND input #2 of Selector 2. And so forth and so on. Now tweak Selector 2 to reverse outputs. Then connect the outputs of Selector 2 to the Controllinators on the corresponding sackbot. This makes it so you're only controlling one bot at a time.

Now you're ready! Get in the controllinator and switch between your bots with L1 and L2.

I'll try to add pictures of the circuit boards later to make it clearer. I'll also publish a level I made with a quick demo of this and make it copyable. The name of the level is Toggle sackbot control concept, PSN is in my profile.

Eventually I hope to base a whole puzzle level on this once I get some of the finer points worked out. For instance, one problem I can't get around is if a sackbot generated from an emitter dies, there isn't any way I can think of to reconnect the wires to its circuit board. When a new bot is spawned the camera will still follow it, however when you switch to controlling a different bot the bot spawned from the emitter will also move.

EDIT: So if you want this to work with re-emitted sackbots put a tag on your piece of holo. Now put a tag sensor matching that tag on your emitted sackbot. Tweak the sensor to reverse output, and tweak the max detection range (I think 8 is good). Then connect the output from the sensor to the controllinator on the bot. Now the bot is only controllable when the camera is on it. Unfortunately this causes an unwanted consequence: if you're controlling a sackbot and run right by another, they both start moving. Knocking the range on the sensors down to about 4 keeps you from picking up the second bot if you run by it, but if you stop or slow down you'll pick it up. Something else to consider is if you want to only use emitted bots you can do away with Selector 2 entirely, but to avoid the multiple control problem you could have the bots that aren't being put in danger still connected to Selector 2 and won't have to worry about picking up a second bot.

Questions, comments, constructive criticism welcome!
2011-01-30 07:32:00

Author:
Unknown User


If only you could figure out how to make this work with re-emitted sackbots, it would be absolutely perfect for the level I am trying to figure out. Still, its very helpful and is a huge step in the right direction.2011-01-30 11:00:00

Author:
Tomo009
Posts: 274


Well I've come up with a work around, but it's got a separate issue. Check out the editted post.2011-01-30 22:13:00

Author:
Unknown User


There's a way to do this with more finesse that works with sackbots emitted from an emitter.

The setup requires 1 controllinator for the player to sit in, and 3 controllinators per sackbot that will be out at once.

First, set the controllinator the player will sit in to be remote control, sending, give it a name like prime signal or something.

Next, create an MC outside the controllinator.

Inside of this MC you will stick two controllinators. One will be set to receive the Prime signal, and the other broadcasts a different signal. Next, connect every output of the receiving controllinator to the output controllinator.

Essentially this acts as a splitter for the signal, the main output goes out and activates the prime MC, which then turns on an activates all 4 recievers, which then transform the signal to the four output signals, each with different names. It splits one tagged signal into 4 different signals, each with a different tag.

Ok so what? Well now it gets pretty easy, stick this MC in the original prime MC, and dupe it so you have four of them (or however many sackbots you have)

Make a 4 output selector, and hook up the left/right buttons to it's cycling input. Hook up each of the four outputs to the on/off inputs of each of the 4 MCs.

Now make 4 sackbots, stick an MC in each of them, and set them to receive the signals of the 4 different secondary output MCs, each with their different tags.

Believe it or not, your system should now already work! Let's break it down.

Lets call the selector you sit in Prime Selector, which sends the tagged signal Prime. This is sent to 4 different controllinators, each residing inside of an MC, each connected to their own controllinator. Each of those four output four different signals, each of which has its own sackbot that receives it.

Now by hooking up these 4 MCs to the selector, only one of them is toggled at a time, which in turn orevents 3/4 of them ever recieving the signal from the Prime controllinator.

If you want to see the best part of this, copy a sackbot as an object, guess what? You can emit it from an emitter and it will still be controlled like the rest!

In other words, using this method their is no connection between the sackbots and the controllinator, no wires attached! This opens up a lot of possibilities to easily make more sackbots to the list without much effort, just add another output to the selector, dupe an MC and rig that to the new output, open the MC and give the output signal a new tag name, and make a new sackbot with the same tag name on its reciever!

Now if only I can figure out an easy way to detect when one of these sackbots have died other than a really really big tag detector, because the best method (sticking a battery on them and hooking that up to an external NOT gate) requires an external connection, which is impossible if the sackbot is emitted.
2011-01-31 04:03:00

Author:
lionhart180
Posts: 200


This is a very useful way of doing sackbot switching, and I thank you for writing it, but I do have one critic.
Could you please clean this section up a bit, as it can ruin the whole thing if its confusing, which it is:

"Connect the Controller Output: Active from the Controllinator to the first movie camera.

What do you mean by that? Other then that, the tutorial is great.
2011-02-02 01:27:00

Author:
firstar
Posts: 47


This is a very useful way of doing sackbot switching, and I thank you for writing it, but I do have one critic.
Could you please clean this section up a bit, as it can ruin the whole thing if its confusing, which it is:

"Connect the Controller Output: Active from the Controllinator to the first movie camera.

What do you mean by that? Other then that, the tutorial is great.

The little black dot on the top of the controlintor, the thing that tells when a player is in it.
2011-02-02 02:52:00

Author:
11204
Posts: 111


The little black dot on the top of the controlintor, the thing that tells when a player is in it.

Isn't there a proper name for that? I was struggling with that one as well the other day, trying to help someone.
2011-02-02 09:29:00

Author:
Antikris
Posts: 1340


Hey all,

I created my sackbot control switching some time ago. It is very similar to lionheart180's setup.
The way to recognize, when one sackbot dies, is by placing a tag on it and creating a tag sensor somewhere in the level with very high range.

Now as soon as the sackbot dies, the tag dies with it and this should trigger the tag sensor. (I would invert the output of the tag sensor). U can do any action like telling the emitter to spawn a new one (is good for counting, how many respawns u still have or whatever)
The inbetween time between sackbot death and respawn - the sensor is still on.
U only have to take care, that the action isn't triggered more than once in the time the sackbot dies until a new one spawns.

But the setup is very easy:

Create a counter and the whole logic (what should happen if sackbot dies) somewhere in the level (NOT on sackbot!!!)
Max 1
Current 0
Connect the output of the counter to the action that should happen once and additionally connect the same output to the counter's reset.
The output of the tag sensor goes into the counter.
As long tag sensor is active, the counter will be triggered once and already reset. So it will only send a short signal and be deactivated even if the tag sensor still sends a signal.
Now the new sackbot is born, the signal to the counter is OFF and a fresh signal (as soon as the new sackbot dies again) will toggle the sensor and counter again.

If u do this with 4 different tags and 4 tag sensors, u can always know exactly, which of the four sackbots died.
If u don't spawn another sackbot, the sensor will stay on but the counter is still reset to 0 and doesn't send a signal.

I hope this helped.
2011-02-02 11:50:00

Author:
spyralab
Posts: 1


I've followed the steps from the op with 2 sackbots to control, but somehow i can only play with one, the other one doesnt respond

edit: nvm i figured it out
2011-02-11 16:34:00

Author:
Tom_vdl
Posts: 7


I made a way to do this with multiple players controlling many sackbots. The hardest part was getting the sackbots to only be activated by one player at a time.2011-02-13 13:34: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.