![rotate units in warcraft 3 world editor rotate units in warcraft 3 world editor](https://media.moddb.com/images/mods/1/30/29251/mfm5.jpg)
This section only applies to versions ≥ (9.5). This makes version 256 to 1.0, and 274 to 1.18 respectively. The version is most likely a double-byte with major and minor version. Prefer looking at the model you're opening rather than relying on the expansion mapping here. Note that these versions are only rough estimates of their range. MD21 chunk content or begin of file)įiles get handled differently depending on this! Ranges are inclusive. Uint32_t offset // pointer to T, relative to begin of m2 data block (i.e. *0x130*/ M2Array textureCombinerCombos // When set, textures blending is overriden by the associated array. *0x120*/ M2Array ribbon_emitters // Things swirling around. *0x118*/ M2Array cameraIndicesById // (alt. *0x110*/ M2Array cameras // The cameras are present in most models for having a model in the character tab. *0x108*/ M2Array lights // Lights are mainly used in loginscreens but in wands and some doodads too. *0x100*/ M2Array events // Used for playing sounds when dying and a lot else. *0x0F8*/ M2Array attachmentIndicesById // (alt. *0x0F0*/ M2Array attachments // position of equipped weapons or effects *0x0E8*/ M2Array collisionFaceNormals // (alt. *0x0E0*/ M2Array collisionPositions // (alt. *0x0D8*/ M2Array collisionIndices // (alt. *0x0B8*/ float bounding_sphere_radius // detail doodad draw dist = clamp (bounding_sphere_radius * detailDoodadDensityFade * detailDoodadDist, …) z, 2.0277779f ) - 0.16f seems to be the maximum camera height
![rotate units in warcraft 3 world editor rotate units in warcraft 3 world editor](https://world-editor-tutorials.thehelper.net/magos/magos9.jpg)
*0x0A0*/ CAaBox ⁱ bounding_box // min/max(. *0x098*/ M2Array textureTransformCombos // (alt. *0x090*/ M2Array textureWeightCombos // (alt. *0x088*/ M2Array textureTransformBoneMap // (alt. *0x070*/ M2Array materials // Blending modes / render flags. *0x068*/ M2Array textureIndicesById // (alt. M2Array texture_flipbooks // never seen in file, 4 uint32_t fields. *0x058*/ M2Array texture_weights // Transparency of textures. *0x048*/ M2Array colors // Color and alpha animations definitions. *0x044*/ uint32_t num_skin_profiles // Views (LOD) are now in. *0x034*/ M2Array boneIndicesById //Lookup table for key skeletal bones. *0x02C*/ M2Array bones // MAX_BONES = 0x100 => Creature\SlimeGiant\GiantSlime.M2 has 312 bones ( ) *0x024*/ M2Array sequenceIdxHashById // Mapping of sequence IDs to the entries in the Animation sequences block. *0x01C*/ M2Array sequences // Information about the animations in the model. *0x014*/ M2Array global_loops // Timestamps used in global looping animations. anim files, change in the exporter reordering sequence+bone blocks before name Uint32_t flag_unk_0x200000 : 1 // apparently: use 24500 upgraded model format: chunked. Uint32_t flag_unk_0x8000 : 1 // seen in UI_MainMenu_Legion Uint32_t flag_unk_0x2000 : 1 // seen in various legion models Example model: 6DU_HellfireRaid_FelSiege03_Creature Uint32_t flag_texture_transforms_use_bone_sequences : 1 // ≥ 0x800 - When set, texture transforms are animated using the sequence being played on the bone found by index in tex_unit_lookup_table, instead of using the sequence being played on the model's first bone. But if 0x200 is set or if version is bigger than 271, length of M2ParticleOld is 492. By default, length of M2ParticleOld is 476. Uint32_t flag_new_particle_record : 1 // In CATA: new version of ParticleEmitters. #if ≥ // TODO: verify version, these are just added based on where I first saw them - schlumpf. Uint32_t flag_camera_related : 1 // TODO: verify version since (4.1) ᵘ every ᵘ model now has this flag Uint32_t flag_unk_0x80 : 1 // with this flag unset, demon hunter tattoos stop glowing Uint32_t flag_use_texture_combiner_combos : 1 // add textureCombinerCombos array to end of data *0x008*/ M2Array name // should be globally unique, used to reload by name in internal clients Legion uses a chunked file format starting with MD21. Record sizes are not specified in the file.
![rotate units in warcraft 3 world editor rotate units in warcraft 3 world editor](https://i.ytimg.com/vi/w5nZmk2huDM/hqdefault.jpg)
These appear at fixed places in the header. The header has mostly the layout of number-offset pairs, containing the number of a particular record in the file, and the offset.