CONFIGURATION FILE SUPPORT

GearHead now has configuration file support. Yay!

To create a configuration file, make a new text file named "arena.cfg"
in the configuration folder (usually a folder named "gharena" in your home
folder; on Linux, you will find this folder in .config). To this file you can
add various labels which will alter the behavior of the program.

Here's an overview of what the configuration file is capable of:

REDEFINE GAME KEYS
  To redefine a game key, you're going to have to know the command's
  proper name. This can be found via the in-game help menu. Just type
  the command's name followed by the new key you want to use for it.
  For instance, to redefine the ApplySkill command so that it is
  activated by the "n" key, you'd use the following line:

    ApplySkill n

  Note that no checking is done to ensure that the keys are unique.
  If you assign two commands to the same key, only one of them will
  work.

CONTROL ANIMATION SPEED
  You can redefine the animation speed, if you'd like combat animations
  to proceed faster or slower. To change the animation delay to 100 you'd
  use the following line:

    AnimSpeed 100

  Note that the lower the AnimSpeed value, the faster the animations
  will be. Default values are 100 for ASCII and 50 for SDL.

SET CONTROL TYPES
  There are three commands that cover this: MechaControl, CharaControl,
  and WorldControl. Each one can be assigned either M for Menu-based
  input or R for RogueLike input. For example, to change things so that
  your mecha is controlled using the RogueLike interface, use the
  following line:

    MechaControl R

SET WEAPON ATTACK OPTION
  You can set the default burst value for each type of burst-firing
  weapon. There are three commands that cover this: MissileBV,
  BallisticBV, and BeamGunBV. They can be assigned four possible values:
  Off, 1/4, 1/2, and Max.

  To set the default missile BV to 1/2 load, use the following line:

    MissileBV 1/2

CONTROL DIRECT XP
  By default, direct skill XP will not cause the PC to learn new
  skills. This is to prevent the PC from learning unwanted skills.
  If you would like to enable the learning of skills from direct XP,
  add the following label to your configuration file:

    DIRECTSKILLOK

NOAUTOSAVE
  Whenever your character visits a new location or you quit the game, the
  campaign is saved to disk. Some people don't like this behavior... using
  the label NOAUTOSAVE will disable this.

ALWAYS SAVE CHARACTER
  Normally, when a character enters an adventure, the CHA file is deleted
  and doesn't get restored until the adventure is finished. By setting
  the label ALWAYSSAVECHARACTER you can override this behavior.

DISABLE COMBAT TAUNTS
  If the game runs slowly on your computer, disabling combat taunts may help.
  Yes, it's pathetic, I know... type NOCOMBATTAUNTS in your config file to
  achieve this.

CONTROL ALPHA BLENDING
  For SDL mode only. If you don't like the transparency effect, or it it doesn't
  run well on your computer, use NOALPHA to disable it. You can set the amount
  of transparency with "ALPHALEVEL x"- enter a value from 0 (transparent) to
  255 (opaque).

CONTROL NUMBER OF PLOTS PER ADVENTURE
  The number of plots currently in play can have a great effect on the speed of
  your game. The default maximum number of plots is 50; to reduce this (and
  hopefully get things moving faster) use "NUMPLOTS x". For example, to reduce
  the maximum number of plots to 30, insert the following line in the config
  file:

    NUMPLOTS 30

LIMIT PLOT LOADING TO START OF SCENE
  Normally the game will load new plots every 5 minutes. This may cause a noticeable
  pause on some computers. To change things so that plots are only loaded when
  entering or exiting a scene, add LoadPlotsAtStart to your config file.

CONTROL SIZE OF ASCII SCREEN
  You can control the size of the screen with SCREENWIDTH and SCREENHEIGHT. The minimum
  size for the screen is 80x25.

ACTIVATE MINI-MAP
  You can activate the mini-map by adding MINIMAPON to your config file.

PLAY IN WINDOW
  You can play in a window on your main screen by adding WINDOW to the config file.
  You can play in fullscreen mode by adding FULLSCREEN to the config file.

DISABLE MOUSE
  You can disable the mouse with the NOMOUSE option.

ENABLE NAMES-ABOVE_HEADS
  Add NAMESON to your config file, and the names of all gears on the map will appear
  above their heads.

DISABLE PILLAGING
  Add NOPILLAGE to your config file to not automatically pillage everything on the map
  after winning a mission.

ENABLE TACTICS MODE [experimental]
  Add USETACTICSMODE to the config file, and the player will be able to control
  lancemates directly in mecha combat.
  This mode is experimental and may result in the game crashing or other unexpected
  behavior. You have been warned.



Additional Funtions by I18N:

I18N_UseOriginalName (T/F)

I18N_UseNameORG (T/F)

The Character Encoding for Terminal
  By environment variable.
	GEARHEAD_LANG
	LC_ALL
	LC_MESSAGES
	LOCALE
	LANGUAGE
	LANG
  Set as
	(Language name).(Encoding name)
  Example of language name is here.
	ja_JP
	ko_KR
	zh_CN
	zh_TW
	en_GB
	en_US
	...at el.
  Example of encoding name is here.
	eucJP
	eucKR
	eucCN
	eucTW
	UTF-8
	SJIS
	CP932
	ISO8859-1
	ISO8859-2
	ISO8859-3
	...at el.

Binding Keys
  Dir-UpLeft          
  Dir-Up              
  Dir-UpRight         
  Dir-Left            
  Dir-Right           
  Dir-DownLeft        
  Dir-Down            
  Dir-DownRight       
  Menu-Up             
  Menu-Down           
  Menu-Left           
  Menu-Right          
  Menu-PageUp         
  Menu-PageDown       
  Menu-ScrollUp       
  Menu-ScrollDown     

KeyBind_RogueMove

Fonts
  FontFileBig
  FontSizeBig
  FontFileSmall
  FontSizeSmall
  SDL_AAFont (T/F)
  SDL_AAFont_Shaded (T/F)

Fonts(MS-Windows only)
  FontNameOther
  FontSizeOther
  FontWeightOther

Screen Size(CUI only)
  CUI_ScreenSize (witdh) (height)

Screen Size(SDL only)
  SDL_Mini
  SDL_ScreenSize (witdh) (height)

Color Setting(SDL Only)
  Color (Name) (Red) (Green) (Blue)

Sprite Color Setting(SDL Only)
  SDL_colors (Table Name) <Palette data>

Prohibitation of Lines
  ProhibitationTrail
  ProhibitationHead

Skip Some Animations
  SkipAnim

Frame Rate
  FrameInterval
  Set by [ms].

  FrameSkip

  SleepGranularity
  Set by [ms].

  KeysamplingInterval
  Set by [ms].

SDL_Accelerated (T/F) (SDL only)

SDL_PresentVsync (T/F) (SDL only)

SDL_NoTimeEvent (T/F) (SDL only)

Pad_Left, Pad_Top

Show_MenuScrollbar (T/F)

SDL_Show_MenuScrollbar (T/F) (SDL only)

SDL_Scrollbar_Size (num) (SDL only)

SDL_Change_DialogHeight (num) (SDL only)

Show_MenuPage (T/F)

Enable_ArenaMode (T/F)

Enable_EditMap (T/F)

Enable_PointAnimation (T/F)

Enable_MouseClick_OutsideTheMenuArea (T/F)

Other Additional Functions
  Cheat, Backported, and so on.

  Walls and terrains become transparency.
      DrawWallMode 0
      DrawWallMode 1
      DrawWallMode 2
      DrawWallMode 3
      DrawWallMode 4

  MINIMAP_WITH_ALLGEARS

  Cheat_Display (T/F)

  Cheat_Display_DESIG (T/F)

  Cheat_Display_OverLoad (T/F)

  Cheat_Display_DamagePercent (T/F)

  Cheat_Display_SpeedoMeter (T/F)

  Cheat_Display_PV (T/F)

  Cheat_Show_Always_ExtendedDescription (T/F)

  Cheat_Show_SF (T/F)

  Cheat_Show_Size (T/F)

  Cheat_Show_PV (T/F)

  Cheat_Print_TimeString (T/F)

  Cheat_Print_AttemptDefenses (T/F)

  Cheat_Print_AmmoExplosion (T/F)

  Cheat_Print_DoPillage (T/F)

  Cheat_Print_Drain_MaxHP (T/F)

  Cheat_Autosave_Trace (T/F)

  Cheat_Autosave_with_Timestamp (T/F)

  Cheat_MainMenu_AddMenuKey (T/F)

  Cheat_Restore_AddMenuKey (T/F)

  Cheat_Chat (T/F)

  Cheat_Chat_ReverseSort (T/F)

  Cheat_CallShot (T/F)

  Cheat_CallShot_Cancel (T/F)

  Cheat_CallShot_OmitLookInfo (T/F)

  Cheat_Range_Colored (T/F)

  Cheat_Range_with_Altitude (T/F)

  Cheat_MenuOrder_Edit (T/F)

  Cheat_MechaPartBrowser_Delete (T/F)

  Cheat_NPC_Edit (T/F)

  Cheat_Unlimited_Sprite (T/F)

  Cheat_Unlimited_Portrait (T/F)

  Cheat_LookInfo (T/F)

  Cheat_Enable_Limit_SellingPrice (T/F)

  Cheat_BuyStuff_ShowSubItem (T/F)

  Cheat_BuyStuff_Mecha_ShowSubItem (T/F)

  Cheat_BuyStuff_Sort (T/F)

  Cheat_SellStuff_ShowSubItem (T/F)

  Cheat_SellStuff_Sort (T/F)

  Cheat_SellStuff_KeepPosition (T/F)

  Cheat_EqpMenu_ShowSubItem (T/F)

  Cheat_EqpMenu_ShowMassMeter (T/F)

  Cheat_EqpMenu_ShowFullGearName (T/F)

  Cheat_EqpMenu_AddMenuKey (T/F)

  Cheat_EqpMenu_KeepPosition (T/F)

  Cheat_InvMenu_ShowSubItem (T/F)

  Cheat_InvMenu_KeepPosition (T/F)

  Cheat_InvMenu_NoSort (T/F)

  Cheat_Show_ComponentMass (T/F)

  Cheat_MechaDescription_ShowMassMeter (T/F)

  Cheat_MechaPartEditor_AddMenuKey (T/F)

  Cheat_MechaPartEditor_KeepPosition (T/F)

  Cheat_PCVIEW_Training_AddMenuKey (T/F)

  Cheat_PCVIEW_Training_KeepPosition (T/F)

  Cheat_FieldHQ_Mecha_NoSort (T/F)

  Cheat_FieldHQ_Mecha_KeepPosition (T/F)

  Cheat_FieldHQ_AddMenuKey (T/F)

  Cheat_InstallMisc_ShowParentItem (T/F)

  Cheat_EquipItem_ShowParentItem (T/F)

  Cheat_InstallMisc_ShowInvStr (T/F)

  Cheat_EquipItem_ShowInvStr (T/F)

  Cheat_InstallAmmo_ShowSubItem (T/F)

  Cheat_EquipItem_ShowSubItem (T/F)

  Cheat_Install_ShowSubItem (T/F)

  Cheat_InstallCyberware_ShowSubItem (T/F)

  Cheat_ExtendedDescription_ShowHighOutput (T/F)

  Cheat_GearName_AddScaleNumber (T/F)
    DO NOT USE IT.

  Cheat_GearName_AddClassNumber_GGModule (T/F)

  Cheat_GearName_AddClassNumber_GGMecha (T/F)

  Cheat_GearName_AddClassNumber_GGHolder (T/F)

  Cheat_GearName_AddClassNumber_GGSupport (T/F)

  Cheat_GearName_AddClassNumber_GGConsumable (T/F)

  Cheat_MechaCustomize_Limitless (T/F)
    DO NOT USE IT.

  Cheat_MechaCustomize_FreeSupport (T/F)

  Cheat_MechaCustomize_FreeCockpit (T/F)

  Cheat_MechaCustomize_FreeBodyModule (T/F)

  Cheat_MechaCustomize_FreeMasterGear (T/F)
    DO NOT USE IT.

  Cheat_MechaCustomize_FreeParent (T/F)
    DO NOT USE IT.

  Cheat_MechaCustomize_FreeScale (T/F)

  Cheat_MechaCustomize_FreeModifier (T/F)

  Cheat_MechaCustomize_FreeIntegral (T/F)

  Cheat_Trade_NotSafeArea (T/F)

  Cheat_Trade_LanceMateMenuName (T/F)

  Cheat_Roguelike_Death (T/F)

  Cheat_DisplayGearInfo (T/F)

  Cheat_Display_MemoNumber (T/F)

  Cheat_ASCII_Display_CharacterDisplay (T/F)

  Cheat_ArenaMode_MainMenu_AddMenuKey (T/F)

  Cheat_ArenaMode_PilotsMenu_AddMenuKey (T/F)

  Cheat_ArenaMode_MechaMenu_AddMenuKey (T/F)

  Cheat_ArenaMode_PilotsHQ_AddMenuKey (T/F)

  Cheat_ArenaMode_MechaHQ_AddMenuKey (T/F)

  Cheat_ArenaMode_AllRecoveryInHQ (T/F)

  Cheat_ArenaMode_InventoryInHQ (T/F)

  Cheat_ArenaMode_FieldHQInHQ (T/F)

  Cheat_ArenaMode_MapSelect (T/F)

  Cheat_ThisItemWasSelected_AddMenuKey (T/F)

  Cheat_EnableCockpitBarrier (T/F)

  Cheat_EnableCockpitBarrier_Hand (T/F)

  Cheat_DoNotRunWhenMouseClicked (T/F)

  Cheat_DoNotTargetMaterial (T/F)

  Cheat_Enable_SubInvMenu (T/F)

  Cheat_NPConMechaWillRepair (T/F)

  Cheat_Avoid_Zombie (T/F)

  Cheat_NPC_AvoidAttackToNeutrality (T/F)

  Cheat_NPC_UseGrenade (T/F)

  Cheat_DoNotRoundUp_ARP (T/F)

  Cheat_ReloadAllMecha (T/F)

  Cheat_Show_WeaponRecharge (T/F)

  Cheat_Fix_SolveLine (T/F)

  Cheat_Show_RangeCover (T/F)

  Cheat_SelectSprite (T/F)

  Cheat_Show_NeedHand (T/F)

  Cheat_Always_GetPlayerInput (T/F)

  Backport_Caliber (T/F)

  Backport_Caliber_GH1Compatible (T/F)

Wheel-Mouse/Multi-Button-Mouse
    WheelClick, WheelUp, WheelDown, WheelLeft, WheelRight, WheelBack, WheelForward

[ End of File ]
