Walk/Sprint Cycle Animation

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Lieutenant Colonel
User avatar
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Location: Terra Firma, Sol System; Milky Way
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious

Walk/Sprint Cycle Animation

Postby VF501 » Wed Sep 10, 2008 10:04 pm

Any of you more experienced animators for SWBF2 know how many frames a walk/sprint cycle should be animated in? I checked the docs, but of course there was no info there and I saw nothing on Secret Society.

I know that saber attack anims are 10;10;20 frames for First,Second and Final attacks. So I think it might be around 10-30 frames, but I wanted to ask first.

On a good note, I have a custom Unit skeleton exporting correctly with no errors in both the mesh, or basepose, and I'm working on the tutorial.

Master Bounty Hunter
User avatar
Posts: 1525
Joined: Wed Nov 09, 2005 11:12 pm

Re: Walk/Sprint Cycle Animation

Postby minilogoguy18 » Wed Sep 10, 2008 10:26 pm

it says somewhere in i think the SWBF1 mod tools docs how many fps the games animations were made in XSI so all you should need to do is set it to that and just go with it cause it should play at the same speed you export from XSI. i need to reinstall XSI cause i was gonna tell you a way to stretch an animation by grabbing the final keyframe and moving it but i forgot off the top of my head. but you could do that if its too fast or too slow in game and just re-export.

EDIT: the only thing that MIGHT throw you off is if your running either integrated graphics or a very old card in which your monitor refresh rate is slow and it appears that the speed is right but its just playing slowly cause of your video card and in game it turns out faster that it appeared. you just have to kinda test it a few times. i think for some walkers i made but never got working all the way right i had them at like 30-35 frames for a looping walk animation. remember though you need more than just that one walk cycle, theres also idle to left foot and also right and also vice versa to have a full walking character.

Gametoast Staff
User avatar
Posts: 3294
Joined: Mon Aug 21, 2006 6:23 am

Re: Walk/Sprint Cycle Animation

Postby AceMastermind » Wed Sep 10, 2008 11:39 pm

VF501 wrote:I know that saber attack anims are 10;10;20 frames for First,Second and Final attacks.

If you want to see how many frames Pandemic made their character animations then use these console commands:
BF2 Jedi Creation.doc wrote:anim.show
- toggles on and off display of the animation(s) that the player character’s legs and upper body are playing, the total length of the animation (in frames) as well as the current frame number, and the percentage of blending out of the last animation. ESPECIALLY useful with:
slowmo [number] (e.g. "slowmo 5")
- The number is the number of times slower to play the entire game…um…it’s the denominator in the speed, so if you say "slowmo 5" then the game plays at 1/5 speed, if you say "slowmo 2" then it plays at ½ speed, etc. "slowmo" by itself, or "slowmo 1" turns it off. Note that you can also speed up gameplay with "slowmo .2" or "slowmo .5", but this has no practical use for animation debugging. After inputting a "slowmo", turn off the console and check your character for bugs or animation pops.


minilogoguy18 wrote:i need to reinstall XSI cause i was gonna tell you a way to stretch an animation by grabbing the final keyframe and moving it but i forgot off the top of my head. but you could do that if its too fast or too slow in game and just re-export.

Hold shift then left click and drag in the timeline to select your keys then middle click and drag near the end of the selection to shrink or stretch them.
http://softimage.wiki.softimage.com/xsi ... meline.htm

Sith Master
User avatar
Posts: 2768
Joined: Tue Oct 02, 2007 10:51 am
Location: Ghosting around GT
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set

Re: Walk/Sprint Cycle Animation

Postby MandeRek » Thu Sep 11, 2008 1:46 am

As far as i know, 20 is the maximum. Everything lower can be used. I say fred use different numbers, not only 10 or 20. Pluse the speed the anim is played is also affected by what anim it is. Make your anim with the maximum frames, see what it does, and try something else if not correct (Note that jedi can have their anims played faster or slower through combo)

Basicly you could have one frame for an anim, i used the basepose for all anims not done yet when creating a new animbank.. Worked fine!

Lieutenant Colonel
User avatar
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Location: Terra Firma, Sol System; Milky Way
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious

Re: Walk/Sprint Cycle Animation

Postby VF501 » Thu Sep 11, 2008 6:10 am

For the saber attacks, Gogie gave the info in this thread viewtopic.php?f=36&t=16044 on how to do custom saber animations. Which is where I got the 10;10;20 for the First, Second and Final Attack, considering most saber combos are 1, 2 then the final hit.

I was wondering about walk cycles because it is a looping animation and I know that 30 Frames is usually, not always counted as 1sec Real time. So I figured it should be between 10-30 frames.

From what Mandrek has said, I'll start with 20 frames because a walk is slower than an attack in terms of speed.

Gametoast Staff
User avatar
Posts: 3294
Joined: Mon Aug 21, 2006 6:23 am

Re: Walk/Sprint Cycle Animation

Postby AceMastermind » Thu Sep 11, 2008 4:28 pm

Walkers don't have a true looping walk animation, they have a sequence of animations that blend together when walking to give the appearance of a single looping animation ingame, to create this in XSI you could make a complete walk cycle then split it up where it needs to be and export these animations separately and they should flow seamlessly when walking.

Notes
imp_walk_atst animation states (the following images only display the 1st frame)
walk_leftfoot_rightfoot - 21 frames
Hidden/Spoiler:
Image


walk_rightfoot_leftfoot - 21 frames
Hidden/Spoiler:
Image


death01 - Starts from the basepose and falls down - 161 frames
Hidden/Spoiler:
Image


idle - Looping stand still animation - 61 frames
Hidden/Spoiler:
Image


idle_to_leftfoot - Starts from idle state to raise left foot - 16 frames
Hidden/Spoiler:
Image


idle_to_rightfoot - Starts from idle state to raise right foot - 16 frames
Hidden/Spoiler:
Image


leftfoot_to_idle - Starts left foot raised and moves to idle state - 31 frames
Hidden/Spoiler:
Image


rightfoot_to_idle - Starts right foot raised and moves to idle state - 31 frames
Hidden/Spoiler:
Image


turnl - Starts in idle state and turns left - 21 frames
Hidden/Spoiler:
Image


turnr - Starts in idle state and turns right - 21 frames
Hidden/Spoiler:
Image



Notes:
from imp_walk_atst.odf
Hidden/Spoiler:
Code: Select all
LegPairCount      = "1"

WalkerLegPair      = "LEGS"

LegBoneLeft      = "bone_l_thigh"
LegBoneRight      = "bone_r_thigh"

LegBoneTopLeft      = "bone_l_thigh"
LegBoneTopRight      = "bone_r_thigh"

TerrainLeft      = "p_l_foot"
TerrainRight      = "p_r_foot"

FootBoneLeft      = "bone_l_toe"
FootBoneRight      = "bone_r_toe"

Master Bounty Hunter
User avatar
Posts: 1525
Joined: Wed Nov 09, 2005 11:12 pm

Re: Walk/Sprint Cycle Animation

Postby minilogoguy18 » Thu Sep 11, 2008 11:48 pm

if i could get my XSI working (i reformatted) i could render a video of an at-pt model that i have fully animated but for some reason i cant get it to show in game, i think its falling through the terrain. =/ to make the animations seamless like stated above just do everything in a single scene all in a flowing order and then split them up.

Sith Master
User avatar
Posts: 2768
Joined: Tue Oct 02, 2007 10:51 am
Location: Ghosting around GT
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set

Re: Walk/Sprint Cycle Animation

Postby MandeRek » Sun Sep 14, 2008 9:05 am

Since when are we talking about walkers? I thought VF501 meant unit sprint anims.. :oops:

Gametoast Staff
User avatar
Posts: 3294
Joined: Mon Aug 21, 2006 6:23 am

Re: Walk/Sprint Cycle Animation

Postby AceMastermind » Sun Sep 14, 2008 10:29 am

No worries mate, you still have to create a walk cycle either way, it's all relevant.:)
If we have to then we'll use this topic for unit animation discussion and make another for walker discussion. :thumbs:

Sith Master
User avatar
Posts: 2768
Joined: Tue Oct 02, 2007 10:51 am
Location: Ghosting around GT
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set

Re: Walk/Sprint Cycle Animation

Postby MandeRek » Sun Sep 14, 2008 11:05 am

Yup, true... I've discovered tons of things about walkers too.. If someone wants to know, Ill post it later. It basicly says the droideka can't be replaced by new skel, and the ATAT can VERY HARDLY be replaced or have new anims, plus i found out most vehicle anims are hardcoded in a way, which means replace ALL anims, but also match with the requirements made by the engine for that specific type of walker :)

Gametoast Staff
User avatar
Posts: 3294
Joined: Mon Aug 21, 2006 6:23 am

Re: Walk/Sprint Cycle Animation

Postby AceMastermind » Thu Dec 01, 2011 3:09 am

Here's a video I came across on YouTube about how to animate a walking spider, this could be useful reference when creating animations for a Crab droid or something similar.


http://youtu.be/GtHzpX0FCFY

Resistance Leader
User avatar
Posts: 5267
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Project Infiltrator
Games I'm Playing :: Jedi Fallen Order
xbox live or psn: Marth8880

Re: Walk/Sprint Cycle Animation

Postby Marth8880 » Thu Dec 01, 2011 3:30 am

This is really making me want to learn how to animate (which I have actually done before, but not quite in a 3d view), but NOOOOOoooo!!!, 5.11 doesn't wanna run! :roll:

Master Bounty Hunter
User avatar
Posts: 1525
Joined: Wed Nov 09, 2005 11:12 pm

Re: Walk/Sprint Cycle Animation

Postby minilogoguy18 » Thu Dec 01, 2011 7:32 am

Any way I can get my hands on that file you've seemed to have acquired with the at-st animations?

Gametoast Staff
User avatar
Posts: 3294
Joined: Mon Aug 21, 2006 6:23 am

Re: Walk/Sprint Cycle Animation

Postby AceMastermind » Tue Jun 26, 2012 4:43 am

Endless Reference on YouTube has a bunch of videos outlining walk/run/jog etc cycles.
http://www.youtube.com/playlist?list=UU ... Yg3i10gTdQ

4-legged walk cycle:
http://www.youtube.com/watch?v=Y5GvEmn_wB4

Return to 3D Modeling & Animation

Who is online

Users browsing this forum: No registered users and 2 guests