Skip to content

Making own map

Tools

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

Video Tutorials

The most obvious learning establish their video maps are examples:

Worms 4

How Add Map in Worms 4 list:

  1. in folder data/maps/ put yourmap.xom, yourhmap.hmp, yourtexturelist.txt
  2. in folder data/databanks/ put yourdata.xml
<?xml version='1.0' ?>
<xomArchive>
<xomObjects>

<XDataBank id='id-0'>
<Section>0</Section>
<UintResources href='Databank.CustomDetailBank'/>
<UintResources href='Databank.CustomTextureBank'/>
<StringResources href='Databank.MaterialFile'/>
<StringResources href='Databank.Theme'/>
<StringResources href='Databank.Theme'/>
<StringResources href='Databank.TimeOfDay'/>
<StringResources href='Heightmap.BaseTexture'/>
<StringResources href='Heightmap.SecondTexture'/>
</XDataBank>

<XUintResourceDetails id='Databank.CustomDetailBank'>
<Value>1</Value>
<Name>Databank.CustomDetailBank</Name>
<Flags>72</Flags>
</XUintResourceDetails>

<XUintResourceDetails id='Databank.CustomTextureBank'>
<Value>6</Value>
<Name>Databank.CustomTextureBank</Name>
<Flags>72</Flags>
</XUintResourceDetails>

<XStringResourceDetails id='Databank.MaterialFile'>
<Value>Maps\\yourtexturelist.txt</Value>
<Name>Databank.MaterialFile</Name>
<Flags>64</Flags>
</XStringResourceDetails>

<XStringResourceDetails id='Databank.Theme'>
<Value>BUILDING</Value>
<Name>Databank.Theme</Name>
<Flags>64</Flags>
</XStringResourceDetails>

<XStringResourceDetails id='Databank.TimeOfDay'>
<Value>NIGHT</Value>
<Flags>64</Flags>
</XStringResourceDetails>

<XStringResourceDetails id='Heightmap.BaseTexture'>
<Value>C01</Value>
<Name>Heightmap.BaseTexture</Name>
<Flags>64</Flags>
</XStringResourceDetails>

<XStringResourceDetails id='Heightmap.SecondTexture'>
<Value>C03</Value>
<Name>Heightmap.SecondTexture</Name>
<Flags>64</Flags>
</XStringResourceDetails>

</xomObjects>
  1. change scripts.xml file in folder data/Tweak
<?xml version='1.0' ?>
<xomArchive>
<xomObjects>

<XDataBank id='id-0'>
<Section>0</Section>
...
<ContainerResources href='yourIDMAP'/>
<StringResources href='txt.yourMapName'/>
...
</XDataBank>
...
<XContainerResourceDetails id='yourIDMAP'>
<Value href='yourMapID-0'/>
<Name>YourMapName</Name>
<Flags>80</Flags>
</XContainerResourceDetails>

<WXFE_LevelDetails id='yourMapID-0'>
<Frontend_Name>txt.yourMapName</Frontend_Name>
<Frontend_Briefing></Frontend_Briefing>
<Frontend_Image>YourIcon.tga</Frontend_Image>
<Level_ScriptName>stdvs,wormpot</Level_ScriptName>
<Level_FileName>YourFileBaseName</Level_FileName>
<Objectives></Objectives>
<Level_Number>6</Level_Number>
<Level_Type>0</Level_Type>
<Lock></Lock>
<Theme_Type>5</Theme_Type>
<Preview_Type>0</Preview_Type>
<BonusTime>165</BonusTime>
</WXFE_LevelDetails>

<XStringResourceDetails id='txt.yourMapName'>
<Value>YourMapName</Value>
<Name>txt.yourMapName</Name>
<Flags>64</Flags>
</XStringResourceDetails>
...

It should work, good lucky!!!