A new console command!

  • Fusionftw
    28th Jul 2017 Member 1 Permalink

    It would be called color and acts like deco. The 4 or three values would be R,G,B, Brightness (optional)

    It would work like this:

    !set color ttan 255,10,35,100

    When using the command it would deco the element you use it on. 

     

    Mabye even add it to the PROP tool?

     

    This would be usefull for quick deco-ing of your saves.

  • jacob1
    28th Jul 2017 Developer 2 Permalink
    You can do this with lua

    tpt.set_property("dcolor", gfx.getHexColor(255, 100, 0, 255), "dust")
  • Fusionftw
    28th Jul 2017 Member 1 Permalink

    oh. But could you make it an offical console command to make it easier for us lua noobs out there?

    Edited once by Fusionftw. Last: 28th Jul 2017
  • QuanTech
    28th Jul 2017 Member 0 Permalink

    @Fusionftw (View Post)

     You can change RGB values in the deco editor! See that lone square in the middle of the deco editor? Click on that, and you'll see a color picker thing pop up. There you'll see some text fields where you can input R,G,B,A values and stuff.

  • Fusionftw
    28th Jul 2017 Member 0 Permalink

    I know how to use that. But wouldn't it be a good idea to make that a console command?

  • tptquantum
    28th Jul 2017 Member 0 Permalink

    There's already one -_-'

    !set dcolor ELEM RRGGBBTT

     

    Colors are in hexadecimal, ELEM means any element except VIRS and other states, TT means transparency