//=============================================================================
// SteelBox.
//=============================================================================
class SteelBox expands Decoration;

#exec MESH IMPORT MESH=SteelBox ANIVFILE=MODELS\Box_a.3D DATAFILE=MODELS\Box_d.3D X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=SteelBox X=0 Y=0 Z=0 YAW=64
#exec MESH SEQUENCE MESH=SteelBox SEQ=All    STARTFRAME=0   NUMFRAMES=1
#exec MESH SEQUENCE MESH=SteelBox SEQ=Still  STARTFRAME=0   NUMFRAMES=1
#exec TEXTURE IMPORT NAME=JSteelBox1 FILE=MODELS\steelBox.PCX GROUP=Skins
#exec MESHMAP SCALE MESHMAP=SteelBox X=0.08 Y=0.08 Z=0.16
#exec MESHMAP SETTEXTURE MESHMAP=SteelBox NUM=1 TEXTURE=JSteelBox1


Auto State Animate
{

	function Damage( int NDamage, Pawn instigatedBy, Vector hitlocation, 
						Vector momentum, name damageType)
	{
		Instigator = InstigatedBy;
		SetPhysics(PHYS_Falling);
		Momentum.Z = 1000;
		Velocity=Momentum*0.016;
	}
}

