SOME HELP PLEASE?

  • RadioActiveLua
    5th Dec 2013 Member 0 Permalink

    local STAR = elements.allocate("ELEMENT", "STAR")
    elements.element(elements.ELEMENT_PT_STAR, elements.element(elements.DEFAULT_PT_DMND))
    elements.property(elements.ELEMENT_PT_STAR, "Name", "STAR")
    elements.property(elements.ELEMENT_PT_STAR, "Description", "STAR. Enough Pressure Makes It Explode Into LAVA.")
    elements.property(elements.ELEMENT_PT_STAR, "Colour", 0xFFFFFF)
    elements.property(elements.ELEMENT_PT_STAR, "MenuSection", 9)
    elements.property(elements.ELEMENT_PT_STAR, "HotAir", -0.009)
    elements.property(elements.ELEMENT_PT_STAR, "Weight", 333)
    elements.property(elements.ELEMENT_PT_STAR, "Temperature", 4556)
    elements.property(elements.ELEMENT_PT_STAR, "HighPressure", 200)
    elements.property(elements.ELEMENT_PT_STAR, "HighPressureTransition", elements.DEFAULT_PT_LAVA)

    -------------------------------------------------------------
    local function graphics1(i, colr, colg, colb)
    return 1,0x00000008,255,100,155,210,255,255,255,255
    end
    tpt.graphics_func(graphics1,STAR)

    -------------------------------------------------------------

     

    How would I make the glow brighter!

  • boxmein
    5th Dec 2013 Former Staff 0 Permalink
    http://boxmein.x10.mx/tptelements/lua/lua-reference.html#renderer You can check out some of the PMODE_ flags, PMODE_ADD would be useful...
  • RadioActiveLua
    5th Dec 2013 Member 0 Permalink

    Thanks box, I got it now :D