Jump to content

Text format for importing an animation?


mdgunn
 Share

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 comment
Share on other sites

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

  • Upvote 1

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

Macklebee the guru cool.png That is good to know but in my experience usually some of the start/end animation frames they list are incorrect and you have to do it manually anyway.

---

Scott

 

Using Windows 7 Ultimate 64 bit/Core I7-2700K @ 4312mhz/24G RAM/Nvidia GTX 1060

Link to comment
Share on other sites

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 comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

×
×
  • Create New...