"undefined weapon animbank" [Solved]

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

User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: "undefined weapon animbank"

Post by AceMastermind »

Your file/folder structure is all wrong based on what i'm seeing in your image. It looks like you just dropped everything inside the Animations folder. The batch files shipped with preset paths that you need to adhere to in order for everything to be found. The munge_animation.bat and the animation folders should be in the same folder, one directory down.
User avatar
Glitch25
Sergeant Major
Sergeant Major
Posts: 222
Joined: Mon May 07, 2012 1:01 pm
Projects :: [ISM] [BFU]
Games I'm Playing :: [SWBFII] [SWBFI]
Location: Baktoid Combat Automata
Contact:

Re: "undefined weapon animbank"

Post by Glitch25 »

Same thing happens. (I've tried this before, I moved them all back afterwards)
Hidden/Spoiler:
Image
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: "undefined weapon animbank"

Post by AceMastermind »

The animation_munge.bat should be inside the SoldierAnimationBank folder. Delete that munge_subdir.bat file, you don't need it. I just noticed when I outlined the hierarchy of files/folders in a previous post I had animation_munge.bat outside the wrong list tag. I have since fixed the post, but despite my mistake, the docs tell you how to set this stuff up correctly too.
This is the correct folder/file structure, with human being a folder full of animations:

BF2_ModTools
  • data_ABC
    • Animations
      • SoldierAnimationBank
        • munge_animation.bat
          human
          • munge.bat
            basepose.msh
            all your animations.msh
If this doesn't work then please check your system environment variable to see if it needs attention.
User avatar
Glitch25
Sergeant Major
Sergeant Major
Posts: 222
Joined: Mon May 07, 2012 1:01 pm
Projects :: [ISM] [BFU]
Games I'm Playing :: [SWBFII] [SWBFI]
Location: Baktoid Combat Automata
Contact:

Re: "undefined weapon animbank"

Post by Glitch25 »

Is Human.ZAT supposed to be the result? I think it finally worked!! :D Checking munged in side.

Edit: IT WORKED!! :D
Image

I can finally move on with BFU thank you so much AceMasterMind! :D
Post Reply