Pulse Studio Documentation
  • PULSE STUDIO Documentation
  • Assets & usages
    • Doorlock Systems
      • Installation
      • User guide
        • Setup
        • Create Door
        • Modify Door
        • Delete Door
        • Languages
      • Recurring problem
        • UI Not Working
        • Notify Not Working
        • Languages error
Powered by GitBook
On this page
  1. Assets & usages
  2. Doorlock Systems
  3. User guide

Create Door

Explanation of how to create a door

PreviousSetupNextModify Door

Last updated 2 months ago

First, if you want to create a door, you need to use the /doorlockAdmin command to access the interface. Then, you must go to the "Create Door" selection, which will take you to the door creation interface.

1

Label door

In the first field, you need to enter the name of the door, for example, garage_door_1. This will allow the door to be identified in the code and will be useful for modifications or deletions.

Please do not use a name that has already been used to avoid issues.

2

Group door

​In the second field, enter the name of a group to associate with the door, such as "police" or "ambulance." If the group doesn't exist yet, input its name in the designated field and click the "+" button to create it. This step is crucial to ensure the group is properly added and linked to the door.

3

Door select

​In the third field, you must select the type of door; otherwise, you won't be able to choose one or more doors. You have the option to select from Single Door, Double Door, Garage Door, or Barrier. Ensure you choose one of the four options displayed.

4

Door select

​In the fourth field, you need to add doors. To create a door, complete step 3. You'll find a "+" button that allows you to interact with and select one or more doors. Here's how it works:​

  1. Complete Step 3: Ensure you've selected the door type in the third field.​

  2. Click the "+" Button: After selecting the door type, click the "+" button to open the door selection interface.​

  3. Select Doors: In the selection interface, click on the doors you want to add.​

  4. Confirm Selection: After selecting the desired doors, confirm your selection to add them.​

This process ensures that the doors are correctly added and associated with the group you've specified.

5

Interaction distance

​In the fifth field, you need to define the interaction distance required to open or close the door. This distance determines how close a player must be to interact with the door. It is recommended to choose a value that balances accessibility and realism, considering the gaming environment and player preferences.

6

Door status

​In the sixth field, you need to specify the initial state of the door, determining whether it is open or closed by default. This configuration is essential for defining the door's behavior when the game loads.​

These values are commonly used to set the door's initial state upon initialization. Choosing the appropriate state is important based on your game's environment design and the desired behavior for the door.

7

Job select

​In the seventh field, you need to assign jobs and ranks to the door. Here's how to proceed:​

Add a Job and Rank:

  1. Click on the "+" button.​

  2. A field will appear where you should enter the job name (e.g., "police") and the associated rank (e.g., "officer").​

  3. Repeat this process for each job-rank combination you want to associate with the door.​

This setup restricts access to the door based on the specified jobs and ranks, ensuring that only authorized personnel can use it.​

8

Final create

​After filling in all the required fields for door creation, a summary of your information will appear. If everything is correct, click the confirmation button to finalize the creation. The door will then be added immediately, without requiring a script restart.