COD2gen - Random map generator for Call of Duty 2

This program generates randomized maps for the WWII PC game Call of Duty 2 (CoD2).

Tuesday, June 20, 2006

COD2gen released into the wild

This program came about because my coworkers and I play Call of Duty 2 after hours, and are tired of playing the same old maps all the time (with the exception of the two Tunisian boards which are timeless...) Sure, there are plenty of people out there mapping for COD2, but we'd have to continually search out new maps. So we've made this program that will generate a COD2 map file for us, randomly. Every day I run codgen and make a "mp_dujour" and we all play it. Hopefully other COD2 mappers and modders will find this useful.

Download the current version here. The program is for Win 2k/Me/XP. Just unzip the file and run the executable program "codgen.exe" from the command prompt (cmd). Instructions are provided in "cod2gen.txt". You may redistribute the zip file.

Here's some screenshots from inside Radiant of actual randomly generated maps:


2 Comments:

At 10:59 PM, Anonymous Anonymous said...

Sweet idea, but after i extracted it from the folder and tried to run it from my desktop I got a flash on the screen and that was it. Does it need to be placed in the bin folder in cod2. And if your into large outdoor maps check out codutility.com i have releast two maps "mp_valley_summer_2" and "mp_flatlands"

 
At 9:46 AM, Blogger COD2gen said...

The user interface isn't very pretty right now. It is a command-line program, so to run it you need to do this (in winxp):

- Click Start -> Run
- cmd
- Then navigate to the correct directory using dos's cd command.
- Then type codgen with the map name you want created.

You can put the executable anywhere you want. It is convenient to put it in your map_source directory because it writes the map file to the directory it is in.

Let me know if you have any problems with this process. I am planning on making a gui front-end for the program to make all this unnecessary.

 

Post a Comment

<< Home