lock for secret rooms


(Max1) #1

Hey,

I made a prefab of a lock for a secret room or anything else you want to have locked.

There are 3 buttons, which have to be used to enter a code. If the code is correct the script_mover will move, if the code is not correct it wont.

The code is calculated with a Matrix and changes every map start. A description on how to use the code is included in the README file.

I made this, because i was searching for a way to lock the secret room in my map with something, that makes it hard to get in (harder than just pressing a hidden button). So everyone who wants to get in first has to show that he’s worth it. :slight_smile:

At first i wanted to release this with my trickjump map, but since it seems like an endless process to finish that map I thought some people could find this prefab useful. And since i used a lot of stuff in the script it might be helpful for some, who want to learn about scripting by reverse engineering some parts of it.

So if anyone would like to have a look at it heres the link:

http://rapidshare.de/files/38108840/prefab_secret_lock.zip.html

if you have questions you can also msg me via xifre: max231

greez Max1


(Tyrlop) #2

uh uh!! nice!! :shock: :smiley: thank u!! just what i could use :wink:


(Max1) #3

One little aspect I forgot to mention is that it uses all 8 globalaccums. :confused:
Could lead to trouble for some people.

I think it would be possible to avoid using them, but it would probably increase the length dramatically and the script is already quite long considering that it only triggers a single event.