Difference between revisions of "Hammer Paste Special Dialog"

From Valve Developer Community
Jump to: navigation, search
m (added TODO for the two new checkboxes at the bottom)
Line 35: Line 35:
 
# Make sure '''Start at center of original''' is selected, so that the copies are aligned to the originals stair. Select '''Group copies''' if you wish the duplicates to be grouped together.
 
# Make sure '''Start at center of original''' is selected, so that the copies are aligned to the originals stair. Select '''Group copies''' if you wish the duplicates to be grouped together.
 
# Press '''OK''' to create the stairs.
 
# Press '''OK''' to create the stairs.
 +
 +
{{TODO|the two new checkboxes at the bottom}}

Revision as of 18:16, 18 March 2007

The Paste Special dialog can help you paste a copy of any objects in the clipboard into the current file, using special placement information entered into the dialog box. This allows multiple pasting of the clipboard contents with offsets and rotations. This relieves the work in creating an object that contains many identical elements. For instance, to create a picket fence you can make one rail, then copy it multiple times with an offset for each new rail.

Hammer Paste Special.png

Number of copies to paste

This value controls the number of new copies that will be created by the operation.

Start at center of original

In the default On position, offsets and rotations are relative to the location and rotation of the original item in the clipboard. With it off, the new objects will be created relative to the center of the two previously selected windows.

Group copies

Turning this on will group all resulting objects together. The default for Group copies is off.

Offset (accumulative)

The three boxes here allow offset values for X, Y and Z. With each additional paste, the next object will be offset from the previous one by these values which are given in map units. The '<' buttons beside each box will automatically insert the current grid settings.

Rotation (accumulative)

These settings work in the same fashion as the Offset values, except that they apply rotation with each successive paste.

To create a staircase using Paste Special:

  1. Create a solid shape to be used as a single stair.
  2. Position the stair where you would like the staircase to begin.
  3. Select Copy from the Edit Menu.
  4. Select Paste Special from the Edit Menu to bring up the dialog.
  5. Enter the number of additional stairs you wish to create in the Number of copies to paste field. The total should not include the original selection -- if you want thirty total stairs, enter twenty-nine in this field.
  6. Under the Offset section, click the arrow next to Z to read in the height of the stair. Increase this value for a steeper staircase
  7. Click the arrow next to X or Y, depending on which direction your original stair faces.
  8. Make sure Start at center of original is selected, so that the copies are aligned to the originals stair. Select Group copies if you wish the duplicates to be grouped together.
  9. Press OK to create the stairs.

To do: the two new checkboxes at the bottom