Jump to content
Sign in to follow this  
Pappa Goat

UPDATE: Flechette Air Burst Effect

Recommended Posts

Ok, I found the FlechetteairBurstEffect

 

I copied the entries from the 23mmflakeffect into the file.

 

I changed the particle colors of the FlakCloud23mm to those from the red smoke marker effect.

 

I changed the smoke from smokewhite.tga to RedSmoke2.tga

 

 

SO...

 

In game, when the flechette rocket air bursts there is now a nice little puff of smoke.... BUT it is still white!!! Any ideas as to why it's still not red?

Share this post


Link to post
Share on other sites

Papa Goat,

 

Just a suggestion:

 

[CBUSmokeMaterial]

DepthBufferCheck=TRUE

DepthBufferWrite=FALSE

IgnoreRenderOrder=FALSE

AlphaTestEnabled=FALSE

LightEnabled=FALSE

UseLightLevel=TRUE

SpecularEnabled=FALSE

EmissiveEnabled=FALSE

AmbientColor=1.000000,1.000000,1.000000,1.000000

DiffuseColor=1.000000,1.000000,1.000000,1.000000

ZBufferOffset=0.000000

PriorityLevel=3

BlendOp=BLEND_SRC_ALPHA

NumTextureStages=1

TextureStage[01].TextureName=cbusmoke.tga <------- Change to RedSmoke.TGA

TextureStage[01].MipMap=FALSE

TextureStage[01].FilterEnabled=TRUE

TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE

TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

Share this post


Link to post
Share on other sites

This is in the Flechetteeffect right? Yeah I first looked at this until I realized that this controls the ground impact effect, not the air bursting effect. The CBUsmoke.tga is the brown smoke that appears when the flechettes or bomblets impact the ground.

 

That there is now a puff of smoke with the air burst after I edited the FlechetteAirBurstEffect shows that it's the right effect to edit... I just don't get why the puff is white and not red! grrr.

 

 

CHANGES IN BOLD BELOW:

 

 

 

[EffectType001]

Name=FlechetteAirBurstEffect

Element[01].ElementType=PLACE_EMITTER

Element[01].ElementName=FlakExplosion23mm

Element[01].StartTime=0.000000

Element[01].StartTimeDeviation=0.0

Element[01].EjectTime=-1.000000

Element[01].EjectTimeDeviation=0.0

Element[02].ElementType=PLACE_EMITTER

Element[02].ElementName=FlashEmitter23mm

Element[02].StartTime=0.0

Element[02].StartTimeDeviation=0.0

Element[02].EjectTime=-1.0

Element[02].EjectTimeDeviation=0.0

Element[03].ElementType=PLACE_EMITTER

Element[03].ElementName=FlakDebrisEmitter23mm

Element[03].StartTime=0.2

Element[03].StartTimeDeviation=0.0

Element[03].EjectTime=-1.0

Element[03].EjectTimeDeviation=0.0

Element[04].ElementType=PLACE_EMITTER

Element[04].ElementName=FlakCloud23mm

Element[04].StartTime=0.1

Element[04].StartTimeDeviation=0.0

Element[04].EjectTime=-1.0

Element[04].EjectTimeDeviation=0.0

Element[05].ElementType=PLACE_EMITTER

Element[05].ElementName=SmallSparksEmitter23mm

Element[05].StartTime=0.0

Element[05].StartTimeDeviation=0.0

Element[05].EjectTime=-1.0

Element[05].EjectTimeDeviation=0.0

Element[06].ElementType=PLACE_EMITTER

Element[06].ElementName=SmallFlashEmitter23mm

Element[06].StartTime=0.0

Element[06].StartTimeDeviation=0.0

Element[06].EjectTime=-1.0

Element[06].EjectTimeDeviation=0.0

 

[EmitterType001]

Name=FlashEmitter23mm

EmissionType=SINGLE_PARTICLE

UpdateType=NON_MOVING

MaxVisibleDistance=10000.000000

HasLightSource=TRUE

LightColor=0.750,0.70875,0.6675

LightRange=2500.0

LightSrcOffset=0.0,0.0,25.0

ParticleUpdateType=NON_MOVING

ParticleRenderType=SPRITE

ParticleRandomOrientation=FALSE

ParticleLifeTime=0.080000

ParticleColorTableType=LINEAR

ParticleColorStart=0.400000,0.400000,0.400000,0.200000

ParticleColorEnd=0.000000,0.000000,0.000000,0.000000

ParticleSizeTableType=LINEAR

ParticleSizeStart=0.134000

ParticleSizeEnd=4.00000

BaseSizeDeviation=0.5

TextureMaterial=FlashMaterial2

 

[EmitterType002]

Name=FlakExplosion23mm

EffectLevel=2

EmissionType=SINGLE_PARTICLE

UpdateType=NON_MOVING

MaxVisibleDistance=18000.000000

HasLightSource=TRUE

LightColor=0.400,0.270,0.150

LightRange=1500.0

LightSrcOffset=0.0,0.0,25.0

LightDeviation=0.20000

ParticleUpdateType=NON_MOVING

ParticleRenderType=ANIMATED_SPRITE

ParticleNumAnimationFrame=4

ParticleAnimationScale=0.5

ParticleRandomOrientation=TRUE

ParticleLifeTime=0.40000

ParticleLifeTimeDeviation=0.035000

ParticleWeight=-5.00000

ParticleRandomness=0.100000

ParticleWindFactor=0.3

ParticleColorTableType=TABLE

ParticleColor[01].Time=0.000000

ParticleColor[01].Value=1.000000,0.700000,0.700000,0.300000

ParticleColor[02].Time=0.250000

ParticleColor[02].Value=0.600000,0.600000,0.300000,0.350000

ParticleColor[03].Time=0.500000

ParticleColor[03].Value=0.200000,0.160000,0.040000,0.200000

ParticleColor[04].Time=1.000000

ParticleColor[04].Value=0.000000,0.000000,0.000000,0.000000

ParticleSizeTableType=TABLE

ParticleSize[01].Time=0.000000

ParticleSize[01].Value=0.134000

ParticleSize[02].Time=0.060000

ParticleSize[02].Value=0.670000

ParticleSize[03].Time=1.000000

ParticleSize[03].Value=1.340000

TextureMaterial=FlakParticleMaterial

 

[EmitterType003]

Name=FlakDebrisEmitter23mm

EffectLevel=1

EmissionType=RADIAL_EMITTER

UpdateType=NON_MOVING

LifeTime=0.200000

MaxVisibleDistance=8000.000000

PositiveZOnly=TRUE

EmissionRate=0.01

EmissionVolume=0.000000,0.000000,0.00000

EmissionVelocityTableType=CONSTANT

EmissionVelocity=0.000000,0.000000,3200.000000

EmissionVelocityDeviation=0.0000

RadialVelocityTableType=CONSTANT

RadialVelocity=1340.0

RadialVelocityDeviation=0.5

ParticleUpdateType=SIMPLE_POINT

ParticleRenderType=SPRITE

ParticleRandomOrientation=TRUE

ParticleLifeTime=1.880000

ParticleLifeTimeDeviation=1.0000

ParticleWeight=10.00000

ParticleRandomness=0.050000

ParticleDragFactor=0.400000

ParticleInheritence=0.0010000

ParticleColorTableType=TABLE

ParticleColor[01].Time=0.000000

ParticleColor[01].Value=0.900000,0.800000,0.700000,0.0000000

ParticleColor[02].Time=0.200000

ParticleColor[02].Value=0.50000,0.40000,0.30000,1.00000

ParticleColor[03].Time=1.000000

ParticleColor[03].Value=0.200000,0.150000,0.100000,0.000000

ParticleSizeTableType=LINEAR

ParticleSizeStart=0.200

ParticleSizeEnd=0.000000

BaseSizeDeviation=0.7

TextureMaterial=FlakDebrisMaterial

 

[EmitterType004]

Name=FlakCloud23mm

EmissionType=RADIAL_EMITTER

UpdateType=NON_MOVING

LifeTime=0.360000

MaxVisibleDistance=8000.000000

PositiveZOnly=TRUE

EmissionRate=0.0500000

EmissionVolume=0.0000,0.0000,0.200000

EmissionVelocityTableType=CONSTANT

EmissionVelocity=0.000000,0.000000,98760.000000

EmissionVelocityDeviation=0.80000

RadialVelocityTableType=CONSTANT

RadialVelocity=62840.0

RadialVelocityDeviation=0.500000

ParticleUpdateType=SIMPLE_POINT

ParticleRenderType=SPRITE

ParticleRandomOrientation=TRUE

ParticleLifeTime=4.500000

ParticleLifeTimeDeviation=0.20000

ParticleWeight=1.50000

ParticleRandomness=0.010000

ParticleDragFactor=0.350000

ParticleInheritence=0.00001000

ParticleWindFactor=0.05

ParticleColorTableType=TABLE

ParticleColor[01].Time=0.000000

ParticleColor[01].Value=0.600000,0.600000,0.6000000,0.0000000

ParticleColor[02].Time=0.0400000

ParticleColor[02].Value=0.600000,0.600000,0.6000000,0.60000000

ParticleColor[03].Time=0.600000

ParticleColor[03].Value=0.600000,0.600000,0.6000000,0.150000

ParticleColor[04].Time=1.000000

ParticleColor[04].Value=0.60000,0.60000,0.5000000,0.0000000

ParticleColor[05].Time=0.100000

ParticleColor[05].Value=0.60000,0.60000,0.5000000,0.0000000

ParticleSizeTableType=TABLE

ParticleSize[01].Time=0.000000

ParticleSize[01].Value=0.540000

ParticleSize[02].Time=0.200000

ParticleSize[02].Value=1.790000

ParticleSize[03].Time=1.000000

ParticleSize[03].Value=2.700000

BaseSizeDeviation=0.3

TextureMaterial=RedSmokeMaterial

 

[EmitterType005]

Name=SmallFlashEmitter23mm

EmissionType=SINGLE_PARTICLE

UpdateType=NON_MOVING

MaxVisibleDistance=18000.000000

HasLightSource=TRUE

LightColor=0.800,0.800,0.800

LightRange=50.0

LightSrcOffset=0.0,0.0,25.0

LightDeviation=0.050000

ParticleUpdateType=NON_MOVING

ParticleRenderType=SPRITE

ParticleRandomOrientation=TRUE

ParticleLifeTime=0.01340

ParticleLifeTimeDeviation=0.2000

ParticleColorTableType=LINEAR

ParticleColorStart=1.00000,1.00000,1.00000,1.00000

ParticleColorEnd=0.200000,0.150000,0.100000,0.000000

ParticleSizeTableType=LINEAR

ParticleSizeStart=1.340

ParticleSizeEnd=0.000000

ParticleSizeDeviation=0.0200000

BaseSizeDeviation=0.7

TextureMaterial=FlashMaterial2

 

[EmitterType006]

Name=SmallSparksEmitter23mm

EffectLevel=2

EmissionType=RADIAL_EMITTER

UpdateType=NON_MOVING

LifeTime=0.054000

MaxVisibleDistance=8000.000000

PositiveZOnly=TRUE

EmissionRate=0.030

EmissionVolume=0.00000,0.00000,0.00000

EmissionVelocityTableType=CONSTANT

EmissionVelocity=0.000000,0.000000,134.000000

EmissionVelocityDeviation=0.0000

RadialVelocityTableType=CONSTANT

RadialVelocity=214.0

RadialVelocityDeviation=0.5

ParticleUpdateType=SIMPLE_POINT

ParticleRenderType=SPRITE

ParticleRandomOrientation=TRUE

ParticleLifeTime=1.070000

ParticleLifeTimeDeviation=1.0000

ParticleWeight=8.00000

ParticleRandomness=0.050000

ParticleDragFactor=0.400000

ParticleInheritence=0.010000

ParticleColorTableType=LINEAR

ParticleColorStart=1.00000,0.80000,0.30000,0.50000

ParticleColorEnd=0.200000,0.150000,0.100000,0.000000

ParticleSizeTableType=LINEAR

ParticleSizeStart=0.0540

ParticleSizeEnd=0.013400

ParticleSizeDeviation=0.900000

TextureMaterial=FireMaterial

 

//=============================================================================

 

[FlashMaterial2]

// EffectShaderName=twColor1.fx

DepthBufferCheck=TRUE

DepthBufferWrite=FALSE

IgnoreRenderOrder=FALSE

AlphaTestEnabled=FALSE

LightEnabled=FALSE

UseLightLevel=FALSE

SpecularEnabled=FALSE

EmissiveEnabled=FALSE

AmbientColor=1.000000,0.000000,0.000000,1.000000

DiffuseColor=1.000000,1.000000,1.000000,1.000000

ZBufferOffset=1.000000

PriorityLevel=3

BlendOp=BLEND_INV_SRC_ALPHA_ADD_SRC

NumTextureStages=1

TextureStage[01].TextureName=Flash.tga

TextureStage[01].MipMap=FALSE

TextureStage[01].FilterEnabled=TRUE

TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE

TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

 

[FlakParticleMaterial]

// EffectShaderName=twColor1.fx

DepthBufferCheck=TRUE

DepthBufferWrite=FALSE

IgnoreRenderOrder=FALSE

AlphaTestEnabled=FALSE

LightEnabled=FALSE

UseLightLevel=FALSE

SpecularEnabled=FALSE

EmissiveEnabled=FALSE

AmbientColor=1.000000,1.000000,1.000000,1.000000

DiffuseColor=1.000000,1.000000,1.000000,1.000000

ZBufferOffset=2.000000

PriorityLevel=3

BlendOp=BLEND_INV_SRC_ALPHA_ADD_SRC

NumTextureStages=1

TextureStage[01].TextureName=flakani.tga

TextureStage[01].MipMap=FALSE

TextureStage[01].FilterEnabled=TRUE

TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE

TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

 

[FlakDebrisMaterial]

// EffectShaderName=effectLightLevel.fx

DepthBufferCheck=TRUE

DepthBufferWrite=FALSE

IgnoreRenderOrder=FALSE

AlphaTestEnabled=FALSE

LightEnabled=FALSE

UseLightLevel=TRUE

SpecularEnabled=FALSE

EmissiveEnabled=FALSE

AmbientColor=1.000000,1.000000,1.000000,1.000000

DiffuseColor=1.000000,1.000000,1.000000,1.000000

ZBufferOffset=0.000000

PriorityLevel=3

BlendOp=BLEND_SRC_ALPHA

NumTextureStages=1

TextureStage[01].TextureName=Debris2.tga

TextureStage[01].MipMap=FALSE

TextureStage[01].FilterEnabled=TRUE

TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE

TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

 

[RedSmokeMaterial]

// EffectShaderName=effectLightLevel.fx

DepthBufferCheck=TRUE

DepthBufferWrite=FALSE

IgnoreRenderOrder=FALSE

AlphaTestEnabled=FALSE

LightEnabled=FALSE

UseLightLevel=TRUE

SpecularEnabled=FALSE

EmissiveEnabled=FALSE

AmbientColor=1.000000,1.000000,1.000000,1.000000

DiffuseColor=1.000000,1.000000,1.000000,1.000000

ZBufferOffset=0.000000

PriorityLevel=3

BlendOp=BLEND_SRC_ALPHA

NumTextureStages=1

TextureStage[01].TextureName=RedSmoke2.tga

TextureStage[01].MipMap=FALSE

TextureStage[01].FilterEnabled=TRUE

TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE

TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

 

[FireMaterial]

// EffectShaderName=twColor1.fx

DepthBufferCheck=TRUE

DepthBufferWrite=FALSE

IgnoreRenderOrder=FALSE

AlphaTestEnabled=FALSE

LightEnabled=FALSE

UseLightLevel=FALSE

SpecularEnabled=FALSE

EmissiveEnabled=FALSE

AmbientColor=1.000000,1.000000,1.000000,1.000000

DiffuseColor=1.000000,1.000000,1.000000,1.000000

ZBufferOffset=2.000000

PriorityLevel=3

BlendOp=BLEND_INV_SRC_ALPHA_ADD_SRC

NumTextureStages=1

TextureStage[01].TextureName=Fire.tga

TextureStage[01].MipMap=FALSE

TextureStage[01].FilterEnabled=TRUE

TextureStage[01].StageColorOp=TEXTURE_MODULATE_DIFFUSE

TextureStage[01].StageAlphaOp=TEXTURE_MODULATE_DIFFUSE

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..