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

Best way to make Tube Logic?

Archive: 14 posts


You guys remember how the tubes in story mode moved the bots through them?
Well that's the kind of logic I'm working on. should be pretty simple...
Tag follower on bot. tag logic on walls... but it's never ends up that easy unless you
already know how huh? xD anyways i think i have a set up idea on how i can do it
in my mind now... but i want to make sure... clearly it needs to be wireless logic
so i can make easy edits when needed. but really what is the best most simple and clean
way to do Tube logic? *mew
2011-05-14 14:00:00

Author:
Lord-Dreamerz
Posts: 4261


Maybe you put a follow on a sackbot to follow a tag, which the tag is at the end of the tube? Also put some sort of anti-gravity tweaker on. Im not exactly sure.2011-05-14 15:07:00

Author:
DominationMags
Posts: 1840


Use a selector to alternate between green and blue tags, and make an alternating path of green and blue tags for the bot to follow.2011-05-14 16:33:00

Author:
iBubek
Posts: 682


are you controlling the sackbot or just making him get sucked up the tube?

Either way if you want a clean motion, this is the best way I've found. You need to have multiple tags on the way up the tube that the sackbot will follow. You'll also need a tag on the sackbot itself. The tag on the sackbot will deactivate the tags as the sackbot passes them. This is important so that the sackbot does not get stuck on one of the tags.

You'll also need a follower on the sackbot set to detect tags only in the direction of movement. If you want to go up, then left, then up again, you'll need two different followers and two different tags - one for each direction. This makes it a lot easier.

Also in the sound effects tab, under launchers (I think) there is a sound effects called "Tubey Thwonk" or something like that. It's the perfect noise for when the sackbot first gets pulled into the tube


Use a selector to alternate between green and blue tags, and make an alternating path of green and blue tags for the bot to follow.

This would work, but I think my way is a little simpler.
2011-05-14 16:44:00

Author:
shane_danger
Posts: 283


yes it will be on the Bots the player controls and it needs to work for up to 4 players
with every bot going through the tubes at their own pace and just like story mode
and it needs to be made so they can repeat the tube mazething if they find their way back to the start of it.
yeah i should have said that from the start as it needing to work on 4 players all
with their own timing is kinda important.

And don't the tags need to be turned on one at a time so the bot won't try to
follow the wrong ones? how do i do that? way I'm working on
when the bot gets to the tag on the wall it turns it off and turns on the next one at the
same time but I'm making do it by turns on a a tag
that the next spot the bot needs to go to sees then it turns on.
but is that the best way to do it?
2011-05-14 17:54:00

Author:
Lord-Dreamerz
Posts: 4261


yes it will be on the Bots the player controls and it needs to work for up to 4 players
with every bot going through the tubes at their own pace and just like story mode
and it needs to be made so they can repeat the tube mazething if they find their way back to the start of it.
yeah i should have said that from the start as it needing to work on 4 players all
with their own timing is kinda important.

I don't think that would matter. Each bot would have the same logic and the followers would only activate when they were within "sucking range."
2011-05-14 18:03:00

Author:
shane_danger
Posts: 283


Best way: Have movers activated by keys. it is how the best creators do it.
take my advice rather than theirs, i am literally the best.
2011-05-14 18:09:00

Author:
Unknown User


Best way: Have movers activated by keys. it is how the best creators do it.
take my advice rather than theirs, i am literally the best.

haha so modest
2011-05-14 18:12:00

Author:
shane_danger
Posts: 283


but what happens if Bot-A turns off the tag on the way when it passes it before
the Bot-B behind it gets to it? or is the tags on the walls should not be the tags that are being turned off?
2011-05-14 18:19:00

Author:
Lord-Dreamerz
Posts: 4261


but what happens if Bot-A turns off the tag on the way when it passes it before
the Bot-B behind it gets to it? or is the tags on the walls should not be the tags that are being turned off?

Don't have it turn off the tags, have it look for a different tag. All of the important logic would be inside the sackbot, so if done properly the sackbots would never interfere with eachother, under any circumstances.


I made a similar system simply as a decoration to my 99 Red Balloons level. All I did was have 4 movers on the sackbot, set to up, down, left, and right. I then used a series of tag sensors to activate a selector which governs which direction the sackbot would "float".
2011-05-14 22:21:00

Author:
xero
Posts: 2419


Don't have it turn off the tags, have it look for a different tag. All of the important logic would be inside the sackbot, so if done properly the sackbots would never interfere with eachother, under any circumstances.


I made a similar system simply as a decoration to my 99 Red Balloons level. All I did was have 4 movers on the sackbot, set to up, down, left, and right. I then used a series of tag sensors to activate a selector which governs which direction the sackbot would "float".

I see. the way i have it uses a Tag follower on the bot...
but it sounds right to make it so the tags on the wall never turn off.
so I'll try to think something up with that in mind. also if i can't I'll try to do what you said exactly.
*mew
2011-05-14 22:40:00

Author:
Lord-Dreamerz
Posts: 4261


I see. the way i have it uses a Tag follower on the bot...

In that case, you could do what I explained above, only replace the movers with the followers, each following a unique tag, or "waypoint" in its movement path.
2011-05-14 22:56:00

Author:
xero
Posts: 2419


Ok i got what i wanted. i don't know if it's the best way or not, but it's good enough.
http://www.freewebs.com/chaoswinds/Sozo/Tube.png
it follows tags with the name "Tube" in an A to B to C to D and back to A
and repeat pattern till it sees a Red Tag named "Tube Start/End"
also it needs to see a blue one of the same name to start the logic. and no other logic needed

Thanks for yo help guys~
*mew
2011-05-15 01:14:00

Author:
Lord-Dreamerz
Posts: 4261


I'm such a dork I thought this thread was going to be able simulating vacuum tubes in electrical circuits. :<2011-05-15 02:51:00

Author:
Ayneh
Posts: 2454


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.