Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Text format for importing an animation?


Recommended Posts

In the model viewer there is an option to import an animation. I think if you have the right format of text file then it can construct the multiple animations from a single track if you tell it which frames to pull out.

 

I can't find the format for this anywhere. Can anyone supply a link to this information, or the information itself for the format of the text file?

Link to post

Doesn't it just import the animations from another model?

No, it also allows you to quickly perform sequence extractions from the current animation sequence. It will set the starting and ending frame, and give it a name. Essentially its like the batch version of performing the extraction manually.

 

Format:

Animation name, Start Frame, End Frame

 

Usage:

Open character in Model Editor and select File>Load Animation...

post-14-0-87850200-1483243168_thumb.jpg

Select the text file that contains the animation list:

T-Pose,0,18
Walk,19,41
RunForward,43,61
Punch1,62,82
SwordAttack1,83,101
SwordAttack2,104,129
FrontKickandSwordAttack,130,207
Puch2,208,233
TakeHitReelBack,234,286
DodgeDuck,287,276
Idle,377,694
Jump,695,763
FallBackwards1,764,801
FallBackwards2,802,822
LyingontheFloor,823,852
GettingBackUp,853,881
RaisedSword,882,903

And magically, it will extract all of the animations which will only require you to delete the original single track animation.

post-14-0-41958700-1483243472_thumb.jpg

Link to post

Thank for the replies.

 

I am thinking that in developing a model I'm going to be refining and re-importing it a number of times. Re-import unfortunately seems to wipe everything you've set up for the model (normal map correction, animation, scale etc.) The text file should help me quickly get the animations set back up at least.

 

Kinda wish that if you're asking to RE-import something it at least gave you the option of re-applying some of the work you did last time and almost certainly don't want to repeat every time. Guess wiping it out is simple and clean.

 

Thanks!

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Facebook Twitter Youtube Github Steam
×
×
  • Create New...