<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.vdrift.net/index.php?action=history&amp;feed=atom&amp;title=Options.config</id>
	<title>Options.config - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.vdrift.net/index.php?action=history&amp;feed=atom&amp;title=Options.config"/>
	<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Options.config&amp;action=history"/>
	<updated>2026-06-19T03:05:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Options.config&amp;diff=1249&amp;oldid=prev</id>
		<title>Timo 6: Update categories</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Options.config&amp;diff=1249&amp;oldid=prev"/>
		<updated>2012-09-01T10:32:07Z</updated>

		<summary type="html">&lt;p&gt;Update categories&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:32, 1 September 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l26&quot; &gt;Line 26:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;values&amp;lt;/code&amp;gt; needs a little extra explanation. In this case it is &amp;quot;list&amp;quot; which means that the possible values for the option will be listed along with this option definition. Sometimes &amp;lt;code&amp;gt;values&amp;lt;/code&amp;gt; is given an alternate value which tells the game to get the list of values from some other special place. Since this option needs a list of values, we define the list: &amp;lt;code&amp;gt;num_vals&amp;lt;/code&amp;gt; tells how many possible options there are; and the following &amp;lt;code&amp;gt;opt-##&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;val-##&amp;lt;/code&amp;gt; fields describe the displayed name for the value, and the actual value, respectively. The &amp;lt;code&amp;gt;opt-##&amp;lt;/code&amp;gt; fields are assumed to be strings, but the &amp;lt;code&amp;gt;val-##&amp;lt;/code&amp;gt; fields must be of the same type as the type of the object, as must the &amp;lt;code&amp;gt;default&amp;lt;/code&amp;gt; setting described earlier. Putting the wrong type of values here can cause very unexpected results.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;values&amp;lt;/code&amp;gt; needs a little extra explanation. In this case it is &amp;quot;list&amp;quot; which means that the possible values for the option will be listed along with this option definition. Sometimes &amp;lt;code&amp;gt;values&amp;lt;/code&amp;gt; is given an alternate value which tells the game to get the list of values from some other special place. Since this option needs a list of values, we define the list: &amp;lt;code&amp;gt;num_vals&amp;lt;/code&amp;gt; tells how many possible options there are; and the following &amp;lt;code&amp;gt;opt-##&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;val-##&amp;lt;/code&amp;gt; fields describe the displayed name for the value, and the actual value, respectively. The &amp;lt;code&amp;gt;opt-##&amp;lt;/code&amp;gt; fields are assumed to be strings, but the &amp;lt;code&amp;gt;val-##&amp;lt;/code&amp;gt; fields must be of the same type as the type of the object, as must the &amp;lt;code&amp;gt;default&amp;lt;/code&amp;gt; setting described earlier. Putting the wrong type of values here can cause very unexpected results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Files]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Files]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Expand]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Timo 6</name></author>
	</entry>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Options.config&amp;diff=840&amp;oldid=prev</id>
		<title>Timo 6: 4 revisions: Import from old wiki (on 15 May 2012)</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Options.config&amp;diff=840&amp;oldid=prev"/>
		<updated>2012-08-26T17:25:16Z</updated>

		<summary type="html">&lt;p&gt;4 revisions: Import from old wiki (on 15 May 2012)&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:25, 26 August 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Timo 6</name></author>
	</entry>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Options.config&amp;diff=839&amp;oldid=prev</id>
		<title>Timo 6 at 11:34, 11 December 2010</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Options.config&amp;diff=839&amp;oldid=prev"/>
		<updated>2010-12-11T11:34:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;VDrift has a set of options which can be added to menus, referenced by the game, and used as a template for a player&amp;#039;s settings. These options are defined in &amp;#039;&amp;#039;&amp;#039;data/settings/options.config&amp;#039;&amp;#039;&amp;#039; in the [[Configfile format]] that VDrift uses for many of its other text files. Once defined, these options can be referred to by the menus to do several things, including: pick default values for options, to get names, descriptions, and lists of values for options, check the type of options, and much more.&lt;br /&gt;
&lt;br /&gt;
{{note|The options.config file is &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; the place where the user&amp;#039;s settings are stored. Users should never need to edit this file. User options are set in [[VDrift.config]].}}&lt;br /&gt;
&lt;br /&gt;
The options tell what values are available to the user for a given setting. This may seem confusing. Here&amp;#039;s an example definition of an option in the file:&lt;br /&gt;
 [ option-17 ]&lt;br /&gt;
 cat = display&lt;br /&gt;
 name = view_distance&lt;br /&gt;
 title = View Distance&lt;br /&gt;
 desc = Change the maximum view distance.&lt;br /&gt;
 type = float&lt;br /&gt;
 default = 500.0&lt;br /&gt;
 values = list&lt;br /&gt;
 num_vals = 5&lt;br /&gt;
 opt00 = Very Low (0.25 km)&lt;br /&gt;
 val00 = 250.0&lt;br /&gt;
 opt01 = Low (0.5 km)&lt;br /&gt;
 val01 = 500.0&lt;br /&gt;
 opt02 = Medium (1 km)&lt;br /&gt;
 val02 = 1000.0&lt;br /&gt;
 opt03 = High (2.5 km)&lt;br /&gt;
 val03 = 2500.0&lt;br /&gt;
 opt04 = Very High (10 km)&lt;br /&gt;
 val04 = 10000.0&lt;br /&gt;
The first line has the option ID number. This must be in the format &amp;lt;code&amp;gt;[ option-## ]&amp;lt;/code&amp;gt; and number must be less than num_options. No two widgets should have the same ID. The first field, &amp;lt;code&amp;gt;cat&amp;lt;/code&amp;gt;, is just for categorization. This option is in the display category. Next comes the option&amp;#039;s name, which combined with the category, makes up the name by which the option is referred to in the menu (here, &amp;quot;display.view_distance&amp;quot;). The &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; field tells the human-readable name for this option. &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; tells a little more about the option, this usually goes in the tip for the option in the menu. &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; is very important because it tells the game how to interpret the values given to it for each option. This particular option is a floating point option, which means it has a decimal, so it is &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; float. &amp;lt;code&amp;gt;default&amp;lt;/code&amp;gt; is, as you probably guessed, the default value for the option.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;values&amp;lt;/code&amp;gt; needs a little extra explanation. In this case it is &amp;quot;list&amp;quot; which means that the possible values for the option will be listed along with this option definition. Sometimes &amp;lt;code&amp;gt;values&amp;lt;/code&amp;gt; is given an alternate value which tells the game to get the list of values from some other special place. Since this option needs a list of values, we define the list: &amp;lt;code&amp;gt;num_vals&amp;lt;/code&amp;gt; tells how many possible options there are; and the following &amp;lt;code&amp;gt;opt-##&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;val-##&amp;lt;/code&amp;gt; fields describe the displayed name for the value, and the actual value, respectively. The &amp;lt;code&amp;gt;opt-##&amp;lt;/code&amp;gt; fields are assumed to be strings, but the &amp;lt;code&amp;gt;val-##&amp;lt;/code&amp;gt; fields must be of the same type as the type of the object, as must the &amp;lt;code&amp;gt;default&amp;lt;/code&amp;gt; setting described earlier. Putting the wrong type of values here can cause very unexpected results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Files]]&lt;br /&gt;
[[Category:Expand]]&lt;/div&gt;</summary>
		<author><name>Timo 6</name></author>
	</entry>
</feed>