Fandom

Jagged Alliance 1.13 HAM Wiki

Shooting at Moving Targets

69pages on
this wiki
Add New Page
Talk0 Share

HAM features allow making it harder (or easier) to hit a moving target. This alters a gameplay feature that existed, to a limited extend, in the original Jagged Alliance 2.


History Edit

It has always been more difficult, in Jagged Alliance 2, to hit a moving target than a stationary target. The more tiles your target has moved so far this turn, the harder it is to hit. This goes in accordance with real-world warfare.

In JA2, for every tile that a target has moved so far this turn, anyone shooting at this target will get a flat -1.5% chance to hit. If the target ran 10 tiles, shooters will receive a -15% CtH penalty.

The largest penalty that can be dished out this way is -30%. Doing the quick maths, this happens when a character has run 20 tiles this turn, which is almost the maximum amount of tiles that can be run in a single turn. Anything beyond 20 tiles doesn't help.

Unfortunately, this penalty is relatively poor, and its effect is very minimal compared to the Chance-to-Hit-Enhancing power of scopes, tracer ammo, etcetera.


HAM 2 - Externalizing the Tile-to-Penalty Ratio Edit

The first HAM feature to deal with this specific issue allowed adjusting the ratio between Tiles Moved and the size of the Penalty itself.

By increasing this value, each tile moved produces a larger penalty for shooters. In other words, to achieve the same penalty, the target now has to move less.

You can also decrease the value, making moving targets harder to hit.

Unfortunately, at that stage, the limit on the size of the penalty was still -30%, so no matter how high you set the ratio, shooters cannot lose more than this relatively small amount of accuracy.


HAM 3 - Externalizing the Limit Edit

HAM 3 introduced the complementary feature that allows changing the maximum size of the penalty.

This goes hand-in-hand with the Tile-to-Penalty Ratio of course. Setting the limit very high has no effect unless the ratio is also high enough to allow characters to actually reach that limit. For instance, if the limit is set to 90, and a character can only travel up to 20 tiles per turn, then the ratio must be 4.5, otherwise characters will not be able to reach the limit at all.

Conversely, you can also lower the limit. This will generally make moving characters much easier to hit, regardless of how many tiles they've moved. In this case, the ratio is less important - it only determines how quickly the character reaches the limit when moving.

Please consult the recommended values below before adjusting either the ratio or the limit.


Final formula with both HAM settings in place: Edit

When using HAM 3, you can control the entire system using this formula:

Shooter's Penalty = (X*Y), but no more than Z.

X = Tiles that the target has moved, so far this turn.

Y = Tiles-to-Penalty Ratio, as defined by the INI setting MOVEMENT_EFFECT_ON_AIMING

Z = Maximum possible penalty, as defined by the INI setting MAX_CTH_PENALTY_FOR_MOVING_TARGET

Therefore:

Shooter's Penalty = ( Tiles Moved * MOVEMENT_EFFECT_ON_AIMING), but no more than MAX_CTH_PENALTY_FOR_MOVING_TARGET


INI Settings: Edit

There are two settings to control this feature. One changes the maximum limit of the penalty, the other changes the speed required to reach that limit.


MOVEMENT_EFFECT_ON_AIMING Edit

Effect

Controls the Chance-to-Hit penalty inflicted upon anyone shooting at a moving target, for every tile that the target has moved so far this turn.

Range 0.0 - 100.0
JA2 Default Value 1.5 For every tile that the target has moved so far this turn, the shooter gets a -1.5% Chance-to-Hit penalty to any shot.
HAM Recommended Value 2.5 For every tile that the target has moved so far this turn, the shooter gets a -2.5% Chance-to-Hit penalty to any shot. This generally makes moving targets almost twice harder to hit. * Please note that this value is rather conservative, so feel free to increase it more if you would like.
Other Values 1.0 For every tile that the target has moved so far this turn, the shooter gets a -1.0% Chance-to-Hit penalty to any shot. This generally makes moving targets 30% easier to hit than normal...
Notes If this setting is increased above 1.5, you would probably also want to increase the MAX_CTH_PENALTY_FOR_MOVING_TARGET above 30 to allow reaching greater penalties.


MAX_CTH_PENALTY_FOR_MOVING_TARGET Edit

Effect

Controls the maximum possible Chance-to-Hit Penalty that a moving target can inflict on its attacker, ever.

Range 0 - 300
JA2 Default Value 30 A moving target can only inflict up to a -30% Chance-to-Hit penalty on anyone shooting at it.
HAM Recommended Value 50 A moving target can only inflict up to a -50% Chance-to-Hit penalty on anyone shooting at it. This value is based on the recommended 2.5 in MOVEMENT_EFFECT_ON_AIMING (see above).

Please note that this value is rather conservative, so feel free to increase it more if you would like.

Other Values 0 Firing Chance-to-Hit is not affected by the target's movement at all.
Notes This setting should be increased to accomodate MOVEMENT_EFFECT_ON_AIMING greater than 1.5.


See Also Edit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.