Results 1 to 9 of 9

Thread: Buttons: Texture instead of text

  1. #1
    Join Date
    Feb 2017
    Posts
    178

    Buttons: Texture instead of text

    Instead of a button having text, can we allow for a button to have an image (and for the image to be changeable in scripting?)

  2. #2
    Join Date
    May 2016
    Posts
    1,072
    A fine suggestion. Maybe we could hook it up with the decal system so we could make buttons with decals instead of text. Then people could have easy access to the image sources too

  3. #3
    Yea this would be really powerful. Ideally, the image would replace the actual default button "image" (though an option to keep it could be good).

    If this is added, some controls over how the mouseover effect would look would also be important. Just making it darker, like it is now, would probably not be clear enough and players wouldn't realize that an image would be a button.

  4. #4
    Join Date
    Feb 2017
    Posts
    178
    Hang on - I just thought of something... can decals be spawned and altered by scripting yet?

  5. #5
    @FoaS
    Sadly, no.

  6. #6
    Join Date
    Feb 2017
    Posts
    178
    Dang...
    All this is by way of me trying to find a better way to do dials other than states with models that have different UVs. Buttons that let you have textures instead of text, and to have those textures changable by way of scripting would be a wonderful solution.

  7. #7
    I wouldn't necessarily want it INSTEAD of text, though it would be good to have as a choice. With or without should be allowed.

  8. #8
    I can imagine a lot of interesting applications for scripted decals, as long as they had at least as much control as buttons do. (I'd be happier if it didn't take index chasing, but that goes for regular buttons too.)

  9. #9
    Moved to Scripting Suggestions

Similar Threads

  1. Replies: 7
    Last Post: 08-08-2016, 06:14 PM
  2. Replies: 1
    Last Post: 05-27-2016, 12:44 PM
  3. Texture URL for decks
    By mughoj in forum General Discussion
    Replies: 1
    Last Post: 09-01-2015, 10:15 PM
  4. Custom Table with default texture
    By PsiComa in forum Suggestions
    Replies: 3
    Last Post: 07-13-2015, 06:36 AM
  5. Texture Atlases for Custom Content
    By cfehunter in forum General Discussion
    Replies: 1
    Last Post: 05-14-2015, 05:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •