RimWorld

RimWorld

404 ratings
Yayo's Combat 3 - Addon
3
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
720.442 KB
18 Apr, 2022 @ 2:12pm
23 Nov @ 5:48am
30 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.


- Light/heavy ammo
Additional ammo types to make using fast firing weapons more viable, balancing material cost better between different weapons. With only one ammo type, usign a submachine gun would always be a lot more expensive in materials compared to using bolt action rifles. Using light ammo for submachine guns compared to heavy ammo for bolt action rifles allows for better balance between the two and more usability of the former.


- Adjustable recipe product amounts
Set the amount of ammo that is produced when crafting ammo to your own liking.

- Adjustable ammo type per weapon
Modify what ammo type a weapon uses.
Useful when a weapon uses an ammo type that is not fitting for it, like expensive special ammo for a weapon with high fire rate.

- Adjustable ammo charges / "magazine size" per weapon
Modify the number of shots a weapon can fire before reloading.
Can be used to set the "magazine" size to more realistic numbers.


- ... and maybe more stuff I forgot about or added later?

---

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
198 Comments
kingrevolucion12 13 Dec @ 7:58pm 
I really like this mod, but is there any way to make ammo cheaper? What costs less steel?
amefurashi 9 Dec @ 9:38pm 
I was surprised at how much more convenient it is than before. Thank you!
Flapdoodle 4 Dec @ 8:25am 
Hey I appreciate adding the option for magazine sizes, I was using a little custom mod but this makes it way easier.
Syrus  [author] 27 Nov @ 11:03am 
That's unlikely to be caused by this (addon) mod, it uses its own settings

(Unless you are talking about this mod and updated from 1.5 to 1.6, then yes, HugsLib was removed and therefore the settings have been reset for Yayo's Combat Addon between version.)
Cretz 27 Nov @ 3:55am 
Well it seems like my settings for Yayos Combat reset...
Syrus  [author] 24 Nov @ 9:56am 
That's not a message from this mod. I think.
You can click on the message in the ingame console and see where it comes from, the "stack trace" as its called.
Rex705 24 Nov @ 12:15am 
I get this "Failed to find sane damage amount" error

https://gist.github.com/HugsLibRecordKeeper/10ac8ee2fa0552a892a19da82e15cb51
Syrus  [author] 23 Nov @ 12:07pm 
The point for those is to balance ammo cost between high-powered single shot weapons and low powered spray & pray. Why should an autopistol use the same ammo as a sniper rifle? When I played I always ended up using mainly slow firing guns because of this.

Therefore I thought it a neat idea to add optional light and heavy ammo types - no need to activate them if you don't want them! I like to keep things as optional as possible so everyone can customize the mods as they like
Rex705 23 Nov @ 6:58am 
I like all the features of this mod but I don't understand the point of L and H ammo and don't really use them. Why would I choose L or H over explosive or flame? I'm all for some cool new ammo types like poison and sleep gas but L and H don't make sense lol. That's just my thoughts.
HJZ2333 23 Nov @ 6:22am 
The mod has been fixed. Thank you for your help.