New Liquid : DISE

  • Millions
    4th Jan 2014 Member 1 Permalink

    @CeeJayBee (View Post)

     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.

  • CeeJayBee
    4th Jan 2014 Member 0 Permalink

    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"

    Edited 2 times by CeeJayBee. Last: 4th Jan 2014
  • Millions
    4th Jan 2014 Member 1 Permalink

    Hm, try adding at the top  local FLLT = elements.allocate('AU3FGEN', 'FLLT'). 

     

    That should work.

     

  • CeeJayBee
    4th Jan 2014 Member 1 Permalink

    Thank you! It works now :D

  • Millions
    4th Jan 2014 Member 1 Permalink

    :D Also you have a nice element. :P

    Edited once by Millions. Last: 4th Jan 2014
  • CeeJayBee
    4th Jan 2014 Member 1 Permalink

    Much cool, very nice.

     

    10/10 would use

  • Millions
    5th Jan 2014 Member 1 Permalink

    Much doge

    very orig

    so 10/10

    such use

    wow

  • CeeJayBee
    6th Jan 2014 Member 0 Permalink

    Got an idea, maybe you could make it so it generates pressure?*

     

    Then, if you put it in a glass case it would crack it :D

     

    *only a small amount per pixel. Maybe set HotAir to like 0.0001

  • Millions
    6th Jan 2014 Member 0 Permalink

    @CeeJayBee (View Post)

     I might do that. Thanks for the good idea. :P

  • the_new_antoine
    7th Jan 2014 Banned 0 Permalink
    This post is hidden because the user is banned