local function glow(i, colr, colg, colb)
return 1,0x0000008,255,122,153,181,255,122,153,181
end
tpt.graphics_func(glow,DISE)
Is the glow function;
i, red,green,blue,firea,red,green,blue
Now I make i and firea ALWAYS 255
Now the rest are just RGB color codes and you can simply look them up on google.
for a better example;
local function glow(i, colr, colg, colb)
return 1,0x0000008,i,red,green,blue,firea,red,green,blue
end
tpt.graphics_func(glow,DISE)
Now the 0x0000008 is the main part of the glow.
right now its just a "weak glow"
for a better glow like etc, lava or thdr. you would want to make it 0x00010000
and for a huge glow it would be 0x00020000.
Hope this helped.
Yeah, I tried that. Keeps giving me an error. The code I made was:
elements.allocate('AU3FGEN', 'FLLT')
elements.element(elements.AU3FGEN_PT_FLLT, elements.element(elements.DEFAULT_PT_BCOL))
elements.property(elements.AU3FGEN_PT_FLLT, 'Name', 'FLLT')
elements.property(elements.AU3FGEN_PT_FLLT, 'Description', 'Fallout.')
elements.property(elements.AU3FGEN_PT_FLLT, 'Color', '0x96996E')
elements.property(elements.AU3FGEN_PT_FLLT, 'MenuSection', '10')
elements.property(elements.AU3FGEN_PT_FLLT, 'Gravity', '0.1')
elements.property(elements.AU3FGEN_PT_FLLT, 'Flammable', '1')
elements.property(elements.AU3FGEN_PT_FLLT, 'Explosive', '0')
elements.property(elements.AU3FGEN_PT_FLLT, 'Loss', '0.5')
elements.property(elements.AU3FGEN_PT_FLLT, 'AirLoss', '1')
elements.property(elements.AU3FGEN_PT_FLLT, 'AirDrag', '0.005')
elements.property(elements.AU3FGEN_PT_FLLT, 'Advection', '0.75')
elements.property(elements.AU3FGEN_PT_FLLT, 'Weight', '25')
elements.property(elements.AU3FGEN_PT_FLLT, 'Diffusion', '0')
local function glow(i, colr, colg, colb)
return 1, 0x00000008, 255, 150, 153, 110, 255, 150, 153, 110
end
tpt.graphics_func(glow, FLLT)
EDIT: I used FeynmanLogomaker's LET to make it, that's the AU3FGEN (AU3 Feynman Generator)
EDIT EDIT: The error is "Lua Elements/fllt.lua:19: Invalid Element"
I might do that. Thanks for the good idea. :P