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

Boss' health bar problem!

Archive: 9 posts


I've finally got back into LBP and have been busy creating a new level for the PLCC3, anyway I'm close to finishing it and I've been working on the boss battle for the past 2 hours. The boss is all done except for one problem:

-For Sackboy to defeat the boss he must use the paintinator, I've set up a paint switch so after a certain amount of hits the boss dies. The thing is I want to create a visible health bar for the boss using a timer that copies the paint switch, is there anyway of doing this?
2012-04-12 18:32:00

Author:
CYBERSNAKE
Posts: 280


That'd be hard to do logic-wise, due to the limitations of the paint gun. You see, the gun cannot shoot custom objects (actually it can, but only on a bot) which is what you need in order to fire tagged objects that you can sense the impact of on the boss and so on, and so on.

However, the LBP1-legacy paintball sensor IS a health bar. Why not stick that thing up on a block of invisible holo? That same holo is the object that the paint balls need to hit. Now, I hope that this thing works on holo, but if not, there is perhaps the option of using very thin (and thus invisible) strips of rubber to stick the sensor to and have the paint balls collide with.

Meh, it is such a LBP1 method, but then again this whole paintinator thing is from a LBP1 era.
2012-04-12 19:04:00

Author:
Antikris
Posts: 1340


That'd be hard to do logic-wise, due to the limitations of the paint gun. You see, the gun cannot shoot custom objects (actually it can, but only on a bot) which is what you need in order to fire tagged objects that you can sense the impact of on the boss and so on, and so on.

However, the LBP1-legacy paintball sensor IS a health bar. Why not stick that thing up on a block of invisible holo? That same holo is the object that the paint balls need to hit. Now, I hope that this thing works on holo, but if not, there is perhaps the option of using very thin (and thus invisible) strips of rubber to stick the sensor to and have the paint balls collide with.

Meh, it is such a LBP1 method, but then again this whole paintinator thing is from a LBP1 era.

Is there anyway I can change the length of the paint switch without making it look really fat, similar to a timer?
2012-04-12 19:14:00

Author:
CYBERSNAKE
Posts: 280


why not simply connect the paint switch to the negative end of a signal combiner... then to a full counter. Finally attach the counter to the timer and change thats internal setting to speed scale? Should mimic the counter.2012-04-12 19:38:00

Author:
ForgottenEnigma
Posts: 1414


why not simply connect the paint switch to the negative end of a signal combiner... then to a full counter. Finally attach the counter to the timer and change thats internal setting to speed scale? Should mimic the counter.
Yeah, I think that would work, thanks.
2012-04-12 19:40:00

Author:
CYBERSNAKE
Posts: 280


why not simply connect the paint switch to the negative end of a signal combiner... then to a full counter. Finally attach the counter to the timer and change thats internal setting to speed scale? Should mimic the counter.

Won't work. A paint sensor only pulses when it's been fully emptied, so the counter won't update on each hit. Even if it did, a speed scale timer being fed from a counter won't mimic it.

This should work...

http://i3.lbp.me/img/ft/c838cada2f6c15a3f300adf837e1704c09ac2ae8.png

...if you set the timer's Target Time to 0.1s, and its Input Action to Speed Scale.

You can invert the paint sensor's output instead of using the NOT gate, but this also affects the digital output (which you may be using to trigger a destroyer) and the noises it makes.
2012-04-12 21:59:00

Author:
Aya042
Posts: 2870


why not simply connect the paint switch to the negative end of a signal combiner... then to a full counter. Finally attach the counter to the timer and change thats internal setting to speed scale? Should mimic the counter.

Sadly Speed Scale and Positional is not quite the same, but using the feedback method suggested by Aya, you will get something very close to your request
2012-04-13 12:17:00

Author:
Slaeden-Bob
Posts: 605


I followed Aya's advice, it worked perfectly and I've finally published the level (http://lbp.me/v/-kpc-h), you can check it out if you want.2012-04-13 15:24:00

Author:
CYBERSNAKE
Posts: 280


Sadly Speed Scale and Positional is not quite the same, but using the feedback method suggested by Aya, you will get something very close to your request

In all fairness... you let me answer the question with my 'cringe worthy' logic... so I blame you =p
but in all seriousness, thanks to both Aya and Bob for correcting me and it's good to know op is sorted now XD
2012-04-13 17:36:00

Author:
ForgottenEnigma
Posts: 1414


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.