Results 1 to 2 of 2

Thread: Particle effects error help

  1. #1

    Particle effects error help

    Hey guys. im working on custom bomb effects for the ordnance on the Su22.....

    Im getting a funny error though.

    Code:
    Warning Message: Value not an array.
    Error during compilation of element 0 of bin\config.bin/CfgCloudlets/PRACS_FuelFire1.color
    Here is my custome xplosion effect.

    Code:
    class PRACS_FuelFire1 : Default 
                    { 
                    circleVelocity[]={0,0,0}; 
                    moveVelocity[]={0,15,0}; 
                    size[]={8,11}; 
                    color[]={[1,1,1,-20],[1,1,1,-10],[1,1,1,-5],[1,1,1,-2],[1,1,1,-0.5]}; 
                    animationSpeed[]={0.25}; 
                    positionVar[]={4,2,4}; 
                    MoveVelocityVar[]={7,15,7}; 
                    colorVar[]={0,0,0,0.3}; 
                    interval=0.015; 
                    circleRadius=0; 
                    particleShape="\ca\Ca_E\data\ParticleEffects\Universal\Universal"; 
                    particleFSNtieth=16; 
                    particleFSIndex=2; 
                    particleFSFrameCount=80; 
                    particleFSLoop=0; 
                    angleVar=1; 
                    animationName=""; 
                    particleType="Billboard"; 
                    timerPeriod=1; 
                    lifeTime=4; 
                    rotationVelocity=0; 
                    weight=0.054; 
                    volume=0.04; 
                    rubbing=0.1; 
                    randomDirectionPeriod=0.2; 
                    randomDirectionIntensity=0.1; 
                    onTimerScript=""; 
                    beforeDestroyScript=""; 
                    lifeTimeVar=0; 
                    rotationVelocityVar=25; 
                    sizeVar=0.4; 
                    randomDirectionPeriodVar=0.2; 
                    randomDirectionIntensityVar=0.05; 
                    };

    can anyone explain why i am getting this error?
    Dco 1-502INF 101st Airborne (RET)

    http://pracs.rkslstudios.info/

  2. #2
    color[]={{1,1,1,-20},{1,1,1,-10},{1,1,1,-5},{1,1,1,-2},{1,1,1,-0.5}};

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •