Levels.txt
Description: by Nefarius [written 2001, updated 2006]
Categories: File Guides (1.00-1.06x)
Column A Name:
The name of the level as it is represented in the txt file.
Column B Id:
the ID number of the level which represents it in this and other txt files.
Column C pal:
The palette to use, Blizz did multiple 256 color palettes.
EDIT: One for each act.
Column D Act:
Determines which act the level belongs to.
Column E Layer:
EDIT: Determines what AutoMap layer this level uses.
Column F
Seams to control level size.
EDIT: The horizontal expanse of this level, in subtiles
Column G
EDIT: The vertical expanse of this level, in subtiles.
Column H
Unknown seams to do with level size.
EDIT: The horizontal placement of this level within the worldspace.
Column I
Unknown seams to do with level size.
EDIT: The vertical placement of this level within the worldspace.
Column J Depend:
EDIT: Contains the level ID this levels' warp is dependant upon, so that their are always properly aligned.
Column K Rain:
Determines if it can rain in this level,(1 means it can rain 0 means it cannot).
Column L Mud:
Unknown is set to 1 only for the levels of act 3,(1 means there is mud in the level 0 means there is not).
EDIT: Blizzard originally intended there to be mud after it rains, which had a similar effect on the characters movement speed as the goo the giant spiders make when they attempt to escape. There is no underlying code, so this column serves no purpose.
Column M NoPer:
For D2 in 3D (like direct 3D) which allows perspective.
EDIT: 0 = allow perspective, 1 = forbid perspective.
Column N LOSDraw:
EDIT: Infravision enabled, 0 = don't draw LoS (overground levels), 1 = draw LoS (caves). Setting this to 0 will allow you to see enemies behind walls etc.
Column O IsInside:
EDIT: Determines whenever the level is influenced by day and night lightning effects. 0 = use day and night lightning, 1 = always day.
Column P DrlgType:
EDIT: Determines the type of level generation to use, 1 = random dungeon, 2 = preset map (LvlPrest.txt) and 3 = random wilderness.
Column Q LevelType:
Determines what type the level is (from LvlTypes.txt).
Column R SubType:
EDIT: This determines what subtype this level belongs to, some values are unused, so it leaves place for experimentation.
Column S SubTheme:
EDIT: This influences what subtheme is picked from the main theme. For example, the one used for the Dark Wood will spawn more trees.
Column T SubWaypoint:
EDIT: Related to waypoints in non-preset levels, might handle what map index the waypoint object is on. Here also there are manu unused indexes to test.
Column U SubShrine:
EDIT: This influences how random preset shrines are spawned, as you know shrines spawn as part of the map in the wilderness, this is doubtlessly related to this in some way.
Column V-AC Vis0-7:
EDIT: Determines the level IDs linked to this level. The Vis (for visual I think) used is based on the warp tile ID within the map.
Column AD-AK Warp0-7:
EDIT: This handles the display part of level connections, this column contains IDs from LvlWarp.txt. The Warp used must be in-sync with the Vis used.
Column AL Intensity:
EDIT: This controls the intensity of the RGB lighting, setting it to 255 will make the colors the most intense (if you remember XyRAX 15.0) you know what 255 looks like in-game.
Column AM Red:
like the RGB columns in monstats.txt, stands for red.
Column AN Green:
like the RGB columns in monstats.txt, stands for Blue.
Column AO Blue:
like the RGB columns in monstats.txt, stands for Blue.
Column AP Portal:
Unknown
Column AQ Position:
EDIT: Can a portal be re-positioned within the level? 1 = it can be repositioned, 0 = it cannot be repositioned.
Column AR SaveMonster:
0 or 1, if you set 1 in town, the NPC you set in town will not disappear when you get out of town.
Column AS Quest:
EDIT: Determines what quest the level in question is linked to.
Column AT WarpDist:
EDIT: Controls the size, in subtiles, of the saftey zone around level entrances and waypoints (to prevent stair-traps).
Column AU MonLvl1:
is determining the monster and object level of this area in normal difficulty.
EDIT: Only effects monsters spawned via DS1s.
Column AV MonLvl2:
is determining the monster and object level of this area in nightmare difficulty.
EDIT: Only effects monsters spawned via DS1s.
Column AW MonLvl3:
is determining the monster and object level of this area in Hell difficulty.
EDIT: Only effects monsters spawned via DS1s.
Column AX MonDen:
Determines the density of monsters for the area (if you type in 3000 it does not mean there 3000 monsters in the area there will be a density of 3000).
Column AY MonUMin:
minimum boss and champion monsters of the area.
Column AZ MonUMax:
Maximum Boss and champion monsters of the area.
Column BA MonWndr:
EDIT: Can monsters which have not been activated by the player yet execute AI commands? 1 = yes (which allows them to wander around for example), 0 = no (they remain idle until activated).
Column BB MonSpcWalk:
EDIT: Unknown, but 1 is used for levels with metal grates (Act 1 Jails, Act 2 Basement) and 5 is used for levels with 'liquid' tiles (Act 3 Jungle, Act 4 River of Flame)
Column BC Mtot:
the total amount of different monster types,(eg: if 4 different monsters can appear in an area this
Column is set to 4 for this area) note: the game cannot spawn more than 4 different non-boss monsters at a time so you can make it more random if you ad more monster types and make monden that number will make it so that almost every time you play there will be different monsters.
Column BD-CB M1-25:
the different monster types this level can spawn(to find out what monster numbers to enter into these columns check monstats and delete 2 from the monster rows number and ad it into these slots in levels.txt(note: if you ad or delete monsters from this
Column make sure Mtot(Colum BC) matches the number of different types).
Column CC-DA S1-25:
determines what nest types may appear in the area (you can also try to add other monsters with these columns).
EDIT: When M1 is spawned the game will automatically also spawn a copy of S1 (etc).
Column DB Utot:
the total amount of monster species that can appear as bosses and champions in the area (works similar to Mtot and the M1-25 columns).
Column DC-EA U1-25:
Determines the different monster types can appear as bosses for eg: if you put in a pitlord (blue Balrog) in the bloodmoor row and you haven't set Utot to more than 3 it wont appear if you want it to appear 100% make there 10 unique monsters appear in the bloodmoor (with the use of MonUMin MonUMax columns) now delete all other numbers out of the U1-25 columns and put only 360(Balrogs number) in all slots of U in this row put Utot column to 25 and ad this file to your mpq and you will get 10 Balrog bosses in the bloodmoor
Column EB-EF C1-5:
Determins which critter appears in the area (snakes, chickens, camels etc).
Column EG-EK CA1-5:
EDIT: Percentage chance that the critter in question will spawn.
Column EL-EO CD1-CD4:
EDIT: Also related to critters but not used in vanilla. Might handle maximum number to spawn.
Column EP Themes:
Unknown
Column ER SoundEnv:
determines the music this area has (open soundenviron.txt for the numbers that should be put inside these slots.
Column ES Waypoint:
determines if the area has a way point (255 means none). you can also switch way points with this WARNING if you let the old way point 'as is' you will Probaly be crashed out your game you must make the old waypoint 255(for eg the way point to cold plain is number 1 put 1 into the chaos sanctuary or cowlvl and now make the cold plain 255 now you will have a way point to cowlvl or the chaos sanctuary(all has to do how you choose it).
Column ET LevelName:
determines the name of the area but it must also be changed in String and patchstring.tbl to appear in the game.
Column EU LevelWarp:
Determines the name that appear above the entrance to the area(like the caves entrance if you scroll over it will say the warps name, eg: to the den of evil(must also be changed to appear in the game in string and patchstring.tbl.
Column EV EntryFile:
EDIT: Determines what 'entry message' DC6 file is played when you enter this level.
Column EW-FD objGrp:
this determines what shrines and objects will appear in the level( open objgroup.txt for the numbers that should be placed into these slots).
Column FE-FK objPct:
EDIT: Chance that the object group in question is spawned. Setting this to more then 100 prior to 1.10 crashed the game.
Column FM Beta:
seams to determine if the area appeared in the beta, only for reference.
Link to this article: Select all
[url=https://www.d2mods.info/forum/kb/viewarticle?a=384]Knowledge Base - Levels.txt[/url]