[FIX] Combat Effects for Combat Extended

If you liked this item, please rate it up on Steam Workshop page.

Author: Private [GER]

Last revision: 31 Jan, 2020 at 16:52 UTC

File size: 5.84 MB

On Steam Workshop

Description:

BE AWARE: THIS IS A DIRTY HOTFIX FOR THE ORIGINAL MOD BECAUSE THE AUTHOR IS NOT RESPONDING. DO NOT ASK FOR UPDATES EXCEPT FOR FIXES.
There are some errors in the console on startup if you use CE: Fast Track, but you can safely ignore them. They have no effect on the game.

V1.0 FIX
This mod add sparks to bullets impacting hard surfaces and blood effects for hitting pawns.
Only works with Combat Extended.
IMPORTANT : Load it AFTER the Combat Extended mod.

Plans:
-Add a few more effects (like dust/smoke puffs to impacts) – DONE
– If possible add bullet ricochet and material penetration. :
– – – Penetration initial implementation done. Details below.
– Vanilla version.
– Make options available to tone the effects up or down

Penetration mechanics :
Bullets have a chance to penetrate a build object based on caliber, ammo type and the material and condition of the object it hit.
Every projectile type has a base chance to penetrate a given material.

For example : a 9×19 FMJ has 10% chance to penetrate a wooden wall if that wall has 100% hitpoints.
It has 80% chance to penetrate that wall if it’s below 50% hitpoints.
Meanwhile a 14.5×114 has 100% to penetrate that wall regardless it’s hitpoints.

A steel wall is impenetrable by small arms when kept in good condition but the aforementioned 14.5 has 60% to penetrate it.

AP type bullet (Sabot, AP-I etc) has increased penetration stats.

Additionally, there is a slight randomness of these chances. So it’s entirely possible for a .303 to penetrate a plasteel wall once in a lifetime.

However:
– HP bullets and energy projectiles never penetrate (for now).
– Arrows never penetrate (for now)

Bullets can penetrate pawns. It’s a flat percentage. (Example 7.62×51 has 35% to penetrate the target).
So a singe .50BMG can ruin the day of several Alphabeavers in a bottleneck. But it can also ruin the day of allies behind those Alphabeavers.

Kinetic energy : WIP. Not enabled yet. But after each penetration or ricochet the bullet will loose some of it’s energy so even if the projectile penetrates your walls it may do minimal damage.

Angle of Attack : WIP. Not enabled yet. Penetration chances as well as ricochet will additionally depend on the angle of incidence.

Important : I had to patch and decorate a lot of ammo defs for this. For now only ammo used by ‘CE’ and ‘CE Guns’ are patched. The others may be incompatible.