Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Announcements and Showcase
Door behavior + keypad (password protected doors aso..)

sven
Registered User
Quote
2023-04-09 22:24:53

Updated so you can make even keyboard out of it also you can customize it.
Examples in download.

I had some time to modify my door script..
Just for fun i added keypad script that can be used to open these doors.
Keypad script can be used standalone from door so it has multi usage.

Download:
https://5v3n.itch.io/coppercube-...

With download comes example as usually.


Aiming_bullets
Guest
Quote
2023-04-10 03:36:06

Thanks, previously, I have been using JIC cheatsheet for creating Alphatical password code for chest, doors and puzzle.
This will be helpful too. Thanks again


sven
Registered User
Quote
2023-04-10 06:43:50

Aiming_bullets i am glad you find it useful.

There was bug when you changed keypad scale and its position. Its fixed now-download link updated.

This script will recieve updates soon.

Little tip:
You dont need add camera to each "terminal" just make one main spot.(usually keypad is on wall so make nice looking wall backgrounded keypad position). location where you type in password doesnt matter.. you klick on keypad and activate overlay and camera that displays overlay and frees mouse. Just dublicate "terminal" change password for each spot..and if klicked use one terminal where you have camera pointed to.


Monks
Guest
Quote
2023-04-10 11:41:18

Very cool one sven keep on doing marvellous works to coppercube you're a jewel to this community


sven
Registered User
Quote
2023-04-11 08:07:12

Thanks Monks for your nice words.

I updated the script-download link is same.

Now it hides and unhides overlay automatically.

Now after closeing the keypad it puts your mouse where it was when you entered to it. ( before there was camera target moved when exit )
Removed bug when accidentialy pressed on keypad node after exit ( so it started keypad again)

Keypad exit works now on mouse pressed up (so you klick on X but it waits until you relase mouse button) ..to prevent on klick behaviour (on keypad node) to be triggered after exit again.

Nb! Keypad must be closed with X.. otherwise it wont take new info from other terminal(because it doesnt execute twice and last "session" must be ended) .. so dont hide it with pass action. (Can be done but for advanced users)

ToDo: custom welcome /fail/pass text + fontsize.
Maybe automatic camera switch also.


Overlay is just image (you see 4x4 grid)
So if you make your own image it must be 4x4
(Button 1 will always be top left)
(Unused button slots you can make transparent)
(If you know javascript you can rearrange buttons)


sven
Registered User
Quote
2023-04-12 10:36:34

Updated:

Now you have option auto close keypad if passed.
Now you have option to add action on keypad type-(for typeing sound)

Changed the code so its easyer to modify/ customize.
Added info.bmp with info how to use and how to modify.


sven
Registered User
Quote
2023-04-13 15:02:15

UPDATED:

I added another version for advanced users ( needs minimal scripting skills ) svcKeypadTest3.zip

Download link is in first post.

With this you can make keyboard with letters also.
You can define what each button are and you can add buttons by increasing keyboard rows or columns.
I included image file with download that sould explain how to use.


edwin123
Registered User
Quote
2023-04-13 17:20:10

really nice


sven
Registered User
Quote
2023-04-13 17:46:25

wrote:
really nice


Thanks..

I added keyboard example and removed one bug that i noticed.( first file is keypad and second is keyboard)


🔎︎


to make longer buttons or buttons like ENTER key have -you can join multiple buttons into one (by defining them so).


andgameplay
Registered User
Quote
2023-04-13 23:47:46

Excellent, thanks!


sven
Registered User
Quote
2023-04-15 09:46:50

@andgameplay glad you like it.


Updated:
Link is same ,but there is 3 downloads.
Latest file to download is: svcKeyboard v4.zip

Now you can keep aspect ratio for image so it looks better.

I tried to make automatic font size adjuster but its not what i wanted but i kept it in (until i make it better)

You can now add your own text that will be displayed on OPEN/FAIL/PASS

Removed another bug that i found.

Added example how to use it as its not meant to be used so you can for example let player input theyr name and so on..

Also make sure to read helpfiles that i included if you dont understand this.


🔎︎


It may have bugs so let me know if you find any.

NB! Uppercase letters supported only-so make sure you put passwords uppercase.( not hard to make support for lowercase characters also..if you know scripting )


VP
Guest
Quote
2023-04-18 11:14:57

I spotted this yesterday whilst browsing through my FilterForge library - thought I;d upload it here. Free to use if anyone wants it for the Keypad plugin...

🔎︎


If you don't have FilterForge, obviously you can edit it in GiMP/Paint/Photopoop etc., to add more rows/columns if needed - and to possibly add lights for correct/incorrect password entry.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Int?rnational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact