Explosive Cube

From Valve Developer Community
Revision as of 23:21, 5 January 2014 by CjLerch (talk | contribs) (Created page with "==Creation== This assumes you have a level to put the cube in. If not, this page will show you the basics of level crea...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Creation

This assumes you have a level to put the cube in. If not, this page will show you the basics of level creation. First, make sure you have downloaded files], which are needed for creation. If you do not have these files installed, you can continue using a normal cube, but it may mislead the player.

1. Create a prop_physics with the following settings:

[| class=standard-table

|- ! Property Name || Value |- | Name || explosive_cube |- | World Model || models\explosivebox\metal_box.mdl |-

2. Create an env_explosion with these settings:

[ class=standard-table

|- ! Property Name || Value |- | Name || explosive_cube_explosion |- | Parent || explosive_cube |-

3. Place the env_explosion in the center of the cube.

Once that simple process is completed, the cube is ready.

Triggering the Cube

Triggering the cube is very simple. Choose what you want to trigger the cube, and create two outputs.