Difference between revisions of "Basic Construction:zh-cn"

From Valve Developer Community
Jump to: navigation, search
(Selecting brushes)
(The grid)
Line 24: Line 24:
 
<br style="clear:both">
 
<br style="clear:both">
  
== The grid ==
+
== 网格 ==
A grid is displayed in all the 2D views.  By default, all objects snap to the grid.  Although you can turn this off, it is considered good practice to leave it on because it prevents leaks and other errors in your map.
+
所有二维视图中都会显示网格。默认情况下所有对象都会对齐到网格。你也可以关闭此功能,不过如果保留此功能可以更好地防止你的地图出现漏洞或其他错误。
  
The default grid size is 64 units, which means that each lin is 64 units apart. You can change the grid size by pressing the <code>[</code> and <code>]</code> keys.
+
网格的默认大小是64单位,这表示每格都以64单位分割。你可以按 <code>[</code> <code>]</code> 键改变网格大小。
  
* Clicking the '''Smaller Grid''' icon [[Image:hammer_SmallerGrid.png]] will make the grid half as big, for finer adjustments.
+
* 点击'''更小网格'''图标[[Image:hammer_SmallerGrid.png]]可以把网格减至之前的一半大小以增加调节精度。
* Clicking the '''Larger Grid''' icon [[Image:hammer_LargerGrid.png]]] will make the grid twice as big, for larger adjustments.
+
* 点击'''更大网格'''图标[[Image:hammer_LargerGrid.png]]]可以把网格增至之前的两倍大小以进行大比例调节。
 
+
要在有效地图中确定合适的刻度,请参考文章
To help determine the appropriate scales needed for a playable map, please see the article on [[Dimensions]].
+
[[Dimensions|尺度]]
  
 
== Resize, Rotate, & Skew ==
 
== Resize, Rotate, & Skew ==

Revision as of 00:58, 17 April 2008

笔刷

笔刷是在起源引擎的所有地图中创建固体的基本工具。地板、墙面、天花板,等等这些非模型的几何体都由是笔刷构成的。

创建笔刷

图1 方块工具。
  1. 选择方块工具 Hammer block.png
  2. 创造一只盒子,先在二维顶视图(默认情况下是右上角的窗口)中点击并拖拽鼠标设置笔刷大小,如图二。
  3. 按下回车键创建这个物体。另外也可以在笔刷内点击右键然后选择Create Object

注:如果在你的东西没有任何纹理,要显示纹理的话,到相机视图中查看 > 3D Textured Polygons

图2 点击并拖拽创建笔刷。


笔刷选取

选择工具。

点击选择工具 Hammer select.png。它用于提取对象群体中的某个对象或一组对象。激活选择工具后,在任意窗口点击笔刷可以将其标记为高亮。(二维窗口里请点击笔刷边缘或中心。在相机视图只要点击选取对象即可。)

你应该发现了,被选的笔刷变成红色高亮状态,同时在二维视图中会出现八个白色控制点。这些控制点允许你对被选物进行旋转与形变操作。(见之后的缩放、旋转与倾斜

记住,笔刷就像是三维线条构成的盒子。把盒子压扁使其看上去像是一块薄板,再把它移动到相机的下方。把这个笔刷想象成一块立体的天花板、地板或是墙壁,光有它不能算完整的房间。需要6块笔刷才能制作一个房间。

网格

所有二维视图中都会显示网格。默认情况下所有对象都会对齐到网格。你也可以关闭此功能,不过如果保留此功能可以更好地防止你的地图出现漏洞或其他错误。

网格的默认大小是64单位,这表示每格都以64单位分割。你可以按 [] 键改变网格大小。

  • 点击更小网格图标Hammer SmallerGrid.png可以把网格减至之前的一半大小以增加调节精度。
  • 点击更大网格图标Hammer LargerGrid.png]可以把网格增至之前的两倍大小以进行大比例调节。

要在有效地图中确定合适的刻度,请参考文章 尺度

Resize, Rotate, & Skew

Changing the height of the brush.

Resize

Select a brush using the Selection Tool Hammer select.png and mouse over one of its eight white handles. The cursor should change to arrows, indicating along which axis you can move that handle.

To resize, simply click and drag one of these handles.

Rotate

Select the object you wish to rotate using the Selection Tool Hammer select.png, then click once on the object. You should see the object surrounded at the corners with circles.

Circles at corners indicate that the object is ready to be rotated.


Mouse over a circle in any 2D view, then click and drag to rotate the object.

Click & drag a circle in any 2D view to rotate the object.


Skew

Select the object you wish to skew using the Selection Tool Hammer select.png, then click twice on the object. You should see small white squares at the center of each edge of the object.

White squares at the center of each edge of an object indicate that it is ready to be skewed.


Mouse over a white square in any 2D view, then click and drag to skew the object along that axis.

Click & drag a white square in any 2D view to skew the object.





Template:Otherlang:zh-cn Template:Otherlang:zh-cn:en