Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

RGSS: Knowing how and where to look

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
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top