Links

Scripting Doors

Description

Create scriptable doors that make your map more interactive.
Title
How to Forge Interactive Maps in Halo Infinite
Created By
Reference URL

Double Doors

Required Objects

Required Nodes

Steps

Add required objects

Add the required objects to map in order to setup a scripted double doorway.
  • 2 - Double Doorway; Stacked back to back
  • 4 - Floor Standard; side by side in the middle of the doorway
  • 1 - Script Brain
  • 1 - Scriptable Switch (Invisible)

Object Reference - Switch

Select the Scriptable Switch, then go into Node Graph and place an Add Object Reference to the Scriptable Switch.
Add Object Reference Node
Object Reference - Scriptable Switch

Object Reference - Floors (Doors)

Add Object Reference nodes to each Floor Standard objects, similar to the step above.
Object Reference - Floors

Add Script Nodes

Add Move Object to Transform node and then an On Object Interacted node
Move Object to Transform Node
On Object Interacted Node

Configure Script Nodes

Connect the nodes; See reference
If you prefer to have a faster or slower door movement speed, adjust the amount of seconds on the Move Object To Transform node Duration In Seconds.

Result

Double Doors - Open

Automatic Doors

Required Objects

Required Nodes

Steps

Optional
Prior to adding objects, create a new folder in order to keep similar objects in the same working folder.

Add required objects

Add the required objects to map in order to setup a scripted automatic doorway.
  • 2 - Single Doorway A; Stacked back to back
  • 2 - Floor Standard; stacked on top of each other, one beneath the surface floor
  • 1 - Script Brain
  • 2 - Pointer; One pointer used as a boundary another a reference point
Automatic Doors
Automatic Doors - Full
Automatic Doors - Folders

Object Reference - Floors (Doors)

Add Object Reference nodes to each Floor Standard objects, then go into Node Graph and place an Add Object Reference for the doors.
Object Reference - Doors

Object Reference - Pointers

Select the Detector Pointer, then go into Node Graph and place an Add Object Reference to the Pointer.
Object Reference - Pointers

Set Pointer Boundary

Select and place the pointer in the desired placement. Set the boundary that fits the size of where you would like to monitor player movements.
Detector - Boundary
Detector - Boundary
Area Monitor Boundary

Set Reference Pointer

In order to close the door properly, the door must have a Destination Point to reference. Copy the coordinates of the Closed door to the same point as the reference pointer, this will ensure the door closes to its original coordinates.
Reference Pointer Coordinates
Door Original Coordinates

Configure Script Nodes

Connect the nodes; See reference
Automatic Doors - Script
In order for the script to properly run, you must have the references set correctly. Review the reference video on automatic doors for more information.

Result

Automatic Doors - Open and Close

References

See the reference video by Red Nomster!
Red Nomster - How to Forge Interactive Maps in Halo Infinite
Page Authored By
@Nitro
Date
20 November 2022