Jump to content

Photo
- - - - -

Particle effects error help


  • Please log in to reply
1 reply to this topic

#1 wld427

wld427

    Warrant Officer

  • Members
  • 2460 posts

Posted 18 February 2012 - 12:17 AM

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

Im getting a funny error though.

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.


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 Sakura_Chan

Sakura_Chan

    Master Sergeant

  • Members
  • 723 posts

Posted 18 February 2012 - 04:24 AM

color[]={{1,1,1,-20},{1,1,1,-10},{1,1,1,-5},{1,1,1,-2},{1,1,1,-0.5}};
Posted Image


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users