Difference between revisions of "Setting up the editor"
From Divinity Engine Wiki
JoykaDeReyst (talk | contribs) |
JoykaDeReyst (talk | contribs) (→Setting up the Maya 2015 export tools) |
||
Line 16: | Line 16: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | <big>For advanced users</big> | + | |<big>For advanced users</big> |
− | If you already have a python userSetup file taking care of several preferences you can add this method: | + | |If you already have a python userSetup file taking care of several preferences you can add this method: |
− | <br /> | + | |<br /> |
− | <br /> | + | |<br /> |
− | + | | <nowiki> | |
− | def scriptRun(): | + | |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() </nowiki> | |
− | <br /> | + | |<br /> |
− | Then you only need to copy the ''LarianStudiosModTools'' folder | + | |Then you only need to copy the ''LarianStudiosModTools'' folder |
|- | |- | ||
|} | |} |
Revision as of 11:19, 15 September 2017
(Coming very soon!)
Setting up the Maya 2015 export tools
The files should be present in the editor data (insert path approximate here)
These scripts were written for Maya 2015 on Windows.
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 ther 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: | |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 |