Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
1 Active | 77 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Tutorials

»
SOF1 Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Map 8 : Doors
Versions: You must be logged in to view history.
The 2 most often used doors are sliding and rotating, so we will add o­ne of each, just so you know how to use both of them
Mapping 101 - Adding a Sliding and Rotating Door - Tutorial 8

Time to add some doors to our map now. The 2 most often used doors are sliding and rotating, so we will add o­ne of each, just so you know how to use both of them


  1. Load up the armory textures and make a brush to fill our open doorway, 64 x 8 x 80, and center it in the doorway. Figure 1.

Figure 1.

  1. Apply the "armory/3_door4" texture to it. ( The texture is not really the correct size for the door, but I wont bother to resize it, you can if you want.)

  2. While the door is still selected drop down the entity list (Right-Click) and select func>func_door.

  3. Bring up the entity dialogue window (N) and have a look at Figure 2. The top part of the window contains hints/information about what each key value does. If you scroll down you will see the key "soundname", this is all we are interested in here. You can experiment with the other keys later, if you like, most of them are self explanitory. Type in "soundname" in the "Key" box and "DoorNormalWoodSlide1" in the "Value" box. A list of sounds can be got here.

Figure 2.

  1. The other thing we need is to tell it which direction to slide in, look at Figure 3.The entity orientation, or in our case direction, is added by clicking o­n the relevant button. Looking at your map from the top view, 180 is left, 360 is right etc. So click o­n the 180 button. Press N again to close the window.

Figure 3.

  1. That's it for the sliding door, pretty simple really. Now o­n to the rotating door.

  2. Punch a hole in the bottom passageway/courtyard wall the same size as the top o­ne, and make a brush and texture it the same as steps 1 & 2 above.

  3. A rotating door is made up of 2 brushes, o­ne being the door itself and the other being the origin brush, the center of which the door rotates. Make a brush 8 x 8 x 80 and place it as in Figure 4. It doesn't have to be the same size as the door but I just think it clarifies things.

Figure 4.

  1. While the brush is still selected apply the "origin" texture.

  2. Select both the origin brush and the door brush and then select func>func_door_rotating from the entity list. (Right-Click). Figure 5.

Figure 5.

  1. Once again bring up the entity window and this time we want the door to open into the courtyard, which is 90 in the top view, so click o­n the 90 button and this time add "DoorNormalWoodSingle" to the soundname key.

  2. That's it compile and test the map.

Figure 6.

Ok o­n to tutorial 9.

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»