Maya: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:
1. If there is a directory there matching your Maya version, it is supported. Valve's plugins do not work on 64 bit versions of Maya.
1. If there is a directory there matching your Maya version, it is supported. Valve's plugins do not work on 64 bit versions of Maya.


2. Edit runmaya.bat to match your system.
2. Run runmaya.bat .


{{Note|Only do this step if it's absolutely necessary to get the plugins to load.}}
3. If this does not work, see if you need to edit runmaya.bat to match your system.


Find this
Find this
Line 28: Line 28:
  SET PATH=%ProgramFiles(x86)%\Autodesk\Maya%MAYAVER%\bin;%VPROJECT%\..\bin;%PATH%
  SET PATH=%ProgramFiles(x86)%\Autodesk\Maya%MAYAVER%\bin;%VPROJECT%\..\bin;%PATH%


 
and replace it with this if you are running a 64 bit version of Windows:
and replace with this if you are running a 64 bit version of Windows:


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


or this if you are running a 32 bit version of Windows:
or this if you are running a 32 bit version of Windows:


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


{{Note|Replace "Maya2012" with the appropriate version name of Maya}}
{{Note|Replace "Maya2012" with the appropriate version name of Maya}}




3. Run your edited runmaya.bat .
4. When Maya is loaded, go to Window>Settings/Preferences>Plug-in Manager and check the "loaded" and "auto load" boxes next to vsmaster.mll .
 
{{Note|Replace "2012" with the appropriate version name for Maya}}
 
 
4. When Maya is loaded, go to Window>Settings/Preferences>Plug-in Manager and
 
and check the "loaded" and "auto load" boxes next to vsmaster.mll .
 
When you go to export you should see the new choices:
 
Valve DMX File
 
Valve SMD Model


Valve SMD Animated Model
When you go to export you should see new choices:


Valve SMD Physics Model
* Valve DMX File
* Valve SMD Model
* Valve SMD Animated Model
* Valve SMD Physics Model
* Valve SMD Animation


Valve SMD Animation


=== Troubleshooting ===
=== Troubleshooting ===

Revision as of 16:35, 13 September 2014

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

WEBSITE | TRIAL VERSION

Source SDK plug-ins

Installation

0. Locate the plug-in files in the Source SDK directory, under 'maya' or 'sdktools\maya'.

1. If there is a directory there matching your Maya version, it is supported. Valve's plugins do not work on 64 bit versions of Maya.

2. Run runmaya.bat .

3. If this does not work, see if you need to edit runmaya.bat to match your system.

Find this

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

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

and replace it with this if you are running a 64 bit version of Windows:

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

or this if you are running a 32 bit version of Windows:

SET PATH=C:\Program Files\Autodesk\Maya2012\bin;%VPROJECT%\..\bin;%PATH%
Note.pngNote:Replace "Maya2012" with the appropriate version name of Maya


4. When Maya is loaded, go to Window>Settings/Preferences>Plug-in Manager and check the "loaded" and "auto load" boxes next to vsmaster.mll .

When you go to export you should see new choices:

  • Valve DMX File
  • Valve SMD Model
  • Valve SMD Animated Model
  • Valve SMD Physics Model
  • Valve SMD Animation


Troubleshooting

Source FilmMaker: 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)

L4D2 and 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

MESA

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

Tutorials :


Prall's SMD Exporter

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

See Also

External links

Tutorials