1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created by texi2html 1.64 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
Olaf Bachmann <obachman@mathematik.uni-kl.de>
and many others.
Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de>
Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
-->
<HTML>
<HEAD>
<TITLE>Crystal Space: map2cs Tutorial Step 4</TITLE>
<META NAME="description" CONTENT="Crystal Space: map2cs Tutorial Step 4">
<META NAME="keywords" CONTENT="Crystal Space: map2cs Tutorial Step 4">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="texi2html 1.64">
</HEAD>
<BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
<A NAME="SEC191"></A>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_90.html#SEC190"> < </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_92.html#SEC192"> > </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_83.html#SEC181"> << </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_87.html#SEC185"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_99.html#SEC200"> >> </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_285.html#SEC711">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<HR SIZE=1>
<H3> 5.5.4 Step 4: Creating a Simple Room in Worldcraft </H3>
<!--docid::SEC191::-->
<P>
The following steps may seem trivial for somebody who knows Worldcraft in and
out. So all the Worldcraft pros just skip to the next step.
</P><P>
<OL>
<LI>
Open Worldcraft.
<P>
<LI>
Select <EM>File/New</EM>.
<P>
<LI>
Select the "Block" tool either by pressing <KBD><KBD>SHIFT</KBD>-b</KBD> or selecting
it from the toolbar.
<P>
<CENTER><IMG SRC="tutorial/map2cs/wcblock.png" ALT="tutorial/map2cs/wcblock"></CENTER>
</P><P>
<LI>
Left-click in of of the 2D windows, hold the button down and drag the mouse
until you have created a box of reasonable size. Release the mouse button
once completed.
<P>
<LI>
Now you should see a block made of dashed lines on every 2D window that
displays some handles. Drag these handles until the block has a size of 512-W
by 512-L by 512-H (shown in the status bar). Center the block around the
origin (the crossing of the blue lines).
<P>
<LI>
When the block has proper size, press <KBD>ENTER</KBD>. The handles should then
disappear, and the lines should become solid.
<P>
<LI>
Switch to the "Selection" tool either by pressing <KBD><KBD>SHIFT</KBD>-s</KBD> or by
selecting it from the toolbar.
<P>
<CENTER><IMG SRC="tutorial/map2cs/wcsel.png" ALT="tutorial/map2cs/wcsel"></CENTER>
</P><P>
<LI>
Select the block by clicking at one of its border lines. The handles should
appear again. (You could change size again if you like by dragging a handle.)
<P>
<LI>
Invoke the <EM>Tools/Make Hollow</EM> menu item and select a width of 32 units.
Now you should have a hollow cube.
<P>
<LI>
Select the "Entity" tool. (<KBD><KBD>SHIFT</KBD>-e</KBD> or select it from the
toolbar.)
<P>
<CENTER><IMG SRC="tutorial/map2cs/wcentity.png" ALT="tutorial/map2cs/wcentity"></CENTER>
</P><P>
<LI>
Select "light" in the dialog on the right side:
<P>
<CENTER><IMG SRC="tutorial/map2cs/wclight.png" ALT="tutorial/map2cs/wclight"></CENTER>
</P><P>
<LI>
Click in the top right view inside the cube, now use one of the bottom views
to drag it to a position near the top.
<P>
<LI>
Press <KBD>ENTER</KBD>. A small pink square should appear.
<P>
<LI>
Select the square by left-clicking on it. After it is selected use a
right-click and select "Properties" from the drop down menu. (Due to a bug
in WorldCraft, you are forced to change to properties for every light source;
otherwise it is completely dark.)
<P>
<LI>
In the "Properties" dialog select "Brightness" and "Pick Color" select a
white color. (The light is defined by 4 values. The first three components
specify color and the last component specifies brightness / radius. Normally
a radius of 200 is okay.)
<P>
<CENTER><IMG SRC="tutorial/map2cs/wclight2.png" ALT="tutorial/map2cs/wclight2"></CENTER>
</P><P>
<LI>
Now select "info_player_start" instead of "light".
<P>
<LI>
Place the new entity near the floor. Now the result should appear as follows:
<P>
<CENTER><IMG SRC="tutorial/map2cs/wcmap1.png" ALT="tutorial/map2cs/wcmap1"></CENTER>
</OL>
<A NAME="map2cs Tutorial Step 5"></A>
<HR SIZE=1>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_90.html#SEC190"> < </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_92.html#SEC192"> > </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_83.html#SEC181"> << </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_87.html#SEC185"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_99.html#SEC200"> >> </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_285.html#SEC711">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<BR>
<FONT SIZE="-1">
This document was generated
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>
</BODY>
</HTML>
|