Glows

From Data Realms Wiki

Jump to: navigation, search

Screen Effects or Glows are a post processing effect in CC which applies 24 bit images onto an object. They are generally just radial gradients of various sizes and color to make a visual effect, but they aren't limited to such. Vanilla glow screen effect files can be found in base.rte/effects/glows.

Black is interpreted as transparency, and dark colors are interpreted as translucent.

Explanation

	ScreenEffect = ContentFile // Adding a screen effect, from a content file
		FilePath = Base.rte/Effects/Glows/YellowHuge.bmp // From here
	EffectStartTime = 0 // This is when it starts, in milliseconds
	EffectStopTime = 55 // This is when it ends, in milliseconds
	EffectStartStrength = 1.0 // This is it's strength at the previously defined starting time
	EffectStopStrength = 0 // This is it's strength at the previously defined ending time
	EffectAlwaysShows = 1 // Boolean, if the effect always shows.
	BurstTriggered = 1 // Boolean, for AEmitter screen effects, if a screen effect is started at bursts.

Here is an example of it in use:

AddEffect = Attachable
	InstanceName = Muzzle Flash Pistol
	Mass = 0.0001
	HitsMOs = 0
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Base.rte/Effects/Pyro/MuzzleFlash02.bmp
	FrameCount = 3
	SpriteOffset = Vector
		X = -2
		Y = -6
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Air
		Resolution = 2
		Depth = 100
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Air
		Resolution = 3
		Depth = 100
	DeepCheck = 0
	JointStrength = 10000
	JointStiffness = 1
	ScreenEffect = ContentFile
		FilePath = Base.rte/Effects/Glows/YellowSmall.bmp
	DrawAfterParent = 0
Personal tools