This article relates to the game "Half-Life: Alyx". Click here for more information.
This article relates to the workshop tools for "Half-Life: Alyx". Click here for more information.
This article's documentation is for Source 2. Click here for more information.

Model Creation

From Valve Developer Community
Jump to: navigation, search

All Half-Life: Alyx models start from meshes. These can be authored in two ways: From a pre-existing mesh file created in external 3D software, or alternatively, a mesh made wholly within Hammer and exported as a model.

Creating a model

There are two separate ways you can create a model using the applications present in the Half-Life: Alyx Workshop Tools.

From an existing mesh

To create a model using an existing mesh made with in an external program:

  1. Launch ModelDoc Editor if it is not already open.
  2. Select the yellow star button.
  3. Select "Add Meshes..."
  4. From the window that opens, navigate to, and open a mesh that is within your addon's content folder. It should be placed in your addon content's "models" folder. If you do not have one, create it.

From Hammer

Hammer can be used to create models without the use of third-party software. Simply create something that you wish to make a model out of, and do the following:

  1. Select the meshes you wish to create a model from
  2. Right click on them
  3. From the context menu, select "Selected Objects" > Create Model From Selection
  4. From the save dialog, save it somewhere in your "models" folder in the content folder for your addon.