Adding Point Entities: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
Entities are placed using the [[Entity Tool]]. Select it from the left side icon bar. (It's the white lightbulb.)
Entities are placed using the [[Entity Tool]]. Select it from the left side icon bar. (It's the white lightbulb.)


<br clear="both">
{{clr}}


[[Image:hammer_pickIPD.jpg |thumb|right|400px|Pick the appropriate entity from the drop-down list of entities.]]
[[Image:hammer_pickIPD.jpg |thumb|right|400px|Pick the appropriate entity from the drop-down list of entities.]]
Line 19: Line 19:
Choose the appropriate entity from the drop-down list.
Choose the appropriate entity from the drop-down list.


<br clear="both">
{{clr}}


[[Image:hammer_placeentity.jpg|thumb|right|400px|Left-click on the floor in the 3D View to place the starting entity.]]
[[Image:hammer_placeentity.jpg|thumb|right|400px|Left-click on the floor in the 3D View to place the starting entity.]]
Line 25: Line 25:
Next we'll place this entity in the map. When placing entities aligned with a surface, you can do this simply by clicking where on the surface you want it in the '''3D View''', so click somewhere on the floor of the room, like in the image here, and the entity will be placed at the spot you click.
Next we'll place this entity in the map. When placing entities aligned with a surface, you can do this simply by clicking where on the surface you want it in the '''3D View''', so click somewhere on the floor of the room, like in the image here, and the entity will be placed at the spot you click.


<br clear="both">
{{clr}}


[[Image:hammer_pick357.jpg|thumb|left|200px|Pick the [[weapon_357]] from the entity list.]]
[[Image:hammer_pick357.jpg|thumb|left|200px|Pick the [[weapon_357]] from the entity list.]]
Line 39: Line 39:
Click in the '''3D View''' to place the [[weapon_357]] entity, just like you did with the player starting point, as shown to the right.
Click in the '''3D View''' to place the [[weapon_357]] entity, just like you did with the player starting point, as shown to the right.


<br clear="both">
{{clr}}


[[Image:hammer_pick357ammo.jpg|thumb|left|200px|Pick the [[item_ammo_357]] from the entity list.]]
[[Image:hammer_pick357ammo.jpg|thumb|left|200px|Pick the [[item_ammo_357]] from the entity list.]]
Line 53: Line 53:
Place the [[item_ammo_357]] entity next to the [[weapon_357]], as shown.
Place the [[item_ammo_357]] entity next to the [[weapon_357]], as shown.


<br clear="both">
{{clr}}
<center>
{{NavBar|Applying Textures|Your First Map|Adding Light}}
<< Back to [[Applying Textures]] || Return to [[Your First Map]] || Continue to [[Adding Light]] >>
</center>

Revision as of 01:04, 26 March 2006

Next, we'll insert some entities into the map.

Switch to the Entity Tool.

Entities are placed using the Entity Tool. Select it from the left side icon bar. (It's the white lightbulb.)

Pick the appropriate entity from the drop-down list of entities.

Next we pick which entity to insert. There is a list of possible entities in the Object Toolbar (by default in the lower right corner of the Hammer window).

The first entity that we will pick is where the player will spawn when he enters the map. What entity to choose from the list depends on what game you are creating this map for.

Choose the appropriate entity from the drop-down list.

Left-click on the floor in the 3D View to place the starting entity.

Next we'll place this entity in the map. When placing entities aligned with a surface, you can do this simply by clicking where on the surface you want it in the 3D View, so click somewhere on the floor of the room, like in the image here, and the entity will be placed at the spot you click.

Pick the weapon_357 from the entity list.
Place the weapon_357 on the floor.

Next we will place a weapon.

Pick the weapon_357 entity from the entity list in the Object Toolbar, as shown to the left.

The weapon_357 entity will spawn the .357 magnum revolver where it is placed.

Click in the 3D View to place the weapon_357 entity, just like you did with the player starting point, as shown to the right.

Pick the item_ammo_357 from the entity list.
Place the item_ammo_357 next to the weapon_357.

Next we will place some ammo.

Pick the item_ammo_357 entity from the entity list.

This entity is a box of .357 ammo for the magnum revolver.

Place the item_ammo_357 entity next to the weapon_357, as shown.