2 .NA Flak "How flak works"
4 This page describes flak, and how it works.
6 Flak is created from gunfire when enemy planes fly overhead.
8 The way that flak works when planes fly over a sector is:
10 * Sector flak is fired. Up to a maximum of 14 guns can fire.
11 They're then scaled by twice your country's tech factor. So, for
12 example, if you had 14 guns firing, and have a tech factor of 35%,
13 you would have a total of 14 * .35 * 2 = 10 (after rounding) guns
15 * Land unit flak is then fired. Only 'flak' capable units will fire
16 in this volley (see "info show"), and each point of aaf counts as
17 1.5 flak guns. Flak saturates at 14 guns, and is then scaled by
19 * Ship flak is then fired. Flak saturates at 14 guns, and is then
20 scaled by unit tech factor.
23 In addition, if you are pin-bombing a land unit or a ship, when
24 you make your bombing run, the specific unit/ship you are bombing
25 gets to fire flak at you again. This number of guns firing flak
26 in these cases does NOT saturate.
27 Land units do not need capability flak to fire here.
29 The formulas for determining the # of guns fired in a general volley
33 guns = (guns in sector);
39 for (each ship in the sector)
40 guns += min(guns, guns able to fire)
46 for (each land unit in the sector)
47 guns += (aaf rating) * 1.5
52 Then, for each of the above general flak volleys, the # of guns is
55 firing = guns * (average techfact) * 2;
57 where average techfact is the average tech factor of everything that
58 could fire in this volley, regardless of saturation. Sectors use
59 their owner's tech factor.
61 On pinpoint bombing runs, the # of guns firing is determined by:
64 guns = min(guns, guns able to fire) * (techfact of ship) * 2;
67 guns = (aaf rating) * (techfact of unit) * 3;
69 techfact is determined by:
70 techfact = (50.0 + tech) / (200.0 + tech);
73 Once the number of flak guns firing has been determined, the planes
74 have to fly through it. The plane may have to fly through flak up
75 to 4 times in each sector, depending on circumstances. They are:
78 1) Fly through general sector flak (if any)
79 2) Fly through general ship flak (if any)
80 3) Fly through general unit flak (if any)
81 4) If pin-bombing, fly through specific unit or ship flak (if any)
84 To figure out the damages that a plane takes each time it flies through
85 flak, the following formula's are used:
88 flak = # of guns firing.
89 flak = flak - (planes defense);
90 if (plane is not tactical)
92 if (plane is stealthy)
94 if (plane is half stealthy)
102 mult = flaktable[flak];
105 damage = ((random number from 1 to 8) + 2) * mult;
109 plane's eff = (plane's eff) - dam;
110 if (plane's eff < 10%)
112 else if (chance((80 - (plane's eff)) / 100))
114 otherwise the plane continues on it's mission
116 For the above, use this table:
134 flaktable[16] = 1.1305
136 and a flakscale of 1.75
138 .SA "bomb, fly, recon, paradrop, nation, Planes, Interception, Combat"