Add Animationbanks?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Tygr
Corporal
Corporal
Posts: 150
Joined: Mon Aug 25, 2008 1:11 pm

Add Animationbanks?

Post by Tygr »

You know the part of a weapon ODf that says:

Code: Select all

AnimationBank   = "rifle"
Is there a way to add additional AnimationBank names? For example, add Han's pistol animation under the name "smugglerpistol" and the Fett Wrist Rocket anim under the name "wristshot." This would allow you to have all the different weapon firing animations in one animation set. A universal animation set!
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Add Animationbanks?

Post by Taivyx »

Wait...... what? :|

If you have all the animation banks on one weapon, even if that doesn't come up with munge errors, the game will try to play each of the firing animations from each animationbank when the unit fires at the same time, which will look quite odd methinks.

Perhaps you mean combining the best parts of certain animationbanks into one.
Tygr
Corporal
Corporal
Posts: 150
Joined: Mon Aug 25, 2008 1:11 pm

Re: Add Animationbanks?

Post by Tygr »

Taivyx wrote:Wait...... what? :|

If you have all the animation banks on one weapon, even if that doesn't come up with munge errors, the game will try to play each of the firing animations from each animationbank when the unit fires at the same time, which will look quite odd methinks.

Perhaps you mean combining the best parts of certain animationbanks into one.
I mean creating an animation set that would allow you to use any of them in the unit. For example, Han's anims overwrites the pistol anims, so my question was how to add them both, with Han's taking a different name.

I'll try the stuff I found here: http://www.gametoast.com/forums/viewtop ... nk#p258732 and see if it works for what I'm trying to do.
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: Add Animationbanks?

Post by Taivyx »

I'm still confused as to why you would want to add both, though.
Perhaps I'm misunderstanding what you want to do, could you elaborate?

EDIT:
Maybe I've got it now.
Do you want the same weapon to have two options, as in Han-style animations or Regular Pistol animations?
If yes then you can just create an identical weapon with just that one animationbank line changed.
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Add Animationbanks?

Post by DarthD.U.C.K. »

i think he wants one pistol to be hanlike shot and wielded and one beinhg normally wielded and shot, thats no problem with one animationbank,
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Add Animationbanks?

Post by FragMe! »

For the way the game handle the hierarchy of animations there is this doc from Fred's site, you might have to read through it a couple of times (I know I did) to get how it is done. But to sum up the parent of everything is human animation banks with "special" ones overriding them once stated properly in the odf.

Animation System
Post Reply