rss rss Like this on facebook Twitter this +1 this Steam group

Adding Maps to Fallout 2

I'm sure many of you Fallout players out there, at one point in time, have wanted to modify a random encounter, or add in a new location. This document explains the whole concept behind adding maps plus some additional information which may come in handy.



Maps

The maps.txt file, located in the master.dat\data folder, contains certain snippets of information about each individual area in the worldmap. So if you're wanting to mod an area's music or some other feature like that then this is the section for you.

Some important things to remember:

Maps can be added to this file as long as they are in order
Random encounter maps do map back to a 'city'
The index # cannot change without a code change in Worldmap.c
First you'll need to know the file name of you're map and the actual name you've given to it - for example Vault City Courtyard is vctyctyd.map

Now you can start modifying the map's information:

Example 1 - An ordinary city:

[MAP 015]
lookup_name=Vault City Courtyard
map_name=vctyctyd
music=22vcity
ambient_sfx=blank:40, brdchirp:25, brdchir1:25, potspans:5, potspan1:5
saved=Yes
dead_bodies_age=No
can_rest_here=No,No,No
pipboy_active=No

MAP 015 - This is the area index number assigned to the map. These always have three digits and are labelled in ascending order.
lookup_name - One of its uses is to set the name for the random encounters on the encounter table section at worldmap.txt. It is also used in city.txt to define which map will use the entrances on a certain area.
music - This is the music file which will be played, note it is without a file extension.
ambient_sfx - This is the music file which will be played as a sound effect. The file has no extension. Blank is the word assigned for no music. It is believed the number following the sound file is the length of time it will be played.
saved - This tell sthe worldmap whether or not the area should be saved once the player exits it. If set to no the area resets itself each time you return. Default value is yes (that is what the value will be if you do not include it).
dead_bodies_age - This tells the area whether or not it should save all the dead bodies or slowly reduce them into puddles of blood. Default value is yes.
can_rest_here - This tells the PIPBoy if the player can rest at the current location or not. The three values are levels (first value being level one etc). Default value is yes.
pipboy_active - This enables/disables the PIPBoy. Default value is yes.