Page 1 of 1

Changing Muzzle Flash Colour [Solved]

Posted: Tue Jul 05, 2011 12:20 am
by nmycon
I am trying to make an Imperial hero fire a green laser from his blaster

I've adjusted the colour within the weapon's ordinance ODF, so now the laser appears green when moving through the air, but the muzzle flash is still red (very noticeable in first person)

I've looked through the common blaster and ordinance ODF files and see nothing there that would affect the colour of muzzle flash

I'm just getting back into modding after about 2 years, this seems like something I could have fixed back then, but I'm at a loss for the time being :?

Re: Changing Muzzle Flash Colour

Posted: Tue Jul 05, 2011 5:35 am
by DarthD.U.C.K.
you can find the muzzleflash properties in the common weapon odfs:

Code: Select all

MuzzleFlash         = "small_muzzle_flash"
FlashColor          = "100 255 100 255"
FlashLength             = 0.025
FlashLightColor         = "192 255 192 175"
FlashLightRadius        = "2.0"
FlashLightDuration      = "0.25"
Discharge           = "small_smoke_effect"

Re: Changing Muzzle Flash Colour

Posted: Wed Jul 06, 2011 7:47 pm
by nmycon
Thank's a lot for pointing me in the right direction :)

However, I've since realized that all weapons have a red muzzle flash regardless of the colour of the laser they shoot. Since I'm going to be having stock units as well as custom ones, I've decided to keep all muzzle flash red just to keep things consistent

I will definatey remember this for the future though :D