Resources: Doors

Doors are collidable objects which can be interacted with. When the player presses enter next to a door they are facing, the door will appear to open and the player can pass through.



Doors require 3 different graphics in order for them to display properly in-game:



A Full graphic:   the complete graphic by itself.

Affected:  the part of the door which moves when the door is opened/closed.

Unaffected: <span style="font-family:"CalibriLight",sans-serif;mso-ascii-theme-font:major-latin; mso-hansi-theme-font:major-latin">the part of the door that never moves, such as the door frame.

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">For adding your own door graphics, they must be on a 256x256 sized image file with a Magenta background (R:255, G:0, B:255). Door graphics on this sheet must be 32x64, but larger doors can be created by making two halves of a door in two separate door objects on the sheet.

<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt">'''<span style="font-size:12.0pt;line-height: 107%;font-family:"CalibriLight",sans-serif;mso-ascii-theme-font:major-latin; mso-hansi-theme-font:major-latin">Placing a Door on the Map '''

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Display Name: This is used to identify your door on the Map.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Scripting ID: This is used to identify your door in scripts.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Position: These are the X, Y and Z coordinates of your door on the Map.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Disable Collisions: When ticked, the player will not collide with the door.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt">'''<span style="font-size:12.0pt;line-height: 107%;font-family:"CalibriLight",sans-serif;mso-ascii-theme-font:major-latin; mso-hansi-theme-font:major-latin">Visual '''

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Disable Lighting: When ticked, lighting will not affect this door.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Color: This is the color the door will display as on the Map.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Opacity: This is the transparency of the door on the Map.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Glow: The color of the door’s glow effect. Leaving this black will not make the door glow any particular color.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Flip Vertically: Flips the door graphic along the Y axis.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Flip Horizontally: Flips the door graphic along the X axis.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Display Shadow: When ticked, a shadow will be drawn for this door.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Invisible: When ticked, the door will not be visible on the Map.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt">'''<span style="font-size:12.0pt;line-height: 107%;font-family:"CalibriLight",sans-serif;mso-ascii-theme-font:major-latin; mso-hansi-theme-font:major-latin">Door '''

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Opening Style: This is used to set which direction the door will open in, and how it will behave when it opens.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Open: This determines which frame a door will stop on when completely closed.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Auto-Close After: This is how much time will pass in hours, minutes and seconds before this door will shut automatically. If left blank, the door will never shut.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Required Key: If this is set to an item, the player will need to have that item in their inventory before they can open the door. If (None), the door will not require the player to have an item.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Required Code: The player will be required to enter this code in order to open the door. If blank, the door will not require a code.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt">'''<span style="font-size:12.0pt;line-height: 107%;font-family:"CalibriLight",sans-serif;mso-ascii-theme-font:major-latin; mso-hansi-theme-font:major-latin">Destination '''

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Map: This lets you pick a Map from the dropdown list for the player to be teleported to. If left blank, the player will not teleport by interacting with the door.

<p class="MsoNormal" style="margin-bottom:0cm;margin-bottom:.0001pt"><span style="font-size:12.0pt;line-height:107%;font-family:"CalibriLight",sans-serif; mso-ascii-theme-font:major-latin;mso-hansi-theme-font:major-latin">Location: These are the coordinates of the chosen Map which the player will be teleported to when they use the door.