-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
284 additions
and
20 deletions.
There are no files selected for viewing
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
167 changes: 151 additions & 16 deletions
167
src/StudioCore/Assets/PARAM/AC6/Meta/JigglerBaseParam.xml
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 |
---|---|---|
@@ -1,25 +1,160 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<PARAMMETA XmlVersion="0"> | ||
<Self | ||
Wiki="Determines the configuration of jiggle bones within FLVER models."/> | ||
|
||
<Field> | ||
<boneName AltName="Jiggle Bone" /> | ||
<ctrlType | ||
AltName="Control Type" | ||
Wiki="The setup type used for setting up the jiggler." | ||
Enum="JIGGLER_CTRL_TYPE" /> | ||
|
||
<offsetAxis_X_Range_Min AltName="Offset Axis X: Range Minimum" /> | ||
<offsetAxis_X_Range_Max AltName="Offset Axis X: Range Minimum" /> | ||
<offsetAxis_Z_Range_Min AltName="Offset Axis Z: Range Maximum" /> | ||
<offsetAxis_Z_Range_Max AltName="Offset Axis Z: Range Maximum" /> | ||
<calcType | ||
AltName="Calculation Type" | ||
Wiki="The calculation type to use with the jiggler." | ||
Enum="JIGGLER_CALC_TYPE" /> | ||
|
||
<reserved1 | ||
AltName="" | ||
Padding="" /> | ||
|
||
<jigglerBehaviorParamId AltName="Jiggler Behavior ID" Refs="JigglerBehaviorParam" /> | ||
<jigglerBehaviorSlideParamId AltName="Jiggler Behavior Slide ID" Refs="JigglerBehaviorSlideParam" /> | ||
<dmyPolyId | ||
AltName="Dummy Polygon ID" | ||
Wiki="The dummy polygon ID to apply the jiggler to. Only valid if the control type is set to Dummy Polygon." /> | ||
|
||
<strCtrlBoneName | ||
AltName="Control Bone Name" | ||
Wiki="The bone name to apply the jiggler to. Only valid if the control type is set to Skeleton." /> | ||
|
||
<axisLeftMoveSpeed AltName="Axis Move Speed: Left" Wiki="Jiggle axis" /> | ||
<axisRightMoveSpeed AltName="Axis Move Speed: Right" Wiki="Jiggle axis" /> | ||
<axisDownwardMoveSpeed AltName="Axis Move Speed: Downward" Wiki="Jiggle axis" /> | ||
<axisUpwardMoveSpeed AltName="Axis Move Speed: Upward" Wiki="Jiggle axis" /> | ||
<axisBackwardMoveSpeed AltName="Axis Move Speed: Backward" Wiki="Jiggle axis" /> | ||
<axisForwardMoveSpeed AltName="Axis Move Speed: Forward" Wiki="Jiggle axis" /> | ||
<reserved2 | ||
AltName="" | ||
Padding="" /> | ||
|
||
<axisX | ||
AltName="Axis: X" | ||
Wiki="The axis to treat as the X-axis (so that it does not overlap with other axes)." | ||
Enum="IK_KNEE_AXIS_TYPE" /> | ||
|
||
<axisY | ||
AltName="Axis: Y" | ||
Wiki="The axis to treat as the Y-axis (so that it does not overlap with other axes)." | ||
Enum="IK_KNEE_AXIS_TYPE" /> | ||
|
||
<axisZ | ||
AltName="Axis: Z" | ||
Wiki="The axis to treat as the Z-axis (so that it does not overlap with other axes)." | ||
Enum="IK_KNEE_AXIS_TYPE" /> | ||
|
||
<bUseFollowBaseBone | ||
AltName="Follow Root Bone" | ||
Wiki="If ON, the jiggler will follow the root bone." | ||
IsBool="" /> | ||
|
||
<limitAngleDeg_MinX | ||
AltName="Rotation: X-Axis - Minimum Angle" | ||
Wiki="The minimum angle for the X-axis. In degrees." /> | ||
|
||
<limitAngleDeg_MaxX | ||
AltName="Rotation: X-Axis - Maximum Angle" | ||
Wiki="The maximum angle for the X-axis. In degrees." /> | ||
|
||
<limitAngleDeg_MinY | ||
AltName="Rotation: Y-Axis - Minimum Angle" | ||
Wiki="The minimum angle for the Y-axis. In degrees." /> | ||
|
||
<limitAngleDeg_MaxY | ||
AltName="Rotation: Y-Axis - Maximum Angle" | ||
Wiki="The maximum angle for the Y-axis. In degrees." /> | ||
|
||
<behaviorParamId | ||
AltName="Rotation Behavior ID" | ||
Wiki="The rotation behavior parameter to use." | ||
Refs="JigglerBehaviorParam" /> | ||
|
||
<behaviorSlideParamId | ||
AltName="Movement Behavior ID" | ||
Wiki="The movement behavior parameter to use." | ||
Refs="JigglerBehaviorSlideParam" /> | ||
|
||
<limitOffset_MinX | ||
AltName="Position: X-Axis - Minimum Offset" | ||
Wiki="The minimum position offset for the X-axis." /> | ||
|
||
<limitOffset_MaxX | ||
AltName="Position: X-Axis - Maximum Offset" | ||
Wiki="The maximum position offset for the X-axis." /> | ||
|
||
<limitOffset_MinY | ||
AltName="Position: Y-Axis - Minimum Offset" | ||
Wiki="The minimum position offset for the Y-axis." /> | ||
|
||
<limitOffset_MaxY | ||
AltName="Position: Y-Axis - Maximum Offset" | ||
Wiki="The maximum position offset for the Y-axis." /> | ||
|
||
<limitOffset_MinZ | ||
AltName="Position: Z-Axis - Minimum Offset" | ||
Wiki="The minimum position offset for the Z-axis." /> | ||
|
||
<limitOffset_MaxZ | ||
AltName="Position: Z-Axis - Maximum Offset" | ||
Wiki="The maximum position offset for the Z-axis." /> | ||
|
||
<behaviorWorldFixParamId | ||
AltName="World Fix ID" | ||
Wiki="The parameter ID to use for correcting the jiggler's worldspace." | ||
Refs="JigglerBehaviorWorldFixParam" /> | ||
|
||
<behaviorTargetBoneRateParamId | ||
AltName="Target Bone Rate ID" | ||
Wiki="The parameter ID to use for determining the percentage rate from a specified joint." | ||
Refs="JigglerBehaviorTargetBoneRateParam" /> | ||
|
||
<followBaseBone_SpineFollowRateRot | ||
AltName="[Follow Root] Spine Follow %: Rotation" | ||
Wiki="Used if Follow Root Bone is ON. The tracking rate to the new position after the rotation of the root bone for the spine." /> | ||
|
||
<followBaseBone_SpineFollowRatePos | ||
AltName="[Follow Root] Spine Follow %: Position" | ||
Wiki="Used if Follow Root Bone is ON. The tracking rate to the new position after the movement of the root bone for the spine." /> | ||
|
||
<followBaseBone_OffsetX | ||
AltName="[Follow Root] Spine Position Offset: X" | ||
Wiki="Used if Follow Root Bone is ON. The follow position offset on the X-axis for the spine when movement of the root bone occurs." /> | ||
|
||
<followBaseBone_OffsetY | ||
AltName="[Follow Root] Spine Position Offset: Y" | ||
Wiki="Used if Follow Root Bone is ON. The follow position offset on the Y-axis for the spine when movement of the root bone occurs." /> | ||
|
||
<followBaseBone_OffsetZ | ||
AltName="[Follow Root] Spine Position Offset: Z" | ||
Wiki="Used if Follow Root Bone is ON. The follow position offset on the Z-axis for the spine when movement of the root bone occurs." /> | ||
|
||
<reserved4 | ||
AltName="" | ||
Padding="" /> | ||
|
||
<jiggleBehaviorTargetBoneRateParam1 AltName="Target Bone Rate ID [1]" Refs="JigglerBehaviorTargetBoneRateParam" /> | ||
<jiggleBehaviorTargetBoneRateParam2 AltName="Target Bone Rate ID [2]" Refs="JigglerBehaviorTargetBoneRateParam" /> | ||
</Field> | ||
<Self Wiki="Determines the configuration of jiggle bones within FLVER models."/> | ||
|
||
<Enums> | ||
<Enum Name="JIGGLER_CTRL_TYPE" type="u8"> | ||
<Option Value="0" Name="Dummy Polygon" /> | ||
<Option Value="1" Name="Skeleton" /> | ||
</Enum> | ||
<Enum Name="JIGGLER_CALC_TYPE" type="u8"> | ||
<Option Value="0" Name="Position only" /> | ||
<Option Value="1" Name="Rotation only" /> | ||
<Option Value="2" Name="Position -> Rotation" /> | ||
<Option Value="4" Name="Fixed to World" /> | ||
<Option Value="5" Name="Percentage from Specified Joint" /> | ||
</Enum> | ||
<Enum Name="IK_KNEE_AXIS_TYPE" type="u8"> | ||
<Option Value="0" Name="+ X" /> | ||
<Option Value="1" Name="+ Y" /> | ||
<Option Value="2" Name="+ Z" /> | ||
<Option Value="3" Name="- X" /> | ||
<Option Value="4" Name="- Y" /> | ||
<Option Value="5" Name="- Z" /> | ||
</Enum> | ||
</Enums> | ||
</PARAMMETA> |
58 changes: 56 additions & 2 deletions
58
src/StudioCore/Assets/PARAM/AC6/Meta/JigglerBehaviorParam.xml
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 |
---|---|---|
@@ -1,5 +1,59 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<PARAMMETA XmlVersion="0"> | ||
<Field></Field> | ||
<Self Wiki="Determines the behavior of a jiggle bone."/> | ||
<Self | ||
Wiki="Determines the rotational behavior of a jiggle bone."/> | ||
|
||
<Field> | ||
<minAccelMPSS | ||
AltName="Minimum Acceleration for Rotation" | ||
Wiki="The minimum acceleration to start the rotation of the bone. In metres per second ^ 2." /> | ||
|
||
<maxAccelMPSS | ||
AltName="Acceleration for Maximum Rotation" | ||
Wiki="The acceleration at which the rotational force reaches it maximum value. In metres per second ^ 2." /> | ||
|
||
<minSpeedKMH | ||
AltName="Minimum Velocity for Rotation" | ||
Wiki="The minimum velocity to start the rotation of the bone. In kilometres per hour." /> | ||
|
||
<maxSpeedKMH | ||
AltName="Velocity for Maximum Rotation" | ||
Wiki="The velocity at which the rotational force reaches it maximum value. In kilometres per hour." /> | ||
|
||
<rotAccelScaleX | ||
AltName="Rotational Acceleration: X-Axis" | ||
Wiki="The coefficient for rotating the X-axis velocity and acceleration." /> | ||
|
||
<rotAccelScaleY | ||
AltName="Rotational Acceleration: Y-Axis" | ||
Wiki="The coefficient for rotating the Y-axis velocity and acceleration." /> | ||
|
||
<rotDecayValueX | ||
AltName="Rotational Decay: X-Axis" | ||
Wiki="The coefficient that dampens the angular velocity on the X-axis." /> | ||
|
||
<rotDecayValueY | ||
AltName="Rotational Decay: Y-Axis" | ||
Wiki="The coefficient that dampens the angular velocity on the Y-axis." /> | ||
|
||
<limitMinAngReflecRateX | ||
AltName="Reflection Rate at Minimum Angle: X-Axis" | ||
Wiki="The reflection rate when the X-axis rotation reaches it's minimum angle." /> | ||
|
||
<limitMaxAngReflecRateX | ||
AltName="Reflection Rate at Maximum Angle: X-Axis" | ||
Wiki="The reflection rate when the X-axis rotation reaches it's maximum angle." /> | ||
|
||
<limitMinAngReflecRateY | ||
AltName="Reflection Rate at Minimum Angle: Y-Axis" | ||
Wiki="The reflection rate when the Y-axis rotation reaches it's minimum angle." /> | ||
|
||
<limitMaxAngReflecRateY | ||
AltName="Reflection Rate at Maximum Angle: Y-Axis" | ||
Wiki="The reflection rate when the Y-axis rotation reaches it's maximum angle." /> | ||
|
||
<reserved3 | ||
AltName="" | ||
Padding="" /> | ||
</Field> | ||
</PARAMMETA> |
75 changes: 73 additions & 2 deletions
75
src/StudioCore/Assets/PARAM/AC6/Meta/JigglerBehaviorSlideParam.xml
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 |
---|---|---|
@@ -1,5 +1,76 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<PARAMMETA XmlVersion="0"> | ||
<Field></Field> | ||
<Self /> | ||
<Self | ||
Wiki="Determines the movement behavior of a jiggle bone."/> | ||
|
||
<Field> | ||
<minAccelMPSS | ||
AltName="Minimum Acceleration for Movement" | ||
Wiki="The minimum acceleration to start the movement of the bone. In metres per second ^ 2." /> | ||
|
||
<maxAccelMPSS | ||
AltName="Acceleration for Maximum Movement" | ||
Wiki="The acceleration at which the movement force reaches it maximum value. In metres per second ^ 2." /> | ||
|
||
<minSpeedKMH | ||
AltName="Minimum Velocity for Movement" | ||
Wiki="The minimum velocity to start the movement of the bone. In kilometres per hour." /> | ||
|
||
<maxSpeedKMH | ||
AltName="Velocity for Maximum Movement" | ||
Wiki="The velocity at which the movement force reaches it maximum value. In kilometres per hour." /> | ||
|
||
<moveAccelScaleX | ||
AltName="Movement Acceleration: X-Axis" | ||
Wiki="The coefficient for moving along the X-axis with regards to velocity and acceleration." /> | ||
|
||
<moveAccelScaleY | ||
AltName="Movement Acceleration: Y-Axis" | ||
Wiki="The coefficient for moving along the Y-axis with regards to velocity and acceleration." /> | ||
|
||
<moveAccelScaleZ | ||
AltName="Movement Acceleration: Z-Axis" | ||
Wiki="The coefficient for moving along the Z-axis with regards to velocity and acceleration." /> | ||
|
||
<moveDecayValueX | ||
AltName="Movement Decay: X-Axis" | ||
Wiki="The coefficient that dampens the movement velocity on the X-axis." /> | ||
|
||
<moveDecayValueY | ||
AltName="Movement Decay: Y-Axis" | ||
Wiki="The coefficient that dampens the movement velocity on the Y-axis." /> | ||
|
||
<moveDecayValueZ | ||
AltName="Movement Decay: Y-Axis" | ||
Wiki="The coefficient that dampens the movement velocity on the Y-axis." /> | ||
|
||
<limitMinAngReflecRateX | ||
AltName="Reflection Rate at Minimum Position: X-Axis" | ||
Wiki="The reflection rate when the X-axis position reaches it's minimum position." /> | ||
|
||
<limitMaxAngReflecRateX | ||
AltName="Reflection Rate at Maximum Position: X-Axis" | ||
Wiki="The reflection rate when the X-axis position reaches it's maximum position." /> | ||
|
||
<limitMinAngReflecRateY | ||
AltName="Reflection Rate at Minimum Position: Y-Axis" | ||
Wiki="The reflection rate when the Y-axis position reaches it's minimum position." /> | ||
|
||
<limitMaxAngReflecRateY | ||
AltName="Reflection Rate at Maximum Position: Y-Axis" | ||
Wiki="The reflection rate when the Y-axis position reaches it's maximum position." /> | ||
|
||
<limitMinAngReflecRateZ | ||
AltName="Reflection Rate at Minimum Position: Z-Axis" | ||
Wiki="The reflection rate when the Z-axis position reaches it's minimum position." /> | ||
|
||
<limitMaxAngReflecRateZ | ||
AltName="Reflection Rate at Maximum Position: Z-Axis" | ||
Wiki="The reflection rate when the Z-axis position reaches it's maximum position." /> | ||
|
||
<reserved3 | ||
AltName="" | ||
Padding="" /> | ||
|
||
</Field> | ||
</PARAMMETA> |