1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

UE2 - UT2kX UT2004 Emitter stuff

Discussion in 'Mapping' started by Wulff, Nov 10, 2008.

  1. Wulff

    Wulff Bola Gun fun anyone?

    Joined:
    May 25, 2004
    Messages:
    613
    Likes Received:
    0
    Anyone able to make a snow emitter for me? Only really needed for a small area of the map instead of all around the map. xWeatherEffect doesn't seem to wanna comply in terms of excempting volumes without crashing, or it ignores the excempted volumes. :/
     
  2. Wormbo

    Wormbo Administrator Staff Member

    Joined:
    Jun 4, 2001
    Messages:
    5,910
    Likes Received:
    35
    What's so hard about making a simple emitter that just spawns particles across a large area which just fall down at constant speed?

    Try setting up a simple sprite emitter with high particle count. Initial location should be a box with Z=0 and X,Y=+/-(size of area with falling snow). Experiment with the (Initial)ParticlesPerSecond and MaxParticles values (make sure both PPS values are the same) and make sure that ParticlesPerSecond * LifetimeRange.Max is at most equal to MaxParticles. Set the particles to never respawn and disable automatic initial spawning.
    Choose a LifetimeRange that, in combination with the initial downward velocity, makes the snow particles barely reach the lowest point on the ground.

    I recommend a relative warmup time of 1.0 and warmup ticks around 10. To make your snow collide with your level geometry, enable UseCollision and UseMaxCollisions. The MaxCollisions range should be set to (0,0) so particles are removed when they collide with the level geometry.


    An emitter set up this way might be quite a performance hit, you should try to split it up into several emitters with smaller spawn location areas. (And I really mean several emitter actors, not just several particle emitters within the same emitter actor.) Try to make their spawn areas fit to the area of the map they are supposed to cover. The rectangular nature of the spawn location boxes should make it relatively easy to align them properly.
     
    Last edited: Nov 11, 2008
  3. Wulff

    Wulff Bola Gun fun anyone?

    Joined:
    May 25, 2004
    Messages:
    613
    Likes Received:
    0
    Its only in a really small area so only one will do, plus its isolated from the rest of the map. Only reason why I asked is because I couldn't find a clear tutorial about emitters. Ah well, I got snow now where I want, so its all good.
     

Share This Page