Configuration Guide
IL-2 Performance
The IL-2 engine has a limited capability to simulate a large number of items. This is largely gated by single-core CPU performance. When mission complexity increases and the CPU cannot keep up, the IL-2 engine continues the simulation at a slower speed, causing the game to "slow down".
In our testing, we noticed that all objects contribute to this slowdown. From most severe to least severe:
- Active aircraft
- Active ground objects
- Inactive aircraft (virtual waypoints, see below)
- Inactive ground objects
- Deleted or unspawned ground objects
Everyone has different priorities when balancing performance against battlefield liveliness. We offer a wide range of configuration options to suit your needs.
Ground object spawn settings
1. Equipment at target (%)
How much of the ground equipment (tanks, vehicles, guns) at a target is shown in the mission. For example, if a tank battalion has 40 tanks and Equipment at target is set to 50%, 20 will spawn in the mission.
2. AAA (%)
How much of the anti-aircraft defense is shown in the mission. It is not affected by the En-route multiplier, the Far-away multiplier or the Air combat ground asset multiplier.
3. Infantry at target (%)
How many of the infantry at a target are shown in the mission.
4. Road supply convoys (%)
How many of the road supply convoys are shown in the mission.
5. Rail supply movements (%)
How many of the supply trains are shown in the mission.
6. En-route multiplier
Scales down the ground objects placed near your route, compared with those at the target. A lower value means fewer objects along the way.
7. Far-away multiplier
Scales down the ground objects placed far from your route, compared with those at the target. A lower value means fewer objects away from where you fly.
8. En-route distance (km)
How close to your route an object must be to count as en-route rather than far-away.
9. Mission coverage (km)
How far around your mission area ground objects are spawned.
10. Activation margin (km)
Ground units start to spawn when you come within this distance of them. Artillery can use a longer margin because its range is long, and there are few of them, so they rarely cause serious performance problems.
11. Deactivation margin (km)
Ground units are removed once you are farther than this distance from them, and it must be larger than the activation margin. Artillery can use a longer margin for the same reasons.
12. Air combat ground asset multiplier
Scales down the ground objects generated in intercept and air superiority patrol missions, so that ground objects do not slow down an air battle. For example, at 0.5, half of the usual ground objects are generated.
13. Maximum ground objects
The most ground objects allowed in the whole mission. If the mission has more, the extra objects are removed.
14. Local ground object cap
The most ground objects allowed to be active at the same time at any one spot, as if you were standing there. It prevents crowded spots, such as large battles, from slowing the game down.
Order and priority
The local cap is applied before the maximum ground objects cap. Both remove objects in this order, until the limit is met:
- Infantry
- Airfield service vehicles
- Transport in battles
- Other ground vehicles
- Artillery
- Trains
- AAA
Within each type, the objects farthest from your route go first, taking turns between the two sides. The local cap also never removes anything in your target hex.
Aircraft spawn settings
1. Virtual waypoint (VWP)
A virtual waypoint (VWP, introduced in PWCG) uses inactive aircraft to represent an AI flight that is not near you yet. VWPs are spaced out at a set distance along the flight's route, and each copy is activated only when you come close to it. The IL-2 engine treats these waiting copies as inactive aircraft, so they still affect performance greatly.
2. Virtual waypoint spacing (km)
The distance between VWPs along a flight's route. If you are already inside a VWP when it activates, the aircraft spawn at the previous VWP, so they never spawn on top of you.
3. Intercept Virtual Waypoint spacing (km)
The same as virtual waypoint spacing, but for AI flights intercepting your flight. It is smaller by default to keep interception flights more accurate.
4. Virtual Waypoint Pruning Distance (km)
VWPs away from your predicted route (time sensitive) are not generated. A smaller value gives better performance but fewer chances to meet aircraft if you leave your planned route.
5. Virtual Waypoint Time Slack (min)
How much time inaccuracy is allowed when predicting where you will be along your route for the purpose of VWP pruning. A larger value keeps more VWPs, at some cost to performance.
6. Aircraft activation distance (km)
Aircraft spawn when you come within this distance of their VWP. It should be larger than the VWP spacing, otherwise you might pass between two VWPs without activating either.
7. Aircraft deactivation distance (km)
Active aircraft farther than this from you are deactivated. It should be larger than the activation distance.
Aircraft De-crowding settings
1. Formula
The AI gives each possible mission a score, and a crowding penalty is subtracted from it. Missions that score higher are preferred.
Penalty = C × max(0, N − A)2
where C is the Crowding Coefficient, N is the number of your own side's aircraft within 25 km, and A is the Minimum Aircraft Number Before De-crowding. The penalty is counted over every place and time a flight passes through, and only for the extra crowding that flight adds.
Because the crowding is squared, each extra aircraft in a crowded spot costs more than the one before. Each faction only counts its own aircraft, so opposing flights can still meet in large battles. Flights of 4 aircraft or fewer pay no penalty, but still count toward N for others. A penalty can lower a flight's score to zero but never below, so useful missions are still flown. In testing, penalized flights are usually rescheduled or retasked to a different target, and only rarely entirely removed.
2. Crowding Coefficient
C multiplies the whole penalty: doubling C doubles the penalty on every flight. A higher C makes the AI more willing to change the time, route, target or package size of a flight to avoid crowding, and a value of 0 turns de-crowding off.
3. Minimum Aircraft Number Before De-crowding
A is how many aircraft within 25 km are allowed before the penalty starts. A lower value spreads flights out more aggressively, and a higher value tolerates bigger concentrations.