FOnline2238.cfg

From FOnline: 2238 Wiki
(Difference between revisions)
Jump to: navigation, search
m (will be reworked shortly)
m (FogColor)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Outdated}}
+
== Intro ==
  
 
+
"FOnline2238.cfg" is a configuration file for various FOnline 2238 specific features that don't exist in vanilla [[FOnline]] client, such as [[#Fog|fog of war]], on-screen [[#Section:_Timeouts|timeouts]] and more. This file is not created by the installer or [[FOConfig.exe]] and is not required to run the game. If the file cannot be found in the FOnline directory, default values are used.
== 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.exe]] and is not required to run the game. If the file cannot be found in the FOnline directory, default values are used.
+
  
 
Remember, FOnline2238.cfg is <u>'''NOT'''</u> a replacement of "[[FOnline.cfg]]."
 
Remember, FOnline2238.cfg is <u>'''NOT'''</u> a replacement of "[[FOnline.cfg]]."
Line 9: Line 7:
 
'''Note:''' You can easily edit this file with text editor, or use provided tool [[FO2238Config.exe]] instead.
 
'''Note:''' You can easily edit this file with text editor, or use provided tool [[FO2238Config.exe]] instead.
  
== Details ==
+
=== Details ===
  
 
FOnline2238.cfg uses very simple [http://en.wikipedia.org/wiki/INI_file INI]-like format to configure various settings and features.
 
FOnline2238.cfg uses very simple [http://en.wikipedia.org/wiki/INI_file INI]-like format to configure various settings and features.
Line 23: Line 21:
 
* If file starts with [http://en.wikipedia.org/wiki/UTF-8#Byte_order_mark UTF-8 BOM], it's simply stripped from first line
 
* 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 ====
+
== Section: 2238 ==
Sets value to '''true''' or '''false'''. To set value to '''true''', use one of following:
+
  
* true
+
Main section of FOnline2238.cfg, which holds most of configurable options.
* yes
+
* on
+
* 1
+
  
Everything else sets value to '''false'''
+
----
  
<pre>
+
=== Autosave ===
CampOnWorldmap=0
+
NeverUseAlts=true
+
</pre>
+
  
==== string ====
+
If possible, client will try to update config file every time you change setting in game, by using function keys, or a command. They will be used next time you start a game. Can be used in config file only.
Accepts any text You specify.
+
  
<pre>
+
Notes:
BadBoy=Metzger
+
* with autosave enabled, all comments/empty lines will be removed
GoodBoy=Harold and his tree
+
 
</pre>
+
{{ConfigurationVar|type=boolean|default=off}}
 +
 
 +
=== Awareness ===
 +
 
 +
See: [[Commands|awareness]] command
 +
 
 +
{{ConfigurationVar|type=boolean|default=on}}
 +
 
 +
=== CombatMode ===
 +
 
 +
Sets default combat mode for encounters/quest maps. If this variable is present in FOnline2238.cfg, <u>value from FOnline.cfg is ignored</u>.<br/>
 +
See also: [[Commands|combatmode]] command.
 +
 
 +
0: Both
 +
 
 +
1: Real-Time
 +
 
 +
2: Turn-Based
 +
 
 +
{{ConfigurationVar|type=number|info=unsigned|range=0 to 2|default=none}}
 +
 
 +
=== CustomIni ===
 +
 
 +
Allows to load different .ini files into client, what allows easier loading of custom client interfaces. You don't need to replace default/faction.ini anymore, just save file with your modifications and add it to CustomIni list.
 +
 
 +
New ini files are loaded parsed after loading all [[DataFiles|data files]], for making "one file - one interface" possible.
 +
 
 +
Notes:
 +
* if you want to load more than one file, separate it with pipe symbol (|)
 +
 
 +
{{ConfigurationVar|type=string|default=none}}
 +
 
 +
=== DisplayNames ===
 +
 
 +
Turns on/off the display of character names above head. (Hotkey: '''F6''')
 +
 
 +
{{ConfigurationVar|type=boolean|default=off}}
 +
 
 +
=== DisplayTC ===
 +
 
 +
Turns on/off display of [[Town Control]] messages. (Hotkey: '''F11''')
 +
 
 +
{{ConfigurationVar|type=boolean|default=on}}
 +
 
 +
=== DisplayTCZones ===
 +
 
 +
Turns on/off displaying the [[Town Control]] capture zone. (Hotkey: '''F10''')
 +
 
 +
0: don't display any info
 +
 
 +
1: display information text ("inside/outside capture zone") and zone borders
 +
 
 +
2: display information text ("inside/outside capture zone"), more visible zone borders
 +
 
 +
{{ConfigurationVar|type=number|info=unsigned|range=0 to 2|default=0}}
 +
 
 +
=== Fog ===
 +
 
 +
Turns on/off ''fog of war'' displaying.
 +
 
 +
{{ConfigurationVar|type=boolean|default=off}}
 +
 
 +
=== FogColor ===
 +
 
 +
Changes ''fog of war'' color.
 +
 
 +
{{ConfigurationVar|type=color|info=with alpha|default=0 0 0 160}}
 +
 
 +
=== IgnoreLangChange ===
 +
 
 +
Pressing ''left alt and left shift'' or ''left control and left shift'' won't change input language.
 +
 
 +
{{ConfigurationVar|type=boolean|default=off}}
 +
 
 +
=== LogfileName ===
 +
 
 +
Allows to change name of logfile (created after pressing '''F2''' key). If name leads to subdirectories, they will be created automatically.
 +
 
 +
Special strings that can be used in filename:
 +
%DAY%
 +
%MONTH%
 +
%YEAR%
 +
%HOUR%
 +
%MINUTE%
 +
%SECOND%
 +
%EXTENSION%
 +
%CHARNAME%
 +
%CHARLEVEL%
 +
 
 +
{{ConfigurationVar|type=string|default=none}}
 +
 
 +
==== LogfileName example ====
 +
 
 +
''LogfileName=logs\%CHARNAME%\%YEAR%-%MONTH%-%DAY%_%HOUR%-%MINUTE%-%SECOND%.txt''
 +
 
 +
=== MouseScroll ===
 +
 
 +
Turns on/off scrolling of map using mouse. (Hotkey: '''F8''')
 +
 
 +
{{ConfigurationVar|type=boolean|default=on}}
 +
 
 +
=== ScreenshotName ===
 +
 
 +
Allows to change name of screenshot file (created after pressing '''F3''' key). If name leads to subdirectories, they will be created automatically. File extension should end with ".jpg", ".tga", ".png" to create file in one of these formats. Every other extensions sets format to BMP.
 +
 
 +
Special strings that can be used in filename:
 +
%DAY%
 +
%MONTH%
 +
%YEAR%
 +
%HOUR%
 +
%MINUTE%
 +
%SECOND%
 +
%EXTENSION%
 +
%CHARNAME%
 +
%CHARLEVEL%
 +
 
 +
{{ConfigurationVar|type=string|default=none}}
 +
 
 +
==== ScreenshotName example ====
 +
 
 +
''ScreenshotName=screenshots\%CHARNAME%\%YEAR%-%MONTH%-%DAY%_%HOUR%-%MINUTE%-%SECOND%.png''
 +
 
 +
== Section: DataFiles ==
 +
 
 +
Allows to load custom data files (in .[http://www.falloutwiki.com/DAT_files dat] and .[http://en.wikipedia.org/wiki/ZIP_%28file_format%29 zip] formats) into client, for easy adding new interfaces, critter graphic etc. It is recommended to use this section, instead of DataFiles.cfg (which is overwritten on update).
 +
 
 +
Files are loaded in same order as specified in ''DataFiles'' section, (property type: '''[[Configuration#string|string]]''') after all default client files.
 +
 
 +
----
  
==== number ====
+
=== DataFiles example ===
Number can be '''signed''' (-1207, 0, 1337, etc.) or '''unsigned''' (0, 1337, etc; if negative value is given, it defaults to 0).
+
  
 
<pre>
 
<pre>
LuckyNumber=7
+
[DataFiles]
BluesuitsKilled=5000
+
Modification_Name=mymod.dat
MyBarterSkill=-5
+
Something_Better=awesome.zip
 
</pre>
 
</pre>
  
==== color ====
+
'''Note:''' See also [[Game Files]]
Accepts values in [http://en.wikipedia.org/wiki/RGB_color_model RGB format].
+
  
 +
== Section: Messages ==
 +
 +
Contains settings for various messages that show up for a short time around character's head.
 +
 +
----
 +
 +
=== ActionVisible ===
 +
 +
Allows to turn on/off messages displayed when character uses specific items/skills on self or other critters.
 +
 +
{{ConfigurationVar|type=visibility|default=head}}
 +
 +
=== ActionOffsetX ===
 +
 +
Horizontal position of message displayed when character uses specific items/skills on self or other critters. Final value is picked randomly from range specified.
 +
 +
{{ConfigurationVar|type=range|info=signed|default=-15 15}}
 +
 +
=== ActionOffsetY ===
 +
 +
Vertical position of message displayed when character uses specific items/skills on self or other critters. Final value is picked randomly from range specified.
 +
 +
{{ConfigurationVar|type=range|info=signed|default=-20}}
 +
 +
=== ActionColor ===
 +
 +
Color of message displayed when character uses specific items/skills on self or other critters. Final value is picked randomly from range specified.
 +
 +
{{ConfigurationVar|type=color|default=58 137 133}}
 +
 +
=== DamageOffsetX ===
 +
 +
Horizontal position of message with damage done to character. Final value is picked randomly from range specified.
 +
 +
{{ConfigurationVar|type=range|info=signed|default=-15 15}}
 +
 +
=== DamageOffsetY ===
 +
 +
Vertical position of message with damage done to character. Final value is picked randomly from range specified.
 +
 +
{{ConfigurationVar|type=range|info=signed|default=-20}}
 +
 +
=== DamageColor ===
 +
 +
Color of message with damage done to character.
 +
 +
{{ConfigurationVar|type=color|default=200 0 0}}
 +
 +
=== FollowerExperience ===
 +
 +
Displays follower's experience/level changes (above head only).
 +
 +
'''NOTE''': This message is visible only to follower's master.
 +
 +
{{ConfigurationVar|type=boolean|default=false}}
 +
 +
== Section: Timeouts ==
 +
 +
----
 +
 +
==== Timeouts example ====
 
<pre>
 
<pre>
Green=0 255 0
+
[Timeouts]
Red=255 0 0
+
Direction=1
 +
Font=7
 +
PositionX=-218
 +
PositionY=-119
 +
SpacingX=120
 +
SpacingY=20
 +
NameColor=0 200 0
 +
ValueColor=0 160 0
 +
Transparency=55
 +
Worldmap=1
 +
WorldmapX=-240
 +
WorldmapY=-75
 
</pre>
 
</pre>
  
 +
[[File:Timeouts_example.png]]
 +
----
 +
 +
=== Enabled ===
 +
 +
Turns on/off timeouts displaying.
 +
 +
{{ConfigurationVar|type=boolean|default=on}}
 +
 +
=== Direction ===
 +
 +
Where new positions should be added.
 +
 +
0: down
 +
 +
1: up
 +
 +
{{ConfigurationVar|type=number|info=unsigned|range=0 to 1|default=1}}
 +
 +
=== Font ===
 +
 +
{{ConfigurationVar|type=number|info=unsigned|range=4 to 8|default=5}}
 +
 +
=== NameColor ===
 +
 +
Change color of timeouts names  ("''First Aid''", "''Gathering''", etc.) using [http://en.wikipedia.org/wiki/RGB_color_model RGB format].
 +
 +
{{ConfigurationVar|type=color|default=0 255 0}}
 +
 +
=== PositionX ===
 +
 +
Set the start X position for displaying timeouts.
 +
 +
Example for negative values: PositionX=-200 &rArr; PositionX=(ScreenWidth-200)
 +
 +
{{ConfigurationVar|type=number|info=signed|default=-145}}
 +
 +
=== PositionY ===
 +
 +
Set the start Y position for displaying timeouts.
 +
 +
Example for negative values: PositionY=-200 &rArr; PositionY=(ScreenHeight-200)
 +
 +
{{ConfigurationVar|type=number|info=signed|default=-110}}
 +
 +
=== SpacingX ===
 +
 +
Set horizontal distance between start position of timeout name (set by [[#PositionX|PositionX]]) and its value.
 +
 +
{{ConfigurationVar|type=number|info=unsigned|default=72}}
 +
 +
=== SpacingY ===
 +
 +
Set vertical distance between each timeout.
 +
 +
{{ConfigurationVar|type=number|info=unsigned|default=10}}
 +
 +
=== Transparency ===
 +
 +
Set transparency level for cumulative timeouts while below threshold (affects only ''Crafting'' and ''Gathering'')
 +
 +
{{ConfigurationVar|type=number|info=unsigned|range=0 to 100|default=0}}
 +
 +
=== ValueColor ===
 +
 +
Change color of timeouts values ("''7 seconds''", "''42 hours''", etc.) using [http://en.wikipedia.org/wiki/RGB_color_model RGB format].
 +
 +
{{ConfigurationVar|type=color|default=0 255 0}}
 +
 +
=== Worldmap ===
 +
 +
Display timeouts while on world map.
 +
 +
{{ConfigurationVar|type=boolean|default=off}}
 +
 +
=== WorldmapX ===
 +
 +
Timeouts position when on worldmap, see: [[#PositionX|PositionX]]
  
== FOnline2238.cfg sections ==
+
{{ConfigurationVar|type=number|info=signed|default=-145}}
These articles describe each section of this configuration file.
+
*[[2238]]
+
  
*[[Timeouts]]
+
=== WorldmapY ===
  
*[[DataFiles]]
+
Timeouts position when on worldmap, see: [[#PositionY|PositionY]]
  
*[[Bindings]]
+
{{ConfigurationVar|type=number|info=signed|default=-110}}
  
 
[[Category:Configuration]]
 
[[Category:Configuration]]

Latest revision as of 10:46, 23 December 2012

Contents

[edit] Intro

"FOnline2238.cfg" is a configuration file for various FOnline 2238 specific features that don't exist in vanilla FOnline client, such as fog of war, on-screen timeouts and more. This file is not created by the installer or FOConfig.exe and is not required to run the game. If the file cannot be found in the FOnline directory, default values are used.

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

Note: You can easily edit this file with text editor, or use provided tool FO2238Config.exe instead.

[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] Section: 2238

Main section of FOnline2238.cfg, which holds most of configurable options.


[edit] Autosave

If possible, client will try to update config file every time you change setting in game, by using function keys, or a command. They will be used next time you start a game. Can be used in config file only.

Notes:

  • with autosave enabled, all comments/empty lines will be removed

Type: boolean

Default: off

[edit] Awareness

See: awareness command

Type: boolean

Default: on

[edit] CombatMode

Sets default combat mode for encounters/quest maps. If this variable is present in FOnline2238.cfg, value from FOnline.cfg is ignored.
See also: combatmode command.

0: Both

1: Real-Time

2: Turn-Based

Type: number (unsigned)
Range: 0 to 2
Default: none

[edit] CustomIni

Allows to load different .ini files into client, what allows easier loading of custom client interfaces. You don't need to replace default/faction.ini anymore, just save file with your modifications and add it to CustomIni list.

New ini files are loaded parsed after loading all data files, for making "one file - one interface" possible.

Notes:

  • if you want to load more than one file, separate it with pipe symbol (|)

Type: string

Default: none

[edit] DisplayNames

Turns on/off the display of character names above head. (Hotkey: F6)

Type: boolean

Default: off

[edit] DisplayTC

Turns on/off display of Town Control messages. (Hotkey: F11)

Type: boolean

Default: on

[edit] DisplayTCZones

Turns on/off displaying the Town Control capture zone. (Hotkey: F10)

0: don't display any info

1: display information text ("inside/outside capture zone") and zone borders

2: display information text ("inside/outside capture zone"), more visible zone borders

Type: number (unsigned)
Range: 0 to 2
Default: 0

[edit] Fog

Turns on/off fog of war displaying.

Type: boolean

Default: off

[edit] FogColor

Changes fog of war color.

Type: color (with alpha)

Default: 0 0 0 160

[edit] IgnoreLangChange

Pressing left alt and left shift or left control and left shift won't change input language.

Type: boolean

Default: off

[edit] LogfileName

Allows to change name of logfile (created after pressing F2 key). If name leads to subdirectories, they will be created automatically.

Special strings that can be used in filename: %DAY% %MONTH% %YEAR% %HOUR% %MINUTE% %SECOND% %EXTENSION% %CHARNAME% %CHARLEVEL%

Type: string

Default: none

[edit] LogfileName example

LogfileName=logs\%CHARNAME%\%YEAR%-%MONTH%-%DAY%_%HOUR%-%MINUTE%-%SECOND%.txt

[edit] MouseScroll

Turns on/off scrolling of map using mouse. (Hotkey: F8)

Type: boolean

Default: on

[edit] ScreenshotName

Allows to change name of screenshot file (created after pressing F3 key). If name leads to subdirectories, they will be created automatically. File extension should end with ".jpg", ".tga", ".png" to create file in one of these formats. Every other extensions sets format to BMP.

Special strings that can be used in filename: %DAY% %MONTH% %YEAR% %HOUR% %MINUTE% %SECOND% %EXTENSION% %CHARNAME% %CHARLEVEL%

Type: string

Default: none

[edit] ScreenshotName example

ScreenshotName=screenshots\%CHARNAME%\%YEAR%-%MONTH%-%DAY%_%HOUR%-%MINUTE%-%SECOND%.png

[edit] Section: DataFiles

Allows to load custom data files (in .dat and .zip formats) into client, for easy adding new interfaces, critter graphic etc. It is recommended to use this section, instead of DataFiles.cfg (which is overwritten on update).

Files are loaded in same order as specified in DataFiles section, (property type: string) after all default client files.


[edit] DataFiles example

[DataFiles]
Modification_Name=mymod.dat
Something_Better=awesome.zip

Note: See also Game Files

[edit] Section: Messages

Contains settings for various messages that show up for a short time around character's head.


[edit] ActionVisible

Allows to turn on/off messages displayed when character uses specific items/skills on self or other critters.

Type: visibility

Default: head

[edit] ActionOffsetX

Horizontal position of message displayed when character uses specific items/skills on self or other critters. Final value is picked randomly from range specified.

Type: range (signed)

Default: -15 15

[edit] ActionOffsetY

Vertical position of message displayed when character uses specific items/skills on self or other critters. Final value is picked randomly from range specified.

Type: range (signed)

Default: -20

[edit] ActionColor

Color of message displayed when character uses specific items/skills on self or other critters. Final value is picked randomly from range specified.

Type: color

Default: 58 137 133

[edit] DamageOffsetX

Horizontal position of message with damage done to character. Final value is picked randomly from range specified.

Type: range (signed)

Default: -15 15

[edit] DamageOffsetY

Vertical position of message with damage done to character. Final value is picked randomly from range specified.

Type: range (signed)

Default: -20

[edit] DamageColor

Color of message with damage done to character.

Type: color

Default: 200 0 0

[edit] FollowerExperience

Displays follower's experience/level changes (above head only).

NOTE: This message is visible only to follower's master.

Type: boolean

Default: false

[edit] Section: Timeouts


[edit] Timeouts example

[Timeouts]
Direction=1
Font=7
PositionX=-218
PositionY=-119
SpacingX=120
SpacingY=20
NameColor=0 200 0
ValueColor=0 160 0
Transparency=55
Worldmap=1
WorldmapX=-240
WorldmapY=-75

Timeouts example.png


[edit] Enabled

Turns on/off timeouts displaying.

Type: boolean

Default: on

[edit] Direction

Where new positions should be added.

0: down

1: up

Type: number (unsigned)
Range: 0 to 1
Default: 1

[edit] Font

Type: number (unsigned)
Range: 4 to 8
Default: 5

[edit] NameColor

Change color of timeouts names ("First Aid", "Gathering", etc.) using RGB format.

Type: color

Default: 0 255 0

[edit] PositionX

Set the start X position for displaying timeouts.

Example for negative values: PositionX=-200 ⇒ PositionX=(ScreenWidth-200)

Type: number (signed)

Default: -145

[edit] PositionY

Set the start Y position for displaying timeouts.

Example for negative values: PositionY=-200 ⇒ PositionY=(ScreenHeight-200)

Type: number (signed)

Default: -110

[edit] SpacingX

Set horizontal distance between start position of timeout name (set by PositionX) and its value.

Type: number (unsigned)

Default: 72

[edit] SpacingY

Set vertical distance between each timeout.

Type: number (unsigned)

Default: 10

[edit] Transparency

Set transparency level for cumulative timeouts while below threshold (affects only Crafting and Gathering)

Type: number (unsigned)
Range: 0 to 100
Default: 0

[edit] ValueColor

Change color of timeouts values ("7 seconds", "42 hours", etc.) using RGB format.

Type: color

Default: 0 255 0

[edit] Worldmap

Display timeouts while on world map.

Type: boolean

Default: off

[edit] WorldmapX

Timeouts position when on worldmap, see: PositionX

Type: number (signed)

Default: -145

[edit] WorldmapY

Timeouts position when on worldmap, see: PositionY

Type: number (signed)

Default: -110

Personal tools
Contribute