PDA

View Full Version : Maya to CryEngine how to?


nightshade
09-26-2011, 08:59 PM
so like the title says, how do i go about exporting a mesh from Maya to CryEngine. i have read this article http://www.crydev.net/wiki/index.php/Exporting_from_Maya and tried to download that tool, however the website says that there is an updated tool so i have that installed successfully. when i go to use the tool it says "no export nodes have been created" so how do i set up my mesh correctly to make this work.

[HP]
09-27-2011, 02:22 AM
Maybe this will help:

http://sdk.crydev.net/display/SDKDOC3/Exporting+Assets#ExportingAssets-MayaSpecificExportProcess

nightshade
09-29-2011, 10:22 PM
that helped a ton!!!!

littleclaude
10-01-2011, 02:53 PM
Okay I made a little tutorial so you don't have the same problems as I did.

In regards to Maya 2012 to export to Crysis you need to add a shelf to Maya which contains the export tools. It’s quite straight forward once you have broken down what the techs at Crytek are trying to say - http://sdk.crydev.net/display/SDKDOC3/I ... aya+Plugin (http://sdk.crydev.net/display/SDKDOC3/Inst...the+Maya+Plugin)

You can download Crysis 3 SDK here.
http://mycryengine.com/

Once you have installed Crysis SDK 3 you are given the “.mel scripts and icons for the shelf” You can find them here - C:\CryENGINE3\Tools\melscript and copy them to

C:\Users\"YOUR COMPUTER NAME"\Documents\maya\2012-x64\prefs\shelves

and add the icons to

C:\Users\"YOUR COMPUTER NAME"\Documents\maya\2012-x64\prefs\icons

Inside C:\CryENGINE3\Tools there is a SettingsMgr.exe double click it and change the directory to point to C:\CryENGINE3

One last thing to do inside C:\Users\"YOUR COMPUTER NAME"\Documents\maya\2012-x64 you need to change the “Maya.env” right click on it and open it in Word Pad and change the settings to the following

MAYA_PLUG_IN_PATH=C:\CryENGINE3\Game\Levels\Test_L evel\Tools\
MAYA_SCRIPT_PATH=C:\CryENGINE3\Game\Levels\Test_Le vel\Tools\melScript

Now it should all work but you may need to open the plugin in Maya but they should work automatically (Maya-Windows, Settings and Preferences, Plugin Manager)

This is a thread to show you how to install the exporter
http://sdk.crydev.net/display/SDKDOC3/I ... aya+Plugin (http://sdk.crydev.net/display/SDKDOC3/Inst...the+Maya+Plugin)

And here is a video to show you how to do it as well,
how to install Cryengine3 Exporter to Maya 2012 tutorial - YouTube

Once all the above is installed there is a very nice plugin that makes the export process a lot easier, it’s a self install .exe you can find it here - newspage.php?news=71279 (http://www.crydev.net/newspage.php?news=71279)

Basicaly I double clicked the .exe and then in Maya I type the following script in to Maya embedded language “Mel” and click and drag it to the Crysis shelf.

source mayaCE3.mel;
mayaCE3;

Best Wishes and I hope this helps, I hope Crytek make Autodesk FBX support as that's all I use now for UDK so you don't have to go through any of the above. http://www.crydev.net/images/smilies/easter.gif

Neil

nightshade
10-02-2011, 04:46 PM
ok, i have all of the above installed and i exported a mesh but now i cant load it into the sdk editor. i'm going to watch the eat 3d tut again and see how they did it but if you guys have any ideas i'm all ears