Fallout: New Vegas Combat

A page outlining information about Fallout: New Vegas combat.

V.A.T.S.
The Vault-Tec Assisted Targeting System is a game mechanic that allows the player to freeze combat and target specific limbs, utilizing Action Points. The player character can also aim down sights of their firearm. This reduces the weapon's sway.

Cover

 * Combat Search Radius - This is the maximum distance that cover will be looked for when running a cover search
 * Take Cover Chance - This controls what percentage of the time an NPC will use cover. If it is 100, they will always use cover if they can find it.  If it is 0, they will never use cover.  This chance is evaluated every 10 seconds to determine if cover will be used for the next 10 seconds.
 * Wait Timer(min, max) - A random time is chosen between the min and the max to determine how long to stay behind cover before coming out
 * Wait To Fire Timer(min, max) - A random time is chosen between the min and the max to determine how long to stand out of cover looking for targets to appear
 * Fire Timer(min, max) - A random time is chosen between the min and the max to determine how long to stay out of cover firing at targets once they are seen

Weapons

 * Ranged Weapon Min/Max Range Mult - These multipliers modify the minimum/maximum range value on the combatant's weapon when doing range calculations
 * Semi-Auto Firing Delay Min/Max Mult - These multipliers modify the minimum/maximum semi-auto firing delay values that come from the actor's weapon
 * Weapon Restrictions - Either None, Melee Only, or Ranged Only. If Melee Only is selected, the combatant will always use melee/hand-to-hand as their primary weapon.  If Ranged Only is selected, the combatant will always use ranged weapons as their primary weapon.

Misc

 * Ignore Threats - If this box is checked, the actor will ignore all threats like grenades and exploding cars and will not try to move away from them
 * Flee Based On Personal Survival Checkbox - This checkbox affects when an actor's decision to flee when they are the member of a group.
 * Max Targeting FOV - Any targets outside of this FOV for the attacker will not be targeted
 * Combat Radius - The radius around the combat start location/last hit location that the actor should not pursue their targets beyond

Explosive Weapons
Actors normally try to avoid hitting themselves, their fellow group members, and spectators (unless their responsibility is below iAvoidHurtingNonTargetsResponsibility ). The following options change that:


 * Ignore Damaging Self - If this box is checked, the actor will still fire their explosive weapon even if the explosion will hit themselves
 * Ignore Damaging Group - If this box is checked, the actor will still fire their explosive weapon even if the explosion will hit their group members
 * Ignore Damaging Spectators - If this box is checked, the actor will still fire their explosive weapon even if the explosion will hit non-target spectators in the area

Melee Decision
The Melee Decision section is where you define how the Melee Decision is made, including how Power Attacks are handled & selected.


 * Block % Chance: This is the base percentage chance that the actor will BLOCK when a Melee Decision is made (default: 50%). This is modified by whether or not the opponent is currently attacking.


 * Attack % Chance: This is the base percentage chance that the actor will ATTACK when a Melee Decision is made. There are three modifiers that are added to this percentage chance as described below. In addition to those modifiers, the percentage chance is modified based on the actor's relevant Attack skill and whether or not the opponent is currently attacking.


 * Recoil/Stagger Bonus to Attack: This number is added to the Attack % Chance only if the opponent is recoiling or staggering. An actor is recoiling when their strike is blocked. An actor staggers when the opponent hits them for a certain amount of damage, based also on the actor's Agility. Increasing this number will cause an actor to be more likely to attack in the event their opponent is recoiling or staggering.


 * Unconscious Bonus to Attack: This number is added to the Attack % Chance only if the opponent is unconscious. Increasing this number makes an actor more likely to attack when their opponent is down. Alternatively, a low negative number would make an actor less likely to attack when their opponent is down.


 * Hand-To-Hand Bonus to Attack: This number is added to the Attack % Chance only if the actor (NOT the opponent) is using hand-to-hand. Increasing this number makes an actor more likely to attack when using hand-to-hand. The idea here is to make an actor attack more often when using hand-to-hand than when they're using a weapon.


 * Power Attacks: If an actor decides to do an attack, the Melee Decision will also decide whether to do a Power Attack or a "normal" left or right attack.
 * Power Attack % Chance: This is the base percentage chance that an actor, having decided to attack, will do a Power Attack. If you want to have an actor that ONLY does power attacks, set this number to 100.
 * Recoil/Stagger Bonus to Power Attack: This number is added to the Power Attack % Chance only if the opponent is recoiling or staggering. Increasing this number makes an actor more likely to do a Power Attack when the opponent is momentarily defenseless in a recoil or stagger.
 * Unconscious Bonus to Power Attack: This number is added to the Power Attack % Chance only if the opponent is unconscious. Increasing this number makes an actor more likely to do a Power Attack when the opponent is unconscious.
 * Choose Attack Using Movement: If you click on this check box, the actor will decide which Power Attack to perform based on their current movement direction at the time the Melee Decision is made. If the actor's moving forward, a forward power attack is performed. If the actor is moving left or right, a left or right power attack is performed, respectively. If the actor is moving forward or backward, a forward or backward power attack is performed, and if the actor is standing still, a "normal" power attack is performed. If this check box is selected, it is crucial that the actor have animations for moving in all directions, including "strafing" left and right. If the "Movement" check box is selected and the actor doesn't have a left or right movement animation, left and right power attacks will not be performed.
 * Choose Attack Using % Chance: If this check box is clicked, the actor will choose which power attack to perform based on percentage chance values specified for each power attack type. To decide which power attack is performed a random number from 1-100 is chosen. Then the following is done in this order:
 * If the random number is between 1 and the "Normal" percentage chance value, a normal power attack is chosen.
 * If the random number is between 1 and the sum of the "Normal" and "Forward" percentage chance values, a "Forward" power attack is chosen.
 * If the random number is between 1 and the sum of the "Normal", "Forward" and "Backward" percentage chance values, a "Backward" power attack is chosen.
 * If the random number is between 1 and the sum of the "Normal", "Forward", "Backward" and "Left" percentage chance values, a "Left" power attack is chosen.
 * Otherwise, a "Right" power attack is chosen.


 * You can enter 0 in any of the 5 percentage chance fields and that power attack type will never be performed. Note also that if the sums total up to greater than 100, some of the later power attack types (based on the order Normal, Forward, Backward, Left and Right) may not ever be chosen. You should try to make the numbers add up to 100.


 * Hold Timer: If the Melee Decision results in a decision to HOLD, that is, neither attack nor block, the actor will keep holding for a random amount of time between the minimum and maximum values entered here. The time is in real-world seconds.

Maneuver Decision
The Maneuver Decision section of the Combat Style dialog box allows you to specify values that govern the Maneuver Decision – either DODGING or IDLING.


 * Dodge % Chance: This is the base percentage chance that the actor will dodge in any direction. This will be modified based on the actor's speed, fatigue, and whether or not the opponent is attacking. See the Advanced Settings section for more information.


 * Left/Right % Chance: If the decision is made to dodge left or right, a second decision is made whether to dodge left or right or to just stand still for the time being. The reason for this is to reduce the frequency of an actor circling around their opponent without reducing their frequency of movement overall. Here's how it works. If the decision is made to dodge either left or right, as opposed to forward or backward, a random number from 1 to 100 is chosen. If that number is less than or equal to the Left/Right % Chance entered here, the actor will either dodge left or right. If the random number is greater than the Left/Right % Chance, the actor will not dodge based on this Maneuver Decision. Set the number to 100 if you don't care if your actors dodge left or right as often as they dodge forward or backward.


 * Idle Timer: If the Maneuver Decision indicates the actor should remain IDLE, the actor will remain in the IDLE state for a random period of time between the given minimum and maximum values. The time is in real-world seconds.


 * Dodge L/R Timer: If the Maneuver Decision indicates the actor should dodge either left or right, the actor will do so for a random period of time between the given minimum and maximum values. The time is in real-world seconds. Increase the values if your actor has long animation cycles or if you want them to move a lot.


 * Dodge Forward Timer: If the Maneuver Decision indicates the actor should dodge forward, the actor will do so for a random period of time between the given minimum and maximum values. The time is in real-world seconds.


 * Dodge Back Timer: If the Maneuver Decision indicates the actor should dodge backward, the actor will do so for a random period of time between the given minimum and maximum values. The time is in real-world seconds.

Melee Settings
Attack Skill Modifier

The attacking actor's relevant Attack skill, as modified by the actor's luck, is used in a formula to calculate a value that is added to the actor's base percent chance to attack, after the Recoil/Stagger, Unconscious, and Hand-to-Hand bonuses are added. The formula is:


 * Modifier = Base + Mult * ( Skill / 100 )

Altering the base will give you a minimum bonus value that is always added to the attack chance. For example, the default value for Base is 0 and for Mult is 10. This means the Attack Skill modifier ranges from 0 to 10.

Power Attack Fatigue Modifier

The attacking actor's fatigue percentage is used in a formula to calculate a value that is added to the actor's base percent chance to perform a power attack. The formula is:


 * Modifier = Base + Mult * Fatigue Percent

Altering the base will give you a minimum bonus value that is always added to the power attack chance. For example, the default value for Base is 5 and for Mult is -10. This means the Power Attack Fatigue modifier ranges from -5 to 5, meaning that a fully fatigued actor (100% Fatigue Percent, which is 1.0) will have 5 subtracted from the actor's percent chance of doing a power attack. An actor that is 0% fatigued will have 5 added to the percent chance of doing a power attack.

Attack While Under Attack Multiplier

The total chance to attack – that is the sum of the base percent chance to attack, plus the Recoil/Stagger, Unconscious, Hand-to-Hand, and Attack Skill modifiers – is multiplied by this number if the actor is being attacked when a Melee decision is made. The result is the FINAL Attack chance, and that number is compared to a random number from 1–100. Blocking is checked first if the actor has a shield. The Attack While Under Attack Multiplier defaults to 0.75, meaning the actor is less likely to start an attack while an opponent is in mid-attack.

Attack Not Under Attack Multiplier

The total chance to attack – that is the sum of the base percent chance to attack, plus the Recoil/Stagger, Unconscious, Hand-to-Hand, and Attack Skill modifiers – is multiplied by this number if the actor is NOT being attacked when a Melee decision is made. The result is the FINAL Attack chance, and that number is compared to a random number from 1–100. Blocking is checked first if the actor has a shield. The Attack Not Under Attack Multiplier defaults to 1.0, meaning the actor is more likely to start an attack while an opponent is in mid-attack.

Attack During Block Mult

The total chance to attack is multiplied by this amount if the actor's opponent is currently blocking. Numbers less than 1 are typically used, in order to make it less likely for an actor to attack while its opponent was blocking.

Block While Under Attack Multiplier

The total chance to block is multiplied by this number if the actor is being attacked when a Melee decision is made. The result is the FINAL Block chance, and that number is compared to a random number from 1–100. The Block While Under Attack Multiplier defaults to 5.0, meaning the actor is very likely to start blocking while an opponent is in mid-attack.

Block Not Under Attack Multiplier

The total chance to block is multiplied by this number if the actor is NOT being attacked when a Melee decision is made. The result is the FINAL Block chance, and that number is compared to a random number from 1–100. The Block Not Under Attack Multiplier defaults to 1.0, meaning the actor is more likely to start an attack while an opponent is in mid-attack.

Maneuver Settings
The right column in the Advanced Settings area contains values used in the Maneuver Decision.

Dodge Fatigue Modifier

The attacking actor's fatigue percentage is used in a formula to calculate a value that is added to the actor's base percent chance to dodge. The formula is:


 * Modifier = Base + Mult * Fatigue Percent

Altering the base will give you a minimum bonus value that is always added to the dodge chance. For example, the default value for Base is 0 and for Mult is -20. This means the Dodge Fatigue modifier ranges from -20 to 0, meaning that a fully fatigued actor (100% Fatigue Percent, which is 1.0) will have 20 subtracted from the actor's percent chance of dodging. An actor that is 0% fatigued will have 0 added to the percent chance of dodging. The net effect is that a highly fatigued actor is very unlikely to dodge at all.

Encumbered Speed Modifier

The attacking actor's encumbered walking speed value is used in a formula to calculate a value that is added to the actor's base percent chance to dodge. Encumbered Speed is usually somewhere around 110. You can find out an actor's encumbered speed using the script command “getwalkspeed” in the console. The formula is:


 * Modifier = Base + Mult * Encumbered Speed

Altering the base will give you a minimum bonus value that is always added to the dodge chance. For example, the default value for Base is -110 and for Mult is 1. This means that for an actor with an encumbered speed of 110, the modifier will be 0. But an actor with a walk speed of 105 will have 5 points subtracted from the total chance to dodge, and an actor with a walk speed of 115 will have 5 points added to the total chance to dodge. Basically this means that faster, less encumbered actors will dodge more often than slower, more heavily encumbered actors.

Dodge While Under Attack Multiplier

The sum of the base Dodge % Chance plus the Dodge Fatigue Modifier and Encumbered Speed Modifier is calculated and multiplied by this number if the actor is under attack when the Maneuver decision is being made. Basically, the higher this number is, the more likely an actor is to decide to dodge while under attack. The value defaults to 1.0.

Dodge Not Under Attack Multiplier

The sum of the base Dodge % Chance plus the Dodge Fatigue Modifier and Encumbered Speed Modifier is calculated and multiplied by this number if the actor is NOT under attack when the Maneuver decision is being made. Basically, the lower this number is, the less likely an actor is to decide to dodge while not under attack. The value defaults to 0.75, effectively reducing the final chance to dodge.

Dodge Back While Under Attack Multiplier

The sum of the base Dodge % Chance plus the Dodge Fatigue Modifier and Encumbered Speed Modifier is calculated and multiplied by this number if the actor is under attack when the Maneuver decision is being made, and this number is used to help decide whether or not to dodge backwards. Basically, the higher this number is, the more likely an actor is to decide to dodge backwards while under attack. The value defaults to 1.0.

Dodge Back Not Under Attack Multiplier

The sum of the base Dodge % Chance plus the Dodge Fatigue Modifier and Encumbered Speed Modifier is calculated and multiplied by this number if the actor is NOT under attack when the Maneuver decision is being made, and this number is used to help decide whether or not to dodge backwards. Basically, the lower this number is, the less likely an actor is to decide to dodge backwards while not under attack. The value defaults to 0.75, effectively reducing the final chance to dodge backwards.

Dodge Forward While Attacking Multiplier

The sum of the base Dodge % Chance plus the Dodge Fatigue Modifier and Encumbered Speed Modifier is calculated and multiplied by this number if the actor is currently performing an attack when the Maneuver decision is being made, and this number is used to help decide whether or not to dodge forwards. Basically, the higher this number is, the more likely an actor is to decide to dodge forwards while performing an attack. The value defaults to 1.0.

Dodge Forward Not Attacking Multiplier

The sum of the base Dodge % Chance plus the Dodge Fatigue Modifier and Encumbered Speed Modifier is calculated and multiplied by this number if the actor is NOT performing an attack when the Maneuver decision is being made, and this number is used to help decide whether or not to dodge forwards. Basically, the lower this number is, the less likely an actor is to decide to dodge forwards while performing an attack. The value defaults to 0.75, effectively reducing the final chance to dodge forwards.

Combat Flee
An actor in combat decides to flee based on their confidence actor value and their current HP and DPS. Once the actor has decided to flee, they will try the following things:


 * 1) Try to find a nearby teleport door to run through
 * 2) Try to find a cover location away from the attacker to hide behind
 * 3) Try to run away from the attacker

Flee Position
Once an actor has reached their flee position, they will wait until one of the following happens:
 * 1) If they are damaged, they will boost their confidence and re-evaluate whether they should flee or not
 * 2) If they detect a target too close by, they will boost their confidence and re-evaluate whether they should flee or not

Game Settings
There are several game settings used to control flee behavior
 * fCombatFleeMaxDoorDistance( default: 2048.0 ) - The maximum distance the actor will search for a teleport door to go through
 * fCombatFleeMinCoverDistance( default: 1536.0 ) - The minimum distance away from the attacker that the actor will search for cover
 * fCombatFleeMaxCoverDistance( default: 3072.0 ) - The maximum distance away from the attacker that the actor will search for cover
 * fCombatFleeNormalDistance( default: 2048.0 ) - The distance the actor will attempt to move if they cannot find a door or cover
 * fCombatFleeBoostConfidenceTargetRadius( default: 512.0 ) - Once at their flee position, when a target gets within this distance and is detected, the fleeing actor will boost their confidence and re-evaluate
 * fCombatFleeWaitTime ( default: 60 )