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”).
If this brief description is not enough, check UT2004MapsGenerator tutorial in Pogamut tutorials.
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...