PDA

View Full Version : SetMuzzleFlashParams



[PSI]PsySniper
11-26-2007, 10:37 AM
extracted from the UTWeapon class



/**
* Allows a child to setup custom parameters on the muzzle flash
*/

simulated function SetMuzzleFlashParams(ParticleSystemComponent PSC)
{
PSC.SetColorParameter('MuzzleFlashColor', MuzzleFlashColor);
PSC.SetVectorParameter('MFlashScale',Vect(0.5,0.5, 0.5));
}

I have been trying to decrease the scale of the muzzleflash for a weapon,
and i haven't been very successful at it, I try to make my kid to work on it
since a child should be able to set up custom parameters, but he doesn't
type yet :D

Is possible via script to reduce the size of the muzzle flash?