So, so far, the game, using MCM and our mod, has registered our Float setting. The setting shows up in the menu aswell, and we can change it as we like. But, our mod does not recieve any changes. As much as we may change the setting, our mod’s float variable does not change. So now we must make this possible.

For this, we use the next event, Event Apply MCM Settings. Double click on it under Interfaces for it to appear:

image.png

This is very simple, we will use the Get Mod Setting node we copied from Mod Example 1, and connect it to this event. With its target BPI MCM API.

Once again Mod ID we’ll put the ID we used before, and setting ID we will put per setting. Then, we will use set variable, and use the pin that fits the variable we used. In our example, we are using a Float Type, so we’ll use the Float Value from Get Mod Setting to set our Float Example 1 variable.

image.png

And that is it. If you have multiple settings, you can put multiple Get Mod Setting with a sequence, or connect with the output Exec pin of Set variable. Something like:

image.png

Again I recommend you check out BP_MCM_ModExample1, since that is fully commented, and you can see how a mod with many settings and types would flow.

The idea of getting the mod setting is that you can now set it, and continue using the variable as you were using it.

Now we can pack our mod, and load it into the game, and it should show up with the setting we set up :)

image.png

Here is a working example on how it is set up in my Free Look mod. There, I basically have two float settings/variables, one for Sensitivity and another for Field of View. I use the Sensitivity variable to set a multiplier on the rotation values of a camera, and the Field of View variable I use to set the field of view setting of a camera. So the moment I get this setting, I set it, and it automatically changes in my mod. Here is how I set up the default settings of this mod:

image.png

This is how I set up the normal settings of this mod and register the Mod ID:

image.png

And how I get the mod settings afterwards:

image.png

To finish this guide, I suggest you check out the last page, Best Practises, for a few more tips on mod settings or things you can do. 6. Best Practises