ConfigurationFiles: More ammo scheme info
authorWuzzy
Fri, 05 Jun 2020 15:00:13 +0200
changeset 2141 302320117edb
parent 2140 61d7d5e0589a
child 2142 5ae51e64bb09
ConfigurationFiles: More ammo scheme info
ConfigurationFiles.wiki
--- a/ConfigurationFiles.wiki	Tue May 26 09:16:21 2020 -0400
+++ b/ConfigurationFiles.wiki	Fri Jun 05 15:00:13 2020 +0200
@@ -298,16 +298,16 @@
 || 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. ||
 
 == `Schemes/Ammo/<SchemeName>.hwa` ==
-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.
+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.
 
-The number string has 4 equally long sections, in this order:
+The number string has 4 equally long sections (the length is the number of ammo types), in this order:
 
- * Start ammo (9 = infinite)
- * Crate probability (higher = more)
- * Ammo in crate
- * Delay
+ * Start ammo (0-9, 9 = infinite)
+ * Crate probability (0-8, higher = more)
+ * Ammo in crate (0-8)
+ * Delay (0-8)
 
-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.
+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.
 
 == `schemes.ini` ==
 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.