-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.3.0: Prepare project to go open source
- Add MIT License. - Change notes.md to README.md and make it more descriptive. - Extract todos into TODO.md. - Add .csproj to .gitignore, since it contains computer-specific information that is likely not helpful for others. - Minor code cleanup: mainly replacing "VM" with "ViewModel". - Re-arranging repo structure for clarity (putting additional things into /src/).
- Loading branch information
Showing
27 changed files
with
159 additions
and
397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 Alexander Terp | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Army Arrow Counter | ||
|
||
## Overview | ||
|
||
This is the repo for a [Mount & Blade II: Bannerlord](https://store.steampowered.com/app/261550/Mount__Blade_II_Bannerlord/) mod named Army Arrow Counter. It's a simple utility mod which counts the amount of ammunition your army has remaining, updating a small UI counter element in the bottom left of the screen (example below). The mod is hosted and downloadable on Nexus Mods [here](https://www.nexusmods.com/mountandblade2bannerlord/mods/448), with over 10,000 downloads! | ||
More about the mod and its gameplay effects/options can be read on the Nexus page - this repo focuses more on the development side. | ||
|
||
<img src="repo-images/exact-fraction-example.PNG" alt="ui-example" width="250"/> | ||
|
||
## Repository Structure | ||
|
||
- When packaged, ArmyArrowCounter (AAC) has the following structure: | ||
- `bin` | ||
- `Win64_Shipping_Client` | ||
- Contains all the DLL(s) for the mod. | ||
- Is not located in this repo - these are generated when the project is built. | ||
- `config` | ||
- Contains custom AAC config. | ||
- This corresponds exactly to the `/src/config` folder in this repository. | ||
- `GUI` | ||
- Contains Bannerlord xml files configuring the presence/positions/formatting, etc of the UI counter. | ||
- This corresponds exactly to the `/src/GUI` folder in this repository. | ||
- `SubModule.xml` | ||
- Contains AAC mod/module metadata for Bannerlord to process. | ||
- This corresponds exactly to the `/src/SubModule.xml` file in this repository. | ||
- `/src/` (unsurprisingly) contains the source code, along with the above-mentioned folders/files. | ||
|
||
## Contributions | ||
|
||
### Issues / Bug Reports | ||
|
||
These are more than welcome! I monitor both the Nexus "Bugs" and "Posts" tabs, but I am also happy to receive reports here on Github. | ||
|
||
### Bug Fixes / Feature Implementations / Pull Requests | ||
|
||
Happy to receive these as well! I apologize in advance for when you dive into the code - I am not a C# developer, so it's very likely that I am breaking a bunch of rules/conventions of C# and misusing features - I'd be ecstatic for these cases to be pointed out and corrected! | ||
About pull-requests, I may ask questions around the in-game testing that has been done, and I may request code style/design changes if deemed necessary. For features which I have not endorsed, it's likely a good idea to contact me first before implementing them, to avoid any denials/reworks! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Todo List | ||
|
||
- Optionally support ModLib/OptionScreen/whatever is standard to provide in-game settings, instead of the `config.xml` file. | ||
- Add toggle hotkey. | ||
- Count only solders under your command (?) | ||
- Add unit tests. | ||
- Put tasks in this list into Github issues. | ||
|
||
## Bug List | ||
|
||
- Fix bug: Fleeing allies in hideouts don't subtract arrows when removed. | ||
- Lost sieges sometimes end with non-0/0 counts? | ||
- Team-killing an archer does not appear to get counted correctly. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.