Thread: emitters
View Single Post
  #9  
Old 06-27-2006, 05:00 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
okay, I have rain!
But there's a few things I wonder if I can fix. First off, the rain stays in one place, it doesn't follow the player. And it seems to expance over a gmap, I'm not 100% sure if it stops, but I suppose it would
PHP Code:
with (findimg(200)) 
        {
          
layer=2;
          
emitter.delaymin .05;
          
emitter.delaymax .05;
          
emitter.nrofparticles 25;
          
emitter.firstinfront false;
          
emitter.particle.lifetime 2;
          
emitter.particle.image "dr-rain2.png";
          
emitter.particle.mode 0;
          
emitter.particle.alpha .8;
          
emitter.particle.zoom random(.3,1);
          
emitter.particle.speed 3;
          
emitter.particle.checkbelowterrain true;
          
emitter.particle.movementvector=pi*.25;
          
emitter.particle.player.x;
          
emitter.particle.player.y;
          
emitter.particle.red 1;
          
emitter.particle.green 1;
          
emitter.particle.blue 1;
          
emitter.addlocalmodifier("impulse"00"x""add", -22);
          
emitter.addlocalmodifier("impulse"00"y""add", -22);
        } 
Reply With Quote