Post tutorial RSS Prefabs

Prefabs are an important component in creating a organized node tree. Prefabs are saved as .ed files, that can be inserted into other .ed map files.

Posted by on - Intermediate Mapping/Technical

Originally posted here:

Created by: William "modmaker" Bostjan

Mirrored here for archival purposes


  • add Directory
  • save Selections

Maps can get complicated. The only way to help with the potential confusion and the overwhelming amount of information in a map, is with organization. Prefabs are an important component in creating a irganized node tree. Prefabs are saved as .ed files, that can be inserted into other .ed map files.

Prefabs always get inserted in a map at the cursor.*

Prefabs are an important component of mapping. Time can easily get wasted re inventing the wheel. You want to keep track of your resources, so you can either re use them or, adapt and existing one for a new situation. The result, quicker map building. Below is a screensnap of my PREFABS folder. As you can see there are many sub directories. Each is proken down into smaller heading, making them easier to find. Too much time can get wasted scrolling through folders looking for things.


It is fairly easy to add a directory to the PREFABS. Simply right click on the folder you want to expand and the button will call up a name field. Name the folders whatever you want. You can place additional folders into each of these directories to keep everything organized.


Dedit knows the importance of prefabs and gives the option to prefab a selection.

If you group select a bunch of brushes, objects or light, or any mix of these you can save them as a prefab, in your prefabs folder simply by going to selection/SAVE AS PREFAB....

groupselect 1

Always remember to group the selection, name it something descriptive, before you save it as a prefab.

So what can be a prefab. Anything, everything, an entire level can be a prefab and saved as such. (AIs, set up a certain way, with specific goals, Triggers and objects that cause an event, an entire cinematic can be prefabs)

The resulting .ed file (all prefabs are saved as .ed files) can then be inserted into other maps using the PREFAB tab, or they can become the foundation for new worlds, if you decide to open up a prefab as a world in itself. Take advantage of this function. It is hugely beneficial, and will increase the efficiency of you map building. How do I know? I built 20+ maps for LAST ONE OUT, and the prefabs structure played an important part in making it possible.

Prefabs always get inserted in a map at the cursor.* *Because of this, make sure your cursor is set on the 64 grid when you insert a prefab or paste a copy, it will make sure your resultant geometry is still on the grid.

A Prefab Deconstruct

  • Alien Tear Vent
  • Multiple Sets
  • (hidden 0) (hidden 1)

Study the Monolith Sample Maps. Some truly excellent mapping examples are available in the sample maps. Alley the Evac Sample Event is a great example. Made by Monolith mapper Nathan Cheevers, it is generally considered the fan favorite MP map for AVP2. Lets take a looks at a prefab.

You can learn alot studying the professional prefabs. Let's look at the destroyable grate.

Set up as an Alien tear object, the grate in Alley has many components to great the illusion of metal bars being torn apart. It has three sets of bars.

So much to learn so little time, to write the tutorials. But I'll get to them.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.