The Green Herring
Community Chest 4 Leader

Posts: 956
Registered: 05-07 |
Well, here's an example WAD, anyway, along with a tutorial on how to recreate them assuming you're using Doom Builder:- Build a sector inside the space you wish for the forcefield to go. Give it a unique tag.
- In the middle of this sector, draw the linedef that will represent the forcefield. Set a forcefield texture as its middle texture. If you're using a floor-moving action for this forcefield, set this linedef as Lower Unpegged. You may also want to set its linedef type as "Translucent" (type 260.)
- Select the two sectors created by drawing that linedef, and join them (J is the default key for this function.)
- Select the forcefield linedef and move the texture until it's underneath the floor (if you're using a floor-moving linedef) or above the ceiling (if you're using a ceiling-moving linedef). This is because height transfer effects do not affect midtextures for whatever reason.
- Raise the floor of this sector till it touches the ceiling (if you're moving the floor) or vice versa (if you're moving the ceiling.)
- Create a dummy sector outside the playable area with the exact same attributes as the space the forcefield sector is in. This will be the source sector for the height transfer effect.
- Select a linedef within this dummy sector, and set its action to "Create Fake Ceiling and Floor" (type 242.) Give this linedef the same tag as the forcefield sector.
- Create a switch linedef that will move the floor/ceiling (whichever one you're using) and tag it to the forcefield sector. For best results, use a generalized linedef that moves the floor "up" towards the "lowest adjacent floor," or the ceiling "down" towards the "highest adjacent ceiling." In both cases, the floor/ceiling will be moved instantly.
- Use the "Test Map" feature and see how it looks!
If you did all of this correctly, you should now have a translucent forcefield that's impervious to any attack, and must be deactivated through a switch the player must find. If so, congrats!
In the example WAD, #1 uses a floor-moving linedef, #2 uses a ceiling-moving linedef, and #3 is similar to #1 but is surrounded by posts sticking out of the ground. #3 also has a scrolling effect applied for it, although this is not usually necessary.
http://dl.dropbox.com/u/6650582/TGH_Forcefield.zip
__________________
- The Green Herring
|