Skip to content

X2Effect_Knockback

Editor: X2AbilityEffectsEditor_Knockback · extends X2AbilityEffectsEditor_Base.

Own fields

Config field Type Requires Game field Description
KnockbackDistance int SetKnockbackDistance=true KnockbackDistance Distance the unit is knocked back, in meters.
KnockbackDestroysNonFragile bool SetKnockbackDestroysNonFragile=true bKnockbackDestroysNonFragile Let the knocked-back unit destroy non-fragile objects it hits.
OverrideRagdollFinishTimerSec float SetOverrideRagdollFinishTimerSec=true OverrideRagdollFinishTimerSec Seconds before the ragdoll settles. Negative keeps the default.
OnlyOnDeath bool SetOnlyOnDeath=true OnlyOnDeath Only knock back units the attack kills.

Inherited fields

From X2AbilityEffectsEditor (20)

ApplyOnHit, ApplyOnMiss, ApplyChance, ApplyToWorldOnHit, ApplyToWorldOnMiss, UseSourcePlayerState, IsImpairing, IsImpairingMomentarily, BringRemoveVisualizationForward, ShowImmunity, ShowImmunityAnyFailure, AppliesDamage, CanBeRedirected, HideDeathWorldMessage, MinStatContestResult, MaxStatContestResult, DelayVisualizationSec, OverrideMissMessage, DamageTypes, TargetConditions

Every one of these is documented under Shared fields or on the page for the class that introduces it.

Not editable from config
  • IncrementalStepSize — private/protected
  • DefaultDamage — config — tune it in the game's own ini
  • DefaultRadius — config — tune it in the game's own ini
  • KnockbackDistanceOverrides — config — tune it in the game's own ini