Are there any beginner scripts that a newbie should write for RMVXA? I'm just learning and I'm finding it really interesting but it'd help me more if I had ideas of simple beginner scripts to write 🙂
Beginner Scripts?
Learning Ruby and RGSSxyou can start maybe with scripts that produces items and such... my first script was my chest drop randomizer... that is far easier to make than things that need windows and scenes
That sounds like it'd be a good learning script. Thanks! I'll still take more suggestions!
My first script was add a load menu command in main menu. You can try it yourself
One of my first scripts was a map screenshot script, but that was because I really wanted to see one.
Another was region names
Having a goal for the most part makes it easier to learn.
Another was region names
Having a goal for the most part makes it easier to learn.
you can try to think what is the most basic script that you need, then work on that one...
I'll think of something I'm sure. These are great ideas though!
Do you have any programming background at all? Are you just new to Ruby/RGSS3 or are you learning to program for the first time?
For a true "newbie", one who has no programming background whatsoever, RGSS3 is probably not a good place to start. If you just try to read through the classes and reference other scripts, you will probably get an idea of what some of the code does; what you'll likely miss though are the reasons why it does it. In other cases you may find yourself at a complete loss when it comes to understanding how some classes seem to talk to others. For instance, you need to know how to determine the scope of a variable and it doesn't hurt to recognize a delegate when you seen one either.
I think a newbie's best bet would be to search the net for Ruby tutorials that they are comfortable with (articles, walkthroughs, videos, etc.) and learn the basics of how the Ruby language works and how objects are generally constructed and utilized. Once you are comfortable with that, then come look at the RGSS3 scripts and other people's custom scripts and decide how you want to modify the game.
A good next step at this point might be to download several popular custom scripts, try them, see what they do to the game, then try to make your own version based on what you see. Glance through the other script to see what RGSS3 objects they utilize, but don't pay too much attention to the code. Then go look at all of those core objects and see how you can use them. Only use the other script as a cheat-sheet from that point on.
Once you get to that point, and need something to recreate, feel free to use any of these (or my other scripts):
This shop script is probably the shortest and just modifies the way the Game_Interpreter handles the command for shop processing.
The quest script is longer, but there's actually only a little bit that touches RGSS3 objects; most of it is new classes so its an example of adding your own object framework. The journal scene also in the post is an example of a pretty straightforward custom window and scene.
For a true "newbie", one who has no programming background whatsoever, RGSS3 is probably not a good place to start. If you just try to read through the classes and reference other scripts, you will probably get an idea of what some of the code does; what you'll likely miss though are the reasons why it does it. In other cases you may find yourself at a complete loss when it comes to understanding how some classes seem to talk to others. For instance, you need to know how to determine the scope of a variable and it doesn't hurt to recognize a delegate when you seen one either.
I think a newbie's best bet would be to search the net for Ruby tutorials that they are comfortable with (articles, walkthroughs, videos, etc.) and learn the basics of how the Ruby language works and how objects are generally constructed and utilized. Once you are comfortable with that, then come look at the RGSS3 scripts and other people's custom scripts and decide how you want to modify the game.
A good next step at this point might be to download several popular custom scripts, try them, see what they do to the game, then try to make your own version based on what you see. Glance through the other script to see what RGSS3 objects they utilize, but don't pay too much attention to the code. Then go look at all of those core objects and see how you can use them. Only use the other script as a cheat-sheet from that point on.
Once you get to that point, and need something to recreate, feel free to use any of these (or my other scripts):
This shop script is probably the shortest and just modifies the way the Game_Interpreter handles the command for shop processing.
The quest script is longer, but there's actually only a little bit that touches RGSS3 objects; most of it is new classes so its an example of adding your own object framework. The journal scene also in the post is an example of a pretty straightforward custom window and scene.
I started with HTML back in high school. I never got far with it but it kinda just clicked with me and I understood it after reading some tutorials (or skimming them). I'm more thoroughly going through tutorials now and it's clicking with me. I seem to understand Ruby. It's not all that bad. I've been looking at some scripts used in my games and seeing what they look like and seeing if I understand them. I'm actually happy to say I do understand some things, but there are still others I do not yet. But I just started reading up on Ruby yesterday, so it will take time.
Thanks for the links, I'll be sure to take a look!
Thanks for the links, I'll be sure to take a look!
my first script is my party transformation script (not released for public). basically it's script to store current party member. remove all of it and add an actor. in my case if i transform to floating light character i can walk through all terrain but cannot interact. if i transform to a farmer i can see hidden crops and harvest then. and so on... later i can revert back to saved party.
Original thread: https://forums.rpgmakerweb.com/threads/beginner-scripts.18559/