This is a group for all ID Tech 4 engine modders. Whether your modding forte is Prey, Doom 3, Quake 4 or all of them, we welcome you. Also, we will accept you no matter your modding skill. Even if changing the clip-size of your weapons seems difficult, then feel free to join up and we'll try and help you with it as best we can. This is a place for ID Tech 4 modders to hang out, chat, help each other out or post their latest work, even if its a very rough alpha they only want fellow modders experimenting with. We may accept people with no mods out if they are willing to learn, or have a WIP. Happy modding, Adam

Report article RSS Feed ID TECH 4: Radiant - Mapping Basics

In this tutorial we'll see how to setup the editor for the Id-tech 4 games (Doom 3, Quake 4 and Prey) and build your first playable room. Adding lights and a player_start. This tutorial is maded on Doom 3.

Posted by Neurological on Dec 13th, 2007
Basic Mapping/Technical.

neuro-lab.net - IDTech 4 Tutorials

Summary:

[1] - Setup The Editor

[2] - Your First Room

[3] - Entities

[4] - Compile & Resources

[5] - Basics Controls

[6] - Credits

 

[1] - Setup The Editor

Doom 3, Quake 4 and Prey need the same procedure for start the editor. Locate your game executable and make a link on your desktop or where you prefer (usually with the installation of the game you have already a link on the desktop). Right-click on the link and go to properties.

Now you should see "Destination" with the game path, for example:


"C:Program FilesDoom 3DOOM3.exe"

"C:Program Filesid SoftwareQuake 4Quake4.exe"

"C:Program FilesPreyprey.exe"

Now you have to add an addictional line after the quotes for set up the executable for the editor. Just copy and paste:


+set developer 1 +set r_fullscreen 0 +set com_allowConsole 1 +set r_multiSamples 0 +set r_mode X +wait +editor

A little explanation of whats mean the line above:


+set developer 1 - This enable the tools inside the editor, like the FPS or Portals.


+set r_fullscreen 0 - For start the editor in widnow mode.


+set com_allowConsole 1 - With this you can access the console pressing "~" instead of "ctrl + alt + ~".


+set r_multiSamples 0 - For disable the Anti-Aliasing (the editor hate it).


+set r_mode X - Change the X with a value, this command is for the reslution of the editor, 5 is 1024x768.


+wait - This avoid the editor to crash at the startup, but you can delete this if you want.


+editor - This execute the Editor itself.

Now you are ready to start the Editor, press OK on the properties window, and run the link.

 


[2] - Your First Room

Now the editor is up, you see some different windows, drag them as you prefer.


XY View - In this window you can draw brushes, change the size of them or place models, characters and others.


CAM View - This is the 3D rendition of your map, where you can see the progress in real time.


Z View - This window is usefull for control the height of your brushes and resize them without witch the view on the XY window.


Inspectors View - This is the core of the Editor, in this window you can change or add textures, modify properties of your entity and parameters.

Lets start to build your room in the XY window. Hold the left mouse button on the grid and create a brush 256x256 (note the XY is on Top view by default).

In the 3D window now you can see a planar brush. Now go to the Z window, hold left click and drag the mouse up reaching the 256 height:

 

cube_room


 

Your cube its done but is still solid, so we have to transform it in a room. You can do it by pressing Hollow:

 

hollow


 

 

hollow_result


 

Your room its done, but without textures. Go the Inspectors window, on the bottom there is Media, click on it. Some folder appear in this window, explore on the folder:


Textures/textures/common/caulk

 

caulk


 

Now your room is completely textured with a Caulk, this mean the engine will not load the brushes with this texture for save CPU usage and get a smooth map, but we want to texture the inside of the room.

Deselect all by pressing ESC, with the arrows controls , navigate into the room from the CAM window. here we have to select the sides of the room, you can select each side pressing CTRL+SHIFT+LeftClick, select all the sides inside the room, and return again on the Inspectors window.

As before you can chose the texture from Media, use the one you prefer. I used:


Textures/textures/base_wall/a_bluetex1e2_03

Now your room is complete, lets place the entities.

 


[3] - Entities

At this state the room is completly dark ingame, we have to place a light. Go to the XY View, right click in the centre of the room and select light. Adjust the height of the light in the Z window, the light need to be inside the room.

 

light


 

Now we need also a player start position or the map will not work. Deselect the light pressing ESC, right click on the XY view, and select info/info_player_start and adjust the height positioning the info_player_start on the ground of your room.

 

player_start


 

The room its done, now click on file and save as. The path of the map need to be into your base folder of the game for example:


X:Program FilesDoom 3basemaps

X:Program Filesid Softwareq4basemaps

X:Program FilesPreybasemaps

Save for now with the name "test" (without quotes)

Don't change the folder name of maps, or you can't run your level.


 

[4] - Compile

Last step of this tutorial, all you have to done now is to compile the map. You can do this in two ways, the first is to bring down the game by pressing F2 from the editor, and then "~" for show the console, and type this:


dmap test

Wait the process to finish. The second way is doable by the editor. On the top menu go to BSP and then click bsp.

All its done, now you have only to run the map and see your work, close the editor, bring up the console and type:


map test

 

The result:

 

end_result


 

DOWNLOAD THIS MAP TEST FOR DOOM 3

 

[5] - Basics Controls

SHIFT+LeftClick - Select a Brush


CTRL+SHIFT+LeftClick - Select a Side of the Brush


ESC - Deselect the Brush


SPACEBAR - Clone the Brush


A - Look Up (CAM View)


Z - Look Down (CAM View)


D - Raise Up (CAM View)


C - Raise Down (CAM VIEW)


Arrows - Movememnts on axis Z (CAM View)

 


[6] - Credits

Author: Nicola "Neurological" Capecci

E-mail: neurological@neuro-lab.net

Website: Neuro-lab.net

Post comment Comments
naveh3
naveh3 Dec 14 2007, 9:05am says:

ty

+2 votes     reply to comment
SinKing
SinKing Dec 18 2007, 3:15am says:

Hey Neuro! Nice tutorial, good detail and I personally like the downloadable map test to see and compare it to ones own map. Good work!

+2 votes     reply to comment
Guest
Guest Mar 19 2013, 5:43am says:

This comment is currently awaiting admin approval, join now to view.

CHRISPman
CHRISPman Mar 19 2013, 5:44am says:

Thanks heaps Neuro, hoping to used the engine for a uni assignment, seeing as it is GLP. This was nice to find.
Sorry for double post but thought actual account would be better. :)

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Established
Mar 31, 2009
Privacy
Public
Subscription
Must apply to join
Contact
Send Message
Email
Members Only
Membership
Join this group
Group Watch
Track this group
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Engines
id Tech 4
id Tech 4 Commercial Released Aug 2, 2003
Related Groups
id Software
id Software Developer & Publisher
ID Tech 4 Modders
ID Tech 4 Modders Fans & Clans group with 69 members
neuro-lab.net
neuro-lab.net Developer & Publisher with 9 members