This mod let's you see how much ammo (including arrows, bolts, javelins, etc) your army has. It adds a UI counter in the bottom left showing how many arrows your army has remaining out of the total (excluding player ammo). With this added quality of life, you can better assess when your army is out of arrows and needs a change in tactics!
Requirements
This mod does not have any known dependencies other than the base game.
Öncelikle bu modu indirip kurmanız gerekmektedir. Sonra çeviriyi yükleyebilirsiniz.
Permissions and credits
Credits and distribution permission
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Updated for game version 1.1.X (specifically 1.1.4) compatibility.
Version 1.6.1
Make Steam Workshop compatible (no real impact on Nexus version).
Version 1.6.0
Updated for game version 1.8.0 compatibility.
Version 1.5.0
Updated for game version 1.7.2 compatibility.
Version 1.4.0
Updated for game version 1.6.5 compatibility.
Version 1.3.1
Updated for game version 1.5.10 compatibility. Since game version 1.6.0 has been released, this mod version has proven to remain compatible with that as well.
Version 1.3.0
Updated to work with game version 1.5.9.
Open sourced the mod. Github repository available at: https://github.com/AMTerp/army-arrow-counter
Version 1.2.9
Make compatible with 1.5.3 (tested on beta branch).
Version 1.2.8
Make compatible with beta branch (1.4.1).
Version 1.2.7
Implemented occasional "arrow recounting" to correct the counter in case it goes wrong (not sure what causes this, though it's quite rare in my experience).
The counter no longer appears during arena practice fights.
Built with version M&B v1.2.0 (although previous versions of the mod should still be compatible with 1.2.0 as well).
Version 1.2.6
Fixed a bug where tthe game would crash upon entering a practice arena battle. Thank you SaMuRaILTU for reporting this issue!
Version 1.2.5
Made mod compatible with other mod "Control Your Allies After Death" i.e. no longer occasionally crashes.
The counter no longer disappears after the player dies. However, as noted in the "Known Issues" section, it does eventually stop counting. I might fix that at some point, but it's low prio.
Version 1.2.4
Fixed bug where the mod would throw a KeyNotFoundException. Thanks renyaoqin for reporting!
Version 1.2.3
The counter prefix is now also customizable via the config.xml file. Replace the text between <Prefix> and </Prefix> with whatever you like, including leaving it blank if you don't want any prefix.
Shortened default counter prefix from "Army remaining arrows: " to "Army arrows: ".
Now counts arrows that allies pick up i.e. will increment "remaining arrows" when allies pick up ammo.
Version 1.2.2
Fixed bug where the mod thought your army had no arrows during hideout missions (thank you SaMuRaILTU for reporting it!)
Version 1.2.1
Fixed bug where the mod thought your army had no arrows during sieges (thank you nwg5817 for reporting it!)
Version 1.2.0
Added customization. Users can now configure how they'd like to have the mod display the counter to them e.g. EXACT_FRACTION, NEAREST_10_PERCENT, NEAREST_WRITTEN, etc.
Move the counter to the bottom left-center of the screen, as this works for all the customization choices.
Version 1.1.0
Added a UI counter. This replaces the logging (less spam!), and is always up to date.
The download file no longer includes any dependencies that come with the game. This significantly reduces the download size to just a few KB (Thanks razorts for pointing this out!).
Version 1.0.2
Only now enables in battles. This should prevent a reported crashing issue in tournaments (Thanks Rechtecki!).
Now logs a little message to indicate when the mod is activated at the start of a battle.
Version 1.0.1
Removed unused dependencies to lower file size.
Version 1.0.0
Initial release
Army Arrow Counter
This is a small, quality of life, open-source mod that gives you insight into the amount of ammunition remaining in your army. If you were the commander in a real medieval battle, you'd be able to ask your sergeants about the ammo status, but alas, Bannerlord has no such functionality. This is the next best thing to try and provide the player with crucial information they need to make the best tactical decisions!
Quick Info on Functionality:
Counts all ranged ammunition i.e. arrows, bolts, javelins, throwing axes, etc.
Upon entering a battle, counts the arrows of all allied troops. Subtracts arrows whenever your allies fire them, and subtracts/adds in bulk as soldiers die / are deployed in phases.
Soldiers being added or dying will effect the max arrows as well i.e. the displayed X / Y stat is for the alive and fighting troops in your army.
Customization:
This mod can be customized!
Specifically, the way that the mod tells you how many arrows are remaining is customizable (see images on this page for examples).
Inside ArmyArrowCounter/config/config.xml, you can change the text between <CounterType></CounterType> to any of the following options (also found inside the config file as a comment):
EXACT_FRACTION: e.g. 1258 / 1721
EXACT_PERCENT: e.g. 73%
NEAREST_10_PERCENT: e.g. ~70%
NEAREST_20_PERCENT: e.g. ~80%
NEAREST_25_PERCENT: e.g. ~75%
NEAREST_WRITTEN: e.g. "Your army has about three quarters ammunition remaining."
EXACT_FRACTION is the default behavior.
You can also control the prefix before the counter i.e. the "Army remaining arrows: " part. In the config.xml file, between the <Prefix></Prefix> tags, you can change the text to be what you want, including leaving it blank.
Todo List:
Count only soldiers under your command (i.e. exclude allied soldiers under AI command).
Make the UI element toggleable.
Provide in-game Mod Options menu. Would likely require the use of a modding framework, I'm not currently aware of any good options. This will thus be on hold until one comes about.
Q&A:
Q: The UI overlaps with another mod's UI!
A: You can manually reposition the UI if need be. I won't go in-depth here, but you can edit the file under ArmyArrowCounter/GUI/Prefabs/ArmyArrowCounter.xml to try and reposition this mod's UI elements.
Q: I'd like to do make a video/article/post with this mod!
A: Feel free! And please send me a link to it, I'd really love to see it myself as well! :)
Current version 1.7.0 is compatible with the game version 1.1.X. See previous mod versions for compatibility with earlier game versions.
Please note, that while I historically made some exceptions, I generally do not commit to supporting the beta branch of the game. If the mod is broken on a beta version, your best bet is to wait for it to become the main version and then notifying me if it's still broken. Thanks!
Reporting incompatibility issues is highly appreciated! :)
Mod Compatibility:
There are currently no known compatibility issues.
Known Issues:
While the counter continues after player death in version 1.2.5+, it eventually stops counting. This occurs because (for whatever reason) ally soldiers at some point cease to be considered allies of the player. The fix here is very low-priority, as the counter is not valuable after death anyway, but it may be something I fix in the future.
Source Code: This mod is open source! The GitHub repository can be found here.