forked from jbhoosreddy/alecmercer-origins
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from jaideepcoder/master
Tools
- Loading branch information
Showing
206 changed files
with
96,324 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
<CharacterSettings> | ||
<FileInfo Rev="1.0" /> | ||
<Characters> | ||
<Character Name="Human" Active="true"> | ||
<Setup Name="SDK_Character_male" Active="true" SourcePath="Game\Animations\human_male\" GamePath="Game\Animations\human_male\"> | ||
<Model ModelPath="Game\Objects\Characters\neutral_male\SDK_character_male.max" AutoSync="true" RemoveOld="true" PreferLoad="true" /> | ||
<Biped PosePath="" AutoSync="true" RemoveOld="false" /> | ||
<Align TargetNode="" SourceNode="" Rotation="(quat 0 0 0 1)" Position="[0,0,0]" /> | ||
<Misc SkipFirst="0" SkipLast="0" CustomRig="false" /> | ||
<SourceNodes> | ||
<Node Name="Bip01 Head" /> | ||
<Node Name="Bip01 L Calf" /> | ||
<Node Name="Bip01 L Clavicle" /> | ||
<Node Name="Bip01 L Finger0" /> | ||
<Node Name="Bip01 L Finger01" /> | ||
<Node Name="Bip01 L Finger02" /> | ||
<Node Name="Bip01" /> | ||
<Node Name="Bip01 L Finger11" /> | ||
<Node Name="Bip01 L Finger12" /> | ||
<Node Name="Bip01 L Finger1" /> | ||
<Node Name="Bip01 L Finger21" /> | ||
<Node Name="Bip01 L Finger22" /> | ||
<Node Name="Bip01 L Finger2" /> | ||
<Node Name="Bip01 L Finger3" /> | ||
<Node Name="Bip01 L Finger31" /> | ||
<Node Name="Bip01 L Finger32" /> | ||
<Node Name="Bip01 L Finger41" /> | ||
<Node Name="Bip01 L Finger42" /> | ||
<Node Name="Bip01 L Finger4" /> | ||
<Node Name="Bip01 L Foot" /> | ||
<Node Name="Bip01 L Forearm" /> | ||
<Node Name="Bip01 L Hand" /> | ||
<Node Name="Bip01 L Thigh" /> | ||
<Node Name="Bip01 L Toe0" /> | ||
<Node Name="Bip01 L UpperArm" /> | ||
<Node Name="Bip01 Neck" /> | ||
<Node Name="Bip01 Pelvis" /> | ||
<Node Name="Bip01 R Calf" /> | ||
<Node Name="Bip01 R Clavicle" /> | ||
<Node Name="Bip01 R Finger0" /> | ||
<Node Name="Bip01 R Finger01" /> | ||
<Node Name="Bip01 R Finger02" /> | ||
<Node Name="Bip01 R Finger11" /> | ||
<Node Name="Bip01 R Finger12" /> | ||
<Node Name="Bip01 R Finger1" /> | ||
<Node Name="Bip01 R Finger2" /> | ||
<Node Name="Bip01 R Finger21" /> | ||
<Node Name="Bip01 R Finger22" /> | ||
<Node Name="Bip01 R Finger31" /> | ||
<Node Name="Bip01 R Finger32" /> | ||
<Node Name="Bip01 R Finger3" /> | ||
<Node Name="Bip01 R Finger4" /> | ||
<Node Name="Bip01 R Finger41" /> | ||
<Node Name="Bip01 R Finger42" /> | ||
<Node Name="Bip01 R Foot" /> | ||
<Node Name="Bip01 R Forearm" /> | ||
<Node Name="Bip01 R Hand" /> | ||
<Node Name="Bip01 R Thigh" /> | ||
<Node Name="Bip01 R Toe0" /> | ||
<Node Name="Bip01 R UpperArm" /> | ||
<Node Name="Bip01 Spine" /> | ||
<Node Name="Bip01 Spine1" /> | ||
<Node Name="Bip01 Spine2" /> | ||
<Node Name="Bip01 Spine3" /> | ||
<Node Name="Locator_Locomotion" /> | ||
</SourceNodes> | ||
<GameBones> | ||
<Node Name="Bip01 Spine"> | ||
<Condition Name="string_animName" Active="true" Layer="0" VarID="1" StateID="1" GroupID="2" Value=""UB"" /> | ||
<Condition Name="string_animName" Active="true" Layer="0" VarID="1" StateID="1" GroupID="2" Value=""AimPoses"" /> | ||
</Node> | ||
<Node Name="Bip01" /> | ||
</GameBones> | ||
</Setup> | ||
</Character> | ||
<Character Name="----------------" Active="false"> | ||
<Setup Name="Base Char" Active="true" SourcePath="" GamePath=""> | ||
<Model ModelPath="" AutoSync="true" RemoveOld="true" PreferLoad="false" /> | ||
<Biped PosePath="" AutoSync="true" RemoveOld="false" /> | ||
<Align TargetNode="" SourceNode="" Rotation="(quat 0 0 0 1)" Position="[0,0,0]" /> | ||
<Misc SkipFirst="0" SkipLast="0" CustomRig="false" /> | ||
<SourceNodes /> | ||
<GameBones /> | ||
</Setup> | ||
</Character> | ||
<Character Name="Weapons" Active="true"> | ||
<Setup Name="Scar" Active="true" SourcePath="Game\Animations\weapons\us\scar\" GamePath="Game\Animations\weapons\us\scar\"> | ||
<Model ModelPath="Game\Objects\Weapons\Scar\scar_tp.max" AutoSync="true" RemoveOld="true" PreferLoad="false" /> | ||
<Biped PosePath="" AutoSync="true" RemoveOld="false" /> | ||
<Align TargetNode="weapon_bone" SourceNode="MASTER_CON" Rotation="(quat 0 0 0 1)" Position="[0,0,0]" /> | ||
<Misc SkipFirst="0" SkipLast="0" CustomRig="false" /> | ||
<SourceNodes /> | ||
<GameBones /> | ||
</Setup> | ||
</Character> | ||
</Characters> | ||
</CharacterSettings> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<ImportSettings> | ||
<FileInfo Rev="1.0" /> | ||
<Templates> | ||
<Process Name="Delete HTR Nodes" Active="true"> | ||
<Script Path="" Text="fn delHTRNodes =
(
 if HTRBones != undefined then
 (
 for i = 1 to HTRBones.count do
 (
 try delete HTRBones[i] catch()
 )
 )
)" /> | ||
</Process> | ||
<Process Name="Fix IK Targets" Active="true"> | ||
<Script Path="" Text="fn fixIK =
(
 local tempTM = matrix3 1
 tempTM.pos = [100.0,0,0]
 
 for i = animationRange.start to animationRange.end do
 (
 sliderTime = i

 local newTM = tempTM * $'#A_Bip01 R Hand'.transform
 

 biped.setTransform $'#A_Bip01 LHand2Weapon_IKBlend' #rotation newTM.rotation true
 biped.setTransform $'#A_Bip01 LHand2Weapon_IKBlend' #pos newTM.pos true

 biped.setTransform $'#A_Bip01 LHand2Weapon_IKTarget' #rotation $'#A_Bip01 L Hand'.transform.rotation true
 biped.setTransform $'#A_Bip01 LHand2Weapon_IKTarget' #pos $'#A_Bip01 L Hand'.transform.pos true
 )
)" /> | ||
</Process> | ||
<Process Name="Load to Skeleton" Active="false"> | ||
<Script Path="" Text="fn loadToSkeleton node:"" =
(
 local tempNode = getNodeByName node
 if tempNode != undefined then
 (
 local tempSkel = cryAM.usedSkel
 cryAM.usedSkel = #(tempNode)
 cryMaxTools.anim.functions.UI.loadAnim cryAM.currentQue

 cryAM.usedSkel = tempSkel
 )
)" /> | ||
</Process> | ||
<Process Name="Run Retarget" Active="true"> | ||
<Script Path="" Text="fn loadMapping path:"" deleteOld:false =
(
 if path != "" then 
 (
 if (getFiles path).count > 0 then
 cryAM.loadedMappingPath = cryMaxTools.anim.functions.UI.loadMapping path
 else
 print "Path not found"
 )

 if deleteOld == true then
 (
 for i = 1 to cryMaxTools.anim.vars.map.count do
 if cryMaxTools.anim.vars.map[i].sourceID > 0 then
 try ( delete (getNodeByName cryMaxTools.anim.vars.map[cryMaxTools.anim.vars.map[i].sourceID] ) ) catch()
 )
)

fn runRetarget =
(
 with undo off
 (
 cryMaxTools.anim.functions.UI.runRetarget()
 )
)" /> | ||
</Process> | ||
</Templates> | ||
<Tasks> | ||
<Task Name="Retarget" Default="true" Active="true"> | ||
<Process Name="Load to Skeleton" Active="false"> | ||
<Script Path="" Text="fn loadToSkeleton node:"" =
(
 local tempNode = getNodeByName node
 if tempNode != undefined then
 (
 local tempSkel = cryAM.usedSkel
 cryAM.usedSkel = #(tempNode)
 cryMaxTools.anim.functions.UI.loadAnim cryAM.currentQue

 cryAM.usedSkel = tempSkel
 )
)" /> | ||
<Parameters> | ||
<Function Name="loadToSkeleton"> | ||
<Property Name="node" Value="""" /> | ||
</Function> | ||
</Parameters> | ||
</Process> | ||
<Process Name="Run Retarget" Active="true"> | ||
<Script Path="" Text="fn loadMapping path:"" deleteOld:false =
(
 if path != "" then 
 (
 if (getFiles path).count > 0 then
 cryAM.loadedMappingPath = cryMaxTools.anim.functions.UI.loadMapping path
 else
 print "Path not found"
 )

 if deleteOld == true then
 (
 for i = 1 to cryMaxTools.anim.vars.map.count do
 if cryMaxTools.anim.vars.map[i].sourceID > 0 then
 try ( delete (getNodeByName cryMaxTools.anim.vars.map[cryMaxTools.anim.vars.map[i].sourceID] ) ) catch()
 )
)

fn runRetarget =
(
 with undo off
 (
 cryMaxTools.anim.functions.UI.runRetarget()
 )
)" /> | ||
<Parameters> | ||
<Function Name="loadMapping"> | ||
<Property Name="path" Value="""" /> | ||
<Property Name="deleteOld" Value="false" /> | ||
</Function> | ||
<Function Name="runRetarget" /> | ||
</Parameters> | ||
</Process> | ||
</Task> | ||
<Task Name="retargetHTR" Default="true" Active="true"> | ||
<Process Name="Run Retarget" Active="true"> | ||
<Script Path="" Text="fn loadMapping path:"" deleteOld:false =
(
 if path != "" then 
 (
 if (getFiles path).count > 0 then
 cryAM.loadedMappingPath = cryMaxTools.anim.functions.UI.loadMapping path
 else
 print "Path not found"
 )

 if deleteOld == true then
 (
 for i = 1 to cryMaxTools.anim.vars.map.count do
 if cryMaxTools.anim.vars.map[i].sourceID > 0 then
 try ( delete (getNodeByName cryMaxTools.anim.vars.map[cryMaxTools.anim.vars.map[i].sourceID] ) ) catch()
 )
)

fn runRetarget =
(
 with undo off
 (
 cryMaxTools.anim.functions.UI.runRetarget()
 )
)" /> | ||
<Parameters> | ||
<Function Name="loadMapping"> | ||
<Property Name="path" Value="""" /> | ||
<Property Name="deleteOld" Value="false" /> | ||
</Function> | ||
<Function Name="runRetarget" /> | ||
</Parameters> | ||
</Process> | ||
<Process Name="Delete HTR Nodes" Active="true"> | ||
<Script Path="" Text="fn delHTRNodes =
(
 if HTRBones != undefined then
 (
 for i = 1 to HTRBones.count do
 (
 try delete HTRBones[i] catch()
 )
 )
)" /> | ||
<Parameters> | ||
<Function Name="delHTRNodes" /> | ||
</Parameters> | ||
</Process> | ||
</Task> | ||
</Tasks> | ||
</ImportSettings> |
Oops, something went wrong.