# Mapy wpływów do decyzji taktycznych

EN: **Influence maps for tactical decisions** · id `influencemaps` · aliases: influence maps, influence map, tactical influence maps, mapa wpływów, mapy wpływów

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w grach](https://aiatlasgraph.com/t/gameai.md) › [Zachowanie postaci w grach](https://aiatlasgraph.com/t/gamecharacters.md) › Mapy wpływów do decyzji taktycznych

## Description

- PL: Siatkowa reprezentacja przestrzeni, w której agenci rozpraszają wartości bliskości i zagrożenia z zanikiem z odległością; warstwy łączone arytmetycznie służą zapytaniom taktycznym.
- EN: A grid representation of space in which agents spread proximity and threat values that decay with distance; layers combined arithmetically serve tactical queries.

## In one sentence

- PL: Siatka nałożona na planszę pokazuje, gdzie jest silny wróg, gdzie sojusznicy i gdzie jest bezpiecznie.
- EN: A grid laid over the level shows where the enemy is strong, where allies are, and where it is safe.

## Problem it solves

- PL: Postać widząca tylko pojedynczych przeciwników nie wie, gdzie przebiega front ani gdzie najlepiej się wycofać.
- EN: A character that only sees single enemies does not know where the front line is or where to retreat.

## What it does

- PL: Działa jak mapa pogody: każda jednostka „promieniuje” wokół siebie, a nakładanie warstw pokazuje strefy ciepła i chłodu.
- EN: It works like a weather map: every unit 'radiates' around itself, and stacking layers reveals warm and cool zones.

## Everyday example

- PL: W grze strategicznej łucznicy sami ustawiają się za linią frontu, z dala od miejsc, do których dosięgnie wrogi oddział.
- EN: In a strategy game, archers position themselves behind the front line, away from spots an enemy squad can reach.

## This concerns you if you…

- PL: robisz grę strategiczną lub taktyczną
- PL: chcesz, by jednostki rozsądnie wybierały pozycje
- PL: szukasz prostego sposobu na „widzenie” pola bitwy
- EN: make a strategy or tactics game
- EN: want units to choose positions sensibly
- EN: need a simple way to 'see' the battlefield

## Keywords

influence map · threat map · proximity map · tactical position selection · falloff templates · Modular Tactical Influence Maps · RTS AI

## How it works

- PL: Każdy agent „stempluje” na siatce wstępnie policzony wzorzec zaniku, skalowany siłą jednostki, osobno dla bliskości i zagrożenia każdej frakcji. Mapy odświeża się co ułamek sekundy lub sekundy. Agent buduje mapę roboczą wokół siebie, dodając, mnożąc i odwracając warstwy, np. „niskie zagrożenie blisko mnie”.
- EN: Each agent 'stamps' a precomputed falloff template onto the grid, scaled by unit strength, separately for each faction's proximity and threat. Maps are refreshed every fraction of a second to a few seconds. An agent builds a working map around itself by adding, multiplying and inverting layers, e.g. 'low threat near me'.

## Limits

- PL: Mapa tylko informuje, decyzję musi podjąć inna warstwa AI. Gęsta siatka szybko zjada pamięć i czas. Prosty zanik z odległością ignoruje ściany; uwzględnienie linii wzroku lub długości ścieżki jest kosztowne.
- EN: The map only informs; another AI layer must decide. A fine grid quickly eats memory and time. Simple distance falloff ignores walls; accounting for line of sight or path length is expensive.

## Key terms

- PL: **zanik (falloff)**: Jak szybko wpływ jednostki słabnie wraz z odległością.
- PL: **mapa robocza**: Tymczasowe połączenie warstw policzone pod jedno pytanie agenta.
- EN: **falloff**: How quickly a unit's influence weakens with distance.
- EN: **working map**: A temporary combination of layers computed for one agent query.

## Related topics

Untyped, symmetric "see also" links.

- [Siatki nawigacyjne i odnajdywanie drogi (Navigation meshes and pathfinding)](https://aiatlasgraph.com/t/navmesh.md)

## Sources

- [Modular Tactical Influence Maps (Game AI Pro 2, ch. 30)](<https://www.gameaipro.com/GameAIPro2/GameAIPro2_Chapter30_Modular_Tactical_Influence_Maps.pdf>) `mark-modular-imaps-gaipro2-2015` · by Dave Mark

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/influencemaps · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
