# HG changeset patch # User Wuzzy # Date 1591362013 -7200 # Node ID 302320117edb69fce021e23ce7d5dfec8b851ca0 # Parent 61d7d5e0589aed3f29137260387b8a2717be8f80 ConfigurationFiles: More ammo scheme info diff -r 61d7d5e0589a -r 302320117edb 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/.hwa` == -A weapon scheme. `` 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. `` 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.