Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

U2.WoodChunk


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
//=============================================================================
// WoodChunk.uc 
//=============================================================================
class WoodChunk extends U2Fragment;

#exec OBJ LOAD File=..\Textures\VertexT.utx
#exec OBJ LOAD File=..\StaticMeshes\VertexM.usx

auto state Flying
{
	simulated event BeginState()
	{
		Super.BeginState();
		LifeSpan = Default.LifeSpan;
		LifeSpan += 2 * FRand();
	}
}

defaultproperties
{
	Fragments(0)=StaticMesh'VertexM.Decorations.Xmesh'
	Fragments(1)=StaticMesh'VertexM.Decorations.Xmesh'
	Fragments(2)=StaticMesh'VertexM.Decorations.Xmesh'
	numFragmentTypes=3
	DrawType=DT_StaticMesh
	LifeSpan=0.550000
	DrawScale=0.350000
	bNoStaticMeshCollide=true
	Mass=5.000000
	Buoyancy=6.000000
     UseReticleOnEvents(0)="UseReticleText"
     UseReticleOnEvents(1)="UseReticleCorners"
     UseReticleOnEvents(2)="UseReticleTopBars"
     ProximityReticleOnEvents(0)="ProximityReticleCorners"
     ProximityReticleOnEvents(1)="ProximityReticleTopBars"
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: sk 3-1-2016 10:38:42.000 - Creation time: sk 3-1-2016 10:48:44.105 - Created with UnCodeX