ConfigurationFiles.wiki
changeset 498 1a6fa9d619d3
parent 168 f4f73967aa4e
child 574 3f98b812ba63
equal deleted inserted replaced
497:d7688dc8cb9f 498:1a6fa9d619d3
     5 
     5 
     6 This documents the structure and content of the configuration (.ini) files found in the desktop version of Hedgewars.
     6 This documents the structure and content of the configuration (.ini) files found in the desktop version of Hedgewars.
     7 
     7 
     8 <wiki:toc />
     8 <wiki:toc />
     9 
     9 
    10 = Hedgewars.ini: =
    10 = `Hedgewars.ini` =
    11 
    11 
    12 == {{{[video]}}} ==
    12 == {{{[video]}}} ==
    13 _Graphics rendering settings, back-end (engine)_
    13 _Graphics rendering settings, back-end (engine)_
    14 
    14 
    15 || *Setting* || *Type* || *Description* ||
    15 || *Setting* || *Type* || *Description* ||
    49 == {{{[net]}}} ==
    49 == {{{[net]}}} ==
    50 _Online and LAN settings_
    50 _Online and LAN settings_
    51 
    51 
    52 || *Setting* || *Type* || *Description* ||
    52 || *Setting* || *Type* || *Description* ||
    53 || nick=username || String || Username/nickname used for online play, or promt the user when first connecting if left blank ||
    53 || nick=username || String || Username/nickname used for online play, or promt the user when first connecting if left blank ||
    54 || passwordhash=@ByteArray(d41d8cd98f00b204e9800998ecf8427e) || Byte array || Hash of password used for online play ||
    54 || passwordhash=@!ByteArray(d41d8cd98f00b204e9800998ecf8427e) || Byte array || Hash of password used for online play ||
    55 || passwordlength=0 || Integer || Lenght of unhashed password string ||
    55 || passwordlength=0 || Integer || Lenght of unhashed password string ||
    56 || ip=10.0.0.0 || String || Default IP-address when connecting to a LAN server, stored in human-readable dot-notation ||
    56 || ip=10.0.0.0 || String || Default IP-address when connecting to a LAN server, stored in human-readable dot-notation ||
    57 || port=46631 || Integer || Default port number when connecting to a LAN server ||
    57 || port=46631 || Integer || Default port number when connecting to a LAN server ||
    58 || servername=hedgewars server || String || Default name when creating a LAN server ||
    58 || servername=hedgewars server || String || Default name when creating a LAN server ||
    59 || serverport=46631 || Integer || Default port number when creating a LAN server ||
    59 || serverport=46631 || Integer || Default port number when creating a LAN server ||
   119 || 1\healthcaseamount=25 || Integer || Amount of life restored by each health crate ||
   119 || 1\healthcaseamount=25 || Integer || Amount of life restored by each health crate ||
   120 || 1\waterrise=47 || Integer || Number of pixels the water rises each turn in "Sudden Death" mode ||
   120 || 1\waterrise=47 || Integer || Number of pixels the water rises each turn in "Sudden Death" mode ||
   121 || 1\healthdecrease=5 || Integer || Damage dealth each turn to hogs in water during "Sudden Death" mode ||
   121 || 1\healthdecrease=5 || Integer || Damage dealth each turn to hogs in water during "Sudden Death" mode ||
   122 || 1\ropepct=100 || Integer || Maximum length of rope as a percentage ||
   122 || 1\ropepct=100 || Integer || Maximum length of rope as a percentage ||
   123 || 1\getawaytime=100 || Integer || Time you have to get away from an explosive after arming it, as a percentage ||
   123 || 1\getawaytime=100 || Integer || Time you have to get away from an explosive after arming it, as a percentage ||
       
   124 || 1\worldedge=0 || Integer || Type of world edges at the left and right side. `0` for no edge (default), `1` for wrap-around, `2` for bouncy edges, `3` for ocean. ||
       
   125 || 1\scriptparam="" || String || 0.9.21: Script parameter, this is read by scripts. Can have any arbitrary srting value, the meaning of this value depends on the script used. ||
   124 
   126 
   125 = TeamName.hwt: =
   127 = `TeamName.hwt` =
   126 _One file per team_
   128 _One file per team_
   127 
   129 
   128 == {{{[Team]}}} ==
   130 == {{{[Team]}}} ==
   129 _General team settings_
   131 _General team settings_
   130 
   132 
   131 || *Setting* || *Type* || *Description* ||
   133 || *Setting* || *Type* || *Description* ||
   132 || Name=TeamName || String || Name of team ||
   134 || Name=!TeamName || String || Name of team ||
   133 || Grave=Statue || String || Type of grave created when hog dies ||
   135 || Grave=Statue || String || Type of grave created when hog dies ||
   134 || Fort=Plane || String || Type of fort if Forts Mode is enabled ||
   136 || Fort=Plane || String || Type of fort if Forts Mode is enabled ||
   135 || Voicepack=Default || String || Sounds used for hog voice ||
   137 || Voicepack=Default || String || Sounds used for hog voice ||
   136 || Flag=hedgewars || String || Type of flag if Forts Mode is enabled ||
   138 || Flag=hedgewars || String || Name of flag (flag file name without suffix)  ||
   137 || Difficulty=0 || Integer || Diffuculty of AI, or human if left at zero ||
   139 || Difficulty=0 || Integer || Diffuculty of AI, or human if left at zero ||
   138 || Rounds=0 || Integer || Number of rounds played with team _(Currently unused)_ ||
   140 || Rounds=0 || Integer || Number of rounds played with team _(Currently unused)_ ||
   139 || Wins=0 || Integer || Number of rounds won with team _(Currently unused)_ ||
   141 || Wins=0 || Integer || Number of rounds won with team _(Currently unused)_ ||
   140 || CampaignProgress=0 || Integer || Campain progress using team as a percentage _(Currently unused)_ ||
   142 || !CampaignProgress=0 || Integer || Campain progress using team as a percentage _(Currently unused)_ ||
   141 
   143 
   142 == {{{[Hedgehog0]}}} ==
   144 == {{{[Hedgehog0]}}} ==
   143 _One per hog on the team_
   145 _One per hog on the team_
   144 
   146 
   145 || *Setting* || *Type* || *Description* ||
   147 || *Setting* || *Type* || *Description* ||