Announcement

Collapse
No announcement yet.

vscode - Onset Snippets

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    TOOL vscode - Onset Snippets

    Lua Onset Snippets for Visual Studio Code.

    For the extension to work correctly, you need a file with lua extension.
    I will recommend Lua extension by Keyring

    Click image for larger version  Name:	2c70d925456565720ba001bec5a88d27.gif Views:	0 Size:	698.6 KB ID:	648

    Click image for larger version  Name:	Capture.JPG Views:	0 Size:	45.8 KB ID:	649

    vscode-olua on Marketplace
    Lua on Marketplace

    Update:
    2019/11/18: updated for v1.8.0-alpha
    2019/11/23: updated because wiki updated (v1.8.0-alpha)
    2019/12/11: updated for v1.10.0-alpha and adding MariaDB functions support
    2019/12/14: updated for v1.0.0
    2020/01/20: updated for v1.0.3


    If you like this extension put a I like about it, Thanks
    Last edited by zoukilama; 01-20-2020, 01:32 AM.

    #2
    Thank, very useful

    Comment


      #3
      You're welcome,
      the extension has just been updated for v1.8.0-alpha

      Comment


        #4
        Good stuff.

        Have you really updated the extension because the new additions and removals aren't in yet.

        Remove SetPickupVisibleForPlayers
        SetPickupVisibility, SetText3DVisibility
        SetPlayerRagdoll, SetNPCRagdoll
        HexToRGBAFloat
        SetPlayerVoiceDimension
        GetObjectStaticMeshComponent
        GetNPCSkeletalMeshComponent
        GetPickupStaticMeshComponent
        SetPlayerClothingPreset, SetNPCClothingPreset (works like the old model system in case you don't want to manually set each clothing item)
        SetPlayerOutline
        HexToRGBAFloat
        DrawTexture
        DrawTextureEx
        DrawMaterial

        Most of the stuff is documented on the wiki regarding it, if not I'll try to get it done asap.

        EDIT: Check my PR on GitHub which I'll keep updated as I get more information from Talos.
        Last edited by Logic_; 11-23-2019, 07:00 AM. Reason: Added EDIT.
        Game Developer @ Onset RP // Early Access tester // Wiki Contributor

        Comment


          #5
          Hello, the problem is that the doc was updated between 2019-11-18 and today or either some functions are not referenced on the client and/or server function pages.
          I have seen your request on github, thank you and I will do my best to keep the snippets correctly updated.

          Comment


            #6
            Been using for the past few days now, and it's super helpful to get stuff done without Alt+Tabbing back and forwards from the wiki and VSC
            Keep it up boyo, loving it!

            Comment


              #7
              Nice extension,
              I hope you'll keep it update!

              Comment


                #8
                Hello, Thank you, yes I am currently working on an update to support 1.9.0-alpha, UnrealLua and MariaDBFunctions

                Comment


                  #9
                  Hey there.

                  Love this. One minor addition if you could?

                  Could you kindly remove the space on functions when you hit enter like this:

                  GetVehiclePropertyValue( vehicle, PropertyName )

                  Could you perhaps do it this way:

                  GetVehiclePropertyValue(vehicle, PropertyName)

                  It's a tiny thing but it would save a tiny amount of time !

                  Thanks ever so much.

                  EDIT: I've noticed that some events also do the same thing e.g OnKeyPress
                  Last edited by Grant; 12-12-2019, 02:57 AM.

                  Comment


                  • Wumbaloo
                    Wumbaloo commented
                    Editing a comment
                    +1, I don't like the spaces around variables and it's taking time to remove them.

                    Maybe you can do a setting in your extension zoukilama ?

                  • zoukilama
                    zoukilama commented
                    Editing a comment
                    I'll probably do it, thank you for your suggestion

                  #10
                  No worries, thanks very kindly.

                  Comment


                    #11
                    Game just updated. Will we see an update for this soon? :P
                    Thanks for the release!

                    Comment


                      #12
                      Was on vs code went into the extensions tab and found this been using it for about a day now and it makes life alot easier good job
                      saw this post and had to give some kinda Response XD
                      It's a good day for some scripts

                      Comment


                        #13
                        Nice extension, been using this to help me learn and its amazing <3

                        Comment


                          #14
                          I comming back after long time, new update supporting Onset v1.0.3 is already deployed

                          Comment


                            #15
                            This is the best thing ever. Been using it since it was released. Such a time saver

                            Comment

                            Working...
                            X