BP Logo
Home » MODDING HQ 1.13 » v1.13 Bug Reports » "Ammoflag 4" negates "usPiercePersonChanceModifier" (Bug or Feature?)
icon2.gif  "Ammoflag 4" negates "usPiercePersonChanceModifier"[message #361401] Mon, 28 September 2020 18:31 Go to next message

Registered:March 2004
In 2014 Flugente introduced structure-destroying properties for anti-material ammo (12.7x108 and .50 BMG) through the "Ammoflag 4" setting (in AmmoTypes.xml).

In 2017 Flugente replaced the old "canGoThrough" tag in AmmoTypes.xml with the more versatile "usPiercePersonChanceModifier" one. (http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=20659&goto=348524&#msg_348524 - Sorry, stupid forum engine doesn't like # in links...)

Now it happens (2020, in Build 8796) that the new "Ammoflag 4" negates the "usPiercePersonChanceModifier" setting.
In short, if you use the structure destroying feature, your heavy sniper rifle bullets won't go through anything, no matter the setting.

I can see why this probably happens, but from a gameplay point of view I definitely don't like it: The sole interest of those (literally) heavy sniper rifles in JA2 has always been that they were able to hit targets behind walls and light cover.
Personally (IMHO, YMMV and so on), blowing huge holes in walls doesn't bring any tangible game advantage (but that's me as I said).

Anyway, until this is fixed/changed, if you want your heavy sniper rifles to go through stuff, comment out the "<ammoflag>4</ammoflag>" lines in AmmoType.xml; If you prefer demolishing houses with them, keep it, but know that your bullets won't go through stuff anymore.
Re: "Ammoflag 4" negates "usPiercePersonChanceModifier"[message #363427 is a reply to message #361401] Sun, 27 June 2021 18:44 Go to previous message

Registered:April 2009
Location: Germany
It's almost a year late, but I've gotten around to do changing this in r9114. Anti-materiel bullets can now pierce when they apply structural damage, which is slightly scary. At some point in the video below, a shot even takes out several walls at once.

I deem this issue solved. big grin

I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.

If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.

Previous Topic: marching order not possible on strategic map on 7609
Next Topic: Skyrider refusing to move from G7
Goto Forum:

Current Time: Sat Jan 22 21:59:13 EET 2022

Total time taken to generate the page: 0.01603 seconds