ConfigurationFiles.wiki
changeset 2143 ad8f2b45d476
parent 2141 302320117edb
child 2144 5816a9869fb8
equal deleted inserted replaced
2142:5ae51e64bb09 2143:ad8f2b45d476
   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 digits 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 (the length is the number of ammo types), in this order:
   303 The number string has 4 equally long sections (the length is the number of [AmmoTypes ammo types]), in this order:
   304 
   304 
   305  * Start ammo (0-9, 9 = infinite)
   305  * Start ammo (0-9, 9 = infinite)
   306  * Crate probability (0-8, higher = more)
   306  * Crate probability (0-8, higher = more)
   307  * Ammo in crate (0-8)
   307  * Ammo in crate (0-8)
   308  * Delay (0-8)
   308  * Delay (0-8)
   309 
   309 
   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.
   310 In each section, each digit represents one weapon. The order of these weapons is noted in [AmmoTypes ammo types]. 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]}}} ===