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

Controlinator and enemy sackbot issues...

Archive: 9 posts


So I'm making this level that where the player assumes control of a sackbot, right?

Well, I made my main character sackbot to be controlled by the player and made a bunch of different enemies and whatnot. Basically, I got a lot of the hard stuff over with...or so I thought.

I made a short little demo level to test everything out and discovered that the enemy sackbots I'm using don't change layers, which makes them horribly not-dangerous. I double checked their circuit boards and "Change Layers" was enabled. After some tinkering, I discovered the reason: they're set to follow the player, who's seated in a controlinator on an invisible slice of hologram that's been set to follow the a tag on the sackbot's circuit board. When the player's not in the controlinator, they work fine. And when the player is, they do follow the player, but always position themselves one layer in front of the sackbot.

I'm thinking that I'm probably going to have to go back and add followers set to the sackbot's tag, but I feel like that's more work than I want to do right now. So my question is this: is there any way to fix the problem I'm having with minimal tweakage of my enemy sackbots?

EDIT:
After messing around with a Follower, I discovered another problem with them. It makes the enemy sackbots float instead of them walking like they normally do when set to follow the player. Also, they can't jump. So I'm ruling out followers for reasons beyond laziness at this point...
2011-07-14 22:41:00

Author:
Unknown User


I'm having exactly the same problem and it's driving me crazy!2011-07-14 23:15:00

Author:
lbp2goty
Posts: 104


Okay is the hologram where sackboy sits in a DCS thick or thin? Make it thick maybe. Is the hologram able to change layers?

Instead of using followers on the sackbots, use the standard tweaks on them instead.
2011-07-14 23:27:00

Author:
Willman4
Posts: 170


Yeah, don't use followers on bots! Just tell them to "follow progression" or something like this... and then set the tag to follow.2011-07-14 23:34:00

Author:
Unknown User


Could you guys explain in more detail what you mean?2011-07-15 01:01:00

Author:
lbp2goty
Posts: 104


Can't you set the bots' A.I. to follow a tag instead of the player? I can't remember for sure and I don't have the game in front of me atm, but I think that's how I've done it.

If not, then what you can do is rig your control seat to keep the player in the same layer as the controlled bot at all times. Make a bit of thick holo and, instead of sticking the controllinator on the front of it, stick it on the top/bottom/side of it so that the player will be sitting in the same layer as the holo, and rig the holo to follow in the same layer as the controlled bot.

Another option is to disable the enemy bot's "change layer" option, add a follower but set the follower's speed and strength to zero and check yes on "change layers." A follower tweaked like that won't have any effect on the sackbot's movement except to force him into the right layer. Even if that's not the method you use to get the bots to follow the player, it can be useful for helping them get around obstacles. A bot set to be in the same layer as the player might get stuck against a wall and won't be smart enough to change layers into the open path, so I'll sometimes set overrides to force them into the layer I want. I make a 3 layer chunk of holo with a specific tag and put an impact sensor that matches the tag on the bot. When the sensor is triggered, it will disable the normal layer changing logic and trigger another layer changer that's set to move it to the proper layer. I had to do that in a level because the bots were falling out of the level by changing layers in a way that players can't--I gave them overrides to force them into the right layers so they couldn't fall out.
2011-07-15 07:31:00

Author:
Sehven
Posts: 2188


I think I figured this out, whatever you do, the thing the bot is following must change layers as well. You can use an in/out mover on the holo, or set the bots to "follow waypoint" and put a tag on the bot they are supposed to follow. I find following tags to be more reliable than following sackboy.2011-07-18 07:26:00

Author:
sp0ngyraver
Posts: 407


I'd look into the "follow tag" option on the sackbots. This will not be your last problem regarding A.I., controlled bots and players and because you have chosen to use a sackbot to play with instead of the player himself, I'd stick with that concept: make enemies attack the bot, shoot at the bot, follow it, etcetera.

Stick a tag "Player" on the controlled bot, maybe even hook it up from the Active output on the controlinator, so it will only light up when the bot is in use.
2011-07-18 07:37:00

Author:
Antikris
Posts: 1340


it worked. Thanks to all who gave advice. 2011-07-29 18:04: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.