Category:Configuration

From FOnline: 2238 Wiki
(Difference between revisions)
Jump to: navigation, search
m (Details)
m
Line 4: Line 4:
 
Articles in this category describe [[#mw-pages|each section]] of config file.
 
Articles in this category describe [[#mw-pages|each section]] of config file.
  
Remember, FOnline2238.cfg is '''NOT''' replacement of FOnline.cfg.
+
Remember, FOnline2238.cfg is <u>'''NOT'''</u> replacement of FOnline.cfg.
  
 
== Details ==
 
== Details ==
 +
 +
FOnline2238.cfg uses very simple [http://en.wikipedia.org/wiki/INI_file INI]-like format to configure various settings and features.
 +
 +
Basic config 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 ===
 
=== Settings types ===

Revision as of 19:34, 25 November 2010

Contents

Intro

FOnline2238.cfg is a config file for various 2238-specific features, which don't exists in vanilla version (like data files loading, on-screen timeouts etc). This file is not created by installer/FOConfig and is not required to run the game. If file can't be found in FOnline directory, default values are used.

Articles in this category describe each section of config file.

Remember, FOnline2238.cfg is NOT replacement of FOnline.cfg.

Details

FOnline2238.cfg uses very simple INI-like format to configure various settings and features.

Basic config 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

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

CampOnWorldmap=0
NeverUseAlts=true

string

Accepts any text You specify.

BadBoy=Metzger
GoodBoy=Harold and his tree

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

color

Accepts values in RGB format.

Green=0 255 0
Red=255 0 0

Pages in category "Configuration"

The following 4 pages are in this category, out of 4 total.

Personal tools
Contribute