New to Lua in r72? Try these examples!

Discussion in 'Lua Discussions' started by Drake Aedus, Nov 21, 2019.

Thread Status:
Not open for further replies.
  1. Drake Aedus

    Drake Aedus Avatar

    Messages:
    542
    Likes Received:
    890
    Trophy Points:
    75
    Gender:
    Male
    Note, the only original work of mine is the mudmenu example. It uses Cat's library.

    Other examples are found in earlier posts on this subforum.


    quick and dirty:

    in game type "/datafolder"
    make a new folder in there called "Lua"
    extract this file into that new folder: https://cdn.discordapp.com/attachments/378828726575562754/647153999853912065/Lua.zip
    restart SotA (release day bug doesn't let you reload the scripts unless you already had the folder on launch...)

    You should see:
    upper left - FPS, Scene Name, Player Name, Player Flags, Time in game, Time in scene, Loading time
    lower right - xp
    top - fancy location tracker
    left - my mud-like menu

    if the menu doesn't load, type "\mudmenu show"

    If you already had a Lua folder, just type "/lua reload" in your chat window.

    Have fun, mess with the files, break the game! haha
     
    Last edited: Nov 22, 2019
  2. Cypher Black

    Cypher Black Avatar

    Messages:
    482
    Likes Received:
    1,008
    Trophy Points:
    43
    Location:
    Canada
    I don't like zip files. Can you post the script and we can copy paste?
     
    Cage Storm, Jaesun and Lace like this.
Thread Status:
Not open for further replies.