Stacking multiple FOFs

From SRB2 Wiki
Jump to navigation Jump to search

A common problem that many new mappers have with FOFs is that they are unsure how to put more than one FOF in the same sector. This tutorial shows how to do that.

Setup

First, set up the two control sectors for the FOFs like you would do normally. For the first control sector, set the floor and ceiling heights to where the lower FOF is supposed to appear inside the level. Then proceed to the second control sector and set its floor and ceiling heights to where the higher FOF is supposed to appear.

A target sector with two FOFs tagged to it. Click on the image to enlarge.

Appropriate tagging

Now that the FOF heights have been set up, it is time to tag them. First, give the target sector an unused tag. Let's assume that this is a map with no other special effects in it, and use "1". Next, give the control linedefs of both FOF control sectors tag "1" as well. Now the FOFs should appear in the same sector, stacked on top of each other.

Final notes

Overall, to place multiple FOFs in the same target sector, simply give all of them the same tag. This also works for three, four or any other number of FOFs in the same sector. Thereotically, there is no limit to the number of FOFs you can place in the same sector, but the game can only display up to 40 planes (floors or ceilings) belonging to these FOFs at a time.

Sample

Example file: Fof_stack_example.wad (MAP01)
How to use
  • You may load this file into your favorite map editor, such as Zone Builder. Select MAP01 as the map to load.
  • You may also load this file in the game:
    1. Save Fof_stack_example.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select Fof_stack_example.wad.
    3. Start the game in Single Player mode.
    4. Press the Console button (~), and type in the command MAP MAP01 to access the example map.
  • When you load this file in the game, it replaces Greenflower Zone Act 1.