Forum > Modelling and Animation

Hex-editing M2s

(1/2) > >>

Zantas:
Hello, as my first post on this forum, I've decided to post a question regarding hex-editing M2s.

Now my goal was to recreate what Glitchy on MMOwned made some years ago. Which is Character races doing dance-animation instead of stand-animation.

Now I know this can't be done in the dbcfiles, so I've opened up for example HumanMale.M2 in XVI32(A hex-editor)and I've looked on wowdev-wiki for advice on how to find what's what.

Now I have found and changed animationID of stand to emotedance instead, but it crashed in-game so I
thought about it and it seems either I most also changed the nextanimationID or maybe all of the things in the animation-sequence.

Well frankly I'm just having trouble to do so.

Here's the links to the wowdev-wiki page I've been browsing.

http://www.madx.dk/wowdev/wiki/index.ph ... _sequences

http://www.madx.dk/wowdev/wiki/index.ph ... onData.dbc

Tigurius:
The animation lookup is also important :P

Zantas:
Hmm I'm trying to figure out if it's important that I swap all the fields in the sequence for stand to the one in dance.


Another problem if that's so is that I don't know how I can navigate myself to where the values of the sequence for dance start.

Tigurius:
Solution 1:
Offset Sequences + sequence number * sizeof(SequenceBlock)

Solution 2:
http://www.sweetscape.com/010editor/ + templates: http://www.nomorepasting.com/getpaste.php?pasteid=33480

Solution 3:
Use PyM2/wait till PyModelEditor can do this.

Zantas:
Thanks Tigurius.

The hex editor you linked seems a lot easier to navigate in than the one I'm using, which is in dos even ^^

But still I need to know if I need to change all the addresses for the animation sequence or just the id.



UPDATE:

I've been experimenting a bit and I noticed there's 4 dance animation.

Well they follow each other and I've been swapping all the values in stand with the first dance animation.
One time with all values swapped and 1 time I left out the animationindexnumber as 0 (stand).

Neither of these resulted well, AKA crash is what happened.

Anyone else experimented with this sometimes? (I know Glitchy made it possible once, so why not now)

Navigation

[0] Message Index

[#] Next page

Go to full version