RimWorld

RimWorld

338 ratings
Yayo's Combat 3 - Addon
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5
File Size
Posted
Updated
443.334 KB
Apr 18, 2022 @ 2:12pm
Oct 26, 2024 @ 4:53am
20 Change Notes ( view )

Subscribe to download
Yayo's Combat 3 - Addon

Description
Description
A mod aiming to improve ammo handling of Yayo's Combat 3 through quality of life features.
Also includes compatibility functions for Simple Sidearms, sidearms carried in the inventory are also reloaded.

---

Added or reworked features:
- Assign ammo
You can now assign ammo using the "Assign" tab, similar to how medicine can be assinged to be carried by specific pawns. (Assigning ammo via drug policies is not affected by this, whichever has the higher count will be the amount a pawn is going to pick up.)

- Multifunctional "Reload" button
Clicking the button attempts to reload from inventory.

More options are available via the right click menu:
"Reload ... from inventory" does the same as clicking the button, reloading weapons from ammo found in the inventory.
"Reload ... from surrounding" will make the pawn look for unforbidden ammo and use that to reload their weapon(s).
"Restock inventory ammo" checks assigned ammo (via Assign and Drug Policy), the pawn will try to pick up the desired amount of ammo into their inventory.

- "Eject ammo" button & "Eject ammo" designator
Designate weapons to have their ammo ejected.
Pawns assigned to hauling will take care of this.

- Improved reload jobs
Improved how reloading weapons works, pawns should no longer drop ammo on the ground when reloading and reload the guns fully.

- Improved Simple Sidearms compatibility
Pawns will now also reload their sidearms if Simple Sidearms is active.

- Out of ammo warnings
Running out of ammo without any ammo available will give a warning.

- Fixed hunters going back to reload all the time
Technically speaking this is a vanilla issue, as the hunting job fails after 2h of not "succeeding" and, as the reload job has a higher priority, they then do this next.
I disallowed reloading immediatly after a hunting job fails.

- "Base ammo capacity" adds ammo to inventory
Increasing the setting beyond 100% increased ammo in magazines of spawned weapons (on raiders etc.) beyond the actual capacity of the magazine. This mod changes it to generate ammo in the pawn's inventory instead.

- ... and probably more stuff I forgot about

---

I also recommend using my Auto-assign Inventories on Caravan arrival mod to have ammo distributed to pawn inventories when traveling in caravans.

---

Compatibility:
No known incompatibilities (yet).

Please report any issues and include the HugsLib log (CTRL+F12) when reporting bugs,
it helps immensely tracking down what went wrong, thank you!

---

GitHub: https://github.com/XT-0xFF/YayosCombatAddon
116 Comments
Huehuecóyotl May 6 @ 7:25am 
Are there any tools out there to manually configure what kind of ammo certain weapons use (if at all)? Some mods, like VWE Heavy weapons and the Warcasket weapons don't consume ammo at all, and some like Milkwater's Pipe Gun Mod make the normal weapons use special class ammo. A utility to manually configure which ammo is assigned to each gun would be really useful to fix these incorrectly automatically assigned ammo designations.
Nyx Apr 14 @ 11:12pm 
Also works fine with the "shooting a few bullets" recreation activity with the training dummy, only reloads from a pile after the activity is done.
Nyx Apr 14 @ 11:03pm 
Might be a bit of a compatibility issue with the Misc. Training mod. I think the issue is with the Training task and not the target dummies themselves. Colonists assigned the task will shoot at the target dummy but will go to reload out of a stockpile (ex. pile of arrows) every three or four shots. You can right click and tell them to practice shooting at it and they will use up their ammo, but not if they do it automatically when assigned the training task.
Syrus  [author] Apr 1 @ 10:30am 
@dabeek
Probably better to recommend that on the main mod itself, sounds like a good idea to me, let me know how they respond to it
dabeek Mar 31 @ 6:53pm 
Minor suggestion: Could you reclassify ammunition as Travel Supplies in the caravan menu? It'd make it a bit easier to find in the item list, and it would also be a better categorization.
sstareven Dec 12, 2024 @ 2:45pm 
will it try to be compatible with multiplayer...? Your mod is excellent!
HJZ2333 Dec 1, 2024 @ 3:00am 
Dear mod author, this mod is great, but my character used to automatically reload his weapon after consuming ammo, but now I can only reload manually. What's wrong?
Syrus  [author] Nov 29, 2024 @ 5:10am 
It's kind of an issue with base game RimWorld and using its methods to look for available ammo, and it's an issue for both the Yayo's Combat base mod and this addon.
It could likely be fixed by checking if the pawn looking for ammo is of the player faction and disallowing all player-stockpiled ammo in that case, but doing so would likely be more difficult to do than it sounds like.

Keeping the ammo stockpile away from where fighting occurs and limiting the ammo search range in the settings might help, as I think visitors only look for ammo when reloading.
Or just see it as a tax for using neutrals to fight your battles...
Al-Jack Nov 29, 2024 @ 4:28am 
为什么中立派系会到我家储存区拿弹药?
BladeofSharpness Oct 27, 2024 @ 10:27pm 
Confirmed working, thanks! :steamhappy: