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

Score giver in versus mode

Archive: 6 posts


I'm making a versus level involving two sackbots. I've put a score giver on each sackbot that activates every 5 seconds using a timer, when the following two conditions are correct

1. A tag indicating that the game has started is active
2. A tag indicating that that player has ownership of the star is active

It gives points when it should do, however it doesn't award them to the correct player. It always gives them to player 1. How can I force the score giver to give points to player 2?
2011-10-07 16:29:00

Author:
Unknown User


If you're using Sackbots, I assume you're using Controllinators.
Personally, when using Controllinators, I find a sure-fire way to make sure the right people get the points, is to locate the score giver inside the respective players Controllinator, and wire a Tag Sensor (Large radius) into the Score Giver.
It's much easier to identify a Sackbot and active a specific Tag based on the Sackbots ID, than to rely on the player-signitures to do all the score allocation for you.
And so long as your Score giver is inside a Controllinator, to my knowledge, only the Sackperson inside that Controllinator can recieve points.

You didn't give many details as to exactly what your setup is, but I do believe the advice given here will point you in the right direction.

Normally, just to be on the safe side, I place my Score Givers in a Microchip, inside the Controllinator. And then I put a Tag Sensor, wired into an AND Gate in front of the Score Giver. And then I wire the Controllers Active Output into the second input of the AND Gate. This way you can choose which Tag is activated, and then the Controllinators Active Output is the input with the player signiture that dictates score allocation.

Remember, in this system, you must label each score-signalling Tag separately, so that only one set of Score Giver(s) are active.

So, let me see if I can reword all this in a more relevant way -
Instead of having the 'Star' (I assume it's a CTF-ish game?) identify if and when it's in possession of a player and activate a Score Giver within itself, have it identify exactly which Sackbot has it, and then activate a uniquely labelled Tag accordingly. So, If Red Sackbot has the Star, have the Star activate a Tag labelled 'AwardPoints-RedSackbot'. And then have a Tag Sensor and Score Giver in the Red Players Controllinator award points. This should resolve your issue.
2011-10-07 18:56:00

Author:
Ostler5000
Posts: 1017


Thankyou Ostler, that worked great 2011-10-07 19:53:00

Author:
Unknown User


If you're using Sackbots, I assume you're using Controllinators.
Personally, when using Controllinators, I find a sure-fire way to make sure the right people get the points, is to locate the score giver inside the respective players Controllinator, and wire a Tag Sensor (Large radius) into the Score Giver.
It's much easier to identify a Sackbot and active a specific Tag based on the Sackbots ID, than to rely on the player-signitures to do all the score allocation for you.
And so long as your Score giver is inside a Controllinator, to my knowledge, only the Sackperson inside that Controllinator can recieve points.

You didn't give many details as to exactly what your setup is, but I do believe the advice given here will point you in the right direction.

Normally, just to be on the safe side, I place my Score Givers in a Microchip, inside the Controllinator. And then I put a Tag Sensor, wired into an AND Gate in front of the Score Giver. And then I wire the Controllers Active Output into the second input of the AND Gate. This way you can choose which Tag is activated, and then the Controllinators Active Output is the input with the player signiture that dictates score allocation.

Remember, in this system, you must label each score-signalling Tag separately, so that only one set of Score Giver(s) are active.

So, let me see if I can reword all this in a more relevant way -
Instead of having the 'Star' (I assume it's a CTF-ish game?) identify if and when it's in possession of a player and activate a Score Giver within itself, have it identify exactly which Sackbot has it, and then activate a uniquely labelled Tag accordingly. So, If Red Sackbot has the Star, have the Star activate a Tag labelled 'AwardPoints-RedSackbot'. And then have a Tag Sensor and Score Giver in the Red Players Controllinator award points. This should resolve your issue.

there is an easier way, i use a lot. ok, out the defective score givers in a microchip, and the controlinator that the player that needs to be awarded open it, and inside it wire the player inside wire to the microchip's activate input. there easy! =)
2011-10-07 20:30:00

Author:
StaticLinuxpro
Posts: 482


Yeah that's what I ended up doing Static, I connected an AND gate to my score sensor and connected the 'Controlinator Active' output to one of the AND inputs. That was the piece of the puzzle that got my score sensors working 2011-10-07 21:18:00

Author:
Unknown User


Just to add a little extra info here, this link shows how player data works with different logic components:

https://lbpcentral.lbp-hub.com/index.php?t=48588-Observations-about-player-data-and-logic-gates
2011-10-07 21:43:00

Author:
Xaif
Posts: 365


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.