Area and asset management tutorial
|

- This is a beginner-level tutorial which explains how to add assets to an area. If you have not yet created an area, you may wish to work through the Building Areas Tutorial first.
Add a Heightmap
By default, areas will be created with a Heightmap. If there is no heightmap in the area, one can be added with the following steps.
- From the HeroBlade Menu bar, select "Create" / "Heightmap" / "Single Heightmap"
- A heightmap should appear in the room. At this point, because your heightmaps have no textures, it should display as a checkerboard or whatever default graphic is used for untextured Assets in your product.
Add some assets
The easiest way to add and maintain Assets is to use the Library.
- From HeroBlade, select "Create" / "Library..."
- The Asset Library dialogue will appear.
- Selecting a library on the left panel will display its assets on the right panel.
- From the "Add At" drop down, you can choose to have the Asset added where your (Fly) Camera is, at the Area's Origin [0,0,0], or on top of a Selected Asset. Since you do not have any Assets in the area to select, it's probably best just to add the Asset at Camera.
- To add the Asset to your Room, either double-click it, or click the Add button.
- If you have your Asset Panel open, you should see your Asset added to the Area's Asset list.
Placing and Snapping
Selection tools
- See also: Transform Toolbar There are several tools for placing objects.
Select and Translate
- Hotkey: 3 (in Fly Camera Mode)
- Selects the object, and allows for movement on the X, Y, and Z axises.
Select and Rotate
- Hotkey: 4 (in Fly Camera Mode)
- Selects the object, and allows for rotation on the X, Y, and Z axises.
Tips
- You can use Shift+Click to force the engine to force a more precise selection of whatever is in front of your camera.
- You can also select multiple Assets by clicking and dragging a selection box across the screen.
- Shifting between placement tools will not deselect items.
- To deselect an Asset, press the Esc key.
- If you select multiple assets, pressing the Spacebar will Lock your selection
- Ctrl+Spacebar will "memorize" a current selection
- Shift+Spacebar will recall the previously memorized selection
- Ctrl+G will "go to" the currently selected object. This can also be done with Mouse button #4
- If no object is currently selected, this will go to the nearest object, and select it
Cycling through assets
If there are multiple overlapping assets in the same location, you can use Shift+Click to cycle through them so you can choose the exact asset that you want.
Using the Snap Grid
Snap forces objects to line up on the Area's snap grid. It is useful for dressing sets that use lego-like pieces that must align together.
There is a Snap button in HeroBlade. Clicking the arrow next to it will cause the Snap pop up box to appear. It looks like this:
- To Snap an Asset to the Snap Grid, Select it. A yellow bounding box should appear around the Asset.
- You can either click "Snap Selection" from the Snap dropdown, or use the Ctrl+S Hotkey to snap the Asset.
- Snap must be On for "Snap Selection" to work.
Make assets non-selectable
You can keep yourself from selecting an Asset by changing its Selectable property to False. To do so....
- Click on the Asset using any of the Select tools to select it.
- Open the Properties Panel
- Under
Misc: Selectable
it should sayTrue
. - Change the Selectable property to
False
. - The Asset should no longer be selectable.
Parenting Assets
- Main page: Parenting Toolbar
You can also Parent an object (the Child) to another object (the Parent -- hence "Parenting"), via the Properties Panel. When an object that has children is moved, rotated, or sized, its children will also reflect those changes.
- Example: Say you have a bed and you want to add pillow assets to it. You also want the pillows to move with the bed when you place it in the room. You would create an instance of a bed model, then create instances of pillows, place them on the bed, and Parent the pillows to the bed.
To Parent Assets
- Open the Properties panel.
- Click on the Instance you want to make the parent.
- Under "Type", copy it's GUID value.
- Click on the Instance you want to make the child.
- Under "Misc", paste the parent's GUID into the value for "ParentInstance" and press the enter key.
- If you move the Parent Instance, the Child should now move as well.
- If you click on the Child Instance, you will see a white line drawn to the Parent.
Duplicating assets
Duplicating (or "cloning") an object is simple. To do this:
- Click on the object you want to duplicate.
- Duplicate either with Ctrl+D, or by opening the Assets panel, selecting the GUID and choosing Clone instance in the Instances Menu.
- The new (duplicated) object appears on top of the old one, and will be automatically selected.
- Using the mouse wheel, cycle to the Select & Translate tool {{translate)) (or click on that tool in the Transform Toolbar)
- Move the duplicated asset so it is no longer on top of the original asset
You can also create another Instance of the last Asset you added from the Library, with Ctrl+Q. This differs from cloning in that it will create the Instance from the Asset, which means things such as Rotation, Scale, DiffuseColor, and so on will not be set.
To place multiple of the same assets, select it with the Dynamic Place Tool, and then press Ctrl+D to drop duplicate versions wherever the mouse is.
Using the Assets panel
- Open the Assets panel
- Items listed in grey are not currently being used in visible rooms (they may still be being used in other rooms in the current area)
- Open the Area panel
- Cycle through the different rooms to see if the grey asset is used in a different room.
- If the asset goes dark (meaning that it is used), click on it to see a list of the instances of that asset
- Click on an instance number, then use Mouse Button 4 (back button) to zoom to it
- Duplicate the instance with Ctrl+D
- Note how the new instance appears in the Assets panel. Each instance has a global unique id (GUID), which is a 64-bit ID. Every node is unique.
Finding duplicated assets
Sometimes when duplicating assets, you may end up with instances directly on top of each other. This is difficult to spot, so there is are special options in the Instances menu for this, Select Duplicates. This will automatically select any instance which has the same position and rotation as another instance of the same asset. Once selected, you can use Ctrl+G or Mouse Button #4 to zoom to the selection.
Deep clone
Cloning a Child Instance will automatically parent it to the Parent Instance. Cloning a Parent Instance, however, will not duplicate that Parent's Children. To clone a parent and its children use a Deep clone, with Ctrl+Shift+D. This starts with the currently selected object, and duplicates it and its children.
See also: Keyboard shortcuts
Search for assets
- Open the Assets panel
- Click in the search box and begin typing the name of an asset. The list will automatically filter to what is being typed.
Removing assets
To delete or remove an instance of an asset, either:
- Select the instance with the
selection arrow, and then press the Delete key; or
- Select the instance via the Assets panel, and then right-click on it and choose Remove instance
You can also click on an asset in the upper part of the Assets panel, and then right-click for Remove assets with no instances