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

Score giver!!

Archive: 13 posts


I know that there are alot of topic about this, but my situation is different... ( i think )
Im having a versus game lvl, you fight with vehicles that will be emitted when you grab a sponge ( lol )
It has a gun on it, that shoots a fire projectile with a impact sensor and a score giver. The problem is pretty much obvious,
Score for wrong player! Impact sensor is set-up to a red tag that is located on every vehicle. How to work around this? Btw the vehicle is a controllinator with the R1 button linked to a emitter that shoots the projectile. The score should be given to the guy who emits ( the one that presses R1 in controllinator, shoots a projectile and hits someone ) But it is randomly given
Why? It should be normal that the one who emits the vehicle with the sponge is the "score-getter"
Sorry for my english, if anyone needs more info please ask.

FabioGNR
2011-05-04 16:32:00

Author:
Unknown User


What if you made the impact sensor activate a tag, then had a tag sensor on the firing player connected to the score giver? I wonder if that would fix it. it seems like it's assigning the score to the player who is attached to the score giver.2011-05-04 19:35:00

Author:
shane_danger
Posts: 283


I will try that soon, thanks! ( it should work )

EDIT: Actually it won't work... because i would have to use different colors for tags but i only use one emitter, so connection's wouldn't work or am i thinking bad? And otherwise everyone would get score for 1 guy thats hit / ( it should be 4 players capable ) thanks tough, if you know how to solve it, please tell me!!
2011-05-04 20:38:00

Author:
Unknown User


By placing battery to microchip in and activate that microchip with sorce signal battery will output signal with player data that currently sits on controllinator or controling sackbot that microchip is currently in.

This is only way to control signal ownership (at least that i know)
2011-05-05 01:05:00

Author:
Shadowriver
Posts: 3991


I had a similar problem and I solved it by sending player data through tags. I'm not 100% sure this will work in your situation but it's worth a try.

You will need to put a tag on the controlinator and label it player data or something like that. Wire the controlinator activate to the tag. Put an AND gate between the score giver and whatever activates it. Make sure you wire it into the second input of the AND gate. Use the player data tag sensor with range all the way up to 5000 and output from that to the first input of the AND gate.

The player data will transfer through the controlinator to the tag and sensor and give the score to the player in the controlinator.

As I think this through I'm thinking that if this doesn't work, you might need to actually make each players vehicle unique with a different tag (labeled player 1 data, player 2 data, player 3 data, and player 4 data) on each vehicle. Then use 4 tag sensors going into 4 different AND gates, then through a 4 port OR gate to the score giver.

Let me know if you need me to clarify.
2011-05-05 02:30:00

Author:
riverad08
Posts: 104


By placing battery to microchip in and activate that microchip with sorce signal battery will output signal with player data that currently sits on controllinator or controling sackbot that microchip is currently in.

This is only way to control signal ownership (at least that i know)

Im gonna try that, thanks

EDIT: I tried to figure this out, but i can't really understand you... So, a battery in a microchip on the controllinator, that activates when someone is hit????



I had a similar problem and I solved it by sending player data through tags. I'm not 100% sure this will work in your situation but it's worth a try.

You will need to put a tag on the controlinator and label it player data or something like that. Wire the controlinator activate to the tag. Put an AND gate between the score giver and whatever activates it. Make sure you wire it into the second input of the AND gate. Use the player data tag sensor with range all the way up to 5000 and output from that to the first input of the AND gate.

The player data will transfer through the controlinator to the tag and sensor and give the score to the player in the controlinator.

As I think this through I'm thinking that if this doesn't work, you might need to actually make each players vehicle unique with a different tag (labeled player 1 data, player 2 data, player 3 data, and player 4 data) on each vehicle. Then use 4 tag sensors going into 4 different AND gates, then through a 4 port OR gate to the score giver.

Let me know if you need me to clarify.

Yeah, 4 tags, problem is i only have 1 emitter and it will be hard to let the players enter the same vehicle everytime they die etc. Thanks tough!
2011-05-05 10:49:00

Author:
Unknown User


Yeah, 4 tags, problem is i only have 1 emitter and it will be hard to let the players enter the same vehicle everytime they die etc. Thanks tough!

You could use sackbots that way you could use 4 emitters and put followers on each vehicle set to follow a tag that is unique on each of the sackbots. That way the correct vehicle will go right to the player.
2011-05-06 00:26:00

Author:
riverad08
Posts: 104


I tried to figure this out, but i can't really understand you... So, a battery in a microchip on the controllinator, that activates when someone is hit????

No activates when you want to give player a points
2011-05-06 12:24:00

Author:
Shadowriver
Posts: 3991


Why not simply put all tags on the part your emiting and also set the impact sencer to include tutching?2011-05-06 13:20:00

Author:
WESFUN
Posts: 1336


Why not simply put all tags on the part your emiting and also set the impact sencer to include tutching?

That is fine, but the less complexity the less chance of bugs. Also, you may want to keep contraptions as anonymous and generic as possible in the case you want to have it occupied by other players than a specific one, or in case you are spawning more than one of them (through an emitter for instance).
2011-05-06 13:56:00

Author:
Antikris
Posts: 1340


But i cant trigger that, only the first time but you cant emit connections without emitting the full thing, gonna try that sackbot thing btw2011-05-06 15:24:00

Author:
Unknown User


But i cant trigger that, only the first time but you cant emit connections without emitting the full thing, gonna try that sackbot thing btw

then use tags and tag sensors
2011-05-06 18:37:00

Author:
Shadowriver
Posts: 3991


Im inda confused now, didnt even see the 2 posts before me But, i still dont get how this works, i emit a projectile with a impact sensor that will activate a tag, the tag sensor will find it, and activate the score giver. But, Then everyone will get score right? **** this is brainkilling 2011-05-06 23:54: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.