Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ' This script will remmove all the constraints from the skyrim mesh and delete the groups and objects
- ' created created in my constraint script. Save your scene first !
- ' If you didn't create a group for the gear guide, comment out the line DeleteObj "ManGuide_Visibility"
- ' Open up Explorer(8) then run this script (F5)
- ' First pick the model containing the skyrim rig
- ' Then pick the model containing the Gear rig
- LogMessage "!!! Pick the Model containing the Skyrim Rig in explorer !!!"
- PickObject "Skyrim model", "Skyrim model", PickSession1
- LogMessage "!!! Pick the Model containing the Gear Rig in explorer !!!"
- PickObject "Gear rig", "Gear rig", PickSession2
- 'Remove Constraints from every NPC bone
- RemoveAllCns PickSession1 + ".NPC_COM__COM__", 1
- RemoveAllCns PickSession1 + ".NPC_Head__Head_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Calf__LClf_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Clavicle__LClv_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger00__LF00_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger01__LF01_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger02__LF02_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger10__LF10_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger11__LF11_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger12__LF12_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger20__LF20_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger21__LF21_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger22__LF22_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger30__LF30_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger31__LF31_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger32__LF32_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger40__LF40_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger41__LF41_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Finger42__LF42_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Foot__LLft__", 1
- RemoveAllCns PickSession1 + ".NPC_L_FootBox", 1
- RemoveAllCns PickSession1 + ".NPC_L_Forearm__LLar_", 1
- RemoveAllCns PickSession1 + ".NPC_L_ForearmTwist1__LLt1_", 1
- RemoveAllCns PickSession1 + ".NPC_L_ForearmTwist2__LLt2_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Hand__LHnd_", 1
- RemoveAllCns PickSession1 + ".NPC_L_HeelPivot", 1
- RemoveAllCns PickSession1 + ".NPC_L_Thigh__LThg_", 1
- RemoveAllCns PickSession1 + ".NPC_L_Toe0__LToe_", 1
- RemoveAllCns PickSession1 + ".NPC_L_ToePivot", 1
- RemoveAllCns PickSession1 + ".NPC_L_UpperArm__LUar_", 1
- RemoveAllCns PickSession1 + ".NPC_L_UpperarmTwist1__LUt1_", 1
- RemoveAllCns PickSession1 + ".NPC_L_UpperarmTwist2__LUt2_", 1
- RemoveAllCns PickSession1 + ".NPC_Neck__Neck_", 1
- RemoveAllCns PickSession1 + ".NPC_Pelvis__Pelv_", 1
- RemoveAllCns PickSession1 + ".NPC_Pelvis__Tail_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Calf__RClf_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Clavicle__RClv_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger00__RF00_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger01__RF01_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger02__RF02_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger10__RF10_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger11__RF11_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger12__RF12_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger20__RF20_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger21__RF21_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger22__RF22_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger30__RF30_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger31__RF31_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger32__RF32_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger40__RF40_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger41__RF41_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Finger42__RF42_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Foot__Rft__", 1
- RemoveAllCns PickSession1 + ".NPC_R_FootBox", 1
- RemoveAllCns PickSession1 + ".NPC_R_Forearm__RLar_", 1
- RemoveAllCns PickSession1 + ".NPC_R_ForearmTwist1__RLt1_", 1
- RemoveAllCns PickSession1 + ".NPC_R_ForearmTwist2__RLt2_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Hand__RHnd_", 1
- RemoveAllCns PickSession1 + ".NPC_R_HeelPivot", 1
- RemoveAllCns PickSession1 + ".NPC_R_Thigh__RThg_", 1
- RemoveAllCns PickSession1 + ".NPC_R_Toe0__RToe_", 1
- RemoveAllCns PickSession1 + ".NPC_R_ToePivot", 1
- RemoveAllCns PickSession1 + ".NPC_R_UpperArm__RUar_", 1
- RemoveAllCns PickSession1 + ".NPC_R_UpperarmTwist1__RUt1_", 1
- RemoveAllCns PickSession1 + ".NPC_R_UpperarmTwist2__RUt2_", 1
- RemoveAllCns PickSession1 + ".NPC_Root__Root_", 1
- RemoveAllCns PickSession1 + ".NPC_Spine1__Spn1_", 1
- RemoveAllCns PickSession1 + ".NPC_Spine2__Spn2_", 1
- RemoveAllCns PickSession1 + ".NPC_Spine__Spn0_", 1
- 'Delete the objects and groups created by my constraint script
- DeleteObj PickSession2 + ".Cons_Left_Elbow"
- DeleteObj PickSession2 + ".Cons_Left_Knee"
- DeleteObj PickSession2 + ".Cons_Right_Elbow"
- DeleteObj PickSession2 + ".Cons_Right_Knee"
- DeleteObj PickSession2 + ".JointConst"
- DeleteObj PickSession2 + ".HideTheToes"
- 'If don't have a ManGuide group creation part in the original script comment out or delete line
- DeleteObj "ManGuide_Visibility"
- 'If don't have a ManGuide group creation part in the original script comment out or delete line
- LogMessage "All constraints should now be removed!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement