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

Danger Tweaker question

Archive: 6 posts


So I built a level similar to the in-game's Rocket Shooter Competition level. But I made a power up that when you touch it, it electrifies all surfaces for 1 second (kind of like the POW button on Smash Brothers) . The only problem is:

1) If player 1touches the power up and player 2 is killed by the electrified playing field, player 1 gets a kill credit of 10pts but player 2 does not lose points for dying

2) If player 2 uses the power up and kills player 1, player 2 gets no kill score but player 1 looses -10 points.

How would I make it which ever player activates the power up and successfully kills the other player gets awarded a kill credit?

Here's what activates the playing field:

1) the power up has a tag on it labeled zap
2) there's a tag sensor thats in the middle of the playing field with a NOT switch connected to it.
3) when the power up is touched (power up has a player sensor that destroys it when its close by) the result of the missing, labeled tag trigers a sequencer that activates Danger Tweakers on all surfaces.

I tried to see if it had something to do with the global score tweakers and making sure that they were set to only award points to the one that activated it. But my power up only awards 10pts when its destroyed... I can't find anything else that would modify who gets credit by a global danger kill. For example, on the in-game Chick Flick bumper car level, how does the player who bumps their opponent into the wall get the credit, but if they run themself into it it's a suicide. I effectively want to do something like that. Will i need to make sack-bots with some crazy logic that act as players or can i do this with players alone

Any help would be awesome!<3
2011-05-06 20:57:00

Author:
Unknown User


are you using score givers? if so make sure that the one that gives you points is set to ( cant remember what its called) "give score to player who activates it" or something like that but shorter . then the person who activates the player sensor that destroys the power-up should get the points. BUT if (because the score giver probably isn't linked directly to player sensor) because the not gate activates the score giver then I'm not sure. maybe in that case you should connect the player sensor to the score giver to get the results you want. also for deducting points, versus mode should automatically do that 2011-05-06 21:20:00

Author:
nerzdadestroyer
Posts: 1527


there is a nice little tut in the 2torial sect talking about the transfer of playr data...this should help u out.2011-05-06 21:45:00

Author:
Unknown User


there is a nice little tut in the 2torial sect talking about the transfer of playr data...this should help u out.



can you please share the Link?
2011-05-06 21:56:00

Author:
Unknown User


found it. https://lbpcentral.lbp-hub.com/index.php?t=48588-Observations-about-player-data-and-logic-gates2011-05-07 00:15:00

Author:
Unknown User


One cool thing wath they can do in the LBP2 dangers Twekers, is a letal or not mode. Imagine, the effect of the fire but without the danger.2011-05-07 00:57: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.