ConfigurationFiles.wiki
changeset 2141 302320117edb
parent 2094 255295dfbd3d
child 2143 ad8f2b45d476
equal deleted inserted replaced
2140:61d7d5e0589a 2141:302320117edb
   296 || getawaytime=100 || Integer || Time you have to get away from an explosive after arming it, as a percentage ||
   296 || getawaytime=100 || Integer || Time you have to get away from an explosive after arming it, as a percentage ||
   297 || 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. ||
   297 || 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. ||
   298 || 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. ||
   298 || 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. ||
   299 
   299 
   300 == `Schemes/Ammo/<SchemeName>.hwa` ==
   300 == `Schemes/Ammo/<SchemeName>.hwa` ==
   301 A weapon scheme. `<SchemeName>` is the name of this weapon scheme. This file contains a long sequence of numbers between `0` to `9` to configure all weapon settings.
   301 A weapon scheme. `<SchemeName>` is the name of this weapon scheme. This file contains a long sequence of digits between `0` to `9` to configure all weapon settings.
   302 
   302 
   303 The number string has 4 equally long sections, in this order:
   303 The number string has 4 equally long sections (the length is the number of ammo types), in this order:
   304 
   304 
   305  * Start ammo (9 = infinite)
   305  * Start ammo (0-9, 9 = infinite)
   306  * Crate probability (higher = more)
   306  * Crate probability (0-8, higher = more)
   307  * Ammo in crate
   307  * Ammo in crate (0-8)
   308  * Delay
   308  * Delay (0-8)
   309 
   309 
   310 In each section, each number represents one weapon. The order of these weapons is noted in the source code file `weapons.h` ([https://hg.hedgewars.org/hedgewars/file/tip/QTfrontend/weapons.h#l24]). This means the first number of a section is for the grenade, followed by the cluster bomb, then bazooka, and so on.
   310 In each section, each digit represents one weapon. The order of these weapons is noted in the source code file `weapons.h` ([https://hg.hedgewars.org/hedgewars/file/tip/QTfrontend/weapons.h#l24]). This means the first number of a section is for the grenade, followed by the cluster bomb, then bazooka, and so on.
   311 
   311 
   312 == `schemes.ini` ==
   312 == `schemes.ini` ==
   313 Legacy file for game schemes for version 0.9.23 and older. Since 0.9.24, this file is no longer actively used, it is now only used to import schemes to the new format when the `Schemes/Game/` directory has not been created yet.
   313 Legacy file for game schemes for version 0.9.23 and older. Since 0.9.24, this file is no longer actively used, it is now only used to import schemes to the new format when the `Schemes/Game/` directory has not been created yet.
   314 
   314 
   315 === {{{[schemes]}}} ===
   315 === {{{[schemes]}}} ===