Home LittleBigPlanet 2 - 3 - Vita - Karting LittleBigPlanet 2 [LBP2] Help!
#1
A question about elevators
Archive: 9 posts
I've asked this question before, but I wasn't able to act on the solution as it was a little complex :S Now that I'm off from my first year at university however, I have a good deal of time to put some quality work into my level Here is a general layout of how I would like the elevator in question to function: 1. Sack approaches elevator (just one sack, it's going to be a 1 Player Only level) 2. Elevator doors open upon Sack's proximity 3. Sack interacts with a switch inside the elevator 4. Elevator doors close. Following a brief pause, the elevator will move upwards to the destination floor 5. Upon arrival at destination floor, another pair of elevator doors on this floor will open, allowing Sack to exit and explore destination floor Note: The elevator doors are attached to pistons, which are attached to walls of invisible dark matter What's the best possible way that I can achieve this outcome? By "best", I mean a method that acheives this using as little thermo capacity as possible. Thank you in advance for all assistance, and any serious response is greatly appreciated | 2011-05-18 21:26:00 Author: Unknown User |
And just to provide a more clear understandng, I made a rough illustration. Thw switch doesn't have to be a two-way, I just put it there as a place holder http://i.imgur.com/aStCj.png | 2011-05-18 21:29:00 Author: Unknown User |
well how meny floors are there going to be? | 2011-05-18 21:30:00 Author: WESFUN Posts: 1336 |
Just the one destination floor and the one below it | 2011-05-18 22:07:00 Author: Unknown User |
Will you be coming back down or will it just be a one-way trip? I need to know because it will greatly change the amount of logic needed. | 2011-05-18 22:21:00 Author: Unknown User |
1. Sack approaches elevator (just one sack, it's going to be a 1 Player Only level) 2. Elevator doors open upon Sack's proximity 3. Sack interacts with a switch inside the elevator 4. Elevator doors close. Following a brief pause, the elevator will move upwards to the destination floor 5. Upon arrival at destination floor, another pair of elevator doors on this floor will open, allowing Sack to exit and explore destination floor Here's how I would do that (since I've made a very similar elevator) 1. Sack approaches elevator (just one sack, it's going to be a 1 Player Only level) 2. Elevator doors open upon Sack's proximity Player sensor attached to an XOR gate which goes to the pistons - pistons set to forwards backwards and reversed 3. Sack interacts with a switch inside the elevator In this exapmle, let's use a 2 way switch. 4. Elevator doors close. Following a brief pause, the elevator will move upwards to the destination floor To get the pause effect in a simple way, you'll need to have the 2-way switch connected to the XOR gate and a timer. If, for example, your pistons are set to 3 seconds, you'll want the timer set to about 2 seconds (maybe a little less). The timer will be connected to a third piston which will raise the elevator lift itself. I like to use pistons for elevators because they slow down slightly as they reach their destination. It's more difficult to get this effect using movers. This way the doors will close and there will be a split second pause before the elevator starts moving, then a very natural elevator like movement to the next floor. 5. Upon arrival at destination floor, another pair of elevator doors on this floor will open, allowing Sack to exit and explore destination floor Have another player sensor connected to a timer at the destination floor. This timer will be connected to the pistons on the destination elevator doors. Set the timer for enough time so that the elevator lift comes to a full stop and THEN the doors open so it looks natural. I hope that helps | 2011-05-18 22:34:00 Author: shane_danger Posts: 283 |
Will you be coming back down or will it just be a one-way trip? I need to know because it will greatly change the amount of logic needed. Yes, it'll be just a one-way trip | 2011-05-19 15:32:00 Author: Unknown User |
Here's how I would do that (since I've made a very similar elevator) 1. Sack approaches elevator (just one sack, it's going to be a 1 Player Only level) 2. Elevator doors open upon Sack's proximity Player sensor attached to an XOR gate which goes to the pistons - pistons set to forwards backwards and reversed 3. Sack interacts with a switch inside the elevator In this exapmle, let's use a 2 way switch. 4. Elevator doors close. Following a brief pause, the elevator will move upwards to the destination floor To get the pause effect in a simple way, you'll need to have the 2-way switch connected to the XOR gate and a timer. If, for example, your pistons are set to 3 seconds, you'll want the timer set to about 2 seconds (maybe a little less). The timer will be connected to a third piston which will raise the elevator lift itself. I like to use pistons for elevators because they slow down slightly as they reach their destination. It's more difficult to get this effect using movers. This way the doors will close and there will be a split second pause before the elevator starts moving, then a very natural elevator like movement to the next floor. 5. Upon arrival at destination floor, another pair of elevator doors on this floor will open, allowing Sack to exit and explore destination floor Have another player sensor connected to a timer at the destination floor. This timer will be connected to the pistons on the destination elevator doors. Set the timer for enough time so that the elevator lift comes to a full stop and THEN the doors open so it looks natural. I hope that helps This sounds great, thank you for taking the time to help me out there! Just a few quick questions: Regarding the XOR switchs, what exactly is going into the inputs, and what is going into the outputs? | 2011-05-19 15:35:00 Author: Unknown User |
This sounds great, thank you for taking the time to help me out there! Just a few quick questions: Regarding the XOR switchs, what exactly is going into the inputs, and what is going into the outputs? No problem! The inputs of the XOR gate would be the player sensor and the 2 way switch. The XOR gate would ouput to the pistons that control the elevator doors. It would be more complicated than that if you wanted it to go up and down, but since you're only going one direction, it doesn't need to be. It will take you to the destination and that's it. The doors will stay open at the top. The only issue I just thought of is that the doors might open at the bottom as the elevator is pulling away. To avoid that, just use a one shot timer connected to the player sensor at the bottom. So it would go player sensor -- counter set to max of 1 -- XOR gate. This way it won't turn off, the switch will close the door and keep it closed. | 2011-05-19 21:55:00 Author: shane_danger Posts: 283 |
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.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.