View Single Post
Old 02-28-2008, 02:54 AM   #5 (permalink)
beng
Senior Member
 
Join Date: Jan 2008
Posts: 589
Default

Try this: Put the following code in you FxList.ini, if particlesystem.ini is in your mod, put the particle system in it, otherwise put it in FXList.ini to save you having to include ParticleSystem.ini (a huge file) in your mod distribution. Particle systems will still work in FXList.ini as long as they are above the FX lists that refer to them in the file.

Code:
ParticleSystem A10MuzzleSmoke
  Priority = WEAPON_TRAIL
  IsOneShot = No
  Shader = ALPHA
  Type = PARTICLE
  ParticleName = exsmolderingflamesmoke.tga ;exsmokepuff.tga exsmokepuf04.tga
  AngleZ = -1.00 1.00
  AngularRateZ = -0.01 0.01
  AngularDamping = 1.00 1.00
  VelocityDamping = 0.85 0.95
  Gravity = 0.00
  Lifetime = 50.00 60.00
  SystemLifetime = 1
  Size = 2.00 4.00
  StartSizeRate = 0.00 0.00
  SizeRate = 1.80 2.00
  SizeRateDamping = 0.40 0.50
  Alpha1 = 0.75 0.75 0
  Alpha2 = 0.60 0.60 10
  Alpha3 = 0.00 0.00 60
  Alpha4 = 0.00 0.00 0
  Alpha5 = 0.00 0.00 0
  Alpha6 = 0.00 0.00 0
  Alpha7 = 0.00 0.00 0
  Alpha8 = 0.00 0.00 0
  Color1 = R:125 G:125 B:100  0
  Color2 = R:162 G:162 B:162 10
  Color3 = R:192 G:192 B:192 60
  Color4 = R:0 G:0 B:0 0
  Color5 = R:0 G:0 B:0 0
  Color6 = R:0 G:0 B:0 0
  Color7 = R:0 G:0 B:0 0
  Color8 = R:0 G:0 B:0 0
  ColorScale = 0.00 1.00
  BurstDelay = 2.00 2.00
  BurstCount = 1.00 3.00
  InitialDelay = 0.00 0.00
  DriftVelocity = X:0.00 Y:0.00 Z:0.00
  VelocityType = ORTHO
  VelOrthoX =  7.50 9.00
  VelOrthoY = -0.20 0.20
  VelOrthoZ = -0.20 0.20
  VolumeType = POINT
  IsHollow = No
  IsGroundAligned = No
  IsEmitAboveGroundOnly = No
  IsParticleUpTowardsEmitter = No
  WindMotion = Unused
  WindAngleChangeMin = 0.149924
  WindAngleChangeMax = 0.449946
  WindPingPongStartAngleMin = 0.000000
  WindPingPongStartAngleMax = 0.785398
  WindPingPongEndAngleMin = 5.497787
  WindPingPongEndAngleMax = 6.283185
End


FXList WeaponFX_GAU8_30mmCannonFire
  LightPulse
    Color = R:255 G:255 B:0
    Radius = 60
    IncreaseTime = 0
    DecreaseTime = 100
  End
  ParticleSystem
    Name = A10MuzzleSmoke
    OrientToObject = Yes
    Offset = X:-5.0 Y:0.0 Z:0.0
  End
  ParticleSystem
    Name = FallingShellsComanche
    OrientToObject = Yes
    Offset = X:-5.0 Y:0.0 Z:0.0
  End
  Tracer
    DecayAt = 1
    Length = 10
    Width = 0.4
    Color = R:255 G:190 B:0
    Speed = 600
  End
End
Then in Weapon.ini, change the FireFX for the A10ThunderboltVulcan to WeaponFX_GAU8_30mmCannonFire.

On how to create or edit particle systems, see my post on the subject at:
ini editing discoveries and tips for Generals & ZH - Cncmaps Map Editing Forums
beng is offline   Reply With Quote