Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: fiaschetta on Fri 28/04/2006 18:28:56

Title: Display and serial code
Post by: fiaschetta on Fri 28/04/2006 18:28:56
... I have a room with the sketch of a display and a numerical keyboard.. 
The code is 1 1 1 1 
How can do so that once composed this number (with the click on the relative numbers of the numerical keyboard) for example opens a door in another room?
Title: Re: Display and serial code
Post by: Ashen on Fri 28/04/2006 18:47:22
There's a couple of modules in the Tech Archive that that can deal with this (such as SSH's Combination Lock Keypad Module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23566.0) which uses a GUI, or if you really want to use a room background my own Hotspot CombLock (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23795.0) module). Either way, to affect something in another room, you'll have to use variables.
Title: Re: Display and serial code
Post by: strazer on Fri 28/04/2006 19:40:01
Quote from: Ashen on Fri 28/04/2006 18:47:22Either way, to affect something in another room, you'll have to use variables.

Or my OtherRoom module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=20650), although it's probably overkill if you just need to do it once in your game.
Title: Re: Display and serial code
Post by: fiaschetta on Sat 29/04/2006 01:10:46
How i do import the "combolock" in my game?
Title: Re: Display and serial code
Post by: Scorpiorus on Sun 30/04/2006 01:46:13
You mean ComboLock.zip?

First of all, you need to import a script module. Follow Main menu -> Script -> Module manager -> Import. Choose a module you want to import ("CombinationLock.scm").

Now close the Module Manager and open the GUI Editor and choose Import another GUI... from Main menu->GUI. And choose the "Keypad.gue" file.

There is also a readme file with some useful information about the module.