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

Yet antoher question about emitters

Archive: 5 posts


Hi,

I have this shooter with big boss enemies. What i wanna do is emit 1 giant. And if i kill him i want it then to emit 2. When i kill those 2 i want it to emit 4. ( A bit like that boss in the story level with the blood cells and stuff) How can i do that. Can't find the logic for that one.

Thanks!
2011-02-07 14:15:00

Author:
Stinkin Mushroom
Posts: 117


Ok, here's the setup. Put a tag on the giant you are emitting.

Now, you need 4 emitters. All with giants in them. Set them up to emit 1 giant at a time. Put these emitters on a piece of dissolve and hide it.

First emitter, just have to emit when it does not sense the tag on a giant.

Second emitter have so it emits when it does not sense a giant, but also have a counter (set to 1) that senses the giant tag. Hook the tag sensor and counter to an AND gate and hook the AND gate output to the 2nd emitter.

3rd and 4th emitters: Same as the second emitter, but with another counter set to 3 (or 2, or however it will work, this will take some testing).

Set another counter to the dissolve so it dissolves when it sees the 4 giants and it will not emit any more of them as it will remove the giant emitters.

With some trial and error this should work for you.
2011-02-07 16:48:00

Author:
RSQViper
Posts: 302


The previous solution is nice. But it requeres tag. I dont like to use them - because there is never enough colors for me :-D So I suggest avoid them if possible, so you can use them if there is no other way.
My suggestion is:
1) Prepare the smalles Boss.
2) Save him into your inventory.
3) Create invisible hologram cube with one microchip containing:
- timer (with lets say 1 sec )connected to two emiters, that will emit the small gieant two time
- timer (2 secs for example) connected to the destructor (some silent destuction like fade or dissapear)
So when you create the invisible cube - it will wait a while (so you have a time to ged rid of bigger boss), then emit two small bosses. And then dissapear.
4) Then prepare the bigger boss. And as you have the destruction signal (tag, counter, hit senzor or whatever) connect output to one emitor emiting the cube. And same output connect to the timer (0.2sec should be enough) to destruct the boss.

So when you destruct the boss.. it will emit the invisible cube. After 0,2 sec it will destruct itself (the timer is ther eto ensure that the bos will not destroy itself before acturally emiting the cube.) And the cube will emit two new enemies shortly afterwards.

Then repead again for the even bigger one.
2011-02-07 17:13:00

Author:
Agarwel
Posts: 207


The previous solution is nice. But it requeres tag. I dont like to use them - because there is never enough colors for me :-D So I suggest avoid them if possible, so you can use them if there is no other way.

You can label tags (magnets) now - so you can use one color for a bunch of different functions, and there's no reason you should ever run out.
2011-02-07 17:45:00

Author:
tetsujin
Posts: 187


Yeah, you can name your tags now so you can have 100 blue tags with different names and only the sensor with the same name will activate. Pretty awesome. I <3 tags.2011-02-07 19:53:00

Author:
RSQViper
Posts: 302


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.