Difference between revisions of "Setup: Maya Exporter"

From Divinity Engine Wiki
Jump to: navigation, search
m (Protected "Setup: Maya Exporter" ([Edit=⧼protect-level-larianeditonly⧽] (indefinite) [Move=⧼protect-level-larianeditonly⧽] (indefinite)))
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Coming soon==
+
{| class="wikitable"
 +
|-
 +
|[[File:Warningred.png|32px]] These scripts were written for Maya <b>2015</b> on Windows.
 +
|-
 +
|}
  
The files should be present in the editor data (insert path approximate here)<br />
+
The files should be present in the editor data ''~DivinityEngineDataPath~\Data\Editor\Tools\Maya\''<br />
These scripts were written for Maya 2015 on Windows.<br />
 
 
<br />
 
<br />
 +
All the files you need you'll find in ''~DivinityEngineDataPath~\Data\Editor\Tools\Maya\''<br />
 +
If they don't appear to be available there, you can also download the required files [[:File:Larian_Maya_Tools.zip|here]]
 +
 +
To have the granny plugin working in Maya 2015 copy ''larian_maya2015_x64.mll '' to your maya plugin folder ''~Maya2015InstallFolder~\Maya2015\bin\plug-ins''<br />
 
To have the scripts working in Maya 2015 copy the ''userSetup.py'' and ''LarianStudiosModTools'' folder into ''~YourDocuments~''\maya\scripts <br />
 
To have the scripts working in Maya 2015 copy the ''userSetup.py'' and ''LarianStudiosModTools'' folder into ''~YourDocuments~''\maya\scripts <br />
 
<br />
 
<br />
 
When starting up Maya the userSetup.py should automaticly create a Larian_Mod_Tools shelf for you with the relevant scripts saved into buttons.<br />
 
When starting up Maya the userSetup.py should automaticly create a Larian_Mod_Tools shelf for you with the relevant scripts saved into buttons.<br />
 
<br />
 
<br />
Once you have launched Maya with this userSetup for the first time use the modify path script (ModP Button on ther shelf) to set up your divinity engine data path for the exporter. This info will be saved in you maya scripts folder.<br />
+
Once you have launched Maya with this userSetup for the first time use the modify path script (ModP Button on the shelf) to set up your divinity engine data path for the exporter. This info will be saved in you maya scripts folder.<br />
 
<br />
 
<br />
 
<br />
 
<br />
Line 27: Line 34:
 
Then you only need to copy the ''LarianStudiosModTools'' folder
 
Then you only need to copy the ''LarianStudiosModTools'' folder
  
 +
|}
 +
 +
{| class="wikitable"
 +
|-
 +
|For more information on how to use the exporter tools, look here: [[Modding:_Maya_Exporter]]
 +
|-
 
|}
 
|}

Latest revision as of 15:04, 30 November 2018

Warningred.png These scripts were written for Maya 2015 on Windows.

The files should be present in the editor data ~DivinityEngineDataPath~\Data\Editor\Tools\Maya\

All the files you need you'll find in ~DivinityEngineDataPath~\Data\Editor\Tools\Maya\
If they don't appear to be available there, you can also download the required files here

To have the granny plugin working in Maya 2015 copy larian_maya2015_x64.mll to your maya plugin folder ~Maya2015InstallFolder~\Maya2015\bin\plug-ins
To have the scripts working in Maya 2015 copy the userSetup.py and LarianStudiosModTools folder into ~YourDocuments~\maya\scripts

When starting up Maya the userSetup.py should automaticly create a Larian_Mod_Tools shelf for you with the relevant scripts saved into buttons.

Once you have launched Maya with this userSetup for the first time use the modify path script (ModP Button on the shelf) to set up your divinity engine data path for the exporter. This info will be saved in you maya scripts folder.


For advanced users

If you already have a python userSetup file taking care of several preferences you can add this method and add a call to it during your start up sequence:


def scriptRun():
    mainPath = os.environ['MAYA_APP_DIR']+ "/scripts/LarianStudiosModTools/" #Best guess for maya path install 
    #Load toolbar creation script
    setupScript = imp.load_source('secondary', mainPath+"LarianToolbarSetup.py")
    setupScript.run() 


Then you only need to copy the LarianStudiosModTools folder

For more information on how to use the exporter tools, look here: Modding:_Maya_Exporter