RimWorld

RimWorld

Not enough ratings
CE BulletsPenetrateTrees
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.6
File Size
Posted
Updated
736.826 KB
23 Aug @ 8:48am
21 Sep @ 12:29am
2 Change Notes ( view )

Subscribe to download
CE BulletsPenetrateTrees

In 1 collection by LikewiseHH
Likewise Rimworld Mods
24 items
Description


[ko-fi.com]

If you like this mod, please upvote!

Description
  • This mod for Combat Extended allows you to configure under which circumstances trees may get penetrated by bullets
  • The basic principle is that we calculate an armor thickness value for trees (configurable). And then we compare the sharp penetration value of a bullet against that value
  • You can configure what shall happen at what percentage value, e.g. if sharp penetration of bullet = 50 % of armor value of tree, then what shall the likelihood be to penetrate the tree? And if the tree was successfully penetrated, how much armor penetration should be taken away from the bullet
  • I tried to filter out grenades and RPGs to the best of my ability. Those are left to the regular Combat Extended logic

Update notes
21.09.2025
  • When bullets penetrate a tree, you can now configure how much sharp armor penetration they loose
  • This is configurable depending how "close" the bullet was to not penetrating a tree
  • Example: If the bullet has 8 sharp armor penetration and the tree has 10 armor, then the ratio is 80%. You can define in the mod settings menu how much sharp armor penetration is taken away at that level (in percent) and at other ratios
  • Also you can define how much a tree is damaged on blocking a shot or on a shot going through

Dependencies
Obviously, Combat Extended. And Harmony

How to validate the mod behavior
  • Just shoot at a group of trees
  • Notice the visual effect when hitting a tree
  • Notice that some bullets disappear and some go through (depending on the weapon caliber used)
  • Check the verbose logging (if enabled) that tells you the math and logic exactly

A collection of all my rimworld mods
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3554618789
13 Comments
тетеря, блин 28 Aug @ 6:57am 
thanks for answering!
LikewiseHH  [author] 28 Aug @ 5:33am 
Sorry I only play CE. Won't develop for other combat mods.
LikewiseHH  [author] 28 Aug @ 4:20am 
Not really. Vanilla doesn't have the concept of armor thickness and bullet sharp penetration.
тетеря, блин 28 Aug @ 1:05am 
is it possible to make it work without CE?
LikewiseHH  [author] 23 Aug @ 11:15pm 
It's currently RNG based whether a bullet may penetrate another tree. But it will always honor the tree's armor value and the bullet's sharp penetration. You can configure both likelihoods in the config UI in game (likelihood to penetrate tree at certain penetration to armor ratio, and then the likelihood to be allowed to penetrate another tree).

Was thinking about an approach where we take energy away from the bullet but found one more fun. A little randomness and chaos. If there is interest in a version that takes energy away, it shouldn't be too hard to build.

Let me know
Dustin Echoes 23 Aug @ 8:56pm 
Not really, no. Depends heavily on the thickness of the tree and the caliber. But on average trees are not bad cover. I guess if the bullet were to graze the tree from the side, yes. But on the thickest part of an average oak tree, most bullets would be stopped
晓山alreShan 23 Aug @ 6:08pm 
Do bullets get penetration power reduced after penetrating trees?
-=GoW=-Dennis 23 Aug @ 11:20am 
Thanks, also shows on the mods. And there indeed is multiple I did never catch! :D
LikewiseHH  [author] 23 Aug @ 11:18am 
@Dennis please find the collection of all my mods here:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3554618789