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

Mining Rock Points Logic Fail, Again

Archive: 10 posts


Okay so I've encountered a new problem with my mining rock logic. I decided to place a sackbot in my level, because it allows you to do cool wall jumps and the general rpg stuff. Anyways when you go to grab a rock the points are given to no one. Hey just appear black abode the Sackbots head. So could someone help me again.

So I need someone to help me fix it, here's the logic
http://i1.lbp.me/img/ft/2911b72a2e0a6d59d44384fa0609d55f1877503a.jpg
This pic is a little old I have switched the inputs spots of the and so um yeah and stuff.
Also the for additional info;

1-The thing on the left above the grab sensor us a projectile sensor. It is set to water only, with one as it its total and resets when full. It is so you can mine with the water gun that is not yet implified into the level.

2-That thing on the top is a counter set to ten. It is used for keeping track of how many times you grab/shoot the rock.

3-The player sensor set to the not gate is to reset the counter, so you can mine again once you get far enough away from it. It has about a 95 size radius thing.

If you need any more info just say so.
2012-07-16 04:11:00

Author:
SilverTriforce7
Posts: 183


Scoring is all about signal ownership. Whichever player's ownership is passed thru the signal to the scorer is the one who will get the points.

Now... This is just an educated guess, but according to LBPC Wiki:


The AND gate propagates signal ownership information, prioritizing its first input. When first input is active gate won't transfer player data from its first or second input unless all inputs are active.

and...

The OR gate transfers ownership information, prioritizing its first input.

So the grab switch (that carries your player ownership info) is currently wired into the 2nd input of your OR and that resulting signal from the OR is wired into the 2nd input of the AND gate. If the info above is accurate, it may be fixable by moving both of these inputs to the top (or first) nodes.

Hope that makes sense and this it was helpful!
2012-07-16 04:54:00

Author:
v0rtex
Posts: 1878


I was there when this happened XD glad you could help him thank you. It is still a fun level with awesome detail. Hope this fixes your problem SilverTriforce7 i still wanna help with that level if you don't mind and glad i caught the glitch for ya.2012-07-16 05:12:00

Author:
Ben21
Posts: 127


Scoring is all about signal ownership. Whichever player's ownership is passed thru the signal to the scorer is the one who will get the points.

Now... This is just an educated guess, but according to LBPC Wiki:


and...

So the grab switch (that carries your player ownership info) is currently wired into the 2nd input of your OR and that resulting signal from the OR is wired into the 2nd input of the AND gate. If the info above is accurate, it may be fixable by moving both of these inputs to the top (or first) nodes.

Hope that makes sense and this it was helpful!

Thanks it really helped, It works right now.
2012-07-16 17:59:00

Author:
SilverTriforce7
Posts: 183


Thanks it really helped, It works right now.
Sweet! Glad to be of service!
2012-07-16 18:25:00

Author:
v0rtex
Posts: 1878


Sweet! Glad to be of service!


Lol It sounded as though you were suprised then V0rtex lol
2012-07-17 15:45:00

Author:
LittleBigSnooth
Posts: 454


Lol It sounded as though you were suprised then V0rtex lol

Well, like I said in my post: educated guess. I had not actually tested it. I just know the signal ownership can be persnickety.
2012-07-17 19:04:00

Author:
v0rtex
Posts: 1878


Okay I have new problem with my mining rocks that involve sackbots so if anyone could help I just updated the original post instead of making a new one.2012-08-13 21:21:00

Author:
SilverTriforce7
Posts: 183


Okay so I've encountered a new problem with my mining rock logic. I decided to place a sackbot in my level, because it allows you to do cool wall jumps and the general rpg stuff. Anyways when you go to grab a rock the points are given to no one. Hey just appear black abode the Sackbots head. So could someone help me again.

That is because you need a player's signal for it to know who to give it to. If you add in a tag sensor and wire it into the AND Gate and place the same tag on the bots it will give it ownership. You might need to activate the tag with the Active output of the controllinator.
2012-08-14 04:22:00

Author:
Zero10100
Posts: 385


That is because you need a player's signal for it to know who to give it to. If you add in a tag sensor and wire it into the AND Gate and place the same tag on the bots it will give it ownership. You might need to activate the tag with the Active output of the controllinator.
Thanks. It works right thanks to the tip. I just assumed it would know to give me the points because I was controlling the sackbot. Anyways thank for your help.
2012-08-14 23:50:00

Author:
SilverTriforce7
Posts: 183


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.