Height map is type of **Objects Map** (Used for W4). This type used for creation of landscape of map.
For import from image Height map use *Properties Panel - Height Map - Import Hmap*. Will opened Import Height Map form.
You can also Export your Height Map for edit. For export your Height map to bmp-image use *Properties Panel - Height Map - Export Hmap*.
Landscape W4 have also Mask for Second Texture. You can Import/Export your Mask for Texture Height Map. For import your Mask for Texture from bmp/jpg image use *Properties Panel - Height Map Texture - Import Image*. For export your Height map to bmp-image use *Properties Panel - Height Map Texture - Export Image*.
All commands analogic to Import Height Map Form.
In Worms 4 Mayhem you can also change Mask textures of Height Map. You can find Name of Base/Second Texture from **Worms 4 Mayhem\\data\\databanks\\mapname.xml** file.
To create your own maps should be located following tools:
- W3DEditor v2.2 - Map Editor.
- W3DLauncher - Loader to load the list of maps and Mods.
- W3DIconEdit v1.0 - The creation of icons to maps.
- ScriptsEdit v 1.4 - Creating the Map List and add it to.
## Process
- In Map Editor (W3DEditor v2.2) making map **(\*.xom)**, texture list **(\*.txt)**. It files put in folder **Data\\Maps\\**.
- Then map add to Game (ScriptsEdit v 1.4), create Map List, there write name of map, texture list name, icon name, sky and others. Output file **Scripts\*.xom** saving to folder **Data\\MapPacks\\**.
- Run game with Launcher (W3DLauncher) select user mode and Script list.
- Next make screenshot of map. Open it in Icon Editor (W3DIconEdit v1.0) and get it from buffer, crop icon and save it **\*.tga** in **Data\\Frontend\\Levels\\**.
- Return to game and see icon .
## Tutorials
-[W3DEditor - Tutorial 1](tutorial-1.md)
-[W3DEditor - Tutorial 2](tutorial-2.md)
## Video Tutorials
The most obvious learning establish their video maps are examples:
- ~~[Video Tutorial as Make Map in W3DEditor v1.0](http://worms3d-portal.com/portal.php?topic_id=523)~~ - First Example, Import Objects, Make Land, Save map
- ~~[Video Tutorial 2 as Add Map](http://worms3d-portal.com/portal.php?topic_id=526)~~ - Add Map in game from ScriptsEdit.
**Poxel object** is type of Objects Map. First word "poxel" I hear by K^2. It as pixel but in 3D =) . This main type, all active objects in map it **Poxel object**.
**Structure**. Poxel object have parameters as position, orientation, size. You can move it as you want. Poxel object is many boxes (voxels). Poxel size parameter establishes amount voxels in Poxel objects.

**Layers** used for giving to Poxel object of necessary form.

**Height map** used for giving to Poxel object form noise surface.
You should get primitive objects like ones shown on the screenshot:

Now Export the current file to \*.3ds. Select **Menu -\> File-\>
Export...**
Now Export the current file to \*.3ds. Select *Menu - File - Export...*

...
...
@@ -53,13 +52,11 @@ Save this file as **ImportsObjects.3ds**

Now open W3DEditor v2.2 and select **Menu -\> File -\> Import 3ds...
**
Now open W3DEditor v2.2 and select *Menu - File - Import 3ds...*

In the first time, do not change defaults values, and open the file.
Press **Open.**
In the first time, do not change defaults values, and open the file. Press *Open.*

...
...
@@ -67,9 +64,7 @@ Select **ImportObjects.3ds** in the folder where it was saved.

The first result of the Objects imported has a very bad quality. As you
can see Poxels have not the shape of Primitive objects, but that is not
a problem.
The first result of the Objects imported has a very bad quality. As you can see Poxels have not the shape of Primitive objects, but that is not a problem.
In next steps we will solve it.
...
...
@@ -77,20 +72,17 @@ In next steps we will solve it.
## Step 2 **Ellips**
For clear your workplace, press in **W3DEditor v2.2 Menu -\> File -\>
New Map... **
For clear your workplace, press in *W3DEditor v2.2 Menu - File - New Map...*

Change **Options** for **Apoxelation** process. Check**Top Smooth** and
**Side Smooth**,
Change **Options** for **Apoxelation** process. Check**Top Smooth** and **Side Smooth**,
change **Quality Layers Smooth** to **0.001**. And **Open** file.
change **Quality Layers Smooth** to **0.001**. And *Open* file.

Now a more nice result is obtain, but not for all primitives. Only
**Ellipse** it perfect.
Now a more nice result is obtain, but not for all primitives. Only **Ellipse** it perfect.
In next steps we will improve the rest of the Objects.
...
...
@@ -98,13 +90,11 @@ In next steps we will improve the rest of the Objects.
## Step 3 **Torus**
As you can see, **Torus** in poxel shape has not a hole in middle,
therefore we should divide the object into parts.
As you can see, **Torus** in poxel shape has not a hole in middle, therefore we should divide the object into parts.

In order to do so, go to **3DSMAX**, select **Torus** and **Convert** to
**Editable Mesh**, in **Modify Panel.**
In order to do so, go to **3DSMAX**, select **Torus** and **Convert** to **Editable Mesh**, in **Modify Panel.**

...
...
@@ -112,17 +102,15 @@ For making a division, use polygon method.

To be able to select an object, choose a way to **Circular Selection
Region**.
To be able to select an object, choose a way to **Circular Selection Region**.

We must divide **torus** into 3 parts. Go to **Top View** and select
polygons as it's shown on the screenshot:
We must divide **torus** into 3 parts. Go to **Top View** and select polygons as it's shown on the screenshot:

Disconnecting the selected part, click the **Edit Geometry -\> Detach**
Disconnecting the selected part, click the **Edit Geometry - Detach**

...
...
@@ -146,12 +134,11 @@ Select all 3 parts of **Torus** to export them to .3ds.

**3DSMAX -\> Menu -\> File -\> Export Selected...**
*3DSMAX - Menu - File - Export Selected...*

Save as **Torus.3ds. **Then, go to **W3DEditor -\>Menu -\> File -\>
Import 3ds... **
Save as **Torus.3ds.** Then, go to *W3DEditor - Menu - File - Import 3ds...*
Select **Torus.3ds** and watch the results:
...
...
@@ -163,23 +150,19 @@ As you can see, now the **Torus** is more similar to the original one.
## Step 4 **Tube**
**Tube** shape has to be corrected too. It needs to do divided into 3
parts.
**Tube** shape has to be corrected too. It needs to do divided into 3 parts.

In 3DSMAX select **Tube**, Convert to **Editable Mesh** and Detach to
identical parts.
In 3DSMAX select **Tube**, Convert to **Editable Mesh** and Detach to identical parts.

Select all 3 parts of the **Tube **to Exports them to .3ds. **3DSMAX
-\> Menu -\> File -\> Export Selected...**
Select all 3 parts of the **Tube** to Exports them to .3ds. *3DSMAX - Menu - File - Export Selected...*

Save as **Tube.3ds. **Then go to **W3DEditor -\> Menu -\> File -\>
Import 3ds... **
Save as **Tube.3ds.** Then go to *W3DEditor - Menu - File - Import 3ds...*
Select **Tube.3ds** and watch on result.
...
...
@@ -189,18 +172,15 @@ The results are not so good. It needs extra corection.

If **Apoxelation** works badly, you should change the size of the
Original Object.
If **Apoxelation** works badly, you should change the size of the Original Object.
After **Apoxelation,** it will come back to its previous size.
In **3DSMAX **use **Select and Uniform Size, **select all 3 parts of
the **Tube, **
In **3DSMAX** use *Select and Uniform Size,* select all 3 parts of the **Tube,**
Then keep **Ctrl** pressed and change Y size in **Front View**.
Reduces the size ot the object to about the size shown in the
screenshot:
Reduces the size ot the object to about the size shown in the screenshot:

...
...
@@ -210,13 +190,13 @@ In the current opened window write name of the Copy: **Tube_Short**.
Select New and old tube parts and Export them to .3ds.
**3DSMAX -\> Menu -\> File -\> Export Selected...**
*3DSMAX - Menu - File - Export Selected...*
Save as **Tube2.3ds**.
In **W3DEditor** in **3DS Import Form** change options:
Off **Top Smooth**, Off **Side Smooth**. Press **Open...**
Off **Top Smooth**, Off **Side Smooth**. Press *Open...*

...
...
@@ -224,15 +204,13 @@ You should get some strange poxels, but it's alright.

In order to delete the incorrect parts go to **Map Tree Panel**, hold
**Ctrl** and **Select** Tube01, Tube_p1, Tube_p2.
In order to delete the incorrect parts go to **Map Tree Panel**, hold **Ctrl** and **Select** Tube01, Tube_p1, Tube_p2.
Then in context menu press **Delete Poxels**.

To get the previous shape of the Tube, you need to change the size of
the poxels.
To get the previous shape of the Tube, you need to change the size of the poxels.
Select a part of the Tube and resize it.
...
...
@@ -244,8 +222,7 @@ The new Size must be about **17** on Z Axis.
If all steps were correctly done, you should obtain a result like this.
This not a perfect Tube, but it's the most similar to the original you
can make.
This not a perfect Tube, but it's the most similar to the original you can make.

...
...
@@ -255,8 +232,7 @@ As you can see, the Helix has a strange shape after Apoxelation.

In 3DSMAX select Helix, Convert to **Editable Mesh** and Detach to
identical parts.
In 3DSMAX select Helix, Convert to **Editable Mesh** and Detach to identical parts.

...
...
@@ -265,8 +241,7 @@ Select each part and detach it.

Select all parts of the helix, then go to **3DSMAX -\> Menu -\> File -\>
Export Selected...**
Select all parts of the helix, then go to *3DSMAX - Menu - File - Export Selected...*
Save it as **Helix.3ds**.
...
...
@@ -274,35 +249,31 @@ Save it as **Helix.3ds**.
In **W3DEditor** in **3DS Import Form,** change options:
Off **Top Smooth**, On **Side Smooth**. Press **Open...**
Off **Top Smooth**, On **Side Smooth**. Press *Open...*

Open **Helix.3ds**to import.
Open **Helix.3ds**to import.

A nicer result should be obtained. Uncheck **Menu -\> View -\> Show 3D
Model** to hide Mesh.
A nicer result should be obtained. Uncheck *Menu - View - Show 3D Model* to hide Mesh.

## Step 6 **Teapot**
A Teapot it a complex model, that's why it should be divided into simple
objects.
A Teapot it a complex model, that's why it should be divided into simple objects.

Go to **3DSMAX**, select **Teapot **and **Convert** to **Editable
Mesh**, in **Modify Panel.**
Go to **3DSMAX**, select **Teapot** and **Convert** to **Editable Mesh**, in **Modify Panel.**
For the division, you have to use **Element** method.

Select the center of the teapot, as shown in screenshot, and Press
**Detach**
Select the center of the teapot, as shown in screenshot, and Press **Detach**

...
...
@@ -312,28 +283,23 @@ Save part as **Teapot_01**.
Change select to **Polygon** mode.
And selects the lower part of the handle **Teapot**. Detach that part.
And selects the lower part of the handle **Teapot**. Detach that part.

Again change select to **Element** Mode. And select the lid **Teapot**.
Press Detach and named as **Teapot_Top**. Also check **Detach As
Clone** and press **OK**.
Press Detach and named as **Teapot_Top**. Also check **Detach As Clone** and press **OK**.

Select **Teapot_Top** and use **Select and Uniform Size **change
size.
Select **Teapot_Top** and use **Select and Uniform Size** change size.
This must be done to obrtain the desired shape of future caps, so we
need to enlarge it on the Y axis.
This must be done to obrtain the desired shape of future caps, so we need to enlarge it on the Y axis.

The next part to change is the **Center** of the **Teapot**, also change
its size on the Y axis, don't forget to hold **Ctrl** to make a copy of
this part.
The next part to change is the **Center** of the **Teapot**, also change its size on the Y axis, don't forget to hold **Ctrl** to make a copy of this part.
Save the copy as **Teapot_cen**.
...
...
@@ -343,19 +309,15 @@ When all parts are made, select them and export.

Save as **Teapot.3ds** from **3DSMAX -\> Menu -\> File -\> Export
Selected...**
Save as **Teapot.3ds** from *3DSMAX - Menu - File - Export Selected...*

Then go to **W3DEditor -\>****Menu -\> File -\> Import 3ds... **And
open **Teapot.3ds**
Then go to *W3DEditor - Menu - File - Import 3ds...* And open **Teapot.3ds**
In order to get a better view, select **Teapot_cen** in the **Map
Treee** and press **Edit Mode Panel -\> Hide Parent**
In order to get a better view, select **Teapot_cen** in the **Map Tree** and press *Edit Mode Panel - Hide Parent*
Changing the size of Y in such a way as to align it with the grid 3D
model.
Changing the size of Y in such a way as to align it with the grid 3D model.

...
...
@@ -365,14 +327,13 @@ Its size should be about **15x6x15**
Next part for change is **Teapot_Top**.
Change size to obtain the desired shape. It should be about **10x1x10
**
Change size to obtain the desired shape. It should be about **10x1x10**

Remove unnecessary parts (old center and old caps)
Clear the view of the mesh press **Menu -\> View -\> Show 3D Model**
Clear the view of the mesh press **Menu - View - Show 3D Model**

...
...
@@ -382,26 +343,21 @@ Turn off **Hide Patent** and then watch your full **Teapot**.
## Step 7 **Coloring**
In order to have a good view and learn about Color mode, you need to
paint your objects.
In order to have a good view and learn about Color mode, you need to paint your objects.

The best way to paint many pieces of one figure in a single color is by
applying the **Replacer**.
The best way to paint many pieces of one figure in a single color is by applying the **Replacer**.
Beforehand, it is necessary to paint a piece in the desired color, and
then you have to copy the ID of the poxel.
Beforehand, it is necessary to paint a piece in the desired color, and then you have to copy the ID of the poxel.

Then, select the root object, and through Replacer, apply color to all