RimWorld

RimWorld

Not enough ratings
Ammo Stats For CE
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
410.385 KB
Jul 30, 2024 @ 11:23am
1 Change Note ( view )

Subscribe to download
Ammo Stats For CE

Description
Ammo Stats For CE
BD = Base Damage, SP = Sharp Penetration,
BP = Blunt Penetration, AA = Calculated Post Damage Againts Sharp Armor RHA

Description
This mod tries to list all ammo from CE so spoilers! I want to see all ammunititon types, stats and some sorting functionality for combat extended mod. So i made this mod. My first mod. I do not have extensive knowledge about combat extended or ammunitions in general.

AA column is calculated dynamically from text box labeld as "Againts Armor RHA". I found a google sheet in 2022 then added Post Damage Againts Sharp Armor from there. Credits for the formula.

AA = max( (SP-DesiredArmorValRHA), 0) / SP * BP
example DesiredArmorValRHA = 20 RHA for centepide

Important note here i am not an expert on combat extended and this formula is very basic. No weapon or pawn stats in this formula.

If you add Better Card Info mod to your modlist with this mod you get weapon links in the ammo info tab as well. Addition to that you can open multiple weapon info windows and compare weapons spread, sway and sight etc. values.

Reccomended Mods

Performance
I advise againts opening this tab while game running 3x or higher. You shouldn't do that most of mods that have custom list tabs anyway. That said i have little knowledge on rimworld and combat extended code base so probably this is not the performance friendly way to implement this functionality and this is an alpha build. Either way this code should run only when you open the tab.

I test this mod with my 200+ list with no error. I only tested 4-5 hours though. You are welcome to point errors.

InCompatibility
  • This mod for CE ammo system.
  • Didn't test for CE generic ammo system.

Load Order
Obviously load after CE. When I created this mod i wanted to add weapons list to every ammo row but thanks to better card info i didn't implement this feature. But i do not know other weapons mod which compatible with CE add their own ammo.

If i am not around feel free to update this mod.

Known Issues
  • If you check craftable only checkbox and there is non workstation which can craft ammo you get the whole list instead of empty list. (i will work on it if i got the time)
  • Optimizations
  • Bad English :)
1 Comments
Taowa Aug 4, 2024 @ 11:21pm 
nice mod