Explosive Cube: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(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...")
 
Line 1: Line 1:
==Creation==
==Creation==
This assumes you have a level to put the cube in. If not, [[Level_Design_Introduction_(Portal_2)_/Your_First_Level|this page]] will show you the basics of level creation. First, make sure you have downloaded [http://forums.thinkingwithportals.com/downloads.php?view=detail&df_id=1123|these 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.
This assumes you have a level to put the cube in. First, make sure you have downloaded [http://forums.thinkingwithportals.com/downloads.php?view=detail&df_id=1123|these 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:
1. Create a [[prop_physics]] with the following settings:
::[| class=standard-table
::{| class=standard-table
|-
|-
! Property Name || Value
! Property Name || Value
Line 13: Line 13:


2. Create an [[env_explosion]] with these settings:
2. Create an [[env_explosion]] with these settings:
::[ class=standard-table
::{| class=standard-table
|-
|-
! Property Name || Value
! Property Name || Value

Revision as of 23:22, 5 January 2014

Creation

This assumes you have a level to put the cube in. 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:

2. Create an env_explosion with these settings:
Property Name Value
Name explosive_cube
World Model models\explosivebox\metal_box.mdl
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.

Property Name Value
Name explosive_cube_explosion
Parent explosive_cube