Hello everyone Please tell me how to add a custom parameter to the “Game User Settings.ini” file? For example:
…
ResolutionSizeX=1920
ResolutionSizeY=1080
bUseVSync=False
…
Music Volume = 0.75 // Custom param
It’s probably a stupid question, but I’m going to ask it anyway… Can I write/read custom parameters via BP? I will create a CPP class using your method that you wrote above, and then via BP I will call GetGameUserSettings->Apply Settings or SaveSettings (it doesn’t matter). Will my custom parameters be saved/applied?
You may need to extend UGameUserSettings perhaps overriding ApplySettings, and probably cast to your custom extended GameUserSettings (that’s at least what I’d do)