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

Poison water

Archive: 7 posts


Hi community!

Im trying to make a make a level, where Sackboy die if he touch the water... its that posible? I read something about makeing it with gas, but I dont know if there is a easy solution.

The Idea is make the water comming up, so you have to be hurry and go up before the water catch you... so if I do with gas, can I move the gas for steps (the water move up depending where you are, where there is a save point, then I make the water go up until this point (I mean, the point is not to fall on the water more than the water catch you,... i guess
2012-11-05 10:38:00

Author:
Unknown User


Yup definitely possible, and your information about the horrible gas was spot on. Just put a layer of horrible gas right at the waters surface and the player will die if they touch the water. In order to get the horrible gas to move with the water without specially coding each location, you'll need some more advanced logic.

What I would do is create a long strip of horrible gas that will go across all the locations you want to have your level (and therefore your water hazard). I'd glue an invisible hologram or sticker panel to this that will control the height of the horrible gas depending on the height of the water.

To do that you'll need two water sensors, one slightly above the other. When the top one is on, the entire piece will move upwards until it is no longer on. If the bottom one is not on, the entire piece would have to move down. Thus, the horrible gas is always at the top of the water between the two water sensors. Alternatively, you could make each section have its own horrible gas, which might take a while, depending on how long the level is.

Even easier, just make the player become a sackbot. That would assure death from water as well, but you would have to worry slightly more about respawning, and you would have to deal with the zapped animation.
2012-11-05 17:19:00

Author:
ChrisF2112
Posts: 265


What Chris suggests is a great way for making water hazardous. But to make the gas follow the water level, I would simply glue the Horrible Gas to a piece of buoyant material (eg. Cloth). That way the game engine should do all the work for you, and you won't need any advanced logic 2012-11-05 22:16:00

Author:
Slaeden-Bob
Posts: 605


What Chris suggests is a great way for making water hazardous. But to make the gas follow the water level, I would simply glue the Horrible Gas to a piece of buoyant material (eg. Cloth). That way the game engine should do all the work for you, and you won't need any advanced logic

Or you could do that... Geez, I can't believe I didn't think of that one.
2012-11-06 00:08:00

Author:
ChrisF2112
Posts: 265


Or you could do that... Geez, I can't believe I didn't think of that one.

Thanks!

Yesterday I was testing one more time, and I try to do it with piston. I want only that the water go up two times, so I use two piston with two superfices diferents (the water is not in all the level, just in one part). It was really hard :S, but it work more or less, but I think the solution from ChrisF2112 is much easier, I think i will change it, but I dont know if would work, because in the begining there is water but unter the floor, so the pieace of cloth should be ..transparent??... I will take a look,
thanks guys!!
2012-11-06 09:45:00

Author:
Unknown User


The piece of cloth will not be transparent, but you can place it in the very far thin layer and shrink it down to the point where it hardly visible and it'll still float with the waves/current.
If you are using a material for the background you can do just as stated above but also change the position of the cloth in the layer to "-20" so that it'll be hidden.
*Do not Dephysicalise the cloth piece.
So as Slaeden-Bob suggested glue the two together.
2012-11-07 14:28:00

Author:
catsand
Posts: 201


You could also just use a basic controllable sackbot. The water will kill it. If you don't know how to make one, then just look it up on your computer!2013-01-17 23:18:00

Author:
qwerty123456
Posts: 309


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.