Where are the "graphics quality" sim groups defined?

Scripting questions, discussions, etc
3 posts Page 1 of 1
Sir_Skurpsalot
Posts: 52
Joined: Tue Jan 28, 2020 6:32 pm
by Sir_Skurpsalot » Mon Apr 27, 2020 5:04 pm
I'm in the process of re-doing the options gui and while I've been able to figure out how 90% of it works but I cannot find where the sim groups that contain the graphics quality preference level array objects that are used in scripts/gui/optionsGui.cs are defined. I am talking about MeshQualityGroup, TextureQualityGroup,LightingQualityGroup,and ShaderQualityGroup. I've searched a ton of the scripts and have yet to find out where these are defined. I don't necessarily want to change them it just bothers me that I can't find them. Anyone know?
Duion
Posts: 1603
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Mon Apr 27, 2020 9:37 pm
core/scripts/client/defaults.cs

https://github.com/GarageGames/Torque3D ... ts.cs#L232

All that it does is change $pref values that are defined in the engines code, you can add anything to those array groups or just remove them all and have the user directly change the $pref values, but that may be too complicated to understand for most people, that is why there are groups with "low", "medium" and "high" etc.
Sir_Skurpsalot
Posts: 52
Joined: Tue Jan 28, 2020 6:32 pm
by Sir_Skurpsalot » Mon Apr 27, 2020 11:30 pm
Ah cool, thanks Duion!
3 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests