Page 1 of 1

Overwriting Soldier Animations?

Posted: Sat Jul 11, 2009 2:24 pm
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?)

Re: Overwriting Soldier Animations?

Posted: Sat Jul 11, 2009 2:27 pm
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

Re: Overwriting Soldier Animations?

Posted: Sat Jul 11, 2009 5:30 pm
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 !

Re: Overwriting Soldier Animations?

Posted: Sat Jul 11, 2009 9:52 pm
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

Re: Overwriting Soldier Animations?

Posted: Sat Jul 11, 2009 11:44 pm
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?