carlonarducci Posted April 19, 2014 Share Posted April 19, 2014 cannot create in 3ds max 2014 a button for this script Rock-generator Link to comment Share on other sites More sharing options...
carlonarducci Posted April 19, 2014 Author Share Posted April 19, 2014 this error when I set rock generator on stdscript folder and I create a text file with this script macroScript RockGenerator category:"aa_stoneworks" buttonText:"RockGenerator" toolTip:"Rock Generator" silenterrors:true ( on execute do( filein ((getDir #UI) + "\\MacroScripts\\aa_rockgenerator1x0.mse") ) ) Link to comment Share on other sites More sharing options...
carlonarducci Posted April 19, 2014 Author Share Posted April 19, 2014 i tried also to follow this but the rock-generator script seems vodi and here I stop to have good knoledge on this subject Link to comment Share on other sites More sharing options...
Ismael Posted April 20, 2014 Share Posted April 20, 2014 Can you run the script like this, "Maxscript–>Run Script–> and choosing .ms; mcr files from the folder"? If you can, maybe you need to run Max in Admin mode? Link to comment Share on other sites More sharing options...
miauu_u Posted April 21, 2014 Share Posted April 21, 2014 (edited) Get aa_rockgenerator1x0.mse and place it in maxRoot/scripts folder. Usualy: C:\Program Files\Autodesk\3ds Max 2014\scripts\aa_rockgenerator1x0.mse Then use the code below to create a macroscript. macroScript RockGenerator category:"aa_stoneworks" buttonText:"RockGenerator" toolTip:"Rock Generator" ( rockGenScript = (getDir #scripts) + "\\aa_rockgenerator1x0.mse" if doesFileExist rockGenScript do fileIn rockGenScript ) Edited April 21, 2014 by miauu_u Link to comment Share on other sites More sharing options...
carlonarducci Posted April 26, 2014 Author Share Posted April 26, 2014 it doesn't work. is on stdscripts or scripts folder? anyway tried in both... Link to comment Share on other sites More sharing options...
miauu_u Posted April 26, 2014 Share Posted April 26, 2014 It works, believe me. Put the mse in the maxroot/scripts folder. RUn 3dsMax, open the maxscript listener, paste this: (getDir #scripts) + "\\aa_rockgenerator1x0.mse" Press the NumPad Enter and in the next line you have to see the full path to the file, which in my case is: "C:\Program Files\Autodesk\3ds Max 2014\scripts\aa_rockgenerator1x0.mse" If this is not printed, I mean the full path, then the aa_rockgenerator1x0.mse is not in the proper folder and this is the reason that it is not started when you use the macro script. Link to comment Share on other sites More sharing options...
carlonarducci Posted April 26, 2014 Author Share Posted April 26, 2014 verified (getDir #scripts) + "\\aa_rockgenerator1x0.mse" "C:\Program Files\Autodesk\3ds Max 2014\scripts\aa_rockgenerator1x0.mse" Link to comment Share on other sites More sharing options...
miauu_u Posted April 26, 2014 Share Posted April 26, 2014 So, the macros runs the RockGenerator script or nothing happens? Link to comment Share on other sites More sharing options...
carlonarducci Posted April 26, 2014 Author Share Posted April 26, 2014 yes it works. just lack of any aa_stoneworks on toolbar.... Link to comment Share on other sites More sharing options...
carlonarducci Posted April 26, 2014 Author Share Posted April 26, 2014 the problem is with the mcr Link to comment Share on other sites More sharing options...
carlonarducci Posted April 26, 2014 Author Share Posted April 26, 2014 solved Link to comment Share on other sites More sharing options...
carlonarducci Posted April 26, 2014 Author Share Posted April 26, 2014 here the button Link to comment Share on other sites More sharing options...
richardnyst Posted February 5, 2015 Share Posted February 5, 2015 1° Maxscript - Run Script. Then browse your "aa_rockgenerator1x0.mse" wherever you saved it - Window with the aaRockGen - 1.0 will appear 2° Do NOT close the script window 3° Customize - Customize User interface - Group: Main UI - Category: aa_stoneworks - Action: Rock Generator 4° Click on "New" and name your toolbar. Then drag Rock Generator from the Action list to the new window you just created. Just be aware, if you close the script window, aa_stoneworks won't appear on the category list. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now