View Single Post
  #87  
Unread 02-28-2005, 10:05 AM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Quote:
Originally Posted by ger
Does EQ2 have global defaults for these settings? Or are they defined by the profile in use? I.e. if I change from extreme performance to extreme quality, does only the r_performance value change in the ini or does every other value change as well?

Ger, basically the answer to your question is yes.

Let me explain.

The 'default' values really have nothing to do with the r_performance pre-defined performance profiles that come with the game.

You have to look at it from another angle.

The 'default' values are for the display options themselves.
This is there native state, the state they are in by default.

Basically from what I can tell is that the Rendering engine lookes for values in each of the variabls.
If the value is empty, it reacts to it like it's in it's default value.
This is specific to each single setting.

For example.
Enable Bloom Effect - r_bloom is 'on' or 'true' by default.
If this data variable is empty, or set to false it will be 'enabled'

Another Example is Heat Shimmer r_heatshimmer this variable is false or empty by defualt.
When the render engine checks this variable if it's empty or false it does NOT render heat shimmer in this case.

So as you see each of these variables has different 'default' states that the engine checks.
These 'default states may be coded to the actual checkboxes or sliders with the UI, or coded someplace else, but
the end results are the same.

So the r_performance variable is basically totally uninportant to your parser and it can be ignored.
Choosing one of the Performance Prfoiles basically does the exact same thing as you wold do if you went and set each of these values manually.
With the exception of the couple of special cases I mentioned in the previous post.

You can use the grey value for the default value.
Going across the matrix from left to right you will see that the grey value does not change until it turns to 'white' which means that it's not listed in the
eq2.recent.ini file.

So the only time your parser should auto fill the variable is if it doesn't exist in the eq2.recent.ini file.
This auto fill value will be the same regardless of which performance profile BUT, it will vary depending on the specific variable.
Take my previous example.
If Enable Bloom Effect. If the r_bloom variable is not found in the eq2.recent.ini file, than it should be set to 'true'

With the other example
Heat Shimmer. If the r_heatshimmer value is not found in the eq2.recent.ini file than this value should be set to 'false'

The way you are looking at is is the perspective of the performance profiels themselves, when you have to look at the variables.
The performance profile settnings will have no affect on your parsers output file if it's coded to the variables.

Hoepfully that makes it a little more clear.

So in answer to your question.
If you changed from Extreme Performance to Extreme Quality
each individual variable WOULD change in the listing in the eq2.recent.ini would change. the r_performance is basically just a 'button' that changes all
the other values. It doesn't really have any bearing on the render engine itself. (At least far as I can tell) That is why there is a r_performance=7 for 'custom' settings.

The exception to the ones that do not change are the ones I mentioned in the previous post. Those like Graphics Resolution need to be coded to the default value also. This value doesn't change across every profile, The only time it gets listed in the eq2.recent.ini file is if the user changes it to a value other than the defualt value.


As long as you code the default value for each variable if the listing is not found everythin should work fine.

Edit:
Also to note, if you are in game, and you change from High Performance to
High Quality with the drop down box.
The changes take effect in game, but they do not go into the eq2.recent.ini file until you click the 'accept' button. At that point they are saved to the eq2.recent.ini file.
Reply With Quote