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

Score giver for sackbots

Archive: 10 posts


Hello, my brother is making a VS level and he is having some problems with the score giver and I don't know how to help him.
His level starts with a selection menu in which the players can choose the number of players that will participate.
Then they are taken to the "arena" where they need to throw objects into a container. The score giver will give points based on the size of the object (small, medium, big). The game looks great and works perfectly with sackboys.
The problem shows up with the playable sackbot characters, there is a diferent character for each player and they do their job with no problem, but when they throw the object to the container, the score giver just gives the points to the first player no matter who throws the object. There was one time in which the second player received the points instead of the first, but it only happened once.

P.S: I know I put too much information but I believe it's easier to find the problem that way.
2011-07-23 17:36:00

Author:
Unknown User


Maybe use tags or something?2011-07-23 17:42:00

Author:
Unknown User


I tried, but I think I have the wrong idea with them. I tried connecting the score giver to an AND Gate and then one input to the tag sensor that detects the object, and the other to a tag sensor that detects the correct sackbot, but how can it detect a sackbot which is far from the container and not touching anything?2011-07-23 18:22:00

Author:
Unknown User


If the sackbots are used as computers then you could replace the points with a system of counters that will then subtract the points from the players at the end.
(I have one if you need me to give it to you)

If the sackbots are being controlled by a DCS then all you should need to be is put it on the players circuit board.
2011-07-23 20:30:00

Author:
Zero10100
Posts: 385


Can you explain to me how to make my own counter system? It sounds like the one that is going to save me 2011-07-23 23:01:00

Author:
Unknown User


Have three different counters(1 for each score size).
Set the max number high enough so it wont max out.
Wire a combiner into the counter.
Wire the score sensor (the container) into the positive end of the combiners, so each score size triggers one counter.
Use an AND gate for the negative end of each combiner.
Set each AND gate to use three ports.
Wire the counter into its own AND gate.
Wire a timer set to .1 into every AND gate and its own reset.
Use the Game ender trigger(Score sensor, Timer, ect) to every AND gate.
Wire the AND gate output into the corresponding Score giver with the opposite value(Ex. 100= -100). Set the score giver to all players.
(Optional) Use an Inverted score sensor set to 0 to detect if the bot won.
When the game ends you will need a few seconds for it to finish
This will only work with one bot.

I hope my terrible diagram helps

+100points-------+
Timer------A----(-)/- Counter
Counter----N------(-100points)
End Game-D
2011-07-23 23:20:00

Author:
Zero10100
Posts: 385


Don't worry, thanks a lot for the help, I'll let you know if it worked.2011-07-24 01:09:00

Author:
Unknown User


Sackbots wil ALWAYS use tags Remember that but what zero said was helpful.2011-07-24 02:28:00

Author:
zzmorg82
Posts: 948


It worked! Thanks for teaching me this, I'll probably use this in the future.
By the other hand, it seems that my brother found some more problems with his game and decided to stop using sackbots ._.
2011-07-24 02:45:00

Author:
Unknown User


Glad I could help, even if you didn't need it in the end...2011-07-24 03:20:00

Author:
Zero10100
Posts: 385


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.