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

Score bubble confusion!

Archive: 6 posts


I've never paid much attention to my scores on levels, probably as I'm not a great player!....but I'm making a level that uses bubbles as currency....what I didn't realise is that 'death and re-spawning' takes away a point...or sometime two (not sure if I'm right on the details).

So I'm loosing my score bubble currency and making parts of my levels inaccessible...is there any way to change the deduction?

Any help would be great!
James
2014-04-17 19:47:00

Author:
James-p
Posts: 286


When you die, 5% of your current score is lost. The only way to prevent this is to use a sackbot with the player in a controllinator, so only the sackbot dies and the player never dies.2014-04-18 00:44:00

Author:
AmazingKittyCat
Posts: 204


Since you lose 5% you can restore the inverse of the amount lost (Example): 10/10 - 1/10 = 9/10 so 9/10 x 10/9 = 10/10 so restore by the reciprocal using multiplication (the fine details might be hazy, but try your best and I will try to answer any questions you have after)2014-04-18 05:36:00

Author:
amiel445566
Posts: 664


When you die, 5% of your current score is lost. The only way to prevent this is to use a sackbot with the player in a controllinator, so only the sackbot dies and the player never dies.

Thanks!....Hmmm... possibly....would also be a good way to stop more than one player at a time..
I haven't looked very much into this so...I'd need to learn about re-spawning, checkpoints etc..
...would it be thermo friendly? I'm pretty close to max on some levels..



Since you lose 5% you can restore the inverse of the amount lost (Example): 10/10 - 1/10 = 9/10 so 9/10 x 10/9 = 10/10 so restore by the reciprocal using multiplication (the fine details might be hazy, but try your best and I will try to answer any questions you have after)

Thanks! This seems complicated (for me!!) Not sure I'd even know where to start...and again would it be thermo friendly? I'm pretty close to max on some levels..

Thanks for helping!!
James
2014-04-18 06:37:00

Author:
James-p
Posts: 286


It is possible to solve your problem using logic, and it shouldn't have any noticeable impact on the thermometer. However, this will only work with one player (although it might work with multiple players in a Co-op level).

https://www.paulwillerton.webspace.virginmedia.com/pics/scorecorrector.jpg

Basically, it works by remembering 5% of your score and then adding it to your score after the 5% has been subtracted.

I'll describe the components from top to bottom and from left to right.

The Score Sensor is set to 10,000
The OR Gate is set to Highest Value
The Toggle Switch is attached to a Timer with the Target Time set to 1,000 and the Current Time set to 0.1. It is ESSENTIAL that the timer's output is ON. When you place the timer straight out of your poppit let it turn itself ON and then attach the toggle switch and reduce it's Current Time to 0.1 (making sure it doesn't go to zero), then increase the Target Time to 1,000. This group of 4 components outputs an analog value of your score and the timer and toggle switch gives the signal a Digital ON component which is required for the multiplication that comes next.

The AND gate is set to Multiply
The Battery has a value of 5%. The output from the AND Gate is an analog value of 5% of your score.

The AND Gate is set to Minimum Input
The selector is basically a digital NOT Gate - removing any analog value from the signal. You can reset the system by triggering Input #2 of the Selector.
The OR Gate is set to Maximum Input. This OR Gate is where 5% of your current score is stored.

The Timer is set to Count Up, with a Target Time of 0.1.
The next 2 AND Gates are set to Minimum Input.
The Score Giver is set to Score 10,000 (MUST be the same as the Score Sensor), Input Action is set to Scaled Every Second.
The Player Sensor is set to infinite radius.
The Timer is set to Count Up with a target time of 1 second.
This last group of components triggers the score giver to give you 5% of your score before you died one second after you respawn. Then it resets itself 0.1 seconds later.

If you are using the score as currency and you "spend" some of it then the system will need to be reset. This will only require an extra OR Gate between the Timer and the Selector.

I haven't been able to test this thoroughly, but it seemed to work fine with the short testing I did.
2014-04-19 19:50:00

Author:
fluxlasers
Posts: 182


Thanks fluxlasers!!

....actually been through all of the levels removing points and replacing them with a tag system......****!!!! Great to know though!

James
2014-04-22 07:57:00

Author:
James-p
Posts: 286


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.