Updated API

Discussion in 'Lua Discussions' started by Chris, Nov 11, 2019.

Thread Status:
Not open for further replies.
  1. Tristano Sforza

    Tristano Sforza Avatar

    Messages:
    158
    Likes Received:
    330
    Trophy Points:
    18
    Location:
    Mediolanum, Hidden Vale
    Just type in game /datafolder
     
    icuszda and majoria70 like this.
  2. Waldo Ptolomy

    Waldo Ptolomy Avatar

    Messages:
    124
    Likes Received:
    144
    Trophy Points:
    18
    Gender:
    Male
    Location:
    Everwtt WA
    The Lua Folder is a standard location based on your computer user name C:\Users\<computer user name>\AppData\Roaming\Portalarium\Shroud of the Avatar\Lua

    enjoy
    Waldo Ptolomy
     
    majoria70 likes this.
  3. icuszda

    icuszda Avatar

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Location:
    Fort Hood, Texas
    thanks, I got it -- thx tristano
     
  4. Barugon

    Barugon Avatar

    Messages:
    15,702
    Likes Received:
    24,316
    Trophy Points:
    153
    Gender:
    Male
  5. Katu

    Katu Avatar

    Messages:
    454
    Likes Received:
    777
    Trophy Points:
    55
    Gender:
    Male
    Location:
    Finland
    It seems to be uptodate. You can print all the data out of Lua, to see what globals and functions are available.
     
  6. Katu

    Katu Avatar

    Messages:
    454
    Likes Received:
    777
    Trophy Points:
    55
    Gender:
    Male
    Location:
    Finland
    @Chris
    I am currently writing ground up UI code, similar API to winforms.

    UI needs multiple different shades of colors, currently I have to create single color texture on separate software, save it and load it to Lua, via LoadTexture. This is fine for few different shades, but real UI needs to have quite a range of colors, to not look bland.
    Possible solution: Expose Texture2D setPixels functionality to Lua. It could be just a new function, "ShroudCreateTextureFromRGB" It could take either 3 params or #hex value. Transparency would be great, but not super necessary.

    Exposing TextField, TextArea and would be very nice. I can create custom Inputbox, but using existing would of course, be better.

    That brings me to a bigger question, roadmap of Lua.
    1: What are the big pictures of Lua integration ( Epic level tasks/ideas)?
    2: What are the smaller pictures as of now?
    3: and what made you patch in access to TextField today, so quickly :)
     
    Last edited: Jul 31, 2020
    Lord-Galiwyn likes this.
Thread Status:
Not open for further replies.