Guest User

Untitled

a guest
Jan 21st, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. @ECHO OFF
  2.  
  3.  
  4.  
  5. SET MAYAVER=2012
  6.  
  7.  
  8.  
  9. SET VTOOLS=C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\sdktools
  10.  
  11.  
  12.  
  13. SET VPROJECT=C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\Source Studio
  14.  
  15.  
  16. SET PATH=C:\Program Files (x86)\Autodesk\Maya2012\bin;%VPROJECT%\..\bin;%PATH%
  17.  
  18.  
  19.  
  20.  
  21.  
  22. IF NOT EXIST "%VPROJECT%" GOTO ERROR_NO_VPROJECT
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30. :END
  31.  
  32.  
  33.  
  34. set MAYA_SCRIPT_PATH=%VTOOLS%/maya/scripts;%VTOOLS%/maya/scripts/valvesource;%VTOOLS%/maya/scripts/vstAttrPaint;%MAYA_SCRIPT_PATH%
  35.  
  36. set XBMLANGPATH=%VTOOLS%/maya/icons;%XBMLANGPATH%
  37.  
  38. set MAYA_PLUG_IN_PATH=%VTOOLS%/maya/%MAYAVER%/plug-ins;%MAYA_PLUG_IN_PATH%
  39.  
  40.  
  41.  
  42. echo MAYAVER: %MAYAVER%
  43.  
  44. echo VTOOLS: %VTOOLS%
  45.  
  46. echo Program Files: %ProgramFiles(x86)%
  47.  
  48. echo VPROJECT: %VPROJECT%
  49.  
  50.  
  51.  
  52. maya
  53.  
  54.  
  55.  
  56. goto END
  57.  
  58.  
  59.  
  60. :ERROR_NO_VPROJECT
  61.  
  62. echo ERROR! VPROJECT directory "%VPROJECT%" doesn't exist
  63.  
  64.  
  65.  
  66. goto END
  67.  
  68.  
  69.  
  70. :END
Add Comment
Please, Sign In to add comment