# IL-2 Sturmovik

Tacview has been tested and validated with the following editions of IL-2 Sturmovik:

* [IL-2 Sturmovik: Battle of Bodenplatte](https://il2sturmovik.com/store/battle-of-bodenplatte/)
* [IL-2 Sturmovik: Battle of Moscow](https://il2sturmovik.com/store/battle-of-moscow/)
* [IL-2 Sturmovik: Battle of Stalingrad](https://il2sturmovik.com/store/battle-of-stalingrad/)
* [IL-2 Sturmovik: Battle of Kuban](https://il2sturmovik.com/store/battle-of-kuban/)
* [IL-2 Sturmovik: Battle of Normandy](https://il2sturmovik.com/store/battle-of-normandy/)

Both the standalone and the Steam editions of IL-2 work fine with Tacview.

IL-2 Sturmovik can be configured to generate native Tacview ACMI files.

Open:

```
\IL-2 Sturmovik Battle of Stalingrad\data\startup.cfg
```

Make sure that `tacviewrecord = 1` is present. It should look like the following:

```
[KEY = track_record]
    fx_sound = 2
    record_graphics_effect = 1
    record_ground_vehicles = 1
    tacviewrecord = 1
[END]
```

Now, as soon as you are in flight, press `LCtrl` + `R` and IL-2 will start recording Tacview telemetry data.

A camera icon will appear in IL-2 to confirm recording is active.

![IL-2 Camera Icon](https://681332907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9tiJ3xbT7zyJ4FlZiMM%2Fuploads%2Fgit-blob-c9d31a0783b2a71a0e86af170780845054737ab3%2Fil-2-camera-icon.png?alt=media)

Find your recording in the following folder. You may have to create this folder first:

```
\IL-2 Sturmovik Battle of Stalingrad\data\Tracks\
```

To open the ACMI file in Tacview, follow the instructions in [Opening a File](https://raia-software-inc.gitbook.io/tacview/getting-started/opening-a-file)

Please note that, respecting the wishes of the IL-2 Sturmovik team, Tacview and IL-2 cannot be open at the same time. If you attempt to open IL-2 while Tacview is running, you will receive the following message:

![IL-2 Another Instance is Running](https://681332907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9tiJ3xbT7zyJ4FlZiMM%2Fuploads%2Fgit-blob-6f2b41a357d3502e64e2a8ddede1ec2e1029e0d6%2Fil-2-another-instance.png?alt=media)

If you attempt to open Tacview while IL-2 is running, you will receive the following error message:

![IL-2 Fair Play](https://681332907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9tiJ3xbT7zyJ4FlZiMM%2Fuploads%2Fgit-blob-c8eb630080a91536c492b7499c5974fd104477c1%2Fil-2-fair-play.png?alt=media)

## Multiplayer

The server host must explicitly allow clients to make Tacview recordings by editing the `*.sds` configuration file on the host computer. Make sure the following line is present:

```
TacviewRecord=true
```

If this configuration is not present, ACMI files will not be generated, and furthermore, replaying the `TRK` file will not generate an `ACMI` file.

### Terrain Display

To ensure the correct terrain elevation and texture map is displayed where available, first go to `Options → Terrain..` and make sure that either `(Auto)` or `IL-2 Sturmovik` is selected.

![IL-2 Terrain Options](https://681332907-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ9tiJ3xbT7zyJ4FlZiMM%2Fuploads%2Fgit-blob-8e06519f92f69064e9628cf6debc46fc6b5690de%2Fil-2-terrain-options.png?alt=media)

The following terrains are included in Tacview:

* Kuban
* Moscow
* Stalingrad
* Velikie Luki
* Rheinland
* Prokhorovka
* Arras
* Normandy (texture map only)
* Lapino (disabled by default)
* Novosokolniki (disabled by default)

Small terrains are disabled by default to avoid conflicts with the larger battlefields they overlap.

You can manually enable or disable some terrains, or add your own, by editing the following files:

```
C:\Program Files (x86)\Tacview\Data\Terrain\Custom\IL2HeightmapList.xml
C:\Program Files (x86)\Tacview\Data\Terrain\Textures\IL2TextureList.xml
```

### Airports and Navigation Aids

To add airports and other landmarks, see the [Static Objects](https://raia-software-inc.gitbook.io/tacview/customization/static-objects) documentation.
