PDA

View Full Version : MJPolyTools Vs Bonus Game [Ding ding]


Omita
06-14-2003, 01:01 AM
ok... every time I install one of these scripts it fights the other one. I just installed bonus games again, and it cause MJ not to load. If I load MJ again it causes the BonusGames menu not to show up.

I also have DeepPaint installed which also adds itself to the Hotbox.

Can I have all three living happily together?

-Omita

Ibanezhead
06-14-2003, 01:37 AM
They may both be replacing the userSetup.mel. If so, just copy the text in one, and paste in the one that will remain...

Vic

Levitateme
06-14-2003, 06:57 AM
This is my userSetup.mel file, it read like this

MJPolyTools;

////////////////////////////////
// bonusTools 5.0 userSetup.mel
////////////////////////////////
//
// if you have an existing userSetup.mel file you will need to append
// this code to have all the bonusTools available
// cut and paste the contents of this file into your existing userSetup.mel
// and restart maya to get the full effect

// scriptJob to rebuild menu as working mode changes
scriptJob
-permanent
-event "MenuModeChanged" "bonusToolsMenu";

// build the menu the first time
bonusToolsMenu;

// publish (ctrl+RMB in channelBox)
// aka Quick Connect Attributes
publish;

// this will load the modified hyperShadePanel.mel file
// the change being to the RMB marking menu for easy
// access to the test render node and test render node
// sequence commands
string $scriptPath = `getenv MAYA_SCRIPT_PATH`;
string $buffer[];
tokenize ($scriptPath, ";",$buffer);
for ($path in $buffer){
int $gmatch = `gmatch $path "*bonusTools*"`;
if ($gmatch){
string $sourceHyperShade = ("source \"" + $path + "/hyperShadePanel.mel\"");
eval ($sourceHyperShade );
}
}

///////////////////////////////////
// end bonusTools 5.0 userSetUp.mel
///////////////////////////////////

make sense?
at the top is the command to start MJ, below it is bonust tools. your userSetup.mel should be something like this to ahve both

CGTalk Moderation
01-15-2006, 07:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.