Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
3

Is there any possible way to change Graphics Quality to an specific number from a script?

Asked by 5 years ago

Hi, thanks for your time for viewing my question! Is there any possible way to change the Graphics Quality to your specific number from a script? So when you click button, it will change Graphics Quality value to 2 or any other number?

I've seen function :GraphicsChangeRequest, but I don't understand how to use it so, please help me! Im pretty big noob at lua, but I'm trying! :)

like:

script.Parent.MouseButton1Click:connect(function()
-- Any help?
end)
0
Doubt it's possible Amiaa16 3227 — 5y
0
I dont think it works because theres nothing I hear of like that Sergiomontani10 236 — 5y

1 answer

Log in to vote
4
Answered by
evaera 8028 Trusted Badge of Merit Snack Break Game Jam Winner Moderation Voter Administrator Community Moderator Super Administrator
5 years ago

GraphicsQualityChangeRequest is an event that's emitted when the user changes their graphics settings with the F10 key (not in the menu though), but it's not a function that you can trigger.

You can read the current graphics level with this:

UserSettings().GameSettings.SavedQualityLevel 

But you can't force a specific graphics level on a user. You can implement a custom level of detail (LOD) system for your game that controls the fidelity of your own models, but as far as controlling rendering, it's up to the user to choose settings that suit themselves.

1
Thank you! I appreciate your time for reading my question! AswormeDorijan111 531 — 5y
Ad

Answer this question