From Valve Developer Community
Revision as of 23:54, 11 November 2013 by Chopp (talk | contribs)
Jump to: navigation, search
See Category:Maya for tutorials.

Maya is a popular 3D modeling/animation/rendering suite from Autodesk (formerly from Alias). It is a powerful tool for modeling, texturing and animating props and characters. It also contains many advanced features which are not applicable to Source modding (dynamics, rendering, etc.). While Valve favors XSI for modeling and animating, some users may prefer Maya's rich feature set.

Maya logo



  • .smd Exporter by Prall
  • Steam\SteamApps\username\sourcesdk\maya Valve's .smd and .dmx scripts supplied in the Source SDK


Note.png Note: MESA works with 2010,2011,2012,2013,2014 x86 and x64 version of Maya.

Tutorials :

Installing Valve's Maya Plug-ins

1. Select the version of Maya you have installed on your machine.

Note.png Note: Valve plugins will not work on 64bit versions of Maya, please use 32bit versions only.










2. Edit the sourcesdk\maya\runmaya.bat

Note.png Note: Only do this step if it's absolutely necessary to get the plugins to load.

Find this

IF EXIST "%ProgramFiles(x86)%" GOTO x86
SET PATH=%ProgramFiles%\Autodesk\Maya%MAYAVER%\bin;%VPROJECT%\..\bin;%PATH%

SET PATH=%ProgramFiles(x86)%\Autodesk\Maya%MAYAVER%\bin;%VPROJECT%\..\bin;%PATH%

Replace with this only If running a 64bit OS

SET PATH=C:\Program Files (x86)\Autodesk\Maya2012\bin;%VPROJECT%\..\bin;%PATH%

Replace with this only If running a 32bit OS

SET PATH=C:\Program Files\Autodesk\Maya2012\bin;%VPROJECT%\..\bin;%PATH%

Note.png Note: Replace "Maya2012" with the appropriate version name of Maya

3. Run \sourcesdk\maya\2012\runmaya.bat

Note.png Note: Replace "2012" with the appropriate version name for Maya

4. When Maya is loaded, go to Window>Settings/Preferences>Plug-in Manager...

Look for vsmaster.mll and check the "loaded" and "auto load" boxes.

When you go to export you should see the new choices:

Valve DMX File

Valve SMD Model

Valve SMD Animated Model

Valve SMD Physics Model

Valve SMD Animation

VPROJECT not set

If you get errors of the sort

// Error: file: C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\sdktools\maya\\scripts\sfmValveSetup.mel line 333: VALVe:: VPROJECT not set, run SFM Launcher to set up environment

It may help to Reset Game Configurations via

Source SDK

Confirmation to reset variables

This edits Windows Environment Variables which should then have the same values as where your SFM is located, respectfully.

--Chopp 23:54, 11 November 2013 (PST)

Notes on using Autodesk Maya 2011

Prall's .smd Exporter works, there is also an improved version made by DT85: discussion and download (mirror)

See Also

L4D2 Notes on runmaya.bat

If you load the L4D2 SDK and set your configurations with vconfig.exe, this batch file will not function. You will need to edit it as described here: Steam Forum Post

External links