How do you save console commands

Quick question and hopefully, for you (and me), quick to answer as well:

I have used console commands and variables for determining the quality of the render and to save those settings for the next times I enter “the project/hit play” must they be added to the DefaultEngine.ini in the Game/Config folder of my project so that the settings will be saved?

Because now when I have entered the command lines, and I open the project the next day, the settings are set back to default and I must enter the command lines again to get the same result.

with kind regards,

Cheraine

Yes, you need to save them into the DefaultEngine, or Default Scalability files.
The scalability is useful, as the commads sg.XXXXXX 1/2/3 are the ones that you will see in the scalability configs. You can then set different settings based on the different sg.xxxxx settings used.

[PostProcessQuality@0]
r.MotionBlurQuality=0

[PostProcessQuality@1]
r.MotionBlurQuality=1

So if you did ‘sg.PostProcessQuality 0’, you get no motion blur, but ‘sg.PostProcessQuality 1’ will give you motion blur 1. You can have other settings in each of these so that when you possibly add a graphics options page, you can simply use Low/Medium/High/Epic to relate to sg.xxxxxx 1/2/3/4 to the headers in here (0/1/2/3) and have different settings on or off based on the players graphics settings.

1 Like

Dune, thank you for the quick reply,
I will test this as soon as possible but I guess it will work indeed!
Thanks again and best wishes,
Cheraine

if we set them in the defaultengine ini how do we enter them? do we just enter sg.PostProcessQuality 0 (and nothing else) or dose it need to have all the rest of the code (i.e. r.MotionBlurQuality=0r.BlurGBuffer=0 r.AmbientOcclusionLevels=0 ect ect) after the sg.PostProcessQuality 0, or is sg.PostProcessQuality 0 enough?

1 Like

I have a problem with the command “foliage. LODDistanceScale”, does not apply in “DefaultScalability”. Occurs when you add a command that does not appear for Scalability.

1 Like

RightClick in Content Browser go to Console Variable editor click on Console Varriable Collection then add Console Variable type your command hit enter and save your preset … you can add multiple commands and after saving go to Content Browser where your preset is saved and right-click on your preset and hit execute. If you find this helpful please mark this as solved…

1 Like

Hi, do you know under what kind of section should r.AntiAliasingMethod be put? Where are all these variables stored, for reference?