How is the padlock configured?

BinaryPanelBlueprint
BinaryPanelBlueprint

Just drag the blueprint from the Padlock into the world, and you're done.

BinaryPanelBlueprint options

Then you can customize whatever you need: Password, wheels number, sounds, whether you want.

How to configure new combinations of numbers and letters?

The project files include a PSD so you can create any combinations you want. When you open it, you will see something like this

Blueprint limitations

Type in the letters or numbers you want, save the JPG, import it into Unreal, create the texture, add it to the ENUM, and you'll have your new combination.

Blueprint limitations

Each time you want to check the password, the GetPasswordSelected function will be used to obtain the correct letter (either a number or a letter) from each position on each wheel, and if everything is correct, the panel will be completed.

Interface

An interact interface is also included. You can use it so that, upon completing the puzzle, the interact event of the selected actor is automatically called, or you can also use the “CorrectPassword” dispatcher and have your actor listen for that event.