MESA is written in MEL scripts, but is also a sort of working directory that include the icons and the mel scripts.
The Mesa scripts do not have to be copied into
%USERPROFILE%/maya/, the path where maya will check for the scripts, is configured directly into the environment variables of Windows.
MESA come with some Predefined projects directories for 20 valve software games titles . All this projects directories are use to store your source files, before the files are converted into the readable format for the Source Engine. this project directory set into the Environments variables with this name :
The location on your hard drive of the converted files is the
GAME_PROJECT, and is also a environment variable.
- open maya
- set project workspace
- Open the smd option window, and some data will be store into the scene.( see smdInfo node into the Outliner)
- save scene in Scene directory.
Note : This is the common task when you create a news scene.
Note : the QC script and the SMD files will be exported to modelsrc folder.
The path in Scenes must reflects the one in
modelsrc directory :
When the scene is saved into
%GAME_PROJECT_SRC%/scenes/props/myscene.ma, the automatic path where the QC scripts and SMD files will be exported will be
With the Materials and Textures, a TXT file that contains some of the arguments required by VTEX.EXE to compile properly the TGA files into the VTF format.
When “Export Texture” and “Compile MDL” options are checked on the SMD options Window,
The QC scripts, SMD files and TGA textures from the the
GAME_PROJECT_SRC will be exported into the
Models and Animations
%GAME_PROJECT%/materials/models/props/my_texture.vtf /vmt .