More on sectors: water tanks
rotating doorswater tanks
Normally, the above water and below water sectors are in different locations, with the same size and shape but this "water tank trick" is done with the "above the water/below the water" effect sectors are in the same location. This allows the player to view the area outside the lower sector. Use lotag 1 sector effector x,7 for the above sector, and lotag 2 sector effector x,7 for the lower sector. If you bring the walls of both sectors close together, the engine will render this trick as if it were a normal water sector effect. That's what we're trying to do with this trick; make the sectors very close in size and shape, yet on different levels on the vertical plane. More on sectors: water tanks
rotating doorswater tanks
Pictured below is a 2D of the water tank sectors. The walls of the upper level are so close to those of the lower level that they do not show up well in the screen capture. The upper level walls are most noticeable on the left where I've placed a wall crack. You can see the upper level's wall (white line) just in front of the hole in the wall's lower sectors (red line). The upper and lower levels' walls are so close that, in the screen shots, they look like only one wall. The walls need to be close together, yet not touch. You need to do this in order to have the "water tank trick" work properly. ![]() More on sectors: water tanks
rotating doorswater tanks
More on sectors: water tanks
rotating doorswater tanks
We're almost done. Now that we've got a sector effector sprite in both the upper and lower sectors, and have given the upper and lower sectors their appropriate sector tags, there's one more thing to do: In 2D mode, with the grid locking on, make sure that the sector effector sprite (x, 7) in the lower sector (inside the water tank) and the sector effector sprite (x, 7) in the above sector (the above water sector) are both in the same location. If you look at the picture directly above, you'll see that it looks like there is only one sector effector sprite. However, there is one for both sectors. They only look like they are in the same spot in 2D.
rotating doorswater tanks
|