| | SECTOR scnum |
This is the sector number, it is zero based.
| | NAME sector_name |
This is both a link to the .INF file and a useful reminder.
| | AMBIENT 20 |
Ambient light level in this sector.
Note that this value is used in GROMAS to indicate an amount of red fog, not a light level.
This is a good demonstration of the use of the CMP files.
| | FLOOR TEXTURE 80 -0.38 -0.06 2 |
The TX to apply to the floor of the SC as an index in the TX table.
The following two floats are the X and Z offsets by which the TX must be moved before being mapped.
The third (int) value is unused.
It seems that floor textures must be 64x64, or the game engine does strange things.
| | FLOOR ALTITUDE 0.00 |
The altitude of the floor of this SC. Note that the Y axis goes "down", so higher altitudes have lower values.
| | CEILING TEXTURE 0 0.00 0.00 2 |
| | CEILING ALTITUDE -12.00 |
Same as floor.
| | SECOND ALTITUDE 0.00 |
This is used to indicate a second "floor" altitude in a sector. For instance, a second altitude of 4 will make you "enter into the floor" 4 deep. It will in addition make the sector water like and generate a splashing sound. If you set a negative second altitude, you will be able to walk higher on the sector, provided you also enter the sector higher. This is the way platforms are created (the platform object is only a visual clue).
| | FLAGS 0 0 0 |
Three flags, the second of which is never used in the 14 original levels.
Change various things in the sector. See Sector Flags.
| | LAYER 1 |
The layer on which the SC is (positive, 0 or negative).
This value is used in the game to make different maps corresponding to zones of altitude.
Note that this is only a logical grouping, but is also used by the map in the game.