This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [Question] 1.12.1 model resize and adding animations  (Read 2490 times)

leeviathan

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
[Question] 1.12.1 model resize and adding animations
« on: October 18, 2015, 07:38:58 pm »
Hello all, I'm trying to replace the druid travel form (Tiger) with the StormCrowDruid model.

I've been running into problems, 3 problems.

1.) [Solved] Running is using the standing animation. Fixed by changing the m2 file's "numberOfTimestampPairs" value from 00 to 8F (0 to 143) within 010 Editor. I don't know why that worked, I was just comparing my m2 to Spik96's Carrion m2 from his Improved Models patch: viewtopic.php?f=93&t=8849

2.) [Unsolved] The model looks much too big in-game. This is partly due to a bug on Kronos that enlarges the travel form, but I'd like to reduce the size regardless. I've tried editing CreatureDisplayInfo.dbc so that the "scale" field for all the tigers is reduced. Nothing I enter seems to affect anything. I've also tried modifying the m2 file using this -- viewtopic.php?f=59&t=849&p=5143 -- I'm not sure how to use the exe and my best guess just crashes the executable (open cmd.exe, drag in exe, space, drag in m2 file, space, 0.5, enter, crash). Links to the python script on that page are broken.

3.) [Unsolved] Many Tiger.m2 NPCs in-game sleep a lot, and the StormCrowDruid model is missing an animation for that. How would I go about making it so the StormCrowDruid model uses the "sit" animation for all those sleepy lions out in the world?

spik96

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 275
    • View Profile
Re: [Question] 1.12.1 model resize and adding aniimations
« Reply #1 on: October 20, 2015, 11:09:46 am »
Hi !

I did (1) and (2) two years ago (before 1.12/2.4 modders could access LK+ models and tools), so I may not remember everything
First I converted the model to BC. M2TBC can convert BC<>Classic easily.
Then I used the 2.x version of Glitchy's Model Editing Suite.
It offers a scaling tool, and a GUI to view the Lookups that make index matching between
the really implemented animations list,
the animations list with info on how to use when you don't really have a dedicated animation for that and
the animation list the client will see and call.

Take a look at an existing model with that program, and you'll exactly understand what it is.
Once it's done, just convert back to 1.12.1.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Github ]https://github.com/Koward[/url]    Skype : koward723 =)

leeviathan

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: [Question] 1.12.1 model resize and adding aniimations
« Reply #2 on: October 23, 2015, 10:24:13 pm »
Thanks! I ended up finding that Glitchy solution myself. So proud :)

Now my birds have the proper 'sleep' animation and my travel form isn't too huge. I'm so close to completing this project I can taste it.

I've run into one last problem though, which is that my aquatic form has a graphical glitch when it breaks the surface of the water. I used your LKBC converter to create the M2 of the "LionSeal.M2" file, which worked wonderfully! However, there seems to be a "hardcoded" texture in the M2 file (creatures/protodragon/orbreflect.blp) screwing things up. I've added the "orbreflect.blp" file at the referenced location, which remedies the green hue of the graphical glitch, but doesn't eliminate the problem entirely.

I have attached a screenshot and the relevant BLPs/M2s so you can see what I'm talking about.

EDIT: It's possible this is a problem with my graphics card, but it doesn't happen with most models.

spik96

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 275
    • View Profile
Re: [Question] 1.12.1 model resize and adding animations
« Reply #3 on: October 24, 2015, 12:27:58 pm »
Hmm... I have no idea what could be causing that aside a missing texture. Did you use the -t option with the command line LKBC converter ? It shows every texture the model need.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Github ]https://github.com/Koward[/url]    Skype : koward723 =)

leeviathan

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: [Question] 1.12.1 model resize and adding animations
« Reply #4 on: October 24, 2015, 05:45:46 pm »
Yeah the only missing texture was the Creature/Protodragon/ORBREFLECT.BLP, which I added to fix the green missing texture graphical error. The flickery black error remains.

I'm currently trying to figure out how to simply remove a required texture from the M2. Maybe that'll fix it? Like I said, most models don't have this error.

leeviathan

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 107
    • View Profile
Re: [Question] 1.12.1 model resize and adding animations
« Reply #5 on: November 08, 2015, 06:35:57 pm »
Update: I was able to fix the messed up graphic by opening the m2 in pymodeledit, going to "Render Flags" and changing the setting on render flag #1 to Opaque blending mode. It was set to "Decal". I don't really know what any of that means, but it fixed it so who cares.

spik96

  • Registred Member
  • Model Change Addict
  • *****
  • Posts: 275
    • View Profile
Re: [Question] 1.12.1 model resize and adding animations
« Reply #6 on: December 13, 2015, 12:50:50 pm »
Quote from: "leeviathan"
Update: I was able to fix the messed up graphic by opening the m2 in pymodeledit, going to "Render Flags" and changing the setting on render flag #1 to Opaque blending mode. It was set to "Decal". I don't really know what any of that means, but it fixed it so who cares.

Thank you. It's important because if you had 50 models you would not want to edit all of them manually. A converted model should be ready out of the box.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Github ]https://github.com/Koward[/url]    Skype : koward723 =)