DO/M3X
From Dark Omen Wiki
m |
m (Reverted edits by Ugaxygihydo (Talk) to last version by Olly) |
Current revision as of 13:29, 20 November 2010
Please read and the watch the Vids in the following post
http://forum.dark-omen.org/moderators/new-beta-custom-mod-maps-t723.0.html;msg7379#new
Basically I'm trying to enlarge the size of Tutorial Flat map, to at least twice its original area.
So after increasing the Map Size,Sight Edge and Battle Edge values in the BTB editor of Tutorial Spare9.BTB it allows troops to walk off map (into the black that can easily be replaced with new flat terrain m3d objects positioned alongside the original map).
Great but unfortunately the camera will not follow them any further than the original map/terrain boundaries.
However, I have found that by replacing the Tutorial's BASE.M3X with the Black Pyramids BASE.M3X it allows the camera and troops to walk off the map and the camera follows them-> Fantastic but unfortunately makes Pyramids appear in the Terrain, depsite using the original BASE.M3D of the Tutorial Map.
This is because M3X files are "Chunked" versions of their BASE.M3D
Therefore, if I could enlarge the original Tutorial's BASE.M3X then it would allow the camera to travel further into new terrain.
I have selected to use the Tutorial map since it is mainly flat.
Every BASE.M3X starts off by listing the textures used in thier respective BASE.M3D file and then continues to List its many Boxes and Ledges Data blocks, depending on the dimensions of the map.
Tutorial BASE.M3X begins listing all its associated textures and then its 40 boxes and ledges
Box020_0
Box020_1
Box020_2
Box020_3
Box020_4
Box021_0
Box021_1
Box021_2
Box021_3
Box021_4
Box022_0
Box022_1
Box022_2
Box022_3
Box022_4
Box023_0
Box023_1
Box023_2
Box023_3
Box023_4
Box024_0
Box024_1
Box024_2
Box024_3
Box024_4
_ledge0_0
_ledge0_1
_ledge0_2
_ledge0_3
_ledge0_4
_ledge1_0
_ledge1_4
_ledge2_0
_ledge2_4
_ledge3_0
_ledge4_0
_ledge4_1
_ledge4_2
_ledge4_3
_ledge4_4
So by studying each of these Boxes, I'm hoping it will show how it manipulates the terrain according to the height map data found in the TERR and ATTR blocks of the .PRJ files.
This is because when I use the black Pyramids BASE.M3X instead of the original Tutorial Map's BASE.M3X it pulls the terrain into Pyramids but troops can still walk through them, since it is only manipulating the look of the terrain and not the height map.
Ideal for my proposed extended Flat Terrain if i can simply add more Boxes into the original Tutorial Map's BASE.M3X that will allow the camera to travel further.
My main problem is comprehending these M3X boxes so I can make the BASE.M3X appear as large as the Black pyramids, in terms of camera movement but completely flat so it doesn't draw pyramids etc..
I have now copied the first 3 boxes of data to compare with each other in a HEX editor and they are very similar, so hopefully since the Tutorial Map Dimensions are 18x18 terrain blocks I can follow a pattern so it thinks it is 36x36 terrain blocks bigand allow the camera to move twice as far into new terrain.
THIS IS A POSSIBLE WORK AROUND TO MAKING A FLAT LARGE MAP UNTIL HEIGHT MAP, TERR and ATTR BLOCKS CAN BE MODDED PROPERLY by SIMPLY MODDING THE M3X FILE INSTEAD.
- )
BOX02-0 data please search and highlight 80 to see a possible pattern
42 6F 78 30 32 30 5F 30 00 C3 40 00 21 41 40 00 E0 C3 40 00 14 00 00 00 06 FC 64 00 C0 C3 40 00 E0 C3 40 00 00 00 A0 41 00 00 00 00 00 00 A0 41 22 00 20 00 01 00 00 00 C0 C3 40 00 00 00 00 00 00 00 01 00 02 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 03 00 04 00 05 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 05 00 06 00 03 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 07 00 03 00 06 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 06 00 08 00 07 00 10 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 09 00 07 00 08 00 10 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 0A 00 0B 00 00 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 0B 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 0B 00 0C 00 01 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 06 00 05 00 0D 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 0D 00 0E 00 06 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 08 00 06 00 0E 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 0F 00 10 00 0A 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 0B 00 0A 00 10 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 10 00 11 00 0B 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 0C 00 0B 00 11 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 11 00 12 00 0C 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 0E 00 0D 00 13 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 14 00 15 00 0F 00 00 00 3D C8 CA BD 4F 7A 7D 3F 41 C8 CA 3D 00 00 00 00 00 00 00 00 10 00 0F 00 15 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 15 00 16 00 10 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 11 00 10 00 16 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 16 00 17 00 11 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 12 00 11 00 17 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 18 00 19 00 1A 00 04 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 1B 00 1A 00 19 00 04 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 19 00 1C 00 1B 00 06 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 1D 00 1B 00 1C 00 06 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 1C 00 1E 00 1D 00 04 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 1F 00 1D 00 1E 00 04 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 1E 00 20 00 1F 00 06 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 21 00 1F 00 20 00 06 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 00 FC FF 1F 42 00 00 80 40 00 00 F0 41 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 FC FF 5F 41 FD FF AF C1 EF 00 00 00 00 00 00 00 E7 FF FF 41 00 00 80 40 F8 FF EF 41 00 00 00 00 00 00 80 40 00 00 00 00 00 00 00 00 FB FF 6F 41 FD FF AF C1 F0 00 00 00 00 00 00 00 F5 FF 1B 42 00 00 80 40 FC FF 1F 42 00 00 00 00 00 00 A0 40 00 00 00 00 00 00 00 00 FC FF 5F 41 FD FF A7 C1 DE 00 00 00 00 00 00 00 F9 FF 9F 41 00 00 80 40 02 00 20 42 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 FB FF 7F 41 FD FF A7 C1 E0 00 00 00 00 00 00 00 EA FF E7 41 00 00 80 40 FC FF 1F 42 00 00 00 00 00 00 40 40 00 00 00 00 00 00 00 00 FB FF 6F 41 FD FF A7 C1 DF 00 00 00 00 00 00 00 E5 FF 9F 41 00 00 80 40 FC FF EF 41 00 00 00 00 00 00 80 40 00 00 00 00 00 00 00 00 FB FF 7F 41 FD FF AF C1 F1 00 00 00 00 00 00 00 F0 FF 1F 41 00 00 80 40 04 00 F0 41 00 00 00 00 00 00 40 40 00 00 00 00 00 00 00 00 FD FF 87 41 FD FF AF C1 F2 00 00 00 00 00 00 00 F0 FF 1F 41 00 00 80 40 02 00 20 42 00 00 00 00 00 00 A0 40 00 00 00 00 00 00 00 00 FD FF 87 41 FD FF A7 C1 E1 00 00 00 00 00 00 00 00 00 80 B7 00 00 80 40 04 00 F0 41 00 00 00 00 00 00 40 40 00 00 00 00 00 00 00 00 FD FF 8F 41 FD FF AF C1 F3 00 00 00 00 00 00 00 00 00 80 B7 00 00 80 40 02 00 20 42 00 00 00 00 00 00 40 40 00 00 00 00 00 00 00 00 FD FF 8F 41 FD FF A7 C1 E2 00 00 00 00 00 00 00 FC FF 1F 42 00 00 80 40 00 00 A0 41 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 FC FF 5F 41 FC FF B7 C1 04 01 00 00 00 00 00 00 F7 FF EF 41 00 00 80 40 00 00 A0 41 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 FB FF 6F 41 FC FF B7 C1 05 01 00 00 00 00 00 00 E5 FF A7 41 00 00 80 40 FC FF 9F 41 00 00 00 00 00 00 80 40 00 00 00 00 00 00 00 00 FB FF 7F 41 FC FF B7 C1 06 01 00 00 00 00 00 00 CC FF 1F 41 00 00 80 40 FC FF 9F 41 00 00 00 00 00 00 80 40 00 00 00 00 00 00 00 00 FD FF 87 41 FC FF B7 C1 07 01 00 00 00 00 00 00 00 00 80 B7 00 00 80 40 04 00 A0 41 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 FD FF 8F 41 FC FF B7 C1 08 01 00 00 00 00 00 00 FB FF 1F 42 00 00 80 40 00 00 20 41 8B 0F 81 32 B0 AE 7F 40 9B C8 CB 3D 00 00 00 00 FC FF 5F 41 FC FF BF C1 17 01 00 00 00 00 00 00 F7 FF EF 41 00 00 80 40 00 00 20 41 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 FB FF 6F 41 FC FF BF C1 18 01 00 00 00 00 00 00 F7 FF 9F 41 00 00 80 40 08 00 20 41 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 FB FF 7F 41 FC FF BF C1 19 01 00 00 00 00 00 00 C4 FF 3F 41 00 00 80 40 F8 FF 1F 41 00 00 00 00 00 00 40 40 00 00 00 00 00 00 00 00 FD FF 87 41 FC FF BF C1 1A 01 00 00 00 00 00 00 00 00 70 B8 00 00 80 40 F8 FF 1F 41 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 FD FF 8F 41 FC FF BF C1 1B 01 00 00 00 00 00 00 FB FF 1F 42 00 00 A0 40 00 00 00 00 BE 52 49 BE 6A 82 3D 40 DA 92 C9 3E 00 00 00 00 FC FF 5F 41 FC FF C7 C1 2A 01 00 00 00 00 00 00 F6 FF EF 41 00 00 80 40 00 00 00 00 2E 7C 07 BD 41 B8 7F 3F 30 7C 07 3D 00 00 00 00 FB FF 6F 41 FC FF C7 C1 2B 01 00 00 00 00 00 00 F6 FF 9F 41 00 00 80 40 00 00 00 00 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 FB FF 7F 41 FC FF C7 C1 2C 01 00 00 00 00 00 00 C0 FF 1F 41 00 00 80 40 00 00 80 B7 00 00 00 00 00 00 40 40 00 00 00 00 00 00 00 00 FD FF 87 41 FC FF C7 C1 2D 01 00 00 00 00 00 00 00 00 80 B8 00 00 80 40 00 00 80 B7 00 00 00 00 00 00 80 3F 00 00 00 00 00 00 00 00 00 00 00 B4 00 00 E0 34 2E 01 00 00 00 00 00 00 00 00 70 B8 00 00 80 40 F8 FF 1F 41 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 00 F9 FF 7F 3F 00 00 E0 34 30 01 00 00 00 00 00 00 C0 FF 1F 41 00 00 80 40 00 00 80 B7 00 00 00 00 00 00 40 40 00 00 00 00 00 00 00 00 00 00 00 B4 01 00 80 3F 2F 01 00 00 00 00 00 00 C4 FF 3F 41 00 00 80 40 F8 FF 1F 41 00 00 00 00 00 00 40 40 00 00 00 00 00 00 00 00 F9 FF 7F 3F 01 00 80 3F 31 01 00 00 00 00 00 00 CC FF 1F 41 00 00 80 40 FC FF 9F 41 00 00 00 00 00 00 80 40 00 00 00 00 00 00 00 00 FA FF FF 3F 00 00 E0 34 32 01 00 00 00 00 00 00 E5 FF A7 41 00 00 80 40 FC FF 9F 41 00 00 00 00 00 00 80 40 00 00 00 00 00 00 00 00 FA FF FF 3F 01 00 80 3F 33 01 00 00 00 00 00 00 E5 FF 9F 41 00 00 80 40 FC FF EF 41 00 00 00 00 00 00 80 40 00 00 00 00 00 00 00 00 FC FF 3F 40 00 00 E0 34 34 01 00 00 00 00 00 00 E7 FF FF 41 00 00 80 40 F8 FF EF 41 00 00 00 00 00 00 80 40 00 00 00 00 00 00 00 00 FC FF 3F 40 01 00 80 3F 35 01 00 00 00 00 00 00 EA FF E7 41 00 00 80 40 FC FF 1F 42 00 00 00 00 00 00 40 40 00 00 00 00 00 00 00 00 FB FF 7F 40 00 00 E0 34 36 01 00 00 00 00 00 00 F5 FF 1B 42 00 00 80 40 FC FF 1F 42 00 00 00 00 00 00 A0 40 00 00 00 00 00 00 00 00 FB FF 7F 40 01 00 80 3F 37 01 00 00 00 00 00 00
I duplicated the data blocks and named them in sequence but didn't change anything except make the border earth textures disappear
http://img411.imageshack.us/i/doublem3x.jpg/
Box020_0 Box020_1 Box020_2 Box020_3 Box020_4 Box021_0 Box021_1 Box021_2 Box021_3 Box021_4 Box022_0 Box022_1 Box022_2 Box022_3 Box022_4 Box023_0 Box023_1 Box023_2 Box023_3 Box023_4 Box024_0 Box024_1 Box024_2 Box024_3 Box024_4
Box025_0
Box025_1
Box025_2
Box025_3
Box025_4
Box026_0
Box026_1
Box026_2
Box026_3
Box026_4
Box027_0
Box027_1
Box027_2
Box027_3
Box027_4
Box028_0
Box028_1
Box028_2
Box028_3
Box028_4
Box029_0
Box029_1
Box029_2
Box029_3
Box029_4
_ledge0_0
_ledge0_1
_ledge0_2
_ledge0_3
_ledge0_4
_ledge1_0
_ledge1_4
_ledge2_0
_ledge2_4
_ledge3_0
_ledge3_4
_ledge4_0
_ledge4_1
_ledge4_2
_ledge4_3
_ledge4_4
_ledge5_0
_ledge5_1
_ledge5_2
_ledge5_3
_ledge5_4
_ledge6_0
_ledge6_4
_ledge7_0
_ledge7_4
_ledge8_0
_ledge8_4
_ledge9_0
_ledge9_1
_ledge9_2
_ledge9_3
_ledge9_4
As i guess each block data is unique and require its data to be altered according, since my new Box025-0 is a replica of Box02-0 and really requires it own unique data that continues any sequenced pattern so it thinks that there dimensions are 36x36 and not 18x18 any more which would allow the camera to travel further. Or alternately being able to flatten the Data in the Black Pyramids BASE.M3X would also provide the same solution.