Jump to content
Sign in to follow this  
Evil_Echo

Request for cloudlet details.

Recommended Posts

Is there any way I could get some documentation on cloudlets? Already checked the BI wiki, forums here and elsewhere with no luck. Just looking at examples in the ArmA2 .pbo files does not explain how they work very well either.

Specifics

1. How tables work in them.

2. What the variable names are and what values they can take.

3. How expressions can be used to dynamically control which aspects.

4. What particle effects are available.

5. Clarification on lifetime and interval.

A full-fledged write-up on the BI wiki would be superb, but right now I'll take whatever I can get.

Share this post


Link to post
Share on other sites

Different effect types can have different input variables:

BULLET (Ammo Impact effects):
intensity,interval,fireIntensity,fireInterval,lifeTime,
surfNormalX,surfNormalY,surfNormalZ,
inSpeed,inDirX,inDirY,inDirZ,outSpeed,outDirX,outDirY,outDirZ

EXHAUST (vehicle exhaust):
intensity,damage,positionX,positionY,positionZ,speedX,speedY,speedZ

DUST (vehicle dust):
density,dustColor,positionX,positionY,positionZ,speedX,speedY,speedZ

WATER (vehicle water effects):
density,size,positionX,positionY,positionZ,speedX,speedY,speedZ

DAMAGE (airplane and helicopter damage effects):
damage,speed,positionX,positionY,positionZ

EFFECT (airplane and helicopter rotor washdown):
speed,density,positionX,positionY,positionZ

FIRE (fires buring in fireplaces):
burning

SMOKESHELL (smoke shell ammo):
colorR,colorG,colorB,colorA

Outputs depend of effect type you create. You may create light, sound or particle effects. Outputs for them are:

Particles:
 scalar interval
 scalar circleRadius
 vector circleVelocity

 scalar timerPeriod
 scalar lifeTime
 vector position
 vector moveVelocity
 scalar rotationVelocity
 scalar weight
 scalar volume
 scalar rubbing
 scalar angle
 scalar sizeCoef
 color colorCoef
 scalar animationSpeedCoef
 scalar randomDirectionPeriod
 scalar randomDirectionIntensity

 scalar lifeTimeVar
 vector positionVar
 vector moveVelocityVar
 scalar rotationVelocityVar
 color colorVar
 scalar randomDirectionPeriodVar
 scalar randomDirectionIntensityVar

Lights:

 vector position;
 color diffuse;
 color ambient;
 scalar brightness;

Inputs are mapped to outputs using http://community.bistudio.com/wiki/Simple_Expression

Edited by Suma

Share this post


Link to post
Share on other sites

That helps! Thank you. Keep those details flowing.

Especial about Tables. The meaning of the time variables uses is quite opague. What are the units used for those and how do those values alter the effects?

Edited by Evil_Echo

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×