equal
deleted
inserted
replaced
6 |
6 |
7 This documents the structure and content of the configuration (.ini) files found in the desktop version of Hedgewars. |
7 This documents the structure and content of the configuration (.ini) files found in the desktop version of Hedgewars. |
8 |
8 |
9 <wiki:toc max_depth="2" /> |
9 <wiki:toc max_depth="2" /> |
10 |
10 |
11 == `hedgewars.ini` == |
11 == `settings.ini` == |
12 |
12 |
13 === {{{[video]}}} === |
13 === {{{[video]}}} === |
14 _Graphics rendering settings, back-end (engine)_ |
14 _Graphics rendering settings, back-end (engine)_ |
15 |
15 |
16 || *Setting* || *Type* || *Description* || |
16 || *Setting* || *Type* || *Description* || |
63 _Frames per second settings_ |
63 _Frames per second settings_ |
64 |
64 |
65 || *Setting* || *Type* || *Description* || |
65 || *Setting* || *Type* || *Description* || |
66 || show=false || Boolean || If the number of frames rendered per second should be shown in-game || |
66 || show=false || Boolean || If the number of frames rendered per second should be shown in-game || |
67 || limit=27 || Integer || Maximum number of frames rendered per second, calculated as _1000 / (35 - limit)_ || |
67 || limit=27 || Integer || Maximum number of frames rendered per second, calculated as _1000 / (35 - limit)_ || |
68 |
|
69 == `weapons.ini` == |
|
70 |
|
71 === {{{[General]}}} === |
|
72 _List of weapon settings as key-value pairs, each with a string name and integer value_ |
|
73 |
|
74 || *Setting* || *Type* || *Description* || |
|
75 || Default=93919...11101 || Integer || Which weapons are allowed in the default mode || |
|
76 |
|
77 == `settings.ini` == |
|
78 Various Hedgewars settings. |
|
79 |
68 |
80 === {{{Binds}}} === |
69 === {{{Binds}}} === |
81 This section defines the global key bindings. They can be overwritten by teams. |
70 This section defines the global key bindings. They can be overwritten by teams. |
82 |
71 |
83 Each key binding is written in the form `action=keycode`, e.g. “`ammomenu=b`” for opening the ammo menu with the B key. |
72 Each key binding is written in the form `action=keycode`, e.g. “`ammomenu=b`” for opening the ammo menu with the B key. |
211 || *Code* || Description || |
200 || *Code* || Description || |
212 || `j0h0u` || First controller, first D-pad up || |
201 || `j0h0u` || First controller, first D-pad up || |
213 || `j0h1l` || First controller, second D-pad left || |
202 || `j0h1l` || First controller, second D-pad left || |
214 || `j1h1r` || Second controller, second D-pad right || |
203 || `j1h1r` || Second controller, second D-pad right || |
215 |
204 |
216 |
205 == `weapons.ini` == |
217 === Other sections === |
206 |
218 |
207 === {{{[General]}}} === |
219 _To be written …_ |
208 _List of weapon settings as key-value pairs, each with a string name and integer value_ |
220 |
209 |
|
210 || *Setting* || *Type* || *Description* || |
|
211 || Default=93919...11101 || Integer || Which weapons are allowed in the default mode || |
221 |
212 |
222 == `schemes.ini` == |
213 == `schemes.ini` == |
223 |
214 |
224 === {{{[schemes]}}} === |
215 === {{{[schemes]}}} === |
225 _List of custom scheme settings as key-value pairs, each with a key of "index number of scheme backslash setting name"_ |
216 _List of custom scheme settings as key-value pairs, each with a key of "index number of scheme backslash setting name"_ |