mohaa-spearhead-sdk/docs/MOH Getting Started Tutorial.htm
2003-02-06 00:00:00 +00:00

784 lines
36 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./Getting%20Started%20Tutorial_files/filelist.xml">
<link rel=Edit-Time-Data
href="./Getting%20Started%20Tutorial_files/editdata.mso">
<link rel=OLE-Object-Data
href="./Getting%20Started%20Tutorial_files/oledata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>This tutorial assumes that youve successfully installed and set up
MOHRadiant and have all the path information set correctly</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Nate</o:Author>
<o:LastAuthor>EA</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>11</o:TotalTime>
<o:Created>2002-02-11T23:13:00Z</o:Created>
<o:LastSaved>2002-02-11T23:13:00Z</o:LastSaved>
<o:Pages>12</o:Pages>
<o:Words>1383</o:Words>
<o:Characters>7884</o:Characters>
<o:Company>2015</o:Company>
<o:Lines>65</o:Lines>
<o:Paragraphs>15</o:Paragraphs>
<o:CharactersWithSpaces>9682</o:CharactersWithSpaces>
<o:Version>9.3821</o:Version>
</o:DocumentProperties>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
h1
{mso-style-next:Normal;
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:1;
font-size:12.0pt;
font-family:"Times New Roman";
mso-font-kerning:0pt;}
p.MsoTitle, li.MsoTitle, div.MsoTitle
{margin:0in;
margin-bottom:.0001pt;
text-align:center;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
font-weight:bold;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoTitle>Building a Room</p>
<p class=MsoNormal><b><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></b></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>This tutorial assumes that youve successfully installed and
set up MOHRadiant and have all the path information set correctly. This
tutorial also assumes that you have no previous experience editing Quake Levels</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><b>Section 1</b>: Intro to brushes and the camera</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><span style='mso-tab-count:1'>            </span>Brushes are
the building block for worlds in Quake engine games such as MOH.<span
style="mso-spacerun: yes">  </span>Brushes can only be convex shapes.<span
style="mso-spacerun: yes">  </span>In order to build a concave object you will
use multiple brushes.<span style="mso-spacerun: yes">  </span>This is for
efficient collision detection in the game.</p>
<p class=MsoNormal><span style='mso-tab-count:1'>            </span></p>
<p class=MsoNormal><span style='mso-tab-count:1'>            </span>To create a
new brush simply drag a box in the 2d view like this:</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600"
o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:293.25pt;
height:220.5pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image001.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=391 height=294
src="./Getting%20Started%20Tutorial_files/image002.jpg" v:shapes="_x0000_i1025"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1025"
DrawAspect="Content" ObjectID="_1074952783">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><span style='mso-tab-count:1'>            </span>Now pull
the edges out by clicking outside of the box and dragging outward.<span
style="mso-spacerun: yes">  </span></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1026" type="#_x0000_t75"
style='width:298.5pt;height:213.75pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image003.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=398 height=285
src="./Getting%20Started%20Tutorial_files/image004.jpg" v:shapes="_x0000_i1026"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1026"
DrawAspect="Content" ObjectID="_1074952784">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal style='text-indent:.5in'>When youve got the box in the
shape that you want press the escape button.<span style="mso-spacerun: yes"> 
</span>Notice the brush is no longer highlighted.</p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><span style='mso-tab-count:1'>            </span>To select a
brush for modifications, hold down shift and click in the center of the
brush.<span style="mso-spacerun: yes">   </span>You can also deselect a brush
the same way.<span style="mso-spacerun: yes">  </span>Pressing escape deselects
all of the selected brushes.<span style='mso-tab-count:1'>        </span></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><span style="mso-spacerun: yes">   </span><!--[if gte vml 1]><v:shape
id="_x0000_i1027" type="#_x0000_t75" style='width:304.5pt;height:236.25pt'
o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image005.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=406 height=315
src="./Getting%20Started%20Tutorial_files/image006.jpg" v:shapes="_x0000_i1027"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1027"
DrawAspect="Content" ObjectID="_1074952785">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><span style='mso-tab-count:1'>            </span>This is
basic brush manipulation.<span style="mso-spacerun: yes">  </span>Now youll
learn how to focus the camera on the brush.<span style="mso-spacerun: yes"> 
</span>This is the camera:</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><span style="mso-spacerun: yes"> </span><!--[if gte vml 1]><v:shape
id="_x0000_i1028" type="#_x0000_t75" style='width:84pt;height:81.75pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image007.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=112 height=109
src="./Getting%20Started%20Tutorial_files/image008.jpg" v:shapes="_x0000_i1028"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1028"
DrawAspect="Content" ObjectID="_1074952786">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'>If you cant find the camera scroll
the 2dmap around by holding the right click and moving the mouse.<span
style="mso-spacerun: yes">  </span>Use the Mouse-wheel to zoom in and out.<span
style="mso-spacerun: yes">  </span>If you dont have a mouse wheel use the
insert and delete keys.<span style="mso-spacerun: yes">  </span>Pressing Alt+x
will center the 2d view on the current selected brush.<span
style="mso-spacerun: yes">  </span>Since you dont have any brushes selected
pressing Alt+x will center the 2d view on the camera.</p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'>Notice the two lines coming out of
the camera.<span style="mso-spacerun: yes">  </span>These lines show the
cameras field of view.<span style="mso-spacerun: yes">  </span>You can point
your camera by middle-clicking in the 2d view.</p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'><!--[if gte vml 1]><v:shape id="_x0000_i1029"
type="#_x0000_t75" style='width:293.25pt;height:244.5pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image009.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=391 height=326
src="./Getting%20Started%20Tutorial_files/image010.jpg" v:shapes="_x0000_i1029"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1029"
DrawAspect="Content" ObjectID="_1074952787">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'>Notice your cameras Field of view
lines change.</p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'><!--[if gte vml 1]><v:shape id="_x0000_i1030"
type="#_x0000_t75" style='width:289.5pt;height:235.5pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image011.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=386 height=314
src="./Getting%20Started%20Tutorial_files/image012.jpg" v:shapes="_x0000_i1030"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1030"
DrawAspect="Content" ObjectID="_1074952788">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'>And your 3d view is now updated.</p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'><!--[if gte vml 1]><v:shape id="_x0000_i1031"
type="#_x0000_t75" style='width:327pt;height:110.25pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image013.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=436 height=147
src="./Getting%20Started%20Tutorial_files/image014.jpg" v:shapes="_x0000_i1031"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1031"
DrawAspect="Content" ObjectID="_1074952789">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'>If at any point your camera is off
looking at gray (void) space you can reposition it in the 2d view.</p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'>Youre going to control your camera
mostly within the 3d view but when starting a map its easiest to first
position the camera in the 2d view.<span style="mso-spacerun: yes">  </span>Now
youll move on to 3d camera manipulation.</p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal style='text-indent:.5in'>There are a few different camera
modes they can be selected by clicking on the camera eye icon in the tool bar.
Click on it and watch it cycle through the different modes.<span
style="mso-spacerun: yes">  </span></p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1032" type="#_x0000_t75"
style='width:373.5pt;height:29.25pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image015.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=498 height=39
src="./Getting%20Started%20Tutorial_files/image016.jpg" v:shapes="_x0000_i1032"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1032"
DrawAspect="Content" ObjectID="_1074952790">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal style='text-indent:.5in'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1033" type="#_x0000_t75"
style='width:23.25pt;height:21.75pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image017.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=31 height=29
src="./Getting%20Started%20Tutorial_files/image018.jpg" v:shapes="_x0000_i1033"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1033"
DrawAspect="Content" ObjectID="_1074952791">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal>Default mode with the eye and no numbers is classic Q3
Radiant mode. Those who have used Q3radiant will be familiar with the camera
controls in this mode.</p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1034" type="#_x0000_t75"
style='width:23.25pt;height:21.75pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image019.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=31 height=29
src="./Getting%20Started%20Tutorial_files/image020.jpg" v:shapes="_x0000_i1034"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1034"
DrawAspect="Content" ObjectID="_1074952792">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal>The mode with a “1” over the eye is “game mode” and requires
button rebinding to work.</p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1035" type="#_x0000_t75"
style='width:23.25pt;height:21.75pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image021.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=31 height=29
src="./Getting%20Started%20Tutorial_files/image022.jpg" v:shapes="_x0000_i1035"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1035"
DrawAspect="Content" ObjectID="_1074952793">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal>The mode with a “2” over the eye is the “mode with no name”
mode and this is the one I will use for this tutorial since its the one that I
prefer.<span style="mso-spacerun: yes">  </span></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>In the 3d view click and hold your right mouse button, now
move the mouse around and see what happens to the camera.<span
style="mso-spacerun: yes">  </span>Forward and back move the camera forward and
back side-to-side turns the camera view from left to right.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Now hold down the control button and the right mouse button
while moving the mouse.<span style="mso-spacerun: yes">  </span>Moving up and
down will move the camera up and down moving side-to-side will strafe the
camera.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Hold down the control button the shift button and the right
button and move the camera around. This will be like looking around in the game</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>If your ever lost in the gray void you can re-position your
camera in the 2d view by CTRL+MIDDLE clicking.<span style="mso-spacerun: yes"> 
</span>Combine that with the middle click to point the camera and you can
quickly set your camera anywhere.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>You can edit within the 3d view the same way that you edit
in the 2d view.<span style="mso-spacerun: yes">  </span>Just Shift-click the
brush to select and pull away from edges.<span style="mso-spacerun: yes"> 
</span>When you want precision or just plain ease of use youll edit in the 2d
window.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>To edit 3d geometry youll need to switch sides in the 2d
view. Notice the words “XY Top” in the top left corner of the 2d view</p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1036" type="#_x0000_t75"
style='width:147pt;height:81pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image023.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=196 height=108
src="./Getting%20Started%20Tutorial_files/image024.jpg" v:shapes="_x0000_i1036"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1036"
DrawAspect="Content" ObjectID="_1074952794">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Select the brush and Press CTRL+TAB to switch the 2d view to
a different side.<span style="mso-spacerun: yes">  </span>When the view
switches it will center on the current selected brush or brushes.<span
style="mso-spacerun: yes">  </span>If nothing is selected the 2d view will
center on the 3d camera.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Now youre looking at the front view and it should look
something like this:</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1037" type="#_x0000_t75"
style='width:312pt;height:232.5pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image025.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=416 height=310
src="./Getting%20Started%20Tutorial_files/image026.jpg" v:shapes="_x0000_i1037"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1037"
DrawAspect="Content" ObjectID="_1074952795">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><span style='mso-tab-count:1'>            </span></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Click and drag the edges as you did earlier in the tutorial
to make the brush taller.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><b>Section 2</b>: Hollowing a room</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Now that youve learned the basics of brush and camera manipulation
you can build a room.<span style="mso-spacerun: yes">  </span>Go to the file
menu and select New.<span style="mso-spacerun: yes">  </span>If it asks you to
copy the selection click on no. </p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Start by making your grid size 128 units, do this by
pressing the “8” key.<span style="mso-spacerun: yes">  </span>Notice the status
window changing at the bottom of the window.<span style="mso-spacerun: yes"> 
</span>It should say “Grid 128”.<span style="mso-spacerun: yes">  </span>The
numbers 1-9 change the grid size 1=1, 2=2, 3=4, 4=8, 5=16 etc.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Switch your view to the top view.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Draw a box that is 512 x 512 units.<span
style="mso-spacerun: yes">  </span>You can use the grid numbers on top and on
the side or you can go by how many times the box “snaps”, each snap being the
distance of the grid size.<span style="mso-spacerun: yes">  </span>An easier
way to measure a brush is to check the “<b>paint sizing info</b>” box in the
preferences dialog box.<span style="mso-spacerun: yes">  </span>Find the
preferences in the “<b>edit</b>” menu.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1038" type="#_x0000_t75"
style='width:407.25pt;height:99pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image027.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=543 height=132
src="./Getting%20Started%20Tutorial_files/image028.jpg" v:shapes="_x0000_i1038"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1038"
DrawAspect="Content" ObjectID="_1074952796">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Youll now see the measurements on the selected brush or
brushes. </p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Stretch the brush out until you see this:</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1039" type="#_x0000_t75"
style='width:307.5pt;height:243pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image029.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=410 height=324
src="./Getting%20Started%20Tutorial_files/image030.jpg" v:shapes="_x0000_i1039"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1039"
DrawAspect="Content" ObjectID="_1074952798">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal>The numbers on the bottom and right sides are the size of
the box; the number on the top is the coordinate for the top left corner.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Switch youre 2d view (CTRL+TAB) and make the brush 512
units tall.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Now change the grid size to 8 (press 4).</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Press the “<b>hollow</b>” Icon that looks like this:</p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1040" type="#_x0000_t75"
style='width:23.25pt;height:21.75pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image031.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=31 height=29
src="./Getting%20Started%20Tutorial_files/image032.jpg" v:shapes="_x0000_i1040"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1040"
DrawAspect="Content" ObjectID="_1074952799">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Your brush will split into 6 brushes and looks like this:</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1041" type="#_x0000_t75"
style='width:296.25pt;height:262.5pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image033.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=395 height=350
src="./Getting%20Started%20Tutorial_files/image034.jpg" v:shapes="_x0000_i1041"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1041"
DrawAspect="Content" ObjectID="_1074952800">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>This is the quick and dirty way of creating a room and is
fine for this example.<span style="mso-spacerun: yes">  </span>In creating
buildings and such youll never use the hollow tool because the hollow tool
doesnt layout the brushes properly.<span style="mso-spacerun: yes">  </span>At
each of the edges the brushes overlap. For this example thats fine because you
wont see the sides of the brush that overlap, but in a level where this room
might be visible from outside this will create a problem because two surfaces
will be on the same plane. </p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Move the camera inside the box (CONTROL+MIDDLE CLICK in the
2d view) </p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Now the room needs a texture. Go to the <b>Textures</b> menu
and select <b>barrel</b>. Im using Barrel for the tutorial because its the
smallest texture directory and loads quickly.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>You should see the texture window to the right of the screen
fill up with barrel textures.<span style="mso-spacerun: yes">  </span>Chose a
texture to place on the wall and left-click it. This is the room, all it needs
is a player start position and a light to run it in the game.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><b>Section 3</b>: Adding a player start and a light</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>First deselect everything (press Escape).</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>After deselecting everything right Click in the 2d window to
bring up the entity selection menu.<span style="mso-spacerun: yes">  </span>The
menu looks like this:</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1042" type="#_x0000_t75"
style='width:189pt;height:213.75pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image035.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=252 height=285
src="./Getting%20Started%20Tutorial_files/image036.jpg" v:shapes="_x0000_i1042"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1042"
DrawAspect="Content" ObjectID="_1074952801">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Select Info&gt;Player&gt;Start:</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1043" type="#_x0000_t75"
style='width:317.25pt;height:164.25pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image037.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=423 height=219
src="./Getting%20Started%20Tutorial_files/image038.jpg" v:shapes="_x0000_i1043"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1043"
DrawAspect="Content" ObjectID="_1074952802">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>This places a player starting position where you click.<span
style="mso-spacerun: yes">  </span>Now youll rearrange that entity.<span
style="mso-spacerun: yes">  </span>In the 3d view turn the camera so its
looking at the ground.<span style="mso-spacerun: yes">  </span>Now hold
CTRL+ALT and middle click in the center of the ground surface in the 3d
view.<span style="mso-spacerun: yes">  </span></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1044" type="#_x0000_t75"
style='width:269.25pt;height:185.25pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image039.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=359 height=247
src="./Getting%20Started%20Tutorial_files/image040.jpg" v:shapes="_x0000_i1044"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1044"
DrawAspect="Content" ObjectID="_1074952803">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Deselect the player start position (press Escape).<span
style="mso-spacerun: yes">  </span>Right-Click in the 2d view and select “<b>Light”</b>
from the menu.<span style="mso-spacerun: yes">  </span>Place the light in the
3d view the same way as you placed the player start. You should end up with
something that looks like this.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1045" type="#_x0000_t75"
style='width:315pt;height:213pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image041.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=420 height=284
src="./Getting%20Started%20Tutorial_files/image042.jpg" v:shapes="_x0000_i1045"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1045"
DrawAspect="Content" ObjectID="_1074952804">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Save this level and youll be ready to compile and play in
the game.</p>
<p class=MsoNormal><b><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></b></p>
<p class=MsoNormal><b><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></b></p>
<p class=MsoNormal><b>Section 4</b>: Compiling and playing</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Compiling is a 3-step process. <b>BSP</b>, <b>VIS</b>, and <b>LIGHT</b>
</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Q3map is a command line utility that is used to compile BSP
and VIS the map.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Open a command prompt and run q3map like this</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Q3map gamedir &lt;base directory of the game&gt; &lt;name
of the map&gt;</p>
<p class=MsoNormal>On a machine with MOHAA installed to <b>c:/mohaa</b> and the
map named <b>tutorial.map</b> placed in the <b>c:/mohaa/map_source</b>
directory the command would look like this:</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<h1>Q3map gamedir c:/mohaa c:/mohaa/map_source/tutorial</h1>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>This compiles the BSP for the map</p>
<p class=MsoNormal>Compiling Vis is much the same way but with a vis command
attached like this:</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<h1>Q3map vis gamedir c:/mohaa c:/mohaa/map_source/tutorial</h1>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Compiling Light is done with a separate program called
mohlight; mohlight is run much the same, like this:</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<h1>Mohlight gamedir c:/mohaa c:/mohaa/map_source/tutorial</h1>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Now copy the resulting .bsp (in this case tutorial.bsp, should
be in the same place as the .map file) to your <b>mohaa/main/maps</b> folder. </p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Once the .bsp file is in the maps folder it is ready to
run.<span style="mso-spacerun: yes">  </span>Youll have to load MOH in
developer mode so that you can use the special developer mode tools.<span
style="mso-spacerun: yes">  </span>Load moh from the run menu or a command line
like this.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><b>mohaa +set developer 1 +set thereisnomonkey 1 +set cheats
1 +set ui_console 1<o:p></o:p></b></p>
<p class=MsoNormal><b><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></b></p>
<p class=MsoNormal>Once in the game you should see the console, it looks like
this:</p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1046" type="#_x0000_t75"
style='width:463.5pt;height:326.25pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image043.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=618 height=435
src="./Getting%20Started%20Tutorial_files/image044.jpg" v:shapes="_x0000_i1046"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1046"
DrawAspect="Content" ObjectID="_1074952805">
</o:OLEObject>
</xml><![endif]--></p>
<p class=MsoNormal>If you dont see the console press the Tilde (`) key to
bring it down.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>In the console type “map” followed by a space and then the
name of your map, like this:</p>
<p class=MsoNormal><!--[if gte vml 1]><v:shape id="_x0000_i1047" type="#_x0000_t75"
style='width:316.5pt;height:54pt' o:ole="">
<v:imagedata src="./Getting%20Started%20Tutorial_files/image045.png" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=422 height=72
src="./Getting%20Started%20Tutorial_files/image046.jpg" v:shapes="_x0000_i1047"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Photoshop.Image.5" ShapeID="_x0000_i1047"
DrawAspect="Content" ObjectID="_1074952806">
</o:OLEObject>
</xml><![endif]--><b><o:p></o:p></b></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>After pressing enter you will be able to walk around in the
room.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>These are the basic steps to getting a map up and running in
the game.<span style="mso-spacerun: yes">  </span>From here you should be able
to build a simple map.</p>
</div>
</body>
</html>