1. Head to the 33rd Modeling Contest Poll and drink to your heart's desire.
    Dismiss Notice
  2. Choose your means of doom in the 17th Mini Mapping Contest Poll.
    Dismiss Notice
  3. A slave to two rhythms, the 22nd Terraining Contest is here.
    Dismiss Notice
  4. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  5. The die is cast - the 6th Melee Mapping Contest results have been announced. Onward to the Hive Cup!
    Dismiss Notice
  6. The glory of the 20th Icon Contest is yours for the taking!
    Dismiss Notice
  7. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Removing Animations from Models

Discussion in 'Requests' started by Lord_Sauron, Nov 26, 2009.

  1. Lord_Sauron

    Lord_Sauron

    Joined:
    Nov 17, 2004
    Messages:
    273
    Resources:
    9
    Maps:
    9
    Resources:
    9
    Hi,

    I've tried to do this myself but haven't had much luck. I'm trying to make several versions of peons and villagers and would like their file sizes reduced. I have tried to remove animations that I won't be needing in game. Could someone remove the "stand flesh" animations and related parts of the model (corresponding geosets, bones etc) from the male villager model as well as all of the "lumber" and "gold" related animations (and component parts) from the orc peon? Rep and credit will be given.

    Thanks in advance.
     
  2. Bloody_Turds

    Bloody_Turds

    Joined:
    Jan 23, 2007
    Messages:
    1,266
    Resources:
    16
    Models:
    14
    Packs:
    1
    Tools:
    1
    Resources:
    16
    well if your using the ingame one it wont increase size anyways?
    unless you need it edited...
    Its not to hard, but it is tedius so here are the steps to do it yourself :)

    1. download war3modeleditor (from here)
    2. open it, if you cant download any of the required files (putting the .dll in the system32 folder)
    3. go to windows/mpqbrowser, and then file/open then war3.mpq
    4. since you are trying to save space, id sugest using the low res one (otherwise skip the red stop skipping)
    5. near the bottom of the list just populated should be a file war3_low.mpq
    6. right click and export this file somewhere (desktop)
    7. now go back to the mpq browser/ go to file/open (find the file you just exported)
    Stop Skipping
    8. find peon.mdx in units/orc/peon/peon.mdx
    9. you should now see the blademaster in the war3modeleditor window
    10. from that window go to window/sequencemanager
    11. find the anims you want to remove then find their animation frames (to: and from:)
    save those in notepad or whatever
    12. next we go to window/nodemanager
    13. you should see a buncha blue 'bones' and white circles with blue eyes
    14. right click, edit node
    15 see the part where it says translations, rotations, and scaling
    16. go through each of those sections (on every bone) on each bone, set the Interpolation Type's to linear (this isnt removing the animations but its far mor effective at reducing filesize)
    17. now view your notepad file, and remove any 'frames' that fall between the "from: " and "to: " of every animation you want to remove.

    The part below in red, is the frame(s) run time (the time that piece of the animation is 'ran') (this is an example, not any actual animation

    2333: { 0, 0.254602, 0, -0.967046 }
    3433: { 0.0668134, -0.472977, 0.0590548, 0.876551 }
    4767: { 0.108042, -0.456621, -0.00944581, 0.883026 }
    5867: { 0, 0.254602, 0, -0.967046 }

    after your done with this, go back to the sequence manager, and remove all the sequences you removed the frames for (via right click/remove)

    then go to save, save where-ever, import, and enjoy
    If you have any questions ill be happy to help, but im not gonna do it for you
    expect it to take about 20 mins since its your first time, and maybe 10! mins on other models
     
  3. Mechanical Man

    Mechanical Man

    Joined:
    Jan 18, 2005
    Messages:
    5,384
    Resources:
    39
    Models:
    30
    Icons:
    3
    Packs:
    1
    Maps:
    4
    Tutorials:
    1
    Resources:
    39
  4. MeKC

    MeKC

    Joined:
    Jul 3, 2008
    Messages:
    487
    Resources:
    0
    Resources:
    0
    Do you want to use the same model just with different textures?
     
  5. Lord_Sauron

    Lord_Sauron

    Joined:
    Nov 17, 2004
    Messages:
    273
    Resources:
    9
    Maps:
    9
    Resources:
    9
    Ok thanks Bloody_Turds I'll give that a shot and let you know how it goes.

    Ya, I want to have more versions of the models but in the interest of saving map file size I'd like to remove the animations (and corresponding bones, geosets etc) that I won't need from them.

    Hmm thanks, but that program didn't work for me.