aliens

Author Topic: Modular Rulesets for Nightly Builds?  (Read 265 times)

Offline RangerXCom

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Modular Rulesets for Nightly Builds?
« on: May 02, 2022, 05:00:25 pm »
Greetings, and thanks in advance for any help provided!

Reading this - www dot ufopaedia dot org/index.php/Rulesets_(OpenXcom)#Modular_Rulesets - it appears to be written for a Milestones build (Xcom1Ruleset.rul), whereas the nightly builds have a bunch of individual RUL files already.

Is it necessary or recommended to edit these files directly, or should I also try to use a Modular Ruleset?  If Modular, how/where would I need to store the RUL files, and how would I ensure they load (is it the CFG file)?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 7361
    • View Profile
Re: Modular Rulesets for Nightly Builds?
« Reply #1 on: May 02, 2022, 05:14:49 pm »
It is generally NOT recommended to edit existing files (unless you are their author), whether they are the xcom1/xcom2 rulesets provided with OpenXcom or any custom mod by any of the modders from the community.

It is recommended to create your own mod that will add, modify or delete whatever you want.

You can download and check any custom mod to see what the mod structure looks like.
The mod will load as soon as you enable it in the GUI, no need to change anything in the CFG file.

Offline RangerXCom

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Modular Rulesets for Nightly Builds?
« Reply #2 on: May 02, 2022, 05:22:49 pm »
It is generally NOT recommended to edit existing files (unless you are their author), whether they are the xcom1/xcom2 rulesets provided with OpenXcom or any custom mod by any of the modders from the community.

It is recommended to create your own mod that will add, modify or delete whatever you want.

You can download and check any custom mod to see what the mod structure looks like.
The mod will load as soon as you enable it in the GUI, no need to change anything in the CFG file.

Understood on not editing the existing RUL files.  So I create my RUL file, then store it...where?  Once I do this it will show up as an option in the GUI?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 7361
    • View Profile
Re: Modular Rulesets for Nightly Builds?
« Reply #3 on: May 02, 2022, 05:25:05 pm »
You put it in a folder called Ruleset within your own mod folder... as I said, download and check any mod, it will be clear immediately.

Once you do it, your mod will appear in the list of all mods... scroll all the way to the bottom to find your mod.

Offline Finnik

  • Colonel
  • ****
  • Posts: 383
  • Finnik#0257
    • View Profile
Re: Modular Rulesets for Nightly Builds?
« Reply #4 on: May 02, 2022, 05:53:22 pm »
Don't forget to edit metadata in your mod root folder, so you could see it in mod list  ;)