Battlefield 1942 Mod Info
This is just a short page to keep track of various resources I've developed for the modding community of Battlefield 1942. If you want information about mods in general, see my page about this topic.
Here goes...
- Modder's Wiki - I began this in mid-February to attempt to bring together information about modding into one spot, and to help create a reference manual to the .con file properties. However, it's everyone's site: you can edit any page (just hit "Edit text of this page" at the bottom of the page) and add new pages as you wish. Since it's trivial to restore old versions of pages, defacing is not a concern.
- Directory structure - an analysis of the various .con (and .inc and .rcm) files in the whole BF 1942 hierarchy. Each type of .con file is listed along with what properties it has. The next section (search on "+++") has an alphabetic list of all properties used in .con files, and which .con files use them. The last section (again, "+++") shows all the properties again, this time displaying the values used for every variable field for the properties. Very handy for getting a sense of what a property does and what a reasonable range of values is. See the Wiki properties page and Con file reference page for some of the fruits of this labor.
- processDirs.pl - the perl script that created the listing above. Run by "perl processDirs.pl . > results.txt" in a directory where you want to analyze all .con files below this directory. Set the variable "$wiki" to 1 at the top of this script (i.e. in the .pl file itself) and when run it will create a more wiki-friendly listing, with property names as links, etc. I use Activestate's Perl.
- Directories zip - a "ls -lR" listing of all the files includes in the .rfa files. See the Wiki directories page for a distillation of some of this information.
- con2map.pl - a script I use to make my maps. Run it in a level, e.g. in the El_Alamein directory, by "perl con2map.pl > map.txt" and it will list where the various objects are in that level, by map grid cell (e.g. B6) and pixel location (in a 512x512 map, like the minimap). Actually, each position is offset by -3,-3, since I need to know where the upper left corner of each icon is located. Change $pixcorner to 0 and there is no offset. The mapping con file guide explains the conversions behind this program.
- Weapons Grid - a page generated mostly by a Perl script, to help understand what weapons affect what objects, and how. A similar page based on actually shooting the weapons is my Weapons Testing page, which is somewhat dated but in some respects is more realistic.
go to my main Battlefield 1942 page
Eric Haines, a.k.a. [Fredhead] / erich@acm.org
Last change: June 6, 2003