Overwriting Soldier Animations?

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
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Overwriting Soldier Animations?

Post by jedimoose32 »

Hi again. Having just solved the rocket anims problem, I now have another issue with animations. It's not so critical to the development of the mod, but it was one of the major improvements I had jotted down under my "Ideas" list.

So here's what I want to do: I want to overwrite several basic soldier animations (example: human_rifle_stand_runforward). I have already created the new animation for runforward and moved the "human0" animations folder into my SoldierAnimationBank folder. I have already overwritten the old animation with the new one and munged everything (including those little .bat's in the animation's folders). What am I doing wrong? (Or is this just impossible?)
User avatar
Super_Clone
High General
High General
Posts: 803
Joined: Sat Jul 12, 2008 7:58 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Florida

Re: Overwriting Soldier Animations?

Post by Super_Clone »

There are Bats in the animation Folders? Thats animal cruelty. lol but I think you are suppose to make the animation files the same names as the ones you want them to overwrite
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: Overwriting Soldier Animations?

Post by jedimoose32 »

I did. Exactly the same name. But the game doesn't even change at all. No errors, no custom animations.

OFF-TOPIC: Funny joke. No pun actually intended :D !
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: Overwriting Soldier Animations?

Post by FragMe! »

Changes to the soldier animation banks are not like adding animations to specific characters since the can actually affect all characters as the human animation banks are the fall back for all units if they can't find one in their own banks. Changes to the human banks are stored in the ingame.lvl and are determined by the ingame.req as well as the SoldierAnimation.sanm file which is on the common/config folder.
The ingame.lvl btw does not get copied over on a munge so it has to be manually copied to the addon folder. As well a ReadDataFile("dc:ingame.lvl") statement has to be added to the appropriate era/mode lua.

Hope you wanted the simple answer :D
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: Overwriting Soldier Animations?

Post by jedimoose32 »

FragMe! wrote:Hope you wanted the simple answer :D
Okay, I had to read that like 3 times before I kinda got it. I understand what you're saying, but how would I implement the changes? Custom ingame.lvl? Change some req's?
Post Reply