Category:Configuration
m (created) |
m (→Settings types: visibility) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | == Intro == | |
+ | "FOnline2238.cfg" is a configuration file for various FOnline 2238 specific features that don't exist in vanilla Fallout 2 such as [[DataFiles|data files]] loading, on-screen [[timeouts]] and more. This file is not created by the installer or FOConfig and is not required to run the game. If the file cannot be found in the FOnline directory, default values are used. | ||
− | Articles in this category describe each section | + | Articles in this category describe [[#mw-pages|each section]] of configuration file. |
+ | |||
+ | Remember, FOnline2238.cfg is <u>'''NOT'''</u> a replacement of "FOnline.cfg." | ||
+ | |||
+ | == Details == | ||
+ | |||
+ | FOnline2238.cfg uses very simple [http://en.wikipedia.org/wiki/INI_file INI]-like format to configure various settings and features. | ||
+ | |||
+ | Basic configuration example | ||
+ | <pre> | ||
+ | [2238] | ||
+ | DisplayNames=true | ||
+ | </pre> | ||
+ | |||
+ | Notes: | ||
+ | * Lines starting with hash ("'''#'''"), semicolon ("''';'''") are ignored (may be used as comments) | ||
+ | * If file starts with [http://en.wikipedia.org/wiki/UTF-8#Byte_order_mark UTF-8 BOM], it's simply stripped from first line | ||
+ | |||
+ | === Settings types === | ||
+ | |||
+ | ==== boolean ==== | ||
+ | Sets value to '''true''' or '''false'''. To set value to '''true''', use one of following: | ||
+ | |||
+ | * true | ||
+ | * yes | ||
+ | * on | ||
+ | * 1 | ||
+ | |||
+ | Everything else sets value to '''false''' | ||
+ | |||
+ | <pre> | ||
+ | CampOnWorldmap=0 | ||
+ | NeverUseAlts=true | ||
+ | </pre> | ||
+ | |||
+ | ==== color ==== | ||
+ | Accepts values in [http://en.wikipedia.org/wiki/RGB_color_model RGB format]. If specified, additional argument is used as alpha value. | ||
+ | |||
+ | <pre> | ||
+ | Green=0 255 0 | ||
+ | Red=255 0 0 | ||
+ | NotSoRed=255 0 0 50 | ||
+ | </pre> | ||
+ | |||
+ | ==== number ==== | ||
+ | Number can be '''signed''' (-1207, 0, 1337, etc.) or '''unsigned''' (0, 1337, etc; if negative value is given, it defaults to 0). | ||
+ | |||
+ | <pre> | ||
+ | LuckyNumber=7 | ||
+ | BluesuitsKilled=5000 | ||
+ | MyBarterSkill=-5 | ||
+ | </pre> | ||
+ | |||
+ | ==== range ==== | ||
+ | Used for setting up to two values at once. If only one number is used, it's assumed that second one should have same value. If two values are used, second cannot be lower than first. | ||
+ | Number(s) can be '''signed''' or '''unsigned''' (see '''''[[Configuration#number|number]]'''''). | ||
+ | |||
+ | <pre> | ||
+ | AlwaysSameThing=22 | ||
+ | JoggingTimeMinutes=15 120 | ||
+ | </pre> | ||
+ | |||
+ | ==== string ==== | ||
+ | Accepts any text You specify. | ||
+ | |||
+ | <pre> | ||
+ | BadBoy=Metzger | ||
+ | GoodBoy=Harold and his tree | ||
+ | </pre> | ||
+ | |||
+ | ==== visibility ==== | ||
+ | Allows to filter some of messages sent to client. Possible values: | ||
+ | * head<br/>Message will be visible over head of character only | ||
+ | * msgbox<br/>Message will be visible in message box only | ||
+ | * both<br/>Message will be visible over head of character and message box. | ||
+ | |||
+ | Everything else will make message ignored. | ||
+ | |||
+ | <pre> | ||
+ | SomethingShort=both | ||
+ | VeryLongMessage=head | ||
+ | </pre> |
Latest revision as of 14:13, 11 December 2012
Contents |
[edit] Intro
"FOnline2238.cfg" is a configuration file for various FOnline 2238 specific features that don't exist in vanilla Fallout 2 such as data files loading, on-screen timeouts and more. This file is not created by the installer or FOConfig and is not required to run the game. If the file cannot be found in the FOnline directory, default values are used.
Articles in this category describe each section of configuration file.
Remember, FOnline2238.cfg is NOT a replacement of "FOnline.cfg."
[edit] Details
FOnline2238.cfg uses very simple INI-like format to configure various settings and features.
Basic configuration example
[2238] DisplayNames=true
Notes:
- Lines starting with hash ("#"), semicolon (";") are ignored (may be used as comments)
- If file starts with UTF-8 BOM, it's simply stripped from first line
[edit] Settings types
[edit] boolean
Sets value to true or false. To set value to true, use one of following:
- true
- yes
- on
- 1
Everything else sets value to false
CampOnWorldmap=0 NeverUseAlts=true
[edit] color
Accepts values in RGB format. If specified, additional argument is used as alpha value.
Green=0 255 0 Red=255 0 0 NotSoRed=255 0 0 50
[edit] number
Number can be signed (-1207, 0, 1337, etc.) or unsigned (0, 1337, etc; if negative value is given, it defaults to 0).
LuckyNumber=7 BluesuitsKilled=5000 MyBarterSkill=-5
[edit] range
Used for setting up to two values at once. If only one number is used, it's assumed that second one should have same value. If two values are used, second cannot be lower than first. Number(s) can be signed or unsigned (see number).
AlwaysSameThing=22 JoggingTimeMinutes=15 120
[edit] string
Accepts any text You specify.
BadBoy=Metzger GoodBoy=Harold and his tree
[edit] visibility
Allows to filter some of messages sent to client. Possible values:
- head
Message will be visible over head of character only - msgbox
Message will be visible in message box only - both
Message will be visible over head of character and message box.
Everything else will make message ignored.
SomethingShort=both VeryLongMessage=head
Pages in category "Configuration"
The following 4 pages are in this category, out of 4 total.