Call of Duty 5: Building a Simple Room
Creating Base Brushes
As a rule, always use either Caulk to build your base brushes (floors, walls, ceilings..). Case Tools can also be used, it gives a scale when building by having numbers on the texture.
When opening Radiant you will be in Z Axis by default (notice the Z on the 2D Window on left).
- Go select the Tools textures from Textures Menu:
Create the floor
- Using the 2D window create a brush (LMB and drag towards bottom right of screen) that is 256*256
- Change the Axis by clicking on this icon: or using CTRL+Tab, you can now see the floor thickness, by default at 8 units. Reduce this to 8 Units.
Create the ceiling
- Go back to Z axis view (CTRL+TAB 2 times)
- Select the floor you've just made and hit Spacebar to clone it (duplicate).
- Select the cloned brush and move it so that you have 112 Units between top of floor to start of ceiling:
Create the walls
- Place the 2D View on either X or Y axis
- Now for the walls, create a new brush from the top of the floor to the start of the ceiling, making sure its 8 units thick this time:
- Now Clone that wall and drag it to the opposite end:
- Clone that wall now and drag to the opposite end:
Adjust corners
To avoid any texture overlapping and seal our room correctly you must adjust the corner of each brush to fit each other at an angle. To do so we will use the vertices from each brush and move them.
- Select any of the brush previously created, place the 2D view so that you can see the side of the brush like this:
- Now press E on keyboard to enter the Edit mode, you will see Blue dots showing at each end of the brush lines.
- Drag and drop the bottom blue dot so that it flushes at 45Degrees with the corner:
- Repeat for each brush, and each corner or each brush to obtain the following:
Doors & Windows
CODWW Radiant brings back the GSC Substract!! Basically the CSG Substract is a quick and easy way to make doors and windows, it substract the volume of a brush if place on top of another, let's see how this works:
As earlier, check the Gameplay standards for Doors & Windows Sizing. In summary:
- Single door:
54 units wide/ 92 units high (inside the frame)
- Double door:
108 units wide/ 92 units high (inside the frame)
- Window:
52 wide/68 high (inside the frame)
Doors
- Create a brush 54 units wide & 92 units high and place over one of the wall, starting from floor level on:
- With this new brush selected on top of the wall, Hit the CSG Substract Button on toolbar , then hit Suppress to delete the brush, the door space is now cut into the wall!
Windows
For the windows do exactly like for the door but change the brush size to 52 units wide & 68 units high:
Note that for good Mantle, windows should be place at 32 Units from the floor.
Texturing
First you will need to select a texture. Treyarch have created sections/category of textures, when its not the best it does help to pinpoint what you need. Let's pick an 'Exterior Wall' Texture,
- In the 3D View, using CRTL+SHIFT (hold them) and LMB select all the exterior faces of the room
- Click on the texture of your choice, in this example i used berlin_wall_brick_clean_plain3:
- To do the roof & insides of the room repeat the above steps but select appropriate textures:
Windows & Doors Trims
Now to create some window prefabs trims. In past version of Radiant the Tools always included some doors and windows prefabs of different size, sadly not this time. Oh well, let's create them ourselves!
- Typically all you need to do is to create small woodden brushes of 1-2 units thick and place around the door and windows place in the walls, in this example i used the texture berlin_trim_wood_plain2 and used brushes of 1 units thick.
- Result:
Models
To make the room a bit more lively you can place Models in it
- Anywhere inside the 2D view use the RMB and select Misc > Models then Browse to
C:\Program Files\Activision\Call of Duty - World at War\raw\xmodel\
And pick a model of your choice.
- Now move your model to where you want it.
- If the model should be on the floor then use the drop model tool from toolbar after making sure you have the Force drop height to 0 selected too:
- Place a few more models around, a light fitting as well:
Light
- To create a light right click on the 2D view and select "light".
- If your light is too small or too big you can open the entity editor with "n" and type in the Key / Value of radius. A number of other things can be changed there like Intensity or color of the light
- Select and move the light to match with where the Light fitting Model is:
Reflection probe
As seen in the Adding Reflection Probes tutorial, you need to place at least one probe in the room:
- Right click on 2D view inside the room and select Reflection probe
- place the probe in the middle of the room:
Saving the room as prefabs
Now that the room is ready for test let's save it as a prefab for re-use in a Map/Level:
- Select all items on the editor by pressing I
- Go to File > Save Selected As > Browse to _prefabs and save as room.map
Test the room
Create a new map
- open the launcher and click on CREATE MAP
- name the map mp_room (select Multiplayer)
Place prefab in the map
- Open Radiant and go File > open > mp_room
- For the test delete all nodes, script_origin and DOM flag to leave only the SPAWNS Entities, Global intermission and Reflection probe:
- To place the room prefab Right-click on the 2D view > Misc > prefab > Browse to the prefab created earlier
- Once the prefab is in the map, place it on the ground and away from the Spawns:
- You noticed the mp_room floor and walls are using a Case Tool textures, lets replace this by something more appropriate then SAVE.
Compile and Run the Map
- In the launcher select your map mp_room and select the following options:
- If sall went well (i'm sure it did!) then you should end up in your mp_room map and the prefab should be there!
Downloading the prefab
If you have difficulties or just to compare you can download the room.map prefab and the map mp_room.map HERE
--Zeroy. 13:01, 25 November 2008 (UTC)