Difference between revisions of "CombatStyle"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(Updated summary and added some info to Close Range: Charging. It appears to only be used by Deathclaws to determine their specific attack types.)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
'''Papyrus:''' [[CombatStyle Script]]
'''Papyrus:''' [[CombatStyle Script]]


A combat style represents an [[Actor]]'s overall approach to combat.
A '''combat style''' represents an [[Actor]]'s overall approach to combat and sets up their preferences, such as how frequently they block or whether they are a ranged combatant or a melee one. Combat Style does not allow you to specify combat tactics. The specific decisions made by the Combat AI cannot be controlled through the Creation Kit. For limited control over combat decisions you can use Combat Override Packages on the Actor's AI Packages Tab (such as Hold Position Packages).
 
The [[CombatStyle]] [[:Category:Object Classes|object]] is found within the [[Object Window]] under the [[:Category:Miscellaneous|Miscellaneous Category]].
The [[CombatStyle]] [[:Category:Object Classes|object]] is found within the [[Object Window]] under the [[:Category:Miscellaneous|Miscellaneous Category]].


Line 60: Line 61:
*'''Flanking'''
*'''Flanking'''
**'''Flank Distance:''' Distance to target when trying to flank.
**'''Flank Distance:''' Distance to target when trying to flank.
**'''Flank Variance:''
**'''Flank Variance:''' Used to vary each time the Actor engages.
**'''Stalk Time:''' Time spent flanking before attacking.
**'''Stalk Time:''' Time spent flanking before attacking.
*'''Charging'''
*'''Charging'''
**'''Charge Distance:'''
**'''Charge Distance:''' Distance to target when trying charge.
**'''Throw Max Targets:'''
**'''Throw Max Targets:'''  
**'''Throw Probability:'''
**'''Throw Probability:''' Used to calculate throwing targets.
**'''Sprint Past Probability:'''
**'''Sprint Past Probability:'''
**'''Sideswipe Probability:'''
**'''Sideswipe Probability:'''
**'''Disengage Probability:'''
**'''Disengage Probability:''' Used to calculate disengaging with target.
{{ClearFloats}}
{{ClearFloats}}


=== Long Range Tab ===
=== Long Range Tab ===
[[File:CombatStyle LongRange Editor.png|thumb|right|400px]]
[[File:CombatStyle LongRange Editor.png|thumb|right|400px]]
*'''Strafe Mult:''' How much the actor strafes to dodge [[Projectile]]s when not in melee range. Causes actors to dodge projectiles even if they haven't noticed the player?
*'''Strafe Mult:''' How much the actor strafes to dodge [[Projectile]]<nowiki/>s when not in melee range. Causes actors to dodge projectiles even if they haven't noticed the player?
*'''Adjust Range Mult:'''
*'''Adjust Range Mult:'''
*'''Wait Mult:'''
*'''Wait Mult:'''
Line 82: Line 83:
=== Cover Tab ===
=== Cover Tab ===
[[File:CombatStyle Cover Editor.png|thumb|right|400px]]
[[File:CombatStyle Cover Editor.png|thumb|right|400px]]
*'''Cover Search Distance Mult:'''
*'''Cover Search Distance Mult:''' Multiplier for search distance when looking for cover.
{{ClearFloats}}
{{ClearFloats}}


Line 99: Line 100:
== Notes ==
== Notes ==
*'''''General Tab::Equipment Score Mults:''''' If you have a melee attack that has a small amount of damage, and a spell that do a lot, you have to raise the mult up very high on the melee attack for the [[Actor]] to prefer melee attacks over magic.
*'''''General Tab::Equipment Score Mults:''''' If you have a melee attack that has a small amount of damage, and a spell that do a lot, you have to raise the mult up very high on the melee attack for the [[Actor]] to prefer melee attacks over magic.
*'''Charging:''' Appears to only be used for Deathclaws as part of their projectiles and attacks.


== See Also ==
== See Also ==

Latest revision as of 08:03, 8 February 2024

This article has been flagged as incomplete.
Please help improve the wiki by learning how to contribute.

Type: CSTY
Papyrus: CombatStyle Script

A combat style represents an Actor's overall approach to combat and sets up their preferences, such as how frequently they block or whether they are a ranged combatant or a melee one. Combat Style does not allow you to specify combat tactics. The specific decisions made by the Combat AI cannot be controlled through the Creation Kit. For limited control over combat decisions you can use Combat Override Packages on the Actor's AI Packages Tab (such as Hold Position Packages).

The CombatStyle object is found within the Object Window under the Miscellaneous Category.

Editor Dialog[edit | edit source]

  • ID: The ID, also referred to as Editor ID, is used by the Creation Kit to uniquely identify this record within a Data File.

General Tab[edit | edit source]

CombatStyle General Editor.png
  • Offensive Mult: See Defensive Mult. The higher the number, the more likely a character will attack, the more often they will attack, and the more often they will power attack.
  • Defensive Mult: See Offensive Mult. The higher the number, a character will block more often, hold their block up longer, and bash more often if they're capable of doing so.
  • Group Offensive Mult: This will override the offensive mult above. The more actors that are attacking the player, the less offensive they will be, based on this mult. The higher the mult, the more offensive they'll be in groups.
  • Avoid Threats
    • Avoid Threat Chance:
    • Dodge Threat Chance:
    • Evade Threat Chance:
  • Equipment Score Mults: These values influence the Actor to prefer certain types of attacking. These values are multiplied into the damage output of the attack.
    • Melee: Higher values influence the use of a melee attack.
    • Ranged: Higher values influence the use of a ranged attack.
    • Magic: Higher values influence the use of a magic attack.
    • Shout: Higher values influence the use of a shout attack.
    • Staff: Higher values influence the use of a staff attack.
    • Unarmed: Higher values influence the use of an unarmed attack.

Melee Tab[edit | edit source]

CombatStyle Melee Editor.png
  • Attack
    • Attack Staggered/Recoiled Mult: The higher the number, the more likely an NPC will attack a player in a stagger state.
    • Attack When Staggered/Recoiled Mult:
    • Power Attack Staggered/Recoiled Mult: The higher the number, the more likely an NPC will power attack a player in a stagger state.
    • Power Attack Blocking Mult: The higher the number, the more likely an NPC will power attack a player in a blocking state and thus, break a block.
    • Special Attack Mult:
  • Bash
    • Block When Staggered/Recoiled:
    • Bash Mult: The higher the number, the more likely an NPC will bash the player either with a shield or a special attack flagged as a 'bash'. This can result in the player being staggered, thus interrupting animations and temporarily disorienting & disabling actions.
    • Bash Recoiled Mult: The higher the number, the more likely an NPC will bash a player who is in a recoiled state. A recoiled state is when an Actor gets ther regular attack blocked, thus recoiling them.
    • Bash Attack Mult: The higher the number, the more likely an NPC will bash a player who's actively attacking, or in an attack state.
    • Bash Power Attack Mult: The higher the number, the more likely an NPC will bash a player who's actively power attacking, or in an power attack state.
  • Misc
    • Allow Dual Wielding: Allows an NPC to dual wield. Note, this will only work on 'humanoid' NPCs who have Dual Wielding animations.
    • Retarget Any Nearby Melee Target:

Ranged Tab[edit | edit source]

CombatStyle Ranged Editor.png
  • Accuracy Mult:

Close Range Tab[edit | edit source]

CombatStyle CloseRange Editor.png

Only one radio may be selected for use.

  • Dueling
    • Circle Mult: How much the actor circles the target instead of staying still.
    • Fallback Mult: Chance to back off from the target.
  • Flanking
    • Flank Distance: Distance to target when trying to flank.
    • Flank Variance: Used to vary each time the Actor engages.
    • Stalk Time: Time spent flanking before attacking.
  • Charging
    • Charge Distance: Distance to target when trying charge.
    • Throw Max Targets:
    • Throw Probability: Used to calculate throwing targets.
    • Sprint Past Probability:
    • Sideswipe Probability:
    • Disengage Probability: Used to calculate disengaging with target.

Long Range Tab[edit | edit source]

CombatStyle LongRange Editor.png
  • Strafe Mult: How much the actor strafes to dodge Projectiles when not in melee range. Causes actors to dodge projectiles even if they haven't noticed the player?
  • Adjust Range Mult:
  • Wait Mult:
  • Crouch Mult:
  • Range Mult:

Cover Tab[edit | edit source]

CombatStyle Cover Editor.png
  • Cover Search Distance Mult: Multiplier for search distance when looking for cover.

Flight Tab[edit | edit source]

CombatStyle Flight Editor.png
  • Dive Bomb Chance: Chance of a pick-up-and-drop attack.
  • Hover Chance: Chance of hovering.
  • Ground Attack Chance: Chance of landing.
  • Perch Attack Chance: Chance of landing on a perch Furniture.
  • Flying Attack Chance: Chance of a "drive-by" attack with shout.
  • Hover Time: How long the actor hovers.
  • Ground Attack Time: How long the actor stays on ground before flying again.
  • Perch Attack Time: How long the actor stays in perch Furniture before leaving it.

Notes[edit | edit source]

  • General Tab::Equipment Score Mults: If you have a melee attack that has a small amount of damage, and a spell that do a lot, you have to raise the mult up very high on the melee attack for the Actor to prefer melee attacks over magic.
  • Charging: Appears to only be used for Deathclaws as part of their projectiles and attacks.

See Also[edit | edit source]