View Single Post
  #1  
Old 06-20-2013, 02:56 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Particle Gani Attr Effects Broken

Other player gets 'enrage' set in their attributes. Displays just fine to everyone in the level.

I leave the level and re-enter. Player with 'enrage' set in their attributes effect doesn't display anymore. I reconnect and it appears fine.

This broke when GS3 was implemented/released.

Here's the GANI in question.

yen-effect-enrage.gani:

PHP Code:
GANI0001
SPRITE    0         SPRITES   24    0   16    8 sprite

SINGLEDIRECTION
CONTINUOUS
DEFAULTHEAD head19
.png
DEFAULTBODY body
.png
COLOREFFECT 20 0 1 0 .99
COLOREFFECT 22 .2 1 0 .6

SCRIPT
if (created || playerenters){
  if (!
particleeffectsenabled) return;
  
with (findimg(200)) {
    
attachtoowner true;
    
attachoffset "-.5,-.5,0";
    
emitter.delaymin .01;
    
emitter.delaymax .1;
    
emitter.nrofparticles 2;
    
emitter.emissionoffset = {1,.5,0};
    
emitter.continueafterdestroy true;
    
layer 0;
    
emitter.layer 0;
    
emitter.firstinfront false;
    
emitter.particle.lifetime 1.5;
    
emitter.particle.image "g4_animation_whitefire-notrans.gif";
    
emitter.particle.red 1;
    
emitter.particle.green 0.25;
    
emitter.particle.blue 0;
    
emitter.particle.alpha .25;
    
emitter.particle.mode 0;
    
emitter.particle.zoom 0.5;
    
emitter.particle.speed 3;
    
emitter.particle.angle pi/2;

    
emitter.addlocalmodifier("once"00"angle""replace"0pi*2);
    
emitter.addlocalmodifier("range".3.85"zangle""replace"0pi*2);
    
emitter.addlocalmodifier("range"0.85"zoom""replace"2.5);
    
emitter.addlocalmodifier("range".4.85"speed""replace"0, -5);
      
emitter.addlocalmodifier("range".45.75"alpha""replace".2.0);
      
emitter.addlocalmodifier("range".4.80"green""replace".0.5);
  }  
}
SCRIPTEND 
__________________
Quote:
Reply With Quote