Maya: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
</div>
</div>


== MESA ==
== Source SDK Maya plug-ins ==
* [http://puppet-master.net/plugins/mesa-2-0/ MESA - Maya Exporter for Source Absolute]
{{Note|MESA works with 2010,2011,2012,2013,2014 x86 and x64 version of Maya.}}
 
Tutorials :
 
* [http://puppet-master.net/plugins/mesa-2-0/installation/ MESA installation]
* [http://puppet-master.net/plugins/mesa-2-0/export-tutorial/ Export to Source Engine with MESA]
* [http://puppet-master.net/plugins/mesa-2-0/videos/ Videos Tutorials]
* [http://puppet-master.net/plugins/mesa-2-0/issues-and-common-errors/ Issues and Common Errors]
* [http://puppet-master.net/tutorials/source-engine/maya-settings-for-source-engine/ Maya Setting for Source]
* [http://puppet-master.net/tutorials/source-engine/create-a-source-engine-mod/ Create Source Engine Mod]


== Installing Valve's Maya Plug-ins ==
=== Installation ===


* <code>Steam\SteamApps\username\sourcesdk\maya</code> Valve's .smd and .dmx scripts supplied in the Source SDK
1. Determine the version of Maya you have installed on your machine.
 
1. Select the version of Maya you have installed on your machine.
{{Note|Valve plugins will not work on 64bit versions of Maya, please use 32bit versions only.}}


''4.5''
''4.5''
Line 44: Line 30:


''2012''
''2012''
Valve's plugins will not work on 64 bit versions of Maya.


2. Edit the sourcesdk\maya\runmaya.bat  
2. Edit the sourcesdk\maya\runmaya.bat  
Line 94: Line 83:
Valve SMD Animation
Valve SMD Animation


----
=== Troubleshooting ===


=== VPROJECT not set (Source FilmMaker) ===
==== VPROJECT not set (Source FilmMaker) ====
If you get errors of the sort
If you get errors of the sort


Line 110: Line 99:


--[[User:Chopp|Chopp]] 23:54, 11 November 2013 (PST)
--[[User:Chopp|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: [http://forums.steampowered.com/forums/showthread.php?t=1127596 Steam Forum Post]
== MESA ==
* [http://puppet-master.net/plugins/mesa-2-0/ MESA - Maya Exporter for Source Absolute]
{{Note|MESA works with 2010,2011,2012,2013,2014 x86 and x64 version of Maya.}}
Tutorials :
* [http://puppet-master.net/plugins/mesa-2-0/installation/ MESA installation]
* [http://puppet-master.net/plugins/mesa-2-0/export-tutorial/ Export to Source Engine with MESA]
* [http://puppet-master.net/plugins/mesa-2-0/videos/ Videos Tutorials]
* [http://puppet-master.net/plugins/mesa-2-0/issues-and-common-errors/ Issues and Common Errors]
* [http://puppet-master.net/tutorials/source-engine/maya-settings-for-source-engine/ Maya Setting for Source]
* [http://puppet-master.net/tutorials/source-engine/create-a-source-engine-mod/ Create Source Engine Mod]




Line 120: Line 128:
== See Also ==
== See Also ==
*[[Modifying a Source Model in Maya]]
*[[Modifying a Source Model in Maya]]
== 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: [http://forums.steampowered.com/forums/showthread.php?t=1127596 Steam Forum Post]


== External links ==
== External links ==

Revision as of 16:17, 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 Maya plug-ins

Installation

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

4.5

7.0

8.0

8.5

2008

2009

2010

2011

2012

Valve's plugins will not work on 64 bit versions of Maya.


2. Edit the sourcesdk\maya\runmaya.bat

Note.pngNote: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%
GOTO END

:x86
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.pngNote:Replace "Maya2012" with the appropriate version name of Maya

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

Note.pngNote: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

Troubleshooting

VPROJECT not set (Source FilmMaker)

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