Greetings.
I need a burning man for a cut-scene, so I need a man-sized fire effect.
I've looked at CSL's clean code for a vehicle sized fire. Here's an excerpt:
_vehicle = _this select 0;
_vehiclePosition = getPos _vehicle;
//fire light
_fireLight = "#lightpoint" createVehicleLocal _vehiclePosition;
_fireLight setLightColor [0.7607,0.3843,0.1098];
_fireLight setLightBrightness (0.02 * 4) + (random 0.02) - 0.01;
_fireLight setLightAmbient [0.7607,0.3843,0.1098];
_fireLight LightAttachObject [_vehicle,[0,0,0]];
_PS1 = "#particlesource" createVehicleLocal getpos _vehicle;
_PS1 setParticleCircle [0, [0, 0, 0]];
_PS1 setParticleRandom [0.2, [1, 1, 0], [0.5, 0.5, 0], 1, 0.5, [0, 0, 0, 0], 0, 0];
_PS1 setParticleParams [["\Ca\Data\ParticleEffects\FireAndSmokeAnim\SmokeAnim.p3d", 8, 2, 6], "", "Billboard", 1, 1, [0, 0, 0], [0, 0, 0.5], 1, 1, 0.9, 0.3, [1.5], [[1, 0.7, 0.7, 0.5]], [1], 0, 0, "", "", _vehicle];
_PS1 setDropInterval 0.03;
_PS2 = "#particlesource" createVehicleLocal getpos _vehicle;
_PS2 setParticleCircle [0, [0, 0, 0]];
_PS2 setParticleRandom [0, [0, 0, 0], [0.33, 0.33, 0], 0, 0.25, [0.05, 0.05, 0.05, 0.05], 0, 0];
_PS2 setParticleParams [["\Ca\Data\ParticleEffects\FireAndSmokeAnim\SmokeAnim.p3d", 8, 0, 1], "", "Billboard", 1, 10, [0, 0, 0.5], [0, 0, 2.9], 1, 1.275, 1, 0.066, [4, 5, 10, 10], [[0.3, 0.3, 0.3, 0.33], [0.4, 0.4, 0.4, 0.33], [0.2, 0.2, 0, 0]], [0, 1], 1, 0, "", "", _vehicle];
_PS2 setDropInterval 0.5;
_PS3 = "#particlesource" createVehicleLocal getpos _vehicle;
_PS3 setParticleCircle [0, [0, 0, 0]];
_PS3 setParticleRandom [0, [0, 0, 0], [0.5, 0.5, 0], 0, 0.25, [0.05, 0.05, 0.05, 0.05], 0, 0];
_PS3 setParticleParams [["\Ca\Data\ParticleEffects\FireAndSmokeAnim\SmokeAnim.p3d", 8, 3, 1], "", "Billboard", 1, 15, [0, 0, 0.5], [0, 0, 2.9], 1, 1.275, 1, 0.066, [4, 5, 10, 10], [[0.1, 0.1, 0.1, 0.75], [0.4, 0.4, 0.4, 0.5], [1, 1, 1, 0.2]], [0], 1, 0, "", "", _vehicle];
_PS3 setDropInterval 0.25;
And I've looked at the BIKI for the particle commands. But I don't understand them very well, and am hoping someone who does will save me hours of tweaking parameters.
Again, I want a fire about .5 meter in diameter to attach to a man.
What would be even better would be if someone could tell me how to scale the size of the fire (apply some numeric scale parameter that calculates a different sized fire effect). For OFP, General Barron had a wonderful fire effect script where you pass a simple size parameter and you could scale the fire size to any size (a cigarette, tail rotor fire, car, tank, house, etc). That was a "fire for dummies" script that was super useful.
Thanks in advance.