SpellFX to spell effect.
A jeżeli chodzi o zmianę koloru, to szukasz swojego efektu w VisualFXInst.d
np.
INSTANCE spellFX_SLEEPER_Fireball(CFx_Base_Proto)
, następnie sprawdzasz jego visName_S (visual name string )
np.
visname_S = "MFX_Fireball_INIT";
i szukasz w pliku PfxMagic.d ( folder pfx ) tej nazwy.
INSTANCE MFX_FIREBALL_INIT (C_PARTICLEFX)
{
ppsvalue = 80.000000000;
ppsscalekeys_s = "1";
ppsislooping = 1;
ppsissmooth = 1;
shptype_s = "SPHERE";
shpfor_s = "object";
shpoffsetvec_s = "0 7 0";
shpdistribtype_s = "RAND";
shpdim_s = "10";
shpscalekeys_s = "1";
shpscaleislooping = 1;
shpscaleissmooth = 1;
dirmode_s = "TARGET";
dirfor_s = "object";
dirmodetargetfor_s = "OBJECT";
dirmodetargetpos_s = "0 7 0";
dirangleheadvar = 180.000000000;
dirangleelevvar = 180.000000000;
velavg = 0.001000000;
lsppartavg = 300.000000000;
flygravity_s = "0 0 0";
flycolldet_b = 0;
visname_s = "FIREFLARE.TGA";
visorientation_s = "NONE";
vistexanifps = 18.000000000;
vistexaniislooping = 1;
vistexcolorstart_s = "255 255 255";
vistexcolorend_s = "255 0 0";
vissizestart_s = "8 8";
vissizeendscale = 8.000000000;
visalphafunc_s = "ADD";
visalphastart = 255.000000000;
};
Masz dwa pola:
vistexcolorstart_s = "255 255 255";
vistexcolorend_s = "255 0 0";
to są kolory w zapisie RGBA.