FOnline2238.cfg: Difference between revisions
(Created page with "== 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, ...") |
|||
Line 252: | Line 252: | ||
</pre> | </pre> | ||
---- | ---- | ||
Revision as of 17:44, 9 December 2013
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.
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
Section: 2238
Main section of FOnline2238.cfg, which holds most of configurable options.
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
Awareness
See: awareness command
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
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 (|)
DisplayNames
Turns on/off the display of character names above head. (Hotkey: F6)
DisplayTC
Turns on/off display of Town Control messages. (Hotkey: F11)
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
Fog
Turns on/off fog of war displaying.
FogColor
Changes fog of war color.
IgnoreLangChange
Pressing left alt and left shift or left control and left shift won't change input language.
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%
LogfileName example
LogfileName=logs\%CHARNAME%\%YEAR%-%MONTH%-%DAY%_%HOUR%-%MINUTE%-%SECOND%.txt
MouseScroll
Turns on/off scrolling of map using mouse. (Hotkey: F8)
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%
ScreenshotName example
ScreenshotName=screenshots\%CHARNAME%\%YEAR%-%MONTH%-%DAY%_%HOUR%-%MINUTE%-%SECOND%.png
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.
DataFiles example
[DataFiles] Modification_Name=mymod.dat Something_Better=awesome.zip
Note: See also Game Files
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.
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.
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.
ActionColor
Color of message displayed when character uses specific items/skills on self or other critters. Final value is picked randomly from range specified.
DamageOffsetX
Horizontal position of message with damage done to character. Final value is picked randomly from range specified.
DamageOffsetY
Vertical position of message with damage done to character. Final value is picked randomly from range specified.
DamageColor
Color of message with damage done to character.
FollowerExperience
Displays follower's experience/level changes (above head only).
NOTE: This message is visible only to follower's master.
Section: Timeouts
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
Enabled
Turns on/off timeouts displaying.
Direction
Where new positions should be added.
0: down
1: up
Font
NameColor
Change color of timeouts names ("First Aid", "Gathering", etc.) using RGB format.
PositionX
Set the start X position for displaying timeouts.
Example for negative values: PositionX=-200 ⇒ PositionX=(ScreenWidth-200)
PositionY
Set the start Y position for displaying timeouts.
Example for negative values: PositionY=-200 ⇒ PositionY=(ScreenHeight-200)
SpacingX
Set horizontal distance between start position of timeout name (set by PositionX) and its value.
SpacingY
Set vertical distance between each timeout.
Transparency
Set transparency level for cumulative timeouts while below threshold (affects only Crafting and Gathering)
ValueColor
Change color of timeouts values ("7 seconds", "42 hours", etc.) using RGB format.
Worldmap
Display timeouts while on world map.
WorldmapX
Timeouts position when on worldmap, see: PositionX
WorldmapY
Timeouts position when on worldmap, see: PositionY