Animation

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
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Animation

Post by Sky_216 »

How can I change the animation for a dropped object (turret) to that of a thrown object (grenade)? I still want to have the dropped object animation for dropped items.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: Animation

Post by woner11 »

In some force powers it gives you a line where it says what animation to use. You can copy that line into your odf for the auto turret and then change it to whatever the animation for a grenade is.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Animation

Post by MercuryNoodles »

I've found that dispensers in the common side often have this line commented in their odfs.

Code: Select all

//AnimationBank     = "grenade"
I don't know much about calling animations, but you could try uncommenting the line to see if it does anything. It is included in the autoturret's (parent) odf.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: Animation

Post by woner11 »

That should work and to be safe copy and uncomment the line in the child's odf. :yes:
User avatar
Sky_216
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2086
Joined: Mon Feb 13, 2006 3:28 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Re: Animation

Post by Sky_216 »

Nope, tried that, that animationbank doesn't exist.
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: Animation

Post by woner11 »

I beleive that Syth was able to change the grenade animation in his BF2 mod. Its pretty much the same principle, so you could ask him on it. :yes:
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Animation

Post by MercuryNoodles »

Better yet, try changing the dispenser's classlabel to grenade. Dispensers and grenades don't specify any animations AFAIK, so it's likely a hardcoded association.
Post Reply