RimWorld

RimWorld

305 ratings
[LTS]Ammunition - Framework
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
2.564 MB
4 May, 2022 @ 4:36am
15 Jun @ 6:00am
31 Change Notes ( view )

Subscribe to download
[LTS]Ammunition - Framework

Description





This mod does not contain any form of ammunition by itself and will require an accompanying ammo pack such as the Simple Ammunition pack or Advanced Ammunition pack, both of which can be found below. This mod's primary aim is to provide the groundwork for ammunition management and requirement for weapons, as well as provide the tools for the creation of ammo diversity for certain weapons like the usage of Full Metal Jacket and Armor Piercing ammunition.

[ko-fi.com]



Ever wondered how pawns shoot their weapons using magical ammo conjured from nowhere? I did too, so with this mod, you can create, craft, and use ammo. Depending on which ammo pack you decide to use with this framework, certain weapons will require ammunition just to be able to fire, some ammo packs, like the Advanced Ammunition pack will add ammo types like FMJ, HP, and AP rounds, as well as ammo calibers, providing more depth to combat and resource management.


Rather than storing ammo in the pawn's inventory, the pawn can wear kits! each kit can carry one or more types of ammo, each with its own capacity, the pawn will then use the ammo from their kit as they shoot, there are different types of kits, and they all come in 3 sizes, small, medium, and large, kits can be managed using a neat gizmo, and each ammo slot can be enabled or disabled if you wish to use a specific ammo type.


This ammunition framework supports modded weapons thanks to its highly configurable mod settings, where each weapon can be configured to use whichever ammo category you want, you can even make them require no ammo at all if that's what you wish.


This framework contains a comprehensive configuration menu, allowing for each weapon and kit to be configured, and certain behaviors of the mod to be changed, lets go through the important ones:



The Simple Ammo pack provides just the very basics of ammo management, weapons will fire their original ammunition based on their vanilla stats, and ammo are more general purpose and is primarily based on tech level (e.g. Industrial Ammo, and Spacer Ammo).


The Advanced Ammo pack provides a more in-depth take on ammo management, where ammunition provides its own damage profile, while still based on the vanilla damage profile, this version includes ammo calibers (e.g. 9mm and 12 Guage), as well as ammo variety (e.g. 9mm FMJ, 9mm HP, 9mm AP), each ammo variant having their own unique effect.

Other ammunition packs using this framework:
  • Just Another Ammo Pack – Adds additional ammo that does not exist in Advanced Ammo Pack (e.g. 40mm grenades, .308 Winchester, etc.).
  • Beans Ammo Pack – Works somewhat lika simple ammo, but also divides the ammo into various types. Pistol, Rifle, Spacer, Musket ammo etc etc.


Note: Any inaccuracy in the following list of translations is not our responsibility, for corrections, please contact the translator through their workshop page.


Compatibility list:
Partial Incompatibility list:
  • None at this moment
Incompatibility list:
  • Mercenaries For Me - seems to spawn without kits due to how they generate pawns.


Q: Why does this mod not include ammo?
A: This is because the ammo framework has a comprehensive set of features, and I recognize not everyone wishes to go that in-depth with ammo management, or play around with ammo diversity and variety, or they might just not like the vanilla damage profile of weapons, hence, the release of two accompanying sets of ammunition packs, with different depth and complexity, this also allows for other modders to add their own ammo if they wish, that or to make their own ammo pack.

Q: Why can't my pawns shoot?
A: Make sure your pawns have a kit equipped, and said kit has ammo.

Q: Does NPC use ammo?
A: Yes, toggleable in mod settings

Q: Does Mech and animals use ammo?
A: No

Q: Can I mix and match different ammo packs?
A: Yes! there should be no hard incompatibilities between ammo packs, just make sure to go through your gun list and configure them properly.

[discord.com]

ELIF_ – art
Shotty – testing

Many thanks to the folks over at Yggdrasil and my friends for their support

Code by LTS, art by ELIF_ and everything owned by LTS. Contact LTS for any inquiries.
Rimworld is owned by Tynan Sylvester.


  • None at this moment
Popular Discussions View All (6)
4
3 Aug @ 3:04am
Cant use mod settings menu
MiTHRiL
1
8 Nov, 2024 @ 1:52pm
Exception on Caravan Spotted modded event
aikixd
1
31 Jul, 2023 @ 3:42am
LTS_Ammo framework GizmoOnGUI - BUG
Do0m[y]
412 Comments
SutiituS 31 Aug @ 7:06pm 
Any possible way of making kits invincible or allowing to modify health values? I'm mixed on it, bcuz I think its good for it to have durability, but having my melee guy get his kit shredded every time he gets into combat is kinda annoying.
AyanDragon 31 Aug @ 6:03pm 
I'm completly unable to haul or otherwise interact with ammo besides for just reloading a kit. I only really realized this was a problem when it came to turrets, but I have no idea what's causing this problem
FrozenSnowFox 28 Aug @ 8:50pm 
Just found a weird issue, nothing showed in the log. This was with Simple Ammo, if that matters. I was doing a bandit attack quest which provides a shuttle. While I was busy handling that my people on my home map were looting ammo from dead bodies after a raid. Every time they looted ammo on the home map the ammo itself spawned on the encounter map instead of the home map.
Lemniscate_Mike 24 Aug @ 10:58am 
Can you make it so a small amount of ammo can be used from the inv?
Or maybe(better) add a really basic kit that doesn't require any research.
Playing with Tribals I can make bows long before being able to use them.
Dizzy Ioeuy 14 Aug @ 11:08pm 
Something is very wrong with this mod and its settings right now as it relates to grenades. No one is spawning in with ammo for them and not throwing them at all. Have to undo the default settings and make it say USE AMMO so they don't use any ammo. It's confusing af.
PartyCowboy 10 Aug @ 10:41am 
Hi LTS, I'm trying to make another mod's apparel into a kit to hold ammo, but not having much success. I've copied the <comps> from the kits provided by this mod, which gave a WorkGiverOptionProvider error. Then I changed the <thingClass> to the one from this mod's kits, but that also didn't help. Are they hardcoded, or am I missing a flag/property somewhere?

Also, thank you for your mods!
Jet 5 Aug @ 5:25am 
the author mentioned moving away from the systems mod, though rimpy still shows its required
Dr Libertea 2 Aug @ 6:08pm 
For those having the kits not loading and various other ui problems, this mod REQUIRES LTS systems https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2812826451 .

It is clearly stated at the top of this pages description, but not set as a dependency in steam nor in the xml file for programs like Rimsort.
Akeno 21 Jul @ 2:09pm 
I have a problem that my pawns dont hunt anymore. they are just standing ever since i installed this mod. any ideas how to solve this? i have a big mod list.
SghHanzMullerSW 5 Jul @ 10:35am 
i cant make primitive ammo using wood even if it sais it need 30 wood and i have 100000 wood but still cant make any