Tutorials » Buildings » Door Tutorial
Author: Läubi
Skill Level:
Type: RenX LevelEdit
Discussion: MPF Forums

Door Tutorial

1. Create the Door in GMax

Create your door in GMax. It may look something like this:

Door Model

Enable W3D Collision Settings:

W3D Collision Settings


2. Animate the Door

Click the Animate button in the lower-right corner:

Animate Button

Move the frame slider to Frame 100, then move the door into its open position:

Animation Frame Slider

Click the Animate button again to stop animating.

You can preview the animation using the Play button:

Animation Controls


3. Export the Door

Export your W3D file into your mod folder. The GMax portion is now complete.

Export Options


4. Create the Door Preset in CommandoEditor

Open CommandoEditor and create a new preset under Tiles:

Add Tiles Preset

Give your door a name:

Naming the Door

Switch to the Physic Model tab and configure the following options, using your exported W3D file as the model:

Physic Model Settings

If you want the door to open for empty vehicles (e.g., the GDI Weapons Factory), enable: DoorOpensForVehicles

Click OK to save—this is required for the next steps.


5. Configure Trigger Zones

Select your door and click Mod:

Mod Button

A new Zones tab will appear with two trigger zones. Double-click TriggerZone1:

Trigger Zone List

You will see this window:

Trigger Zone Setup

The green box represents the trigger zone.

Adjust its size and position using Size Zone and Move Zone so the zone sits in front of the door.
Repeat this for TriggerZone2, but position it behind the door.

Once done, click OK.

Your door is now ready for use. Just click on Make and voliá!


Additional Options

In the Physic Models tab, you can also:

  • Set open/close sounds
  • Adjust open/close timings
  • Configure security door settings

Door Options