Save-Point
What's up, RMers? - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Development Discussion (https://www.save-point.org/forum-17.html)
+--- Thread: What's up, RMers? (/thread-395.html)



RE: What's up, RMers? - Steel Beast 6Beets - 09-15-2024

Oh, my bad. I should have been more specific: I was asking in which .rxdata file in the Data Folder were switches and variables stored since all of them are pretty self-explanatory (Enemies.rxdata, Animations.rxdata, CommonEvents.rxdata, etc).

You see, my computer began to act again and my project was corrupted thanks to an unexpected shutdown. I just copy and pasted the files of the maps that I was working on to a backup and that seemed to work until I noticed that the switches were missing. I opted to just copy all the non-map rxdata files and that fixed the issue.


RE: What's up, RMers? - DerVVulfman - 09-15-2024

Ah, that is the System.rxdata file.  It holds the 'content' of the RPG::System class that holds what you define within the editor.  Insofar as the switches and variables, it is just a list and not the actual values that change in-game.  Value changes are again in the $game_switches, $game_variables array:

Content Hidden

Of course, this is separate than any values someone adds into $game_system with their own custom scripts. Winking


RE: What's up, RMers? - kyonides - 09-15-2024

To be clear here, System.rxdata will ONLY store the "names" of switches and variables, not the values. There you won't find any true, false or Numeric values at all.


RE: What's up, RMers? - Steel Beast 6Beets - 09-15-2024

I see. Thanks for the explanations.

Fortunately, the events I had been working on required only switches and now are doing what they're supposed to do.