The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

Legacy:2D Shape Editor

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

2D shape editor tutorial[edit]

This is the Industry Standard: Machismo's 2D Shape Editor Tutorial


Introduction[edit]

The 2D Shape Editor was introduced as experimental in the original UnrealEd 1, but by the UnrealEd 2 that was bundled with UT 436, had matured into a robust tool for creating 3 dimensional shapes. However, it can be crashed (see Crashing UnrealEd), but otherwise is functional and commonly useful to mappers for all kinds of creative brush operations.

This is a versatile 3 dimensional tool. When the 2D Shape Editor is opened, a 2 dimensional grid is displayed, similar to the main UnrealEd 2D grid views. The only real disadvantage is that all vertex points must coincide with the grid (you can't just place the vertices in any position). However, you can map to a small resolution (4 world units), and the resultant 3D brushes are completely at home in the main UnrealEd 3D views.

Tutorials[edit]

Starting point for using this tool:

Using the 2D editor to make complex architecture:

Interface[edit]

For the menu commands, see 2D Shape Editor Menu.

Legacy interface.2DToolbar.gif
  1. New, Open, Close. 2D shapes can be saved as special 2DS files, independently of the current map in the main UnrealEd window.
  2. Rotate the shape 90 or 45 degrees.
  3. Flip the shape in x or y axis
  4. Enlarge or shrink the shape by a factor of 2
  5. Zoom in or out on the shape (note: the grid is a little buggy on different zoom levels, it's sort of sticky)
  6. Add a vertex by splitting the current sides. If more than one side is selected, will split all.
  7. Remove selected side(s). Note that this tends to rearrange the remaining vertices quite a bit, so it's best avoided if possible as a fair amount of fine tuning is necessary afterwards. Not disastrous, but annoying.
  8. Convert the current side to a linear segment
  9. Convert the current side to a Bezier segment
  10. Process: Sheet
  11. Process: Revolve
  12. Process: Extrude
  13. Process: Extrude to point
  14. Process: Extrude to bevel

Mouse control[edit]

  • Click on points to select them.
  • CTRL+Click to select multiple points
  • Click + drag to move points, add CTRL to move multiple
  • Right-click + drag to pan the work area
  • CLick and drag the orange centre point to move the entire shape

Processing commands[edit]

Sheet[edit]

This simply creates a sheet brush out of the current shape.

Revolve[edit]

Revolves your 2D brush around the "Y" axis. The origin of the shape (the green node) must be completely to the left or right of the shape you wish to revolve. The distance of the origin to the edge of your shape determines the inner radius the resultant shape. The two properties you specify at the point of revolution are "Per 360" which specifies the number of sides that would exist in a full circle, and "Use" which specifies the number of sides to actually generate.

Tip: rotate the shape before revolving to make, for example, a corridor that curves upwards.

Extrude to set depth[edit]

Produces a prism of a given depth, with the current shape as cross-section. It's well worth the effort of extruding the brush slightly deeper than you need and then substracting (or clipping) the "flat" faces of your extruded brush away. The Intersect tool can then be used to grab the final brush and hey-presto you've removed a lot of unecessary polygons. This is similar to the merge polygons command but also changes the brush wireframe potentially reducing the Node Count of your brush.

Extrude to point[edit]

Produces a cone with the base of your 2D shape. The height of the code is determined by the depth value specified at the point of extrusion. The X and Y offset of the point of the cone is determined by the location of the 2D shape's origin (that little green node you can see).

Extrude to bevel[edit]

This behaves in a very similar manner to that of the "Extrude to point" function. The difference being that the resulting "cone" is trimmed down to the CapHeight specified at the point of extrusion.

Tips[edit]

Simplify the surfaces of a brush produced with the 2D shape editor with the merge polygons command.

To get rid of extra polygons that it produces when you add the brush, add it then intersect it. Delete the added brush and add the RBB (Red Builder Brush) where you want to add it.

Be VERY careful creating the shape because there are no undo's; save often.

Tarquin: not necessarily a good thing though, may introduce new BSP cuts. Use with caution on complex shapes.

If you are having problems seeing the gridlines in the 2d Ed, then add this command to the end of your UED shortcut:

-no gamma-

This will make a fairly ugly workspace, but you will get used to it and hey, you can see the grid lines...

Also you can reduce polys per face by extruding the shape to a larger number, then clipping the flat faces. This will remove the triangulation though so it is a situational practice