A big part of learning RGSS to begin with lies in learning the program itself and the structure of the RPG Maker scripts. If you know both where and how to look for things it makes editing a lot easier.
Searching
Once you're in the script editor, you can use:
Ctrl + F, to search within the script you have selected
Ctrl + Shift + F, to search every script for a word or phrase
You can't be clever with wildcards, but you can type for example "transfer" if you were looking for the transfer player functionality.
What goes where?
RGSS is split into several sections. Many of these are hidden and inaccessible. A few others are hidden but are shown in full in the help file; the RPG class is one of these.
Other than that, the actual script editor is split into sections.
Game_
These are classes which handle the game data.
All event commands are stored in Game_Interpreter (RGSS3) or Interpreter (RGSS).
Sprite_
These handle graphical displays of images in the game.
Spriteset_
Groupings of sprites for example in a certain scene.
Window_
Message boxes that show information to the player.
Scene_
The scenes of the game, such as the battle scene, map scene, or menu scene. Processing takes place here.
Some examples
Let's say you wanted to edit the position of the gold window in the menu.
- Run Ctrl+Shift+F
- Type "gold"
- Select one that looks close, in this case Window_Gold
- Replace window_width or fitting_height(1) with integers
If you wanted to use an event command in a call script to tweak it a bit, as an example to show a message box, you'd do:
- Open Game_Interpreter or Interpreter
- Ctrl+F, type "show text"
- Look in the code for what you were after
Searching
Once you're in the script editor, you can use:
Ctrl + F, to search within the script you have selected
Ctrl + Shift + F, to search every script for a word or phrase
You can't be clever with wildcards, but you can type for example "transfer" if you were looking for the transfer player functionality.
What goes where?
RGSS is split into several sections. Many of these are hidden and inaccessible. A few others are hidden but are shown in full in the help file; the RPG class is one of these.
Other than that, the actual script editor is split into sections.
Game_
These are classes which handle the game data.
All event commands are stored in Game_Interpreter (RGSS3) or Interpreter (RGSS).
Sprite_
These handle graphical displays of images in the game.
Spriteset_
Groupings of sprites for example in a certain scene.
Window_
Message boxes that show information to the player.
Scene_
The scenes of the game, such as the battle scene, map scene, or menu scene. Processing takes place here.
Some examples
Let's say you wanted to edit the position of the gold window in the menu.
- Run Ctrl+Shift+F
- Type "gold"
- Select one that looks close, in this case Window_Gold
- Replace window_width or fitting_height(1) with integers
If you wanted to use an event command in a call script to tweak it a bit, as an example to show a message box, you'd do:
- Open Game_Interpreter or Interpreter
- Ctrl+F, type "show text"
- Look in the code for what you were after