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

How do I control which sackbot a player goes in?

Archive: 8 posts


Hi all, I'd like to ask how do I make a player go in a certain sackbot without having the player to pick their sackbot manually. (This is because I'm using the player's costumes for the sackbots)
E.g Player 1 goes in the Player 1 Sackbot, Player 2 goes in the Player 2 Sackbot etc... Automatically.
I'm currently making a 1-4 player versus level which contains sackbot which players control.
Thanks
2013-10-19 20:02:00

Author:
Ryanz19
Posts: 50


I'm not sure there is, otherwise "The Party Board" would be a much less confusing level. You are able to single out the leader, and have the bots pick players 2-4, but I have only ever seen a "lead player" or "all players" setting on the stuff that controls the bots. You might be able to figure out a way to get it to copy the closest player, that being the one in the controlinator following and controlling the bot... But I haven't put much effort in finding out how to do this.

I don't know why the bots can discern which player is which, but other logic only says "lead" or "all". I always thought that was kind of dumb. I'm sure townzee would be interested in any answer you find. If you aren't lead players, getting to play yourself in their levels is pretty luck of the draw.
2013-10-19 21:18:00

Author:
DreadRandal
Posts: 434


I'm not sure there is, otherwise "The Party Board" would be a much less confusing level. You are able to single out the leader, and have the bots pick players 2-4, but I have only ever seen a "lead player" or "all players" setting on the stuff that controls the bots. You might be able to figure out a way to get it to copy the closest player, that being the one in the controlinator following and controlling the bot... But I haven't put much effort in finding out how to do this.

I don't know why the bots can discern which player is which, but other logic only says "lead" or "all". I always thought that was kind of dumb. I'm sure townzee would be interested in any answer you find. If you aren't lead players, getting to play yourself in their levels is pretty luck of the draw.

Alrighty then, thanks for the reply!
2013-10-20 16:30:00

Author:
Ryanz19
Posts: 50


Hi all, I'd like to ask how do I make a player go in a certain sackbot without having the player to pick their sackbot manually. (This is because I'm using the player's costumes for the sackbots)
E.g Player 1 goes in the Player 1 Sackbot, Player 2 goes in the Player 2 Sackbot etc... Automatically.
I'm currently making a 1-4 player versus level which contains sackbot which players control.
Thanks

All you have to do is set the controller to "copy owner" and once the sackboy goes in it, it will copy the costume. It won't matter which controllnator the player goes in that way.
2013-10-21 20:35:00

Author:
Darthvadre11
Posts: 134


All you have to do is set the controller to "copy owner" and once the sackboy goes in it, it will copy the costume. It won't matter which controllnator the player goes in that way.

I don't think that they are trying to do this for costumes.
There IS a way to do this, but it's a bit complex. Not too tough though. Place player sensors that eject the player if it's not the right one, IE if you want player 1 only to enter it, then put player sensors with the trigger radius detecting that controllinator. Make these player sensors detect only players 2, 3, and 4, and set these to eject the player. Now this does add a bit of "loading" time when the level starts, but it won't be awful. It may take a bit more logic than that to actually get it to also put them in the right one, but this should give you the push you need.
2013-10-24 04:22:00

Author:
qwerty123456
Posts: 309


Hi Ryanz19,
There is not actual way to get the exavt effect you want. It you want players to actually be in specific seats to control specific bots you could try these ways.
A... Have a selection room where the bots (and matching control seats) are already these... then the player can pick thier own bots.

B... Have 1 bot and control seat present as player 1 enters the level. As player 1 spawns, they enter the seat. As they enter, logic on the control seats chip emmits another bot and control seat on sensing 2 players. As a second player enters the auto-enter second control seat, it triggers same logic on that seat, which emmits a third seat and bot (when 3 players are sensed... and so on.
Tweak each bot to be COPY OWNER COSTUME.
Hope this helps
2013-10-24 10:47:00

Author:
Sean88
Posts: 662


I don't know about OP's specific problem, but "copy owner" would definitely clear up confusion on Townzee's "The Party Board" for players 2-4.2013-10-24 14:39:00

Author:
DreadRandal
Posts: 434


I managed to achieve this with my versus levels, not sure if it's just by fluke or actually how lbp works, but I'll have a go at explaining it now.

Set all your DCS's to 'Automatically Enter' and set the radius so they all cover the entrance to the level. On Player 1's DCS, set who can enter to 'Lead Player'. Now here's the important bit: You have to wire the 'Active' output of Player 1's DCS into a tag, label it something like '1 Full'. Have an inverted tag sensor set to detect '1 Full' and wire it into the 'Eject' input of Player 2's DCS. Do the same for the other Player's DCS's but name the tags '2 Full', '3 Full' etc.

This way, the players should enter the DCS's in order, as lbp seems to spawn players in order. Player 2 should always end up in the Player 2 DCS, Player 3 in Player 3's DCS and so on. This seems to work for me, but again it may not do exactly what you need it to. Thought it'd be worth a mention anyway.

A note about this though, make sure you disable the sensors once all players have spawned, as if one of the players leave, it will eject another player from their seat.
2013-10-25 18:59:00

Author:
Mopkins
Posts: 123


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.