1dot13 / source

Source code for the game executable of the Jagged Alliance 2 v1.13 project
101 stars 18 forks source link

Better bullet simulation (penetration + ricochets) #184

Open Asdow opened 1 year ago

Asdow commented 1 year ago

This idea came up when I was browsing the bullets.cpp code. Right now it's fairly simplified where the bullet pretty much stops whatever we might hit, barring some exceptions, such as windows, flimsy doors etc and bullets with antimaterial tag.

What I would like is a rework of the mechanism, where bullets will penetrate stuff closer to how they do irl, so fmj round from AR or high powered rifle won't really be stopped by wooden or thin cinderblock walls at all and also allow ricochets to happen depending on the angle the bullet hits something and the material of the object.

kholat commented 1 year ago

VEEERY cool