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

JBToolbox2.JBEmitterCosmosBreakingGlass


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
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
// ============================================================================
// JBEmitterCosmosBreakingGlass
// Copyright 2010 by Wormbo
// $Id: JBEmitterCosmosBreakingGlass.uc,v 1.1 2011-01-03 12:13:40 wormbo Exp $
//
// Replacement glass shattering emitter for JB-Cosmos execution network fix.
// ============================================================================

class JBEmitterCosmosBreakingGlass extends JBEmitterClientTriggerable notplaceable;


//=============================================================================
// PostBeginPlay
//
// Find the particle texture.
//=============================================================================

simulated function PostBeginPlay()
{
	Super.PostBeginPlay();
	Emitters[0].Texture = Texture(DynamicLoadObject("JB-Cosmos.Particles.NewGlassShards", class'Texture'));
}


//=============================================================================
// Default values
//=============================================================================

defaultproperties
{
	Begin Object Class=SpriteEmitter Name=SpriteEmitter0
		//UseCollision=True
		RespawnDeadParticles=False
		UniformSize=True
		AutomaticInitialSpawning=False
		UseRandomSubdivision=True
		//Acceleration=(Z=-950.0)
		DampingFactorRange=(X=(Min=0.95,Max=0.9),Y=(Min=0.5,Max=0.5),Z=(Min=0.5,Max=0.5))
		ColorScale(0)=(Color=(B=128,G=128,R=128))
		ColorScale(1)=(Color=(B=0,G=0,R=0),RelativeTime=1.0)
		UseColorScale=True
		MaxParticles=500
		StartLocationRange=(Y=(Min=-256.0,Max=256.0),Z=(Min=-128.0,Max=128.0))
		UseRotationFrom=PTRS_Actor
		StartSizeRange=(X=(Min=0.25,Max=10.0),Y=(Max=250.0),Z=(Max=250.0))
		//InitialParticlesPerSecond=50000.000000
		//Texture=Texture'JB-Cosmos.Particles.NewGlassShards'
		TriggerDisabled=False
		SpawnOnTriggerPPS=50000.0
		SpawnOnTriggerRange=(Min=500,Max=500)
		TextureUSubdivisions=2
		TextureVSubdivisions=2
		LifetimeRange=(Min=7.0,Max=7.0)
		StartVelocityRange=(X=(Min=200.0,Max=400.0),Y=(Min=-100.0,Max=100.0),Z=(Min=-100.0,Max=100.0))
		SecondsBeforeInactive=0.0
	End Object
	Emitters(0)=SpriteEmitter'SpriteEmitter0'

	bNoDelete = False
	bAlwaysRelevant = True
	bIgnoreTriggerDuringInitialization = True
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Mo 3.1.2011 14:13:40.000 - Creation time: Do 14.8.2014 09:58:42.062 - Created with UnCodeX