Difference between revisions of "Experience"

From UFOpaedia
Jump to navigation Jump to search
(→‎Secondary Stats: value given was wrong)
 
(29 intermediate revisions by 11 users not shown)
Line 1: Line 1:
A soldier earns experience during combat. After the mission, the soldier will then earn a random amount of stat increases based on what experience the soldier acquired during combat.
+
__NOTOC__
 +
== Overview ==
  
 +
Experience, in X-COM, is the accumulation of combat experience by successfully performing actions. After combat, this experience is applied towards the improvement of stats.
 +
 +
This article discusses how experience is earned and how it affects a soldier's statistics and skills.
 +
 +
__TOC__
 
== How Experience Points Are Applied ==
 
== How Experience Points Are Applied ==
  
Soldier stats can be divided into two areas, <b>primary</b> and <b>secondary</b> stats.
+
Soldier stats can be divided into two areas, '''primary''' and '''secondary''' stats.
  
 
=== Primary Stats ===
 
=== Primary Stats ===
  
*<b>Primary</b> stats only increase when particular actions are performed. To see exactly how to trigger each stat, follow its link. The stats are:
+
*'''Primary Stats''' are stats that are directly influenced by the actions that they are associated with. These actions can be called '''Primary Actions'''. They are:
**[[Psi Skill]]
+
**[[Reactions]]
 
**[[Firing Accuracy]]
 
**[[Firing Accuracy]]
**[[Reactions]]
+
**[[Melee Accuracy]]
 
**[[Throwing Accuracy]]
 
**[[Throwing Accuracy]]
**[[Melee Accuracy]]
+
**[[Psionic Skill]]
 +
**[[Bravery]]
 +
 
 +
* Every time a Primary Action is taken, '''Primary Skill Points''' are earned. They count the number of successful primary actions taken. This is used to calculate how much experience is gained at the end of combat. For specifics on each stat, refer to the individual stat pages by clicking on the links above.
  
* The number of <b>primary skill points</b> you earn at the end of a combat mission relies <i>solely</i> on the number of primary actions you perform during combat. Your current skill level <i>doesn't matter</i>. It doesn't matter if you have the lowest recruit value, or you're one point below the cap.
+
* The number of primary skill points earned at the end of a mission relies ''solely'' on the number of primary actions performed during combat, as shown below. Current skill is irrelevant. Whether you have the value that can be rolled for a recruit, or you are one point below the cap.
  
*Points assigned have a stairstep function, corresponding to a range within which points are rolled. The range increases as more actions are performed:
+
*Points assigned have a stairstep function, corresponding to a range within which points are rolled. As more actions are performed, the greater the range:
  
  Primary   Roll  Average  Ave. Inc. /
+
{| class="wikitable" cellpadding=3
  <u>Actions</u>*  <u>Range</u>  <u>Increase</u>  <u>Min. Actions</u>    <i>*Successful Psi actions count as 3 actions - see below</i>
+
|-
    1-2     0-1     0.5     0.50
+
! Primary<br>Actions !! Roll<br>Range !! Average<br>Increase !! Ave. Inc. /<br> Min. Actions !! Marginal Inc. / Act. from<br>1, 3 and 6 Actions resp.
    3-5     1-3     2.0     0.67
+
|-
    6-10     1-4     2.5     0.42
+
| 1 - 2 || 0 - 1 || 0.5 || 0.50 || -
    11+     2-6     4.0     0.36
+
|-
 +
| 3 - 5 || 1 - 3 || 2.0 || 0.67 || 0.75
 +
|-
 +
| 6 - 10 || 1 - 4 || 2.5 || 0.42 || 0.40, 0.16
 +
|-
 +
| 11+ || 2 - 6 || 4.0 || 0.36 || 0.35, 0.25, 0.30
 +
|}
 +
:<i>Successful '''Psi''' actions count as 3 actions. '''Bravery''' uses a different approach. See below.</i>
  
*Performing more than 11 actions <i>doesn't cause any more increase</i>. This was tested out to 200 actions. Once you reach 11, you get a 2-6 roll, and that's that.
+
*Performing more than 11 actions <i>won't cause any more increase</i>. Once you reach that figure you get a 2-6 roll and that's that. (Seen in code, and tested to 200+ actions.)
  
*As you can see, there are distinct breakpoints at 3 actions and 11 actions, corresponding to an average increase of 2 and 4 skill points, respectively. Three actions are the best "bang for the buck", if you have a limited number to spread across your squad (a.k.a., a limited number of aliens to kill). It's not an issue with psi or throwing (which you can do all you want), but is for other primaries.
+
*If there is a limited number of actions your squad can perform (i.e., a limited number of aliens to kill), the "Average Increase / Minimum Actions" shows the most efficient way to go first and the "Marginal Increase" how to proceed from there. The 2.0 average increase for 3 actions is best. In other words, if you let one soldier shoot 3 times instead of letting 3 soldiers shoot one time, the average increase for the squad as a whole is better (here, an average of 2.0 within the squad versus an average increase of 3 x 0.5 = 1.5 with the same three shots). Going from there, aiming for 11 actions provides the best marginal utility (0.25 vs. only 0.16 when going for 6 actions).  When there isn't enough to go around, choose who and how you want to advance your soldiers and allocate actions in this order: 3 actions (0.67) and then directly to 11 actions (0.25 per additional action). While you might still want most of your soldiers to take at least 1 action to trigger secondary stat grow (see below), you should never aim for 6-10 bracket as it is better to have 37.5% of you trainees increase +4 (and the others at +2) than having all of them increase +2.5 on avg. for the same number of actions.
  
*Related to this, letting your soldiers throw 3 times just before ending a mission maximizes Throwing Accuracy growth vs. your personal time spent. (If you give a damn about Throwing!)
+
*The only time one might have gone for 1 action (besides for triggering secondary stat gain) is if you knew you could only get off 2 more shots, not 3. But short of cheating, [[Damage]] is always unpredictable, so instead of taking 1 shot at 2 soldiers when you think your last alien is about dead, you should probably have 1 soldier see if they can get to 3 shots. By the same token, you would prefer to take two soldiers to 6 actions instead of taking one to 9 or 10.
  
*In a sense, more than 3 actions ''wastes'' those actions, ''unless'' you can get to 11 actions. (Arguably, getting to 6 is an exception, especially if you find yourself at 5 actions after e.g. some reaction firing.) Unless you have plenty of targets (so that many soldiers can make it to 11 actions), try to stop at 3 actions. Either count bullets as a crude approximation, or use a utility that reads the [[UNITREF.DAT]] experience counters from a saved game for exact counts. The number of bullets you've shot will accurately reflect your Reaction counter (unless the person also did direct fire sans reacting), but knowing how many hits were landed for Firing Accuracy can be much more problematic. For a little more detail on efficiency versus experience, see [[User_talk:MikeTheRed#Another_Look_at_Primary_Point_Increases|this]].
+
*Notice that any intermediate shots (e.g. your 2nd or 8th shots) are a waste of <strike>aliens</strike> er, actions unless you reach the next minimum-actions level. You can count bullets as a crude approximation, or use a utility that reads the [[UNITREF.DAT]] experience counters from a saved game for exact counts. The number of bullets you've shot will accurately reflect your Reaction counter (unless the person also did direct fire sans reacting), but knowing how many hits were landed for Firing Accuracy can be much more problematic. For a little more detail on efficiency versus experience, see [[User_talk:MikeTheRed#Another_Look_at_Primary_Point_Increases|this]].
  
 
*Psi actions are a special case. <b>Successful</b> panic or mind control (MC) attempts cause the psi experience counter to go up by <b>three</b> actions. Thus, you only need to do 4 successful MCs or panics to get all the psi skill points you're going to (4x3=an experience count of 12). But <b>unsuccessful</b> attempts only cause the counter to go up by <b>one</b>. So you need 11 failed attempts to get to the 2-6 roll range, just like for all other primary stats.
 
*Psi actions are a special case. <b>Successful</b> panic or mind control (MC) attempts cause the psi experience counter to go up by <b>three</b> actions. Thus, you only need to do 4 successful MCs or panics to get all the psi skill points you're going to (4x3=an experience count of 12). But <b>unsuccessful</b> attempts only cause the counter to go up by <b>one</b>. So you need 11 failed attempts to get to the 2-6 roll range, just like for all other primary stats.
  
 
*[[Throwing_Accuracy|Throwing Accuracy]] is also an oddball. While it follows the rules for all primaries (except Bravery), it <i>only</i> increases your Throwing Accuracy. It does not trigger secondaries to increase. (It would've been too easy to increase stats, otherwise! Actually, Psi is just as easy to develop, but it takes time to research psi, and then it needs more combats to reach its cap.)
 
*[[Throwing_Accuracy|Throwing Accuracy]] is also an oddball. While it follows the rules for all primaries (except Bravery), it <i>only</i> increases your Throwing Accuracy. It does not trigger secondaries to increase. (It would've been too easy to increase stats, otherwise! Actually, Psi is just as easy to develop, but it takes time to research psi, and then it needs more combats to reach its cap.)
 +
**Letting your soldiers throw 3 times just before ending a mission maximizes Throwing Accuracy growth versus your personal time spent.
  
*Performing more than 255 actions of a given type will cause all experience to be lost.  This is known to be true for Psi actions, and is undoubtably true for other actions as well (one byte fields), although Psi is the only place it's realistically likely. More precisely, experience gets wrapped around, and starts counting again. If you are seriously testing stats, or are challenging yourself by allowing only one psi person, the distance from 255 to 266 (255-11) is only 4.3%, or 3 to 4 MCs on top of 85 successful Psis (28 turns' worth, if they've been successfully MCing since Turn 1). Thus, this may sound scary, but you have '''nothing to fear''' unless you've had someone succesfully MCing 3 times every turn, for 30 turns - and even then, just let them MC a few more. What's 11 more compared to 255?
+
*Performing more than 255 actions of a given type will cause all experience to be lost.  This is known to be true for Psi actions, and is undoubtedly true for other actions as well as they are stored in one byte fields. Psi is the only place it's realistically likely. More precisely, experience gets wrapped around, and starts counting again. If you are seriously testing stats, or are challenging yourself by allowing only one psi person, the distance from 255 to 265 (255-10) is only 4.3%, or 3 to 4 MCs on top of 85 successful Psis (28 turns' worth, if they've been successfully MCing since Turn 1). Thus, this may sound scary, but you have '''nothing to fear''' unless you've had someone successfully MCing 3 times every turn, for 30 turns - and even then, just let them MC a few more. What's 10 more compared to 255?
  
* When you think about it, Ye Olde Programmers Of Yore made a simple and robust system where all squaddies are expected to participate, and hopefully each of them get to make a few primary actions that increase their score some real amount each combat mission.
+
* X-COM uses a simple but robust system where all squaddies are expected to participate, and skills increase in proportion to how often they are used.
  
 
==== Bravery ====
 
==== Bravery ====
  
[[Bravery]] experience can also be gained on the battlefield, but by a very different means from all the other primary stats.  The bravery stat itself is stored in increments of 10 (10 minimum, 100 maximum, with 110 possible for certain non-human units), and it can only increase by 10 points following each combat (it either gains 10, or nothing).
+
[[Bravery]] experience can also be gained on the battlefield, but using a different algorithm from other primary stats.  The bravery stat itself is stored in increments of 10 (10 minimum, 100 maximum, with 110 possible for certain non-human units), and it can only increase by 10 points following each combat (it either gains 10, or nothing).
  
To gain bravery experience, a unit must have its [[Morale]] reduced below 50, where it stands a chance of panicking or going berserk.  If the unit ''successfully resists'' panicking, it will gain a  "bravery experience" point.  Each bravery experience point gives the unit an additional ~9% chance of gaining +10 Bravery at the end of the combat.  At 11 or more bravery experience points, the +10 Bravery gain is guaranteed.
+
To gain bravery experience, a unit must have its [[Morale]] reduced below 50, where it stands a chance of panicking or going berserk.  If the unit ''successfully resists'' panicking, it will gain a  "bravery experience" point.  Each bravery experience point gives the unit an additional ~9% chance (or an eleventh, to be precise) of gaining +10 Bravery at the end of the combat.  At 11 or more bravery experience points, the +10 Bravery gain is guaranteed.
  
 
Like other primary stats, gaining one or more bravery experience points during a combat triggers secondary stat increases.
 
Like other primary stats, gaining one or more bravery experience points during a combat triggers secondary stat increases.
Line 51: Line 68:
 
=== Secondary Stats ===
 
=== Secondary Stats ===
  
*<b>Secondary</b> stats increase when one or more primary actions are performed (except for throwing). Secondary skills are:
+
*'''Secondary stats''' increase when one or more primary actions are performed (except for throwing). Secondary stats are:
** [[TU]]s
+
** [[Time Units]]
** [[Energy|Energy/Stamina]]
 
 
** [[Health]]
 
** [[Health]]
 
** [[Strength]]
 
** [[Strength]]
 +
** [[Energy|Energy/Stamina]]
  
* <b>Secondary skill points</b> work quite differently from primary skills: It <i>does not matter</i> how many primary actions are taken; all that matters is that you did <i>one</I> primary action -- and your secondaries will increase all that they're gonna. It also doesn't matter if you did more than one <i>kind</i> of primary skill.
+
* '''Secondary skill points''' work quite differently from primary skills: It <i>does not matter</i> how many primary actions are taken; all that matters is that you did <i>one</I> primary action (land a non-IN attack on an enemy, react to something, not panic when [[Morale]] is below 50, or use a psi attack) -- your secondaries will increase all that they're gonna. It also doesn't matter if you did more than one <i>kind</i> of primary action.
 
 
* Another difference is that unlike primary stat gains, the current level of your secondary stats influences how many additional points you will gain. If a rookie has low starting stats, this is the amount he or she can expect to gain:
 
  
       
+
* The maximum possible increase is highest when the stat is lowest (it can increase the most when you need it the most). The amount that the stat can increase falls steadily as your secondary skills approach their caps, down to an average of 1 point (range 0-2) per combat for each stat. The overall formula is that you gain 0 to 2 points, plus a tenth (rounded down) of the remaining increase possible. (For a graph, see [[User_talk:MikeTheRed#Secondary_.22Steps.22|this]]). Thus, secondary stats which start very low should increase quickly, and will then increase less rapidly as they rise. Rookies with the lowest possible starting stats will have the following as their max possible roll:
              Starting    Possible
 
                <u>Value</u>    <u>Increase</u>
 
  TUs          51-60        0-4
 
  Energy      41-50        0-5
 
  Health      25-30        0-5
 
  Strength    21-30        0-6
 
  
: ''Note: The maximum possible increase will be one point higher if the rookie has the lowest possible starting stat, i.e., 50 TUs, 40 Energy, or 20 Strength.
+
{| class="wikitable" cellpadding=3
 +
|-       
 +
!
 +
! Recruit<br>Min !! Max<br>Roll !! Recruit<br>Max !! Overall<br>Cap
 +
|-
 +
| TUs || 50 || 5 || 60 || 80
 +
|-
 +
| Health || 25 || 5|| 40 || 60
 +
|-
 +
| Strength || 20 || 7 || 40 || 70
 +
|-
 +
| Energy || 40 || 6 || 70 || 100
 +
|}
  
* The maximum possible increase falls steadily as your secondary skills approach their caps, down to an average of 1 point (range 0-2) per combat for each stat. This is actually a simplification; for a graph of skill increases vs. current levels, see [[User_talk:MikeTheRed#Secondary_.22Steps.22|here]]. Thus, secondary stats which start very low should increase quickly, and will then increase less rapidly as they rise.
+
*The minimum possible roll is always zero for secondaries. Across the four secondaries, soldiers will show wide variations of luck or lack of luck following each combat, just like flipping coins. Still, the odds are that someone low will rise fast. It's real hard to roll a lot of zeros in a row when the maximum is two or more (and it always is).
  
*Note that even if a primary skill is over its cap, you <i>can</i> still increase (non-capped) secondaries by performing a capped primary action.
+
*If a primary skill is over its cap, it does still trigger (non-capped) secondaries to increase, by performing it.
  
 
=== Soldier Advancement ===
 
=== Soldier Advancement ===
Line 84: Line 105:
 
Secondary skills likewise use an average roll for advancing, according to the decreasing-slope function described above.
 
Secondary skills likewise use an average roll for advancing, according to the decreasing-slope function described above.
  
Because you can select or reject soldiers based on their starting stats, the more important question becomes, "which stats take the longest to advance from recruit maximum to its cap?" In other words, values above recruit max can't be "bought"... so which have the farthest to develop and should be focussed on, if you want to maximize your stats?  
+
Because you can select or reject soldiers based on their starting stats, the more important question becomes, "which stats take the longest to advance from recruit maximum to its cap?" In other words, values above recruit max can't be "bought"... so which have the farthest to develop and should be focused on, if you want to maximize your stats?  
  
 
You can use this as a basis for keeping or rejecting new recruits, or otherwise choosing which skills to develop.
 
You can use this as a basis for keeping or rejecting new recruits, or otherwise choosing which skills to develop.
  
The table below shows the number of combats needed for a soldier to advance from recruit maximum to attribute cap, '''on average'''. A more detailed look, including starting from recruit minimum, theretical min and max advancement times, etc., can be found [[SoldierAttributeAdvancement|here]].
+
The table below shows the number of combats needed for a soldier to advance from recruit maximum to attribute cap, '''on average'''. A more detailed look, including starting from recruit minimum, theoretical min and max advancement times, etc., can be found [[Media:XcomAttributeAdvancement.xls|here]] and a PDF of the same is [[Media:XcomAttributeAdvancement.pdf|here]].
 
 
                                <u>Experience</u>
 
                                  <u>Range</u>
 
<u>Stat</u>          <u>Min</u>  <u>Max</u>  <u>Cap</u>  <u>High</u> <u>Low</u>  <u>Secondary</u>
 
 
''Primaries
 
Psi Skill      16  24  100    19  38   
 
Firing Acc.    40  70  120    13  25 
 
Reactions      30  60  100    10  20 
 
Throwing Acc.   50  80  120    10  20 
 
 
''Secondaries
 
TUs            50  60    80                16
 
Stamina        40  70  100                24
 
Health          25  40    60                16
 
Strength        20  40    70                21
 
  
 +
{| class="wikitable" cellpadding=3
 +
|-
 +
! rowspan = "2" | Stat
 +
! rowspan = "2" | Min
 +
! rowspan = "2" | Max
 +
! rowspan = "2" | Cap
 +
! colspan = "2" | Experience<br>Range
 +
! rowspan = "2" | Secondary
 +
|-
 +
! High
 +
! Low
 +
|-
 +
! colspan = " 7"| Primaries
 +
|-
 +
| style = "text-align:left;" | Reactions
 +
| 30 || 60 || 100 || 10 || 20 || &nbsp; 
 +
|-
 +
| style = "text-align:left;" | Firing Accuracy
 +
| 40 || 70 || 120 || 13 || 25  || &nbsp;
 +
|-
 +
| style = "text-align:left;" | Throwing Accuracy
 +
| 50 || 80 || 120 || 10 || 20 || &nbsp; 
 +
|-
 +
|  style = "text-align:left;" | Psi Skill
 +
| 16 || 24 || 100 || 19 || 38  || &nbsp; 
 +
|-
 +
! colspan = "7"  | Secondaries
 +
|-
 +
| style = "text-align:left;" | Time Units
 +
| 50 || 60 || 80 || &nbsp; || &nbsp; || 16
 +
|-
 +
| style = "text-align:left;" | Health
 +
| 25 || 40 || 60 || &nbsp; || &nbsp; || 16
 +
|-
 +
| style = "text-align:left;" | Strength
 +
| 20 || 40 || 70 || &nbsp; || &nbsp; || 21
 +
|-
 +
| style = "text-align:left;" | Stamina
 +
| 40 || 70 || 100 || &nbsp; || &nbsp; || 24
 +
|} 
 +
 
 
=== Putting It All Together ===
 
=== Putting It All Together ===
  
Line 112: Line 158:
 
* Do your best to get every soldier you are interested in developing, to get at least one primary action (not including throwing).  This will trigger secondary stat increases. Then try to shoot for the big breakpoints of 3 or 11 primary actions. Doing more than 11 actions does not increase a particular primary stat any more, so give other soldiers the chance to perform actions once your favorite soldiers have maxed out on theirs.
 
* Do your best to get every soldier you are interested in developing, to get at least one primary action (not including throwing).  This will trigger secondary stat increases. Then try to shoot for the big breakpoints of 3 or 11 primary actions. Doing more than 11 actions does not increase a particular primary stat any more, so give other soldiers the chance to perform actions once your favorite soldiers have maxed out on theirs.
  
* Any soldier can (and will!) ultimately become a maxed-out superman. The worse a secondary stat is, the quicker it will rise. And you can try to target who performs which primary actions. Taking advantage of the breakpoints of 3 and 11 can also help you manage potential skill increases (a.k.a. targets) as effectively as possible. That said,
+
* Any soldier can (and will!) ultimately become a maxed-out superman. (Not counting Psi-wimps with a low psi strength, who will never improve at all.) The worse a secondary stat is, the quicker it will rise. And you can try to target who performs which primary actions. Taking advantage of the breakpoints of 3 and 11 can also help you manage potential skill increases (a.k.a. targets) as effectively as possible. That said,
  
 
* Early in the game, don't spend much time or money fretting over stats. Any soldier is liable to come up snakes with their Psi strength. And every soldier can otherwise eventually become a superman.
 
* Early in the game, don't spend much time or money fretting over stats. Any soldier is liable to come up snakes with their Psi strength. And every soldier can otherwise eventually become a superman.
  
* Once you have Psi on board, you can use [[Exprience Training]] to optimize advancement.  
+
* Once you have strong Psi soldiers, you can easily use [[Experience Training]] to optimize advancement.  
  
*In the endgame (when you have tons of cash), if you're a micromanager role-playing to make soldiers who are maxxed across the board, it's arguably more important to pick recruits who are not anomalousy low in any one stat, rather than ones who are high in a few things. In other words, if your goal is 100% stats, one really bad stat may slow you down more than e.g. being a particularly good newbie shooter. Firing accuracy, reactions, and stamina have the biggest span between recruit values and work needed to max them out.
+
*In the endgame (when you have tons of cash), if you're a micromanager and wish to have soldiers maxed across the board, the main focus when screening recruits is the stats that can't be improved - Energy Recharge (which is equal to a soldier's starting TU, divided by 3 and rounded down) and Psi-Strength. So one would screen incoming (psi-locked) rookies for TUs, keep the ones with 60 TUs (who have 20 Energy Recharge), and then put the remaining rookies through a month of Psi-Lab training and discard those with Psi-Strength below some threshold (100 might be too strict given the one-month investment of time in each, but 90 or 95 is attainable given sufficient funding and a large number of Psi-Labs). All other stats are of secondary importance, since they can be improved with experience, and as such screening will only save you time training them while further increasing the number of rookies you need in order for one of them to "pass muster".
  
 
== Regarding Caps ==
 
== Regarding Caps ==
Every soldier statistic has a maximum allowed value, as shown in the table below. Your soldier will eventually have a value equal to or slightly greater than the cap. It is allowed to go over the cap, the very last time you have a combat while it is still under the cap. For example, the maximum Firing Accuracy is 120. If you go into a combat at 119, do lots of shooting, and get a +5 roll, you will walk away with 124 Firing Accuracy - but it will never increase again.
+
Every soldier statistic has a maximum allowed value, as shown in the table below. Your soldier will eventually have a value equal to or slightly greater than the cap. It is allowed to go over the cap the very last time you have a combat while it is still under the cap. For example, the maximum Firing Accuracy is 120. If you go into a combat at 119, do lots of shooting, and get a +5 roll, you will walk away with 124 Firing Accuracy - but it will never increase again.
  
 
Primary skills can overflow their cap by 5, and secondary skills can overflow their cap by 1, as shown here:
 
Primary skills can overflow their cap by 5, and secondary skills can overflow their cap by 1, as shown here:
  
<u>Primary Stat</u>        <u>Min Cap</u>    <u>Max Cap</u>
+
{| class="wikitable" cellpadding=3
Psi Skill              100         105+*
+
|-
Firing Accuracy       120         125
+
! Primary Stat !! Min Cap !! Max Cap
Reactions              100        105
+
|-
Throwing Accuracy     120         125
+
| Reactions || 100 || 105
Melee Accuracy         120         125
+
|-
+
| Firing Accuracy || 120 || 125
<u>Secondary Stat</u>      <u>Min Cap</u>    <u>Max Cap</u>
+
|-
Time Units             80         81
+
| Melee Accuracy || 120 || 125
Stamina                100        101
+
|-
Health                 60         61
+
| Throwing Accuracy || 120 || 125
Strength               70         71
+
|-
+
| Psi Skill || 100 || 105+'''<sup>*</sup>'''
<nowiki>*</nowiki>Psi Skill is the only exception to the cap rule. Combat will operate normally -  you'll never see an increase from combat once you're 100+ Psi Skill - but [[Psi_Skill#Improvement|Psi Lab]] training will continue to add 1-3 points each month.
+
|-
 +
| Bravery || 100 || 100
 +
|-
 +
! Secondary Stat !! Min Cap !! Max Cap
 +
|-
 +
| Time Units || 80 || 81
 +
|-
 +
| Health || 60 || 61
 +
|-
 +
| Strength || 70 || 71
 +
|-
 +
| Stamina || 100 || 101
 +
|}
  
You have a 33% chance of getting Cap+1 for secondary skills, and you have no control over what happens (barring reloading your game and ending combat again).
+
:<i><sup>*</sup>Psi Skill is an exception. [[Psionic Skill#Improvement|Psi Lab]] training can continue to add 1-3 points each month after reaching the cap, and will loop the value back down to 0 if it passes 255.</i>
 +
 
 +
You have a 33% chance of getting capped at Cap+1 for secondary skills, and you have no control over what happens (barring reloading your game and ending combat again).  The chance is 33% and not 50% because there are two ways to reach Cap (being at Cap-2 and rolling 2 or being at Cap-1 and rolling 1), but only one way to reach Cap+1 (being at Cap-1 and rolling 2).
  
 
For primaries, a soldier that does 11+ actions (for a 2-6 roll) every single combat mission will get Cap+5 in that primary skill <b>5%</b> of the time, on average. "Every single mission" means, without regard for the fact you're nearing the cap (and playing with the possible roll results). You can increase the odds to as high as 20%, if you use the primary increase roll ranges to inch your way up to Cap-1, then do 11+ actions on your final combat. Or you can have a 0% chance of Cap+5 if you don't pay attention and don't do 11+ actions near the cap!
 
For primaries, a soldier that does 11+ actions (for a 2-6 roll) every single combat mission will get Cap+5 in that primary skill <b>5%</b> of the time, on average. "Every single mission" means, without regard for the fact you're nearing the cap (and playing with the possible roll results). You can increase the odds to as high as 20%, if you use the primary increase roll ranges to inch your way up to Cap-1, then do 11+ actions on your final combat. Or you can have a 0% chance of Cap+5 if you don't pay attention and don't do 11+ actions near the cap!
  
== Misc Notes ==
+
== Experience training outside combat ==
 +
 
 +
With the exception of [[Psionic Skill]] training in the [[Psionic Laboratory|Psi Lab]], all stats can only be trained through combat experience.
 +
 
 +
== Rookie promotions ==
  
*With the exception of [[Psi Skill]] training in the [[Psionic Laboratory|Psi Lab]], all stats can only be trained through combat experience.  
+
A Rookie that has gained any experience except throwing, is promoted to Squaddie (also see [[promotions]]).
  
*Any combat experience earned will influence [[promotions]]. The soldier with the highest amount of experience in total will have the best chance of being promoted to the next rank.  Bravery training will count towards a promotion as well. <br>
 
<br>
 
  
 
==See Also==
 
==See Also==
*For more information on individual soldier stats, see [[Soldiers (UFO Defense)|Soldiers]]
+
*[[Soldiers]]
*For info on "training" for experience, see [[Experience Training]]
+
*[[Experience Training]]
*For "behind the scenes" on experience testing (a.k.a. how testing was done in nauseating detail), see [[User_talk:MikeTheRed#The_Experience_of_Experience|here]]
+
*For "behind the scenes" on experience testing, see [[User_talk:MikeTheRed#The_Experience_of_Experience|this]]
 
[[Category:Soldiers]]
 
[[Category:Soldiers]]
 +
[[Category:Enemy Unknown/UFO Defense]]

Latest revision as of 07:18, 6 July 2018

Overview

Experience, in X-COM, is the accumulation of combat experience by successfully performing actions. After combat, this experience is applied towards the improvement of stats.

This article discusses how experience is earned and how it affects a soldier's statistics and skills.

How Experience Points Are Applied

Soldier stats can be divided into two areas, primary and secondary stats.

Primary Stats

  • Every time a Primary Action is taken, Primary Skill Points are earned. They count the number of successful primary actions taken. This is used to calculate how much experience is gained at the end of combat. For specifics on each stat, refer to the individual stat pages by clicking on the links above.
  • The number of primary skill points earned at the end of a mission relies solely on the number of primary actions performed during combat, as shown below. Current skill is irrelevant. Whether you have the value that can be rolled for a recruit, or you are one point below the cap.
  • Points assigned have a stairstep function, corresponding to a range within which points are rolled. As more actions are performed, the greater the range:
Primary
Actions
Roll
Range
Average
Increase
Ave. Inc. /
Min. Actions
Marginal Inc. / Act. from
1, 3 and 6 Actions resp.
1 - 2 0 - 1 0.5 0.50 -
3 - 5 1 - 3 2.0 0.67 0.75
6 - 10 1 - 4 2.5 0.42 0.40, 0.16
11+ 2 - 6 4.0 0.36 0.35, 0.25, 0.30
Successful Psi actions count as 3 actions. Bravery uses a different approach. See below.
  • Performing more than 11 actions won't cause any more increase. Once you reach that figure you get a 2-6 roll and that's that. (Seen in code, and tested to 200+ actions.)
  • If there is a limited number of actions your squad can perform (i.e., a limited number of aliens to kill), the "Average Increase / Minimum Actions" shows the most efficient way to go first and the "Marginal Increase" how to proceed from there. The 2.0 average increase for 3 actions is best. In other words, if you let one soldier shoot 3 times instead of letting 3 soldiers shoot one time, the average increase for the squad as a whole is better (here, an average of 2.0 within the squad versus an average increase of 3 x 0.5 = 1.5 with the same three shots). Going from there, aiming for 11 actions provides the best marginal utility (0.25 vs. only 0.16 when going for 6 actions). When there isn't enough to go around, choose who and how you want to advance your soldiers and allocate actions in this order: 3 actions (0.67) and then directly to 11 actions (0.25 per additional action). While you might still want most of your soldiers to take at least 1 action to trigger secondary stat grow (see below), you should never aim for 6-10 bracket as it is better to have 37.5% of you trainees increase +4 (and the others at +2) than having all of them increase +2.5 on avg. for the same number of actions.
  • The only time one might have gone for 1 action (besides for triggering secondary stat gain) is if you knew you could only get off 2 more shots, not 3. But short of cheating, Damage is always unpredictable, so instead of taking 1 shot at 2 soldiers when you think your last alien is about dead, you should probably have 1 soldier see if they can get to 3 shots. By the same token, you would prefer to take two soldiers to 6 actions instead of taking one to 9 or 10.
  • Notice that any intermediate shots (e.g. your 2nd or 8th shots) are a waste of aliens er, actions unless you reach the next minimum-actions level. You can count bullets as a crude approximation, or use a utility that reads the UNITREF.DAT experience counters from a saved game for exact counts. The number of bullets you've shot will accurately reflect your Reaction counter (unless the person also did direct fire sans reacting), but knowing how many hits were landed for Firing Accuracy can be much more problematic. For a little more detail on efficiency versus experience, see this.
  • Psi actions are a special case. Successful panic or mind control (MC) attempts cause the psi experience counter to go up by three actions. Thus, you only need to do 4 successful MCs or panics to get all the psi skill points you're going to (4x3=an experience count of 12). But unsuccessful attempts only cause the counter to go up by one. So you need 11 failed attempts to get to the 2-6 roll range, just like for all other primary stats.
  • Throwing Accuracy is also an oddball. While it follows the rules for all primaries (except Bravery), it only increases your Throwing Accuracy. It does not trigger secondaries to increase. (It would've been too easy to increase stats, otherwise! Actually, Psi is just as easy to develop, but it takes time to research psi, and then it needs more combats to reach its cap.)
    • Letting your soldiers throw 3 times just before ending a mission maximizes Throwing Accuracy growth versus your personal time spent.
  • Performing more than 255 actions of a given type will cause all experience to be lost. This is known to be true for Psi actions, and is undoubtedly true for other actions as well as they are stored in one byte fields. Psi is the only place it's realistically likely. More precisely, experience gets wrapped around, and starts counting again. If you are seriously testing stats, or are challenging yourself by allowing only one psi person, the distance from 255 to 265 (255-10) is only 4.3%, or 3 to 4 MCs on top of 85 successful Psis (28 turns' worth, if they've been successfully MCing since Turn 1). Thus, this may sound scary, but you have nothing to fear unless you've had someone successfully MCing 3 times every turn, for 30 turns - and even then, just let them MC a few more. What's 10 more compared to 255?
  • X-COM uses a simple but robust system where all squaddies are expected to participate, and skills increase in proportion to how often they are used.

Bravery

Bravery experience can also be gained on the battlefield, but using a different algorithm from other primary stats. The bravery stat itself is stored in increments of 10 (10 minimum, 100 maximum, with 110 possible for certain non-human units), and it can only increase by 10 points following each combat (it either gains 10, or nothing).

To gain bravery experience, a unit must have its Morale reduced below 50, where it stands a chance of panicking or going berserk. If the unit successfully resists panicking, it will gain a "bravery experience" point. Each bravery experience point gives the unit an additional ~9% chance (or an eleventh, to be precise) of gaining +10 Bravery at the end of the combat. At 11 or more bravery experience points, the +10 Bravery gain is guaranteed.

Like other primary stats, gaining one or more bravery experience points during a combat triggers secondary stat increases.

Secondary Stats

  • Secondary skill points work quite differently from primary skills: It does not matter how many primary actions are taken; all that matters is that you did one primary action (land a non-IN attack on an enemy, react to something, not panic when Morale is below 50, or use a psi attack) -- your secondaries will increase all that they're gonna. It also doesn't matter if you did more than one kind of primary action.
  • The maximum possible increase is highest when the stat is lowest (it can increase the most when you need it the most). The amount that the stat can increase falls steadily as your secondary skills approach their caps, down to an average of 1 point (range 0-2) per combat for each stat. The overall formula is that you gain 0 to 2 points, plus a tenth (rounded down) of the remaining increase possible. (For a graph, see this). Thus, secondary stats which start very low should increase quickly, and will then increase less rapidly as they rise. Rookies with the lowest possible starting stats will have the following as their max possible roll:
Recruit
Min
Max
Roll
Recruit
Max
Overall
Cap
TUs 50 5 60 80
Health 25 5 40 60
Strength 20 7 40 70
Energy 40 6 70 100
  • The minimum possible roll is always zero for secondaries. Across the four secondaries, soldiers will show wide variations of luck or lack of luck following each combat, just like flipping coins. Still, the odds are that someone low will rise fast. It's real hard to roll a lot of zeros in a row when the maximum is two or more (and it always is).
  • If a primary skill is over its cap, it does still trigger (non-capped) secondaries to increase, by performing it.

Soldier Advancement

Given the rules of how experience works, one can predict how long it will take soldiers to advance their attributes.

Primary skill advances can be based on hypothetical soldiers who always get:

  • Low experience: 3 primary-skill experience points leading to a 1-3 roll and thus, always an average of 2 points per combat
  • High experience: 11 primary-skill experience points leading to a 2-6 roll and thus, always an average of 4 points per combat

Secondary skills likewise use an average roll for advancing, according to the decreasing-slope function described above.

Because you can select or reject soldiers based on their starting stats, the more important question becomes, "which stats take the longest to advance from recruit maximum to its cap?" In other words, values above recruit max can't be "bought"... so which have the farthest to develop and should be focused on, if you want to maximize your stats?

You can use this as a basis for keeping or rejecting new recruits, or otherwise choosing which skills to develop.

The table below shows the number of combats needed for a soldier to advance from recruit maximum to attribute cap, on average. A more detailed look, including starting from recruit minimum, theoretical min and max advancement times, etc., can be found here and a PDF of the same is here.

Stat Min Max Cap Experience
Range
Secondary
High Low
Primaries
Reactions 30 60 100 10 20  
Firing Accuracy 40 70 120 13 25  
Throwing Accuracy 50 80 120 10 20  
Psi Skill 16 24 100 19 38  
Secondaries
Time Units 50 60 80     16
Health 25 40 60     16
Strength 20 40 70     21
Stamina 40 70 100     24

Putting It All Together

  • While you might focus on the averages stated above, the actual points assigned are entirely random. The range is what you should expect for any one soldier on any one combat mission. This follows the usual X-COM behavior of defining a range and rolling randomly within it.
  • Do your best to get every soldier you are interested in developing, to get at least one primary action (not including throwing). This will trigger secondary stat increases. Then try to shoot for the big breakpoints of 3 or 11 primary actions. Doing more than 11 actions does not increase a particular primary stat any more, so give other soldiers the chance to perform actions once your favorite soldiers have maxed out on theirs.
  • Any soldier can (and will!) ultimately become a maxed-out superman. (Not counting Psi-wimps with a low psi strength, who will never improve at all.) The worse a secondary stat is, the quicker it will rise. And you can try to target who performs which primary actions. Taking advantage of the breakpoints of 3 and 11 can also help you manage potential skill increases (a.k.a. targets) as effectively as possible. That said,
  • Early in the game, don't spend much time or money fretting over stats. Any soldier is liable to come up snakes with their Psi strength. And every soldier can otherwise eventually become a superman.
  • Once you have strong Psi soldiers, you can easily use Experience Training to optimize advancement.
  • In the endgame (when you have tons of cash), if you're a micromanager and wish to have soldiers maxed across the board, the main focus when screening recruits is the stats that can't be improved - Energy Recharge (which is equal to a soldier's starting TU, divided by 3 and rounded down) and Psi-Strength. So one would screen incoming (psi-locked) rookies for TUs, keep the ones with 60 TUs (who have 20 Energy Recharge), and then put the remaining rookies through a month of Psi-Lab training and discard those with Psi-Strength below some threshold (100 might be too strict given the one-month investment of time in each, but 90 or 95 is attainable given sufficient funding and a large number of Psi-Labs). All other stats are of secondary importance, since they can be improved with experience, and as such screening will only save you time training them while further increasing the number of rookies you need in order for one of them to "pass muster".

Regarding Caps

Every soldier statistic has a maximum allowed value, as shown in the table below. Your soldier will eventually have a value equal to or slightly greater than the cap. It is allowed to go over the cap the very last time you have a combat while it is still under the cap. For example, the maximum Firing Accuracy is 120. If you go into a combat at 119, do lots of shooting, and get a +5 roll, you will walk away with 124 Firing Accuracy - but it will never increase again.

Primary skills can overflow their cap by 5, and secondary skills can overflow their cap by 1, as shown here:

Primary Stat Min Cap Max Cap
Reactions 100 105
Firing Accuracy 120 125
Melee Accuracy 120 125
Throwing Accuracy 120 125
Psi Skill 100 105+*
Bravery 100 100
Secondary Stat Min Cap Max Cap
Time Units 80 81
Health 60 61
Strength 70 71
Stamina 100 101
*Psi Skill is an exception. Psi Lab training can continue to add 1-3 points each month after reaching the cap, and will loop the value back down to 0 if it passes 255.

You have a 33% chance of getting capped at Cap+1 for secondary skills, and you have no control over what happens (barring reloading your game and ending combat again). The chance is 33% and not 50% because there are two ways to reach Cap (being at Cap-2 and rolling 2 or being at Cap-1 and rolling 1), but only one way to reach Cap+1 (being at Cap-1 and rolling 2).

For primaries, a soldier that does 11+ actions (for a 2-6 roll) every single combat mission will get Cap+5 in that primary skill 5% of the time, on average. "Every single mission" means, without regard for the fact you're nearing the cap (and playing with the possible roll results). You can increase the odds to as high as 20%, if you use the primary increase roll ranges to inch your way up to Cap-1, then do 11+ actions on your final combat. Or you can have a 0% chance of Cap+5 if you don't pay attention and don't do 11+ actions near the cap!

Experience training outside combat

With the exception of Psionic Skill training in the Psi Lab, all stats can only be trained through combat experience.

Rookie promotions

A Rookie that has gained any experience except throwing, is promoted to Squaddie (also see promotions).


See Also