Announcement

Collapse
No announcement yet.

Completely new to scripting but super interested to learn, where do I start?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Completely new to scripting but super interested to learn, where do I start?

    I've done this once before like 10 years ago where I started out on MTA, but this time I really want to learn what I am doing and thought Onset is a great sandbox game to do exactly this!

    which brings me to my final question.
    Where do I start?
    is there a website that I can learn basics?
    are there any tutorials for newbies out there?
    a step by step guide?

    What/where is the best way/place to learn exactly this?
    anything you guys recommend?

    #2
    To Set up a Server there is a great Guide at the Dev Wiki. It also explains how to start with packages (Called Resources back in MTA).
    I'm from MTA too, and I have to say that if you are able to script in lua and know the basics ( lua is very easy ) you can start right off with creating resources.
    Basicly what you need to know for the beginning is LUA, JavaScript if you want to create GUIs with HTML, and json ( for the package.json ).
    A tip for the start: pick a default resource and read the code and try to understand what is written/scripted there, then start with scripting own things, like a Car spawner or Commands with Chat outpu, so that you get closer to the scripting language.
    I don't know how good you are so these are the tips I got at the beginning of my MTA career, maybe it could help you too.

    ~Jannik/Skydox

    Comment


      #3
      awesome, thanks for the reply!
      when I started out on MTA I just found lots of scripts and tried to change them after my likings but didn't go so well, you could say that I am actually totally blank about scripting and are starting from scratch.

      but I will absolutely follow you're advise checking out the guides
      and look at some other scripts as well to learn and understand better!

      Comment


        #4
        I would start by watching some developer streams for onset. There's a few that stream on the daily on twitch.

        Comment


          #5
          GlitchITSystem on youtube was really good at giving information about basics within java scripting, he made it super easy to follow and super easy to understand!
          for now, I am just going to watch trough his series of beginners tutorials and maybe I can have some more understanding looking at different scripts after this.

          But also thanks for the advice about twitch, I really didn't think that twitch had streamers like this for some reason.

          Comment


            #6
            Why not learn the Onset environment directly ? Java is great but not for Onset, you should learn either Web or Lua first.

            Comment


              #7
              See this is why I made this thread like I said I have no clue!
              Thought java was just the language and Lua was something you created with java
              guess am going to spend some hours finding a new tutorial and some old scripts i can read and learn to understand it then like Skydox mentioned

              Comment


                #8
                You can check out the scripting tutorials section to see some tutorials, follow along open mail boxes videos to learn your way around.
                Then after that, try to reuse some of the stuff you learned to build something of your own.

                Comment


                  #9
                  Yeah already on it bud, even bought my self an online course to learn it.
                  but thank you so much for the reply!

                  Comment


                    #10
                    I recommend to check out a comprehensive course about the basic principles of programming produced by my university: https://www.mooc.fi/en/#courses

                    The current course material is quite outdated (from 2013), but they will release a brand new version in this quarter of the year. I suggest keeping your tabs on the course page and start the course when the new material comes out. Note that even though the programming language used in the course is Java, the focus of the course is to teach you the basic principles of computer programming and Java is just the language that happens to be used on the course, so it's not that relevant.

                    Comment

                    Working...
                    X