Attacking planets
Stages
Preparation
Fighters take out fighters
Fighters take out fighters and other items
Fighters take out fighters, and some return
No more fighters
Troops take out troops
If the amount of attacking troops is less than 2% of the amount of the defending troops, the attack is unsuccessful. All attacking troops are lost and no defending troops will be eliminated.[1][2] Otherwise, the attack occurs as follows:
- The amount of defending troops lost is a random value between 10% and 45% of the amount of attacking troops (by default).[3]
- The amount of attacking troops lost is a random value between 25% and 150% of the amount of defending troops (by default).[4] If there are plenty of defending troops, all attacking troops will always be lost. If not all attacking troops are lost in an attack, they return to the ship.
- If all defending troops are eliminated, and there are no fighters on the planet, the attacker wins the planet.[5] If the remaining amount of defending troops on a planet is less than 25% of the amount of attacking troops that survived, the attacker wins the planet, and the defending troops surrender and stay in the employ of the newly captured planet.[6]
- If the amount of attacking troops that survive is less than 25% of the remaining defending troops, those troops surrender. A message is displayed that they have joined the ranks of the planet's troops[7], but due to a bug, this doesn't happen[8] and they are simply eliminated instead.
- If the amount of troops that will be returning to the ship is more than half of the amount remaining on the planet, the attack will also take out between 0 and 14 of each item on the planet as collateral damage.[9] (Among the items that can be shown as taken out are troops themselves, but due to a bug this value is not actually reduced.)
- Examples:
- Example 1: 500 troops attack a planet with 35000 troops. Since the amount of attacking troops is less than 2% of the amount of defending troops, the attack is unsuccessful. All attacking troops are lost and no defending troops are taken out.
- Example 2: 500 troops attack a planet with 2000 troops. Since 500 (2000×0.25) is the minimum amount of attacking troops that can be lost, all attacking troops will always be lost. The attacking troops will take out between 50 and 225 defending troops.
- Example 3: 500 troops attack a planet with 1000 troops. The amount of attacking troops that can be lost is calculated as between 250 (1000×0.25) and 1500 (1000×1.5), but of course there were only 500 attacking troops. Therefore, there is a 80% chance all 500 troops will be lost, and a 20% chance that it will be between 250 and 500. The attacking troops will take out between 50 and 225 defending troops. Since the lowest amount of defending troops that can remain is 775, and the highest amount of attacking troops that can return is 250, collateral damage will never be triggered. It's likely that any attacking troops that do survive will surrender to the planetary forces (for example if 800 planetary troops remain and fewer than 200 attacking troops survive).
- Example 4: 500 troops attack a planet with 500 troops. The amount of attacking troops that can be lost is calculated as between 125 (500×0.25) and 750 (500×1.5), but of course there were only 500 attacking troops. Therefore, there is a 40% chance all 500 troops will be lost, and a 60% chance that it will be between 125 and 500. The attacking troops will take out between 50 and 225 defending troops. The lowest amount of defending troops that can remain is 275, and the highest amount is 450. The highest amount of attacking troops that can return is 375, and the lowest amount is 0. If luck favors the attacker (for example, 300 attacking troops survive), collateral damage can be triggered. If luck favors the planetary forces (for example, 50 attacking troops survive), the surviving attackers may surrender.
- Example 5: 500 troops attack a planet with 200 troops. The amount of attacking troops that can be lost is calculated as between 50 (200×0.25) and 300 (200×1.5). Some troops will always return. The amount of defending troops that can be taken out is between 50 is between 225, and since there are only 200 defending troops there is a 16.66% chance of taking out all the troops and winning the planet, and an 83.33% chance of taking out between 50 and 200. Since the highest amount of defending troops that can remain is 150, and the lowest amount of attacking troops that can return to the ship is 200, collateral damage will always be triggered.
- Example 6: 5000 troops attack a planet with 200 troops. The amount of attacking troops that can be lost is calculated as between 50 (200×0.25) and 300 (200×1.5). Some troops will always return. The minimum amount of defending troops that can be taken out is 500, and since there are fewer than 500 defending troops, all defending troops will always be lost and the planet will be won.
- If you attack with troops while fighters are still present on the planet, the fighters will take out anywhere between 9 and 43 troops per fighter, before the troop-on-troop battle begins.[10] Troops cannot take out fighters.
- Due to a bug, if a planet has no troops, it cannot be taken over with troops. The victory message will be displayed, but the planet will not change hands.[11] To take it over, attack with a fighter or transfer down 1 troop, then attack with troops.
YAAAA!
Spies
Spies level of confidence is random number between 50 and 98.[12] For example, if the spy has a level of confidence of 75, the amount of an item reported can be anywhere between 75% of the actual amount and 125% of the actual amount.[13]
- ↑ GECMDS.C, line 3674
- ↑ GEREADME.DOC#03/06/94 Release 3.2d
- ↑ GECMDS.C, line 3671
- ↑ GECMDS.C, line 3671
- ↑ GECMDS.C, lines 3740-3743
- ↑ GECMDS.C, lines 3698-3703
- ↑ GECMDS.C, lines 3705-3711
- ↑ GECMDS.C, line 3745
- ↑ GECMDS.C, line 3715
- ↑ GECMDS.C, lines 3659-3668
- ↑ GECMDS.C, lines 3760-3769
- ↑ GEPLANET.C line 168: d_odds = 50.0+rndm(48.0);
- ↑ GEPLANET.C line 176: d_rptcnt = d_itemcnt - (d_itemcnt*rndm(d_odds)) + (d_itemcnt*rndm(d_odds));