This is an old revision of the document!


UT2004MapsGenerator

UT2004MapsGenerator (DOWNLOAD) is a tool for easy and fast generating of some sample maps with possibility of random adjustment of some parameters. The basic properties of each level can be set in “UT2004MapsGenerator.ini” file. And the special properties of each map type can be set in “<map_type>.ini” files.

Each map type also has a set of properties, which are for each generated level chosen randomly and cannot be set from outside (e.g. layout of the boxes in lava level or the shape of the maze).

Each map is generated into .t3d format and needs to be built in UnreadEd.exe tool before can be used (for more info, see “Building maps in UnrealEd.exe”).

Download the tool here. (Pogamut example bots capable of working on the generated maps are part of the package)


UT2004MapsGenerator can be run from the console with typing:

UT2004MapsGenerator.exe -map <map_type> [optional_parameters]

Meaning of the parameters is following:

-h - shows help

-map <map_type> - specifies a type of map to be generated (water, maze, lava)

Example: -map lava
Available map types: lava, maze, water

-dir <dest_dir> - specifies a destination directory, into which will be maps generated

Example: -dir Maps/

-n <num> - specifies a number of maps to be generated of a selected type

Example: -n 10

-file <file_name> - specifies a file name for the generated maps. When multiple maps are generated, then a unique ID is appended to each file.

Example: -file myLevel

You may use GenerateMap-Lava.bat, GenerateMap-Maze.bat, GenerateMap-Water.bat to generate one map with current settings (.bat files contains examples how to call UT2004MapGenerator.exe).


Building maps in UnrealEd.exe:

In main toolbar:

File -> Import... -> (choose map to be compiled in .t3d) -> Ok ("Import into existing map?" leave unchecked)
Build -> Build All (ignore warning/error messages)

To try map:

Build -> Play level

To save map:

File -> Save as...
ut2004_map_generator.1285307043.txt.gz · Last modified: 2010/09/24 07:44 by jakub_gemrot