PDA

View Full Version : Multi-code Key Room



comphermc
08-20-2009, 04:02 AM
This was a project that I'd been wanting to tackle for a while... I noticed that having more than one key room was silly and took up space on my planet. Some of you have certain levels that you want to be tested/played by only certain people, so I thought of a way to make a key room where different combinations would unlock different objects.

For example, combination A would unlock object A, and combination B would unlock object B. This turn out to be pretty simple using rtm's ordered input device, so for that I thank him greatly. Hopefully this picture makes it a bit clearer:


http://img263.imageshack.us/img263/2873/keyroom.jpg

This way, you can have one key room serve multiple purposes. The combinations and number of prize caches can surely be modified to your liking (I thought 3 caches was about right). For information on how to change your combination (or about how it works), check out rtm's thread on ordered input tools, here: Ordered Input Tool - by rtm223 (http://www.lbpcentral.com/forums/showthread.php?t=12752&highlight=ordered+input+tool).

The level is published and copyable on my littlebigplanet. If you'd like to see it in action, enter the following codes to unlock the three different prize caches (which contain arbitrary keys):

Cache A: 999999
Cache B: 123456
Cache C: 123123

PSN: comphermc
Location: Near all the logic tutorials, with the black LittleBigPlanet Central icon.

Thanks, and have a great night. :)

(I will probably update the level from time to time, but the basic idea will stay the same)

RockSauron
08-20-2009, 04:07 AM
I'm proud to be the first user :kz:

Wasn't too hard to figure out how to use (In case anyone else can't, you have to connect the grab switch on a particular number to the emitter in order from left to right).

Anyway, massive thanks! I just hope some people don't manage to hack this vault... :kz:

Leonardo
08-20-2009, 04:10 AM
Oooo, thanks, I already got an idea for a "Vault."
I got inspired by you of course.

comphermc
08-20-2009, 04:14 AM
I'm proud to be the first user :kz:

Wasn't too hard to figure out how to use (In case anyone else can't, you have to connect the grab switch on a particular number to the emitter in order from left to right).

Anyway, massive thanks! I just hope some people don't manage to hack this vault... :kz:

You can add more of those little square sections on the ordered input tool to make the code longer if you desire. Just copy the section and move everything over a bit, then wire it up to your hearts content. This is all rtm's genius creation, I just used it in my own way.

iiiijujube
08-20-2009, 04:17 AM
Thanks a ton! This'll be a great key-code room for testing levels!

rtm223
08-20-2009, 09:30 AM
FYI: The ordered input tool works for multiple codes, of varying length, and missing symbols without additional logic. Kinda.

In my lockbox, which has around 5 codes atm, maybe 6, I forget, if a code sequence does not have one of the symbols in in I've just added emitters for those symbols beyond the "completed" point of the tool. That way they can still trigger the "anyKeyPressed" signal, which is required for reset logic, even though they do not form part of the sequence.

From you message I think I understand what you have done, and it's probably a lower thermo solution, but more hassle for extensibility (though if you are using numbers from 0-9, I very much doubt you are going invent new numbers :p).

Altair1911
08-20-2009, 12:29 PM
I never thought of having more than one cache, you are a genius! im sure my vault could be easily modified to do this... I might try later today.
how about a code that opens all of the caches aswell so you don't have to enter 3 different codes if you want to get all three prices?
going slightly off topic here but i would be really happy if anyone from LBPC could leave me some feedback on my locked levels. The code is 836417905. thanks :P

BSprague
08-20-2009, 01:38 PM
Where did you get those numbers? They look great. :)

And when I looked at the pictures, it was really obvious who made it. You have a certain style, everything is very clean and composed of a simple color scheme. It looks like the Brain Chain Mini-Game. Functional and designed well, great job. :p

comphermc
08-20-2009, 01:52 PM
The numbers are from a community font that's all over. They are a rounded letter typeface, but I'm not sure of the name. I just made some stickers using it and slapped them on there.

Lol, at my style. I suppose they do look very much the same, huh? Blue wood stickered white, blue, and black just looks so clean for me...

King_Tubb
08-26-2009, 04:25 AM
Is it easy to change the items within the vaults?

Can i just slide the door out of the way and place prizes in?

Burnvictim42
08-26-2009, 04:47 AM
You have to cut open the vault doors a little (if you still want them to look pretty) but otherwise its not that bad.

Thanks for this room RTM223 and cophermc, this saves me a bundle of key issues... plus i'm still too lazy to ever make a key room of my own with loverly examples like this out there :p

comphermc
08-26-2009, 06:19 AM
Is it easy to change the items within the vaults?

Can i just slide the door out of the way and place prizes in?

Yes, it's easy! Just temporarily set the pistons for the doors to backwards. They will open up, allowing you to place things inside. When finished, remove the backwards setting.

The hard part is setting up your new combo.

If you choose to use the room, the basic idea is that if you want the combo to be 123412, you would need to do the following: First, wire the grab switch corresponding to the number 1 to the first little 'cube with emitter on it'. Then you would wire up the grab switch corresponding to the number 2 to the second little 'cube with emitter on it'. Repeat this for each number in the series.

Be warned, do not trigger the prox switch right at the entrance in create mode, as it is an initializer for the device. Just leave it paused while you edit, or just don't step in the level.

Good luck.

@BV - no need to rip open my pretty doors. Glad you found some use for this. :)


plus i'm still too lazy to ever make a key room of my own with loverly examples like this out there :p

This was actually quite fun to make, and it was refresher in how to use rtm's ordered input device, which I admit is one of the most complicated little contraptions I've seen in lbp.

Burnvictim42
08-26-2009, 07:29 AM
lol, wow, i feel dumb right now. I cut the doors, didn't move the pistons :rolleyes: Oh wait, i think i found the cause of my stupidity, Yup, i'm back in school, problem solved :p

King_Tubb
08-26-2009, 05:03 PM
Oh ok, now this concept makes sense. Ima go copy myself one of these levels so i can have some people test my future levels XD

Drakora
08-26-2009, 10:14 PM
It's great. I'd use it, like your difficulty-selector thingy, but I don't have the MGS pack. :cry:

comphermc
08-26-2009, 10:18 PM
It's great. I'd use it, like your difficulty-selector thingy, but I don't have the MGS pack. :cry:

I will try and strip it down so that it doesn't contain any DLC next time I'm on.

I don't remember putting anything in there from MGS, but I probably did :\

rtm223
08-26-2009, 10:37 PM
Was it a sticker? That really was annoying lol :p