Combat Style

From GECK
(Redirected from CombatStyle)
Jump to: navigation, search
This article is incomplete. You can help by filling in any blank descriptions.
Further information might be found in a section of the discussion page. Please remove this message when no longer necessary.

A Combat Style is a form object that contains data that controls the combat propensities of an Actor. The Combat Style window has its fields divided onto two tabs (Simple, and Advanced).

Simple

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. See Combat Flee for more info.
  • 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

Advanced

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:
      1. If the random number is between 1 and the "Normal" percentage chance value, a normal power attack is chosen.
      2. If the random number is between 1 and the sum of the "Normal" and "Forward" percentage chance values, a "Forward" power attack is chosen.
      3. 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.
      4. 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.
      5. 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.
  • Acrobatic Dodge % Chance:
  • 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.

Flags

  • Melee Alert OK: (This is an old field for Oblivion that should be removed.) Checking this flag turns on the Melee Alert State. If an actor cannot path to the target, and they have no ranged attacks, they will wait for the target to come closer.

Advanced Settings

The Advanced settings are used in the Melee and Maneuver decision formulas. They are kept separate in order to simplify the Combat Style dialog as much as possible. Most of the time, you can leave these settings alone. However, they can give you even more control over NPC and creature combat AI.

Melee Settings

The left column in the Advanced Setting area has modifier and multipliers used in the Melee Decision.


Block Skill Modifier

(This is an old field for Oblivion that should be removed.) The blocking actor’s Block skill (50%), as modified by the actor’s luck, is used in a formula the result of which is added to the actor’s base percent chance to block. The formula is:

Modifier = Base + Mult * ( 50 / 100 )

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


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.