RimWorld

RimWorld

300 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)
1
8 Nov, 2024 @ 1:52pm
Exception on Caravan Spotted modded event
aikixd
2
4 Nov, 2023 @ 10:47am
Cant use mod settings menu
MiTHRiL
1
31 Jul, 2023 @ 3:42am
LTS_Ammo framework GizmoOnGUI - BUG
Do0m[y]
404 Comments
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
Aizuki 3 Jul @ 2:50am 
do i need LTS system on 1.5? i confuse
Ashkar 1 Jul @ 7:14am 
Does anyone know if this is safe to remove mid save? i used this with combat extended (turned off combat extended's ammo) on 1.6 and it works perfectly fine on my colonists but raiders are spawning with ranged weapons and no ammo or kits so just going into melee, when i turned back on combat extended's ammo they spawned in with ammo...
condottiere 25 Jun @ 6:12pm 
@lifer93 Yes. Just set this up for my current run 10 minutes ago. You will have to spend the time in the mod settings to configure which weapons use which ammo. The simple ammo pack defaults to one tech tier ammo type for EVERY weapon. Some weapons don't need ammo (e.g. VWE whip, or rocket launcher with the Reloadable Rockets mod), others use the wrong tech tier b/c of how their creators tagged the weapon in their mod.

The advanced ammo pack is additive. It adds specific ammo types for specific calibers. It will not cover all weapons. It will only patch VWE weapons that use the same caliber rounds. Other modded weapons will need to be manually configured.

It's all a very simple checklist, but it takes a minute when setting up.
lifer93 22 Jun @ 6:35am 
does simple and advanced ammo pack work if both are enabled?
LimeTreeSnake  [author] 15 Jun @ 6:01am 
- Updated to 1.6, updates henceforth only for 1.6. Previous versions kept as is.
- Ammo handling now a new work type due to removing "Task" work type
- Removed the Ammo bench. Now only craft ammo at vanilla places for simplicity.
Happy 6 Jun @ 10:47pm 
Some more details to your question may help, so anybody may give you an answer.
DeathGun 6 Jun @ 11:06am 
how is this supposed to work?
Happy 4 Jun @ 12:31am 
Found out it is related to Combat Extended as this mod has it's own ammo handler. But you can deactivate it and use the mechanic of LTS Ammunition. Be aware that AI enemies may spawn without kit/ammo and can't use ranged weapons for long (won't fire anymore when clip is empty)