How do you, personally, organize your variable/switch lists?

Once the variable and switch lists are set and each variable and switch is named, with headers, they're kinda stuck, so how do you guys like to organize them? Are there important variables/switches I need to consider while making my first game?

This is what I mean:

Spoiler: List of Variables Example
1683536345632.png
Spoiler: List of Common Events Example
1683536552970.png
1) block out switch 1 and variable 1 to never use.
There are too many plugins and scripts who default to use ID 1 as basic configuration, if you forget to redirect one it is better the switch and variable are never used.

2) reserve the first few switches and variables for "temporary use n"
Basically to remember to never store anything permanent in it, but to have variables easily available that can be used for calculations inside an event and to be discarded at end of event.

3) try to plan ahead what groups of variables and switches you'll need for story progression, game mechanics and so on
And when you know how many you're supposed to need, double that number because you'll always need more for each functions the longer the development needs.
And nothing is more time-consuming as to switch around multiple blocks of variables when working on a single mechanic
Same as Andars already mentioned.

Additionally, I have one Switch that's called "ALWAYS ON" for some parallel processes. It's up to you if you would benefit from it; it's not a 100% recommendation from my side.

Furthermore, I have a Word doc on my second screen to display relevant Switches and Variables.
Same as Andars already mentioned.

Additionally, I have one Switch that's called "ALWAYS ON" for some parallel processes. It's up to you if you would benefit from it; it's not a 100% recommendation from my side.

Furthermore, I have a Word doc on my second screen to display relevant Switches and Variables.
Thanks, mate. That is an excellent idea for a switch. What do you usually do with that switch?
variables 1-5 are most common use and I create them when I need them,
leaving 2-4 spaces in between just in case.

switches when I need them, if you use selfSwitches/selfVariables,
they mostly use 1-20 for selfswitches, 1-20 for selfvariables.

other use 1-20 for common use (which can be turned OFF easely, then
uses 21-40 for selfswitches.

but I just make them when I need them, so I can see what where is, mostly
I call them by MapID like M2name or M5name so I know M2 is used on Map2.

but everyone uses a different setup or organize it how they want too, depending
how organize you are and know where and when its used ^^
I do not organize them T_T except first 1-10 variables which I always reserve for plugin needs. Shame that there is no some arrange tool for variables/switches and items.
This is all I could think of

1683547846236.png
This is all I could think of

View attachment 261312
Lololol
This is all I could think of

View attachment 261312
This made my day :LZSlol:
I don't. My project uses about a dozen variables, most of which are recycled in various events. I have even fewer switches.

I track as much as possible in the self-switches of map events and I use the status of storyline quests to track where the player is in that regard.
My variables and switches are "organized" by the order in which I got around to adding the feature, except when I delete one and that frees up the spot for the next added feature.
Most people divide the switch/variable/CE lists into sections and then add any new content in the section that was assigned to it, so for example you can have all the variables that are related to the same feature, level, quest etc. grouped together on the list.

I struggled with this a lot in the beginning and wasted time reorganizing the lists, but the more you plan out your game, the better idea you'll have of how much space you really need.

A couple rules I personally follow to help myself organize:

1. Variables should not be used for data that can be directly accessed via script calls (coordinates, direction, terrain tag, region id, map id, item id... etc)

2. If a lot of switches are needed to handle the same feature/level/quest, it's better to use a single variable instead, converting the possible combinations of ON/OFF to different variable values.

3. Instead of using multiple variables, you can declare a single variable as an array and store multiple values in it.

4. Common events that are parallel process can be merged, unless they have "wait" commands in different places or with different amount of frames.
In my first game that is just about to cross the finish line the switches and variables are a total chaotic mess.
I started doing just a little game and thought ”I remember what these do”. Three years later it’s just cryptic list on words and numbers.

Lesson learned for next game. Good planning saves a lot of time.
Spoiler: Like This
SWITCH & VARIABLE

001 Var1A
002 Var1B
003 Var1C
004
005 Var2A
006 Var2B
007 Var2C
008
009 Var3A
010 Var3B
011 and so on...

sometime, i make the borders between those number for tidiness reasons

not only Switches & Variables, Databases also neatly Categorized (where's Healing Spell, Destruction Spell, etc) to not getting confused

Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-personally-organize-your-variable-switch-lists.157334/