Magic Effect

From the CreationKit Wiki
Revision as of 16:27, 14 April 2016 by imported>DavidJCobb (→‎Effect Archetypes: There are undocumented limitations on what effects a Cloak spell can apply.)
Jump to navigation Jump to search

Magic Effects represent the primary visual and functional effects of a Spell, Enchantment, Potion, Scroll, or Shout. They often receive data (typically a Magnitude and/or Duration) from the Effect Item lists that can be found on those objects.

MagicEffectWindow.png

MagicEffect Fields

Base Data

  • ID: The form's Editor ID.
  • Name: The name displayed in the Magic Menu's Active Effects window for this Effect (if it has a duration and affects the player).
  • Effect Archetype: The general type of effect; see the list below.
  • Casting Type: Specifies how the caster triggers the effect.
    • Concentration Effects are cast while the button is pressed, and continually drain Magicka while the spell remains in effect.
    • Fire and Forget Effects must charge, then fire when the button is released.
    • Constant Effects behave like an ability and are always active. This only works for Armor or Abilities.
    • All of the effects on a Spell or Enchantment must have the same casting type.
  • Delivery: Specifies how the effect is delivered to the target.
    • Self: Effect is applied to the caster.
    • Contact: Effect is applied to the target by contact (a hit event). This only works for Weapons.
    • Aimed: Effect is attached to a Projectile which is then fired at the crosshairs. If it makes contact with a valid target, the effect is applied.
    • Target Actor: Effect is immediately applied to an Actor in the crosshairs. No projectile is fired. Note that the aim is off in third person view, making it very difficult to use at a distance.
    • Target Location: Effects is applied to the object/landscape under the crosshairs. No projectile is fired.
    • All of the effects on a Spell or Enchantment must have the same delivery type.
  • Magic Skill: The Skill associated with the effect. The skill can modify the Power, Duration, or Cost of the effect, and will accumulate Skill Uses from it.
  • Minimum Skill Level: Only used for NPCs, this is the minimum Skill level necessary to use this effect. This value also governs which level the spell will display as in the user interface. E.g. A value of 25 will display spells using this effect as Apprentice in the magic interface.
  • Assoc. Item 1: The first Associated Item required for this Effect Archetype, if any.
  • Assoc. Item 2: The second Associated Item required for this Effect Archetype, if any.
  • 2nd AV Weight: Magnitude multiplier for how strong a second Assoc. Item should be in comparison to the first Assoc. Item. Used with the Dual Value Multiplier archetype.
  • Resist Value: The type of Resistance that applies to this effect.
  • Perk to Apply: The indicated Perk is added to the target for the duration of the spell.
  • Base Cost: The effect's base Magicka or Charge cost. Used as input to a formula that calculates the final cost based on Skill, Perks, and any other applicable factors. Modifying Base Cost may not produce a corresponding change in the cost of auto-calculated spells. See the Spells page notes for more details.
  • Skill Usage Mult: For Spells, a multiplier to the Skill Uses that casting this effect will give the player.

Tapering

Taper curves.

These values will cause the effect to continue after its duration has expired.

  • Taper Duration: How long the effect continues.
  • Taper Weight: How strong the effect is at the beginning of the taper duration. For example, a value of 0.5 will make the effect half as strong at the moment the duration expires.
  • Taper Curve: Controls how quickly the effect magnitude decreases during the taper duration. (Negative values cause the effect magnitude to increase.)

Specifically, the magnitude at some taper time (time since the duration expired) is

magnitude = effect magnitude * Taper Weight * (1 - taper time / Taper Duration)Taper Curve

For damage spells, the total damage done during the taper duration is approximately

magnitude = effect magnitude * Taper Weight * Taper Duration / (Taper Curve + 1)

Note that if Taper Curve is less than -1, the spell will be almost invariably fatal, as the total damage fails to converge to a finite value. (A fun experiment: set Taper Duration to several seconds and Taper Curve to -1.1, and make a damage spell with a small magnitude. Nothing will appear to happen for most of the duration, then the target will suddenly drop dead.)

Flags

  • Hostile: This Effect is treated as an attack. Only Hostile effects can be resisted.
  • Detrimental: This Effect is applied as a negative value (damage) to the specified Actor Value. Note that not all technically harmful Effects need this checked. God Mode prevents "detrimental" Effects from working on the player.
  • Recover: When this Effect expires, the attribute returns to its previous state. If checked, Value Modifier and Peak Value Modifier archetypes will modify their actor value once at the start, then modify it back once the Effect expires; if unchecked, the actor value will get modified every second and will not be reset at the end. Note that for Magicka and Health, this works as follows: If checked, the Maximum and Current values are changed (buff/debuff). If unchecked, only current value is affected (heal/damage).
  • FX Persist: If checked, the visual effect on the target persists for the entire duration of the Effect. Otherwise, it only plays once.
  • Snap to Navmesh: If checked, the Aimed or Target Location target point will be snapped to the nearest point on the Navmesh. Used for summoned creatures, to make sure they begin in a valid location.
  • No Recast: This appears to prevent magic effect keywords from being applied more than once to a target. Source.
  • No Hit Effect: No visual effects play on the target of this Effect.
  • No Death Dispel: If checked, the effect persists even if the target dies.
  • No Duration: The effect is instantaneous. The Duration field is not available for objects with this effect.
  • No Hit Event: The effect is stealthy; the target does not register a hit event when struck.
  • No Magnitude: The effect does not use the Magnitude field.
  • No Area: The effect does not use the Area field.
  • Painless: If checked and the spell is Hostile, the target of this effect does not cry out in pain. If the target is the player, prevents the hit blur and ouch sound.
  • Gory Visuals: Not used.
  • Hide in UI: If checked, the Effect is not displayed to the player in the Magic Effects section of the interface, nor will this effect's description be displayed in the spell's concatenated spell-effect description.

Keywords

A list of Keywords associated with the spell. These Keywords are not applied directly to the target, but can be checked by scripts or used in other ways.

The checkbox is all-or-nothing. If any other spell effect on the target has a keyword that matches one of the keywords in this list, it will be dispelled.

Counter Effects

Not used. Spells are now canceled through the Keyword system described above.

Target Conditions

If these Conditions evaluate to false, the effect will not be applied to the target. Frequently used in conjunction with Keywords to exclude specific types of Actors from the effect.

For Fire and Forget effects: Note that if you put these into the Magic Effect editor, they will be checked only once, on cast, and in the order the effects are added to a spell.

But if you add an Effect to a spell, and add the condition there, it will be checked every second if the duration is longer than instant.

This means that if you for example try to make an effect that doesn't stick if it's already there, you can put the check into the effect's condition window, but if you put it into the spell itself, it will get canceled because it finds itself.

Visual Effects

  • Menu Display Object: The visual representation of the spell or effect in the Magic Menu.
  • Casting Art: The art on the hands while preparing to cast.
  • Casting Light: The light on the hands while preparing to cast.
  • Hit Effect Art: The art attached to the target on impact.
  • Hit Shader: The shader attached to the target on impact.
  • Enchant Art: For Enchantments only, this is the art attached to the object.
  • Enchant Shader: For Enchantments only, this is the shader attached to the object.
  • Projectile: The projectile fired by the effect.
  • Impact Data Set: When the projectile hits an object, the impact data set is used to determine which decals, if any, are applied.
  • Explosion: The explosion object created when the projectile hits an object.
  • Image Space Mod: The image space caused by the effect when it is triggered.

Dual Casting

Alternate art and scaling to apply to the dualcast version of the effect.

Spellmaking

  • Power Affects Magnitude/Duration: Determines whether the Magnitude and/or Duration properties on the Effect Item can be used.
  • Area: If the effect has an area associated with it, it is indicated here. Area is measured in feet, not units.
  • Casting Time: The number of seconds the casting button needs to be held down before the spell can be cast. Usually 0.5 seconds. For spells with lengthy cast times and using two hands, using the keyword RitualSpellEffect is recommended: this keyword changes the cast animation to a more appropriate animation.

Script Effect AI Data

  • Score: Determines how likely the AI is to use this Effect. Higher-valued abilities will be used more often.
  • Delay Time: The amount of time that must elapse before the AI will use this Effect again.

Equip Ability

An effect to apply to the caster when this effect is equipped.

Sounds

  • Draw/Sheathe: The sound that plays when the player draws or sheathes their weapons with this spell in either hand.
  • Charge: For a Fire and Forget spell, this sound plays when the player first presses the button.
  • Ready: For a Fire and Forget spell, this sound plays when the spells reaches its 'Ready' state. Releasing the button at this time will cast the spell.
  • Release: For a Fire and Forget spell, this sound plays when the player releases the button and successfully casts the spell.
  • Cast Loop (Conc.): For a Concentration spell, this sound loops while the button is pressed.
  • On Hit: Sound that plays when this effect is applied to its target.
  • Casting Sound Level: The 'volume' of the Detection Event created by casting this spell.

Magic Item Description

A description of the Effect. This description will appear:

  • In the Magic Menu's Active Effects list, whenever this Effect affects the player.
  • In the description of any Spell, Enchantment, Potion, Scroll, or Shout that uses the Effect, unless that item has a description of its own (which overrides any inherited descriptions).

This text field supports four special text replacement tags:

  • <mag>: Magnitude
  • <dur>: Duration
  • <area>: Area
  • <[TEXT]>: Bolds and enlarges the text enclosed in angle brackets <>
    • Note: including a period character ('.') anywhere within the angle brackets will result in that period and all text after it being truncated from the description. To bold whole sentences/phrases, <place the period outside the brackets, like this>.

Papyrus Scripts

Any Papyrus Scripts applied to or by the MagicEffect. These typically extend the ActiveMagicEffect Script.

Notes

  • No Magnitude, No Area and No Duration do not actually affect the inner workings of the effect, checking them just makes it so these parameters will be unavailable when you assign the effect to a Spell, Scroll, Potion, Shout or Enchantment. (The area is always unavailable when creating a Spell unless Auto Calculate is turned off in the Spell dialog.)

Effect Archetypes

Effect Archetypes are essentially code-based effects that can be triggered by the MagicEffect. These effects occur in addition to any scripted effects that may result from the Papyrus Script on the MagicEffect. The available Effect Archetypes are listed below.

Archetype Assoc. Item(s) Description
Absorb 1: The Actor Value to be absorbed. Usually Health, Magicka, or Stamina. Does up to <MAG> damage to the target's attribute, and restores the caster's attribute by the amount of damage done. If not "detrimental", will instead drain the caster to replenish the target.
Accum. Magnitude 1: WardPower Linked to ward charging mechanic. Grants up to <MAG> of a chosen actor value, but starts at 0 and increases over time.
Banish Banishes Summoned Actors up to level <MAG>.
Bound Weapon 1: The Weapon to create. Creates the specified Weapon, and dispels it when the duration expires or the weapon is sheathed.
Calm Lowers the Aggression of a target up to level <MAG> to minimum.
Cloak 1: A spell representing the Cloak's damage effect. Must be Fire-and-Forget/Self or Concentration/Aimed. While this spell is active, casts the Cloak's damage effect spell on all targets in the area. Note: the <MAG> of the Cloak effect is not the damage (which is determined by its 1: spell) but the radius within which the cloak attacks targets.
Command Summoned Takes control of Summoned Actors up to level <MAG>.
Concussion Not Used
Cure Addiction Not Used
Cure Disease Removes all disease effects from the target.
Cure Paralysis Removes Paralysis on the target.
Cure Poison Removes all poison effects from the target.
Demoralize Lowers the Confidence of a target up to level <MAG> to minimum.
Detect Life Applies the Detect Life visual effect to all valid targets in range.
Disarm Disarms targets up to level <MAG>.
Disguise ??? ???
Dispel Removes magic effects with a duration from the target. <MAG> seems to be unused.
Dual Value Modifier 1: The first value 2: The second value Modifies both Actor Values. The first value is modified by <MAG>, the second value is modified by <MAG> * AV Weight.
Enhance Weapon Any equipped (melee) weapon receives the specified enchantment until unequipped or until the effect wears off. Used by Elemental Fury.
Etherealize Causes the targets to become ethereal, preventing them from dealing or taking damage.
Frenzy Maxes the Aggression of a target up to level <MAG>.
Grab Actor Can pick up and throw selected NPC. Used by Vampiric Grip. Doesn't effect Dragons, Mammoths, Dragon Priests, Mistmen, Bonemen, Wrathmen and Skeletons. Distance at which the target is held is based on the GrabActorOffset actor value of the caster.
Guide Creates a trail of Hazard objects from the caster to the nearest quest target. Typically used with the Clairvoyance Hazard. The trail does not extend very far and needs to be continuously refreshed to be of use.
Invisibility Causes the target to become invisible. This effect is automatically dispelled when the invisibility is broken. Note that invisibility does not mean inaudibility and any magic effect that isn't silent will in fact continuously emit noise until Quiet Casting is taken.
Light 1: The light object to create. Creates the specified light object.
Lock Locks the target. Note: it is actually impossible to target objects, making this archetype more or less useless. The only effect that can target objects is Script.
Open Unlocks the target. See Lock.
Paralysis Paralyzes the target. Make sure to include a condition in your effect that checks for the ImmuneParalysis keyword. This archetype only works if the 'Recover' flag is set. This will also set the boolean actor value Paralyze to 1 to prevent movement.
Peak Value Modifier 1: The value to modify 2: A keyword for effects it does not stack with. If there are two PVMs with the same keyword active at the same time, the one with the lower <mag> will be dispelled automatically?
Rally Maxes the Confidence of a target up to level <MAG>.
Reanimate If the target is dead, reanimate them, putting them under the caster's control.
Script 1: [Not Used] Has no effect other than any Papyrus Scripts specified.
Slow Time 1: [Not Used] Slows time for all but the player by the indicated amount (a multiplier, with 1 being normal time).
Soul Trap If the target dies while this effect is active, fills a soul gem carried by the caster.
Spawn Hazard 1: The Hazard to spawn. Creates the specified Hazard object at the target. The hazard is owned by the caster (meaning it will only hit enemies) and the hazard spell scales with the magnitude of the spawn spell. If you want the hazard to hit allies, you need a script to PlaceAtMe the hazard object, which doesn't retain ownership (but also doesn't allow scaling).
Spawn Scripted Ref 1: [Not Used] Used for Throw Voice. You can't directly choose a reference, but Throw Voice instead contains an explosion that places an activator object that says something.
Stagger Staggers the target. Value between 0 and 1. Duration determines how long before the target can be staggered again. Should not be "detrimental".
Summon Creature 1. The creature to summon. Summons the specified creature, placing them under the caster's control. On death, the creature automatically fades out and leaves no corpse.
Telekinesis Applies the Telekinesis effect to the target object, allowing the caster to manipulate it at a distance. This will also set the boolean actor value Telekinesis to 1 in order to allow you to see item stats at a distance.
Turn Undead Causes the target to flee from the caster. Appears to be the same as Demoralize.
Value and Parts 1. ??? ???
Value Modifier 1. The value to modify. Modifies the Actor Value by <MAG>.
Werewolf 1. The Race to transform into. Changes the target's race to the specified race.
Werewolf Feed ??? ???


Language: English  • 日本語