mindstorm 8 Posted May 14, 2013 So the ifrit has this smokescreen: How could I add magazines to it? And is there a way to "trigger" this smokescreen by means of a script? (For example cinematic cutsceen). Searched all around, even looked inside the vehicle classes but couldn't find anything usefull. Share this post Link to post Share on other sites
DarkDruid 96 Posted May 16, 2013 1) Use this for more magazines (reload time is 1 min.): _vehicle addMagazine "SmokeLauncherMag" 2) You can create particle emitter with same parameters. In variable _object must be stored some object (emitter will be attached to it), or you can use (with small changes in the script) position instead. For more info about particles see http://community.bistudio.com/wiki/ParticleArray. [_object] spawn { _sh=_this select 0; sleep 0.7; _source2 = "#particlesource" createVehicleLocal getpos _sh; _source2 setParticleParams [["\A3\data_f\ParticleEffects\Universal\Universal", 16, 7, 48, 1], "", "Billboard", 1, 10, [0, 0, 0], [0, 0, 0.5], 0, 1.277, 1, 0.025, [0.5, 8, 12, 15], [[1, 1, 1, 0.7],[1, 1, 1, 0.5], [1, 1, 1, 0.25], [1, 1, 1, 0]], [0.2], 1, 0.04, "", "", _sh]; _source2 setParticleRandom [2, [0.3, 0.3, 0.3], [1.5, 1.5, 1], 20, 0.2, [0, 0, 0, 0.1], 0, 0, 360]; _source2 setDropInterval 0.2; _source3 = "#particlesource" createVehicleLocal getpos _sh; _source3 setParticleParams [["\A3\data_f\ParticleEffects\Universal\Universal", 16, 12, 7, 0], "", "Billboard", 1, 5, [0, 0, 0], [0, 0, 0.5], 0, 1.277, 1, 0.025, [0.5, 8, 12, 15], [[1, 1, 1, 1],[1, 1, 1, 1], [1, 1, 1, 0.5], [1, 1, 1, 0]], [0.2], 1, 0.04, "", "", _sh]; _source3 setParticleRandom [2, [0.3, 0.3, 0.3], [1.5, 1.5, 1], 20, 0.2, [0, 0, 0, 0.1], 0, 0, 360]; _source3 setDropInterval 0.15; sleep (55+random 3); deletevehicle _source2; deletevehicle _source3; }; Share this post Link to post Share on other sites