FOnline2238.cfg

From FOnline: 2238 Wiki
(Difference between revisions)
Jump to: navigation, search
(update)
m (FogColor)
 
Line 101: Line 101:
 
Changes ''fog of war'' color.
 
Changes ''fog of war'' color.
  
{{ConfigurationVar|type=color|info=with alpha}}
+
{{ConfigurationVar|type=color|info=with alpha|default=0 0 0 160}}
  
 
=== IgnoreLangChange ===
 
=== IgnoreLangChange ===

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