Sonic Shadow - AI Hearing

by Xanamu
Sonic Shadow - AI Hearing

Summary

The AI no longer receives the exact position of a gunshot, and a hill or a wall now makes the shot quieter. A round that passes near an AI is still heard.

Description

In the base game an AI group receives the exact position of each shot it hears,
and the identity of the shooter. It hears every shot inside 500 metres, through
hills, walls and buildings.
	
Sonic Shadow makes two changes:

- The reported position gets a bearing error and a range error.
- A hill, a wall or a building makes the shot quieter.

Sight, skill, aim and rate of fire stay as they are.


WHAT THE AI KNOWS ABOUT A GUNSHOT

A person finds the direction of a gunshot well, and the distance badly. The
error follows that rule. It is 6 degrees across the line to the shot, with a
maximum of 40 metres, and 25 per cent of the distance along that line, with a
maximum of 90 metres.

- At 100 metres the AI receives a point 10 metres to one side and 25 metres
  short or long.
- At 250 metres it receives a point 26 metres to one side and 63 metres short
  or long.

One group and one shooter receive one area, and that area does not move between
two rounds. Each further shot makes the area smaller, to a floor of 3 metres. At
250 metres the first shot gives 63 metres along the line, and the sixth shot
gives 15 metres.

One shot does not give you away. A long fire fight does.

The AI receives the true position at 15 metres and nearer. At contact range a
person knows where the shot came from. It also receives the true position when
a member of the group saw the shooter inside the last second. A gunshot must
not make a group know less than it can see.

This change is a change in what the AI knows. 

Each AI decides on its own whether it heard the shot, and a squad shares what
one member hears. A shot that a wall stops for one soldier can still reach the
group of that soldier through a second soldier in the open. That behaviour is
correct.

WHAT THIS MOD REFUSES

- Sight through fields, trees, bushes and rocks. The AI sees exactly as it sees today.
- A front on the danger sectors. The AI keeps its awareness of danger in every
  direction. The mod makes a sector occur less often, because a shot that no
  member hears makes no sector. The mechanism stays.
- Skill, aim and rate of fire.


COMPATIBILITY

The mod modifies three AI script classes: SCR_AIConfigComponent,
SCR_AISectorThreatFilter and SCR_AIGroupPerception. Another mod that modifies
one of these three classes conflicts with this mod, and the last mod that loads
wins. There is no fix in code, and you must select one of the two mods.

The changes run on the server.


YOUR FEEDBACK MATTERS

--> Leave a like, if you think this mod rocks your game!
--> Visit our discord to discuss potential features: https://discord.gg/Cn9hAy2xj

License

Arma Public License (APL)

Version
1.1.1
Game Version
1.8.0.13
Version size
51.26 KB
Downloads
4
Created
07.09.2026
Last Modified
14.09.2026
ID
6A4B09C2FAB991D9