-- rigTools.ms -- a little floater gui to bring commonly used tools together in one place --Matt Rennie --Nov 2010 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ filein "rockstar/export/settings.ms" -- This is fast -- Figure out the project theProjectRoot = RsConfigGetProjRootDir() theProject = RSConfigGetProjectName() theWildWest = RsConfigGetWildWestDir() theProjectConfig = RsConfigGetProjBinConfigDir() -- filein (RsConfigGetProjRootDir() + "tools/dcc/current/max2012/scripts/pipeline/helpers/rigging/delUnusedBones.ms") -- pedTypeFile = (RsConfigGetProjRootDir() + "tools/etc/config/characters/ped_type_list.xml") pedTypeFile = (RsConfigGetToolsDir() + "etc/config/characters/ped_type_list.xml") ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ fn determineReducedSkelChar dummyObj = ( charName = dummyObj.name splitSkelVal = false inputData = #() if pedTypeFile != undefined then ( f = openfile pedTypeFile -- inputData = #() -- define as array while not eof f do ( append inputData (filterstring (readLine f) "\n") ) close f ) print "File parsed." for i in inputData do ( if findString (i as string) ("