Difference between revisions of "Perk Entry Point"

11,973 bytes added ,  01:33, 23 February 2021
→‎Perk Entry Points: disassembly and, in some cases, cross-referencing with Skyrim.esm
imported>Fg109
m (added details to "Activate")
imported>DavidJCobb
(→‎Perk Entry Points: disassembly and, in some cases, cross-referencing with Skyrim.esm)
 
(29 intermediate revisions by 8 users not shown)
Line 1: Line 1:
A list of all the perk entry points.
A list of all the perk entry points.
== Entry Point Functions ==
{| class="wikitable"
|+ Value Function: These functions allow you to modify the value specified by the entry point's type.
|-
! Name !! Value =
|-
| Absolute Value || <nowiki>|</nowiki>Value<nowiki>|</nowiki>
|-
| Negative Absolute Value || -<nowiki>|</nowiki>Value<nowiki>|</nowiki>
|-
| Set Value || X
|-
| Add Value || Value + X
|-
| Multiply Value || Value * X
|-
| Add Range to Value || Value + [[RandomFloat_-_Utility|Random]](X, Y)
|-
| Add Actor Value Mult || Value + [[actor value|A]] * X
|-
| Set to Actor Value Mult || [[actor value|A]] * X
|-
| Multiply Actor Value Mult || Value * [[actor value|A]] * X
|-
| Multiply 1 + Actor Value Mult || Value * (1+[[actor value|A]] * X)
|-
! colspan=2| X and Y are always ''fixed'' floating point numbers; A is always an [[Actor Value]], ''dynamically'' consulted.
|}


== Perk Entry Points ==
== Perk Entry Points ==


* Activate
{|class="wikitable" width=100% style="background: white;"
** Adds a new choice to show in addition to the normal activation prompt
!style="text-align:left;"|Entry Point
*** '''Button Label''': The button text for the new choice.
!style="text-align:left;"|Description
*** '''Run Immediately''': If checked, there is no selection menu.  This is run in addition to the default activation.
|-
*** '''Replace Default''': This is run in place of the default activation.
|  valign="top" style="width: 25%;"|Activate
*** '''Apply Spell''': The contact spell to apply to the target.
|Adds a new choice to show in addition to the normal activation prompt
*** Script fragment has parameters:
* '''Button Label''': The button text for the new choice.
**** '''akTargetRef''': the object reference that was activated.
* '''Run Immediately''': If checked, there is no selection menu.  This is run in addition to the default activation.
**** '''akActor''': the actor that did the activation (perk owner).
* '''Replace Default''': This is run in place of the default activation.
* Add Leveled List On Death
* '''Apply Spell''': The contact spell to apply to the target.
* Adjust Book Skill Points - Not Used?
* Script fragment has parameters:
* Adjust Limb Damage - Not Used
** '''akTargetRef''': the object reference that was activated.
* Apply Bashing Spell
** '''akActor''': the actor that did the activation (perk owner).
** Applies a spell to the target when the perk owner successfully bashes him/her
|-
* Apply Combat Hit Spell
|valign="top"|Add Leveled List On Death
** Applies a spell to the target when the perk owner successfully hits him/her
|'''Add Leveled List''': The specified [[LeveledItem]] list to add to the target upon death.
* Apply Reanimate Spell
|-
* Apply Sneaking Spell
|valign="top"|Adjust Book Skill Points
** Applies a spell to the owner while sneaking. Beothia's Ebony Mail is a good example of this.
|
* Apply Weapon Swing Spell
|-
** The target appears to gain a perk with 'Apply Combat Hit Spell' using the specified spell.
|valign="top"|Adjust Limb Damage - Not Used
* Calculate Mine Explode Chance
|Scales the damage that a limb's actor value receives from an attack. Limbs are hardcoded, and while Skyrim still has the "limb condition" actor values from Fallout, it doesn't have the same limb list, so this isn't really usable in practice.
* Calculate My Critical Hit Chance
|-
* Calculate My Critical Hit Damage
|valign="top"|Allow Mount Actor
* Calculate Weapon Damage
|
* Can Dual Cast Spell
|-
* Can Pickpocket Equipped Item
|valign="top"|Apply Bashing Spell
* Filter Activation
|Applies a spell to the target when the perk owner successfully bashes him/her (with a shield or weapon)
* Get Max Carry Weight
* Spell archetype must be Fire and Forget - Contact, Constant Effect - Contact, or Constant Effect - Self
* Get Should Attack
|-
* Ignore Broken Lock
|valign="top"|Apply Combat Hit Spell
* Ignore Running During Detection
|Applies a spell to the target when the perk owner successfully hits him/her
* Make Lockpicks Unbreakable
* A combat hit is considered a hit with a melee weapon, therefore hand to hand, Magic and Archery will not cause this perk to activate.
* Mod # Applied Enchantments Allowed
* Spell archetype must be Fire and Forget - Contact, Constant Effect - Contact, or Constant Effect - Self
* Mod Armor Weight
See also: [[Talk:Perk_Entry_Point|talk page]]
* Mod Attack Damage
|-
* Mod Bashing Damage
|valign="top"|Apply Reanimate Spell
* Mod Bribe Amount
|Applies a spell to all actors reanimated by the perk owner. (However, see [[Talk:Perk_Entry_Point|talk page]])
* Mod Detection Light
* Spell archetype must be Fire and Forget - Contact, Constant Effect - Contact, or Constant Effect - Self
* Mod Detection Movement
|-
* Mod Favor Points
|valign="top"|Apply Sneaking Spell
* Mod Incoming Damage
|Applies a spell to the owner while sneaking. Boethiah's Ebony Mail is a good example of this.
** Adjusts the amount of damage taken by the perk owner.
* Spell archetype must be Fire and Forget - Contact, Constant Effect - Contact, or Constant Effect - Self
* Mod Incoming Spell Duration
|-
** Adjusts the duration of the spells applied to the perk owner.
|valign="top"|Apply Weapon Swing Spell
* Mod Incoming Spell Magnitude
|Targets attacking the perk owner appear to gain a perk with 'Apply Combat Hit Spell' using the specified spell.
** Adjusts the magnitude of the spells applied to the perk owner.
* Spell archetype must be Fire and Forget - Contact, Constant Effect - Contact, or Constant Effect - Self
* Mod Incoming Stagger
|-
* Mod Percent Blocked
|valign="top"|Calculate Mine Explode Chance
* Mod Player Intimidation
|Not Used
* Mod Player Reputation
|-
* Mod Poison Dose Count
|valign="top"|Calculate My Critical Hit Chance
* Mod Power Attack Damage
|Adjusts the perk owner's critical hit chance. Base chance without perks for the player is zero.
* Mod Power Attack Stamina
|-
* Mod Secondary Value Weight
|valign="top"|Calculate My Critical Hit Damage
* Mod Shield Deflect Arrows
|Adjusts the amount of damage a critical hit by the perk owner will inflict. Base critical damage without perks is determined by the weapon (a fixed value assigned to it, like its base damage) which is typically very close to floor(b/2), where b is the base damage.  Note that Critical Hit Damage is ''not'' affected by Tempering Health.
* Mod Shout OK
|-
* Mod Soul Gem Enchanting
|valign="top"|Calculate Weapon Damage
* Mod Soul Gem Recharge
|Allows for the modification of the projected damage to a target on during a weapon strike.
* Mod Spell Casting Sound Event
|-
* Mod Spell Cost
|valign="top"|Can Dual Cast Spell
* Mod Spell Duration
|Allows actor to dual cast spells.
* Mod Spell Magnitude
|-
* Mod Target Damage Resistance
|valign="top"|Can Pickpocket Equipped Item
* Mod Target Stagger
|If the result value is non-zero, then the actor will be allowed to pickpocket equipped items off of other actors. The condition subject will be the equipped item that the actor is attempting to pickpocket.
* Modify Addiction Chance
|-
* Modify Addiction Duration
|valign="top"|Filter Activation
* Modify Alchemy Effectiveness
|Can be used to prevent (or enable) the perk owner, activating (or in the players case not receiving a activate prompt as well.) the targeted object.
* Modify Armor Rating
|-
* Modify Bow Zoom
|valign="top"|Get Max Carry Weight
* Modify Buy Prices
|
* Modify Commanded Actor Limit
|-
* Modify Detection Sneak Skill
|valign="top"|Get Should Attack
* Modify Enchantment Power
|
* Modify Enemy Critical Hit Chance
|-
* Modify Falling Damage
|valign="top"|Ignore Broken Lock
* Modify Ingredients Harvested
|
* Modify Initial Ingredient Effects Learned
|-
* Modify Lockpick Level Allowed
|valign="top"|Ignore Running During Detection
* Modify Lockpick Sweet Spot
|If this entry point produces a value other than 0, then the actor will be able to run without becoming easier to detect.
* Modify Lockpicking Crime Chance
|-
* Modify Lockpicking Key Reward Chance
|valign="top"|Make Lockpicks Unbreakable
* Modify Max Placeable Mines
|If the result value is non-zero, then the player's lockpicks will be unbreakable.
* Modify Max Pickpocket Chance
|-
* Modify Player Magic Slowdown
|valign="top"|Mod # Applied Enchantments Allowed
* Modify Positive Chem Duration
|Affects number of enchantments that can be simultaneously applied to a single item.
* Modify Potions Created
|-
* Modify Recover Arrow Chance
|valign="top"|Mod Armor Weight
* Modify Recovered Health
|
* Modify Sell Prices
|-
* Modify Skill Use
|valign="top"|Mod Attack Damage
* Modify Sneak Attack Mult
|Modifies the physical attack damage caused by the perk owner. Modified attack damage is applied to the base weapon damage.
* Modify Soul Pct Captured To Weapon
|-
* Modify Spell Range (Target Loc.)
|valign="top"|Mod Bashing Damage
* Modify Telekinesis Damage
|
* Modify Telekinesis Damage Mult
|-
* Modify Telekinesis Distance
|valign="top"|Mod Bribe Amount
* Modify Tempering Health
|
* Modify Ward Magicka Absorption Pct
|-
* Purify Alchemy Ingredients
|valign="top"|Mod Detection Light
* Set Activate Label
|Scales the influence of lighting conditions on how easily the actor can be detected. The input value computed from the actor's light level, detection lines of sight, and various game settings including the fDetectionNightEyeBonus, iLightLevelExteriorMod, iLightLevelInteriorMod, and iLightLevelMax game settings. The final result value (after all perks are checked) will be rounded to a signed integer. The Sneak and Invisibility actor values are applied after this entry point runs.
* Set Boolean Graph Variable
|-
* Set Lockpick Starting Arc
|valign="top"|Mod Detection Movement
* Set Progression Picking
|
* Set Sweep Attack
|-
* Should Apply Placed Item
|valign="top"|Mod Favor Points
|
|-
|valign="top"|Mod Incoming Damage
|Adjusts the amount of ''physical'' damage taken by the perk owner.
|-
|valign="top"|Mod Incoming Spell Duration
|Adjusts the duration of spells and spell-like effects applied to the perk owner.
|-
|valign="top"|Mod Incoming Spell Magnitude
|Adjusts the magnitude of magic effects applied to the perk owner. (spells, shouts, weapon enchantments, etc.)
|-
|valign="top"|Mod Incoming Stagger
|Modifies the amount of stagger sustained by the perk owner when hit.
|-
|valign="top"|Mod Percent Blocked
|Modifies how much damage the actor will avoid taking when they block an incoming attack. Checked whenever an attack is blocked.
|-
|valign="top"|Mod Player Intimidation
|Modifies how scary the player is. The player's scariness is computed using the formula
 
player level × (1.0 + max(-1.0, (player speech - target speech) ÷ 100))<sup>fIntimidateSpeechcraftCurve</sup>
 
That value can be modified using this perk entry point, and after that modification, it will be compared to the target's scariness, which is the target's level times the appropriate confidence multiplier, the latter value being one of the game settings that begins with <code>fIntimidateConfidenceMult</code>, chosen based on the target's Confidence actor value. If the player is scarier than the target, then the player will be able to intimidate the target.
|-
|valign="top"|Mod Player Reputation
|
|-
|valign="top"|Mod Poison Dose Count
|Adjusts the number of times a poisoned weapon will apply its poison on hit before the poison wears off.
|-
|valign="top"|Mod Power Attack Damage
|Modifies the total damage caused by the perk owner while performing a power attack.
|-
|valign="top"|Mod Power Attack Stamina
|Modifies the amount of stamina consumed by the perk owner while performing a power attack.
|-
|valign="top"|Mod Secondary Value Weight
|Modifies how much the second actor value in a Dual Value Modifier effect is altered.
|-
|valign="top"|Mod Shield Deflect Arrows
|Modify the percentage chance that the actor's equipped shield will deflect an incoming arrow. The result value will be clamped to a maximum of 100.
|-
|valign="top"|Mod Shout OK
|Tells the game to allow the player (or werewolf) to shout.
|-
|valign="top"|Mod Soul Gem Enchanting
|Adjusts soul gem energy during enchantment, affecting the amount of ''charges'' granted to weapon enchantments. No influence on armor enchantments.
|-
|valign="top"|Mod Soul Gem Recharge
|Adjusts the amount of energy soul gems provide when used to recharge a weapon's depleted enchantment.
|-
|valign="top"|Mod Spell Casting Sound Event
|Checked when a spell is being cast; can be used to prevent NPCs from being able to hear the spell. The input value will be 1.0; change it to 0.0 to make the spell inaudible to NPCs.
|-
|valign="top"|Mod Spell Cost
|Affects casting cost of spells. (This probably also affects skill gain rates as a result.)
|-
|valign="top"|Mod Spell Duration
|Affects the duration of spells, potions, ingredients, enchantments, etcetera (anything with an "Effect List" in the Creation Kit)
|-
|valign="top"|Mod Spell Magnitude
|Affects the magnitude of spells and spell-like effects (see above)
|-
|valign="top"|Mod Target Damage Resistance
|
|-
|valign="top"|Mod Target Stagger
|Adjusts the amount of stagger targets suffer when hit by this perk owner.
|-
|valign="top"|Modify Addiction Chance
|When an actor drinks a potion, this modifies the chance that the actor will become addicted to the potion. Bethesda has stated that addiction data isn't used in Skyrim, but reverse-engineering indicates that there are calculations which check for an addiction, compute the chance, and attempt to apply the addiction effect; it's not clear what part of the system is no longer functional.
|-
|valign="top"|Modify Addiction Duration
|
|-
|valign="top"|Modify Alchemy Effectiveness
| Increases (or Decreases) the potency of potions or poisons created by the perk owner.
|-
|valign="top"|Modify Armor Rating
|Modifies the overall Armor Rating of the Perk Owner
|-
|valign="top"|Modify Bow Zoom
|Decimal values between zero and 1.0 allow increasing amounts of bow zoom. The default value is zero. Some values appear to produce buggy behavior ([[Talk:Perk Entry Point|discussion]]).
|-
|valign="top"|Modify Buy Prices
|
|-
|valign="top"|Modify Commanded Actor Limit
|Adjusts the number of summoned/commanded actors that can be controlled simultaneously by the perk owner.
|-
|valign="top"|Modify Detection Sneak Skill
|
|-
|valign="top"|Modify Enchantment Power
|Affects the magnitude of enchantments applied to an item through crafting by the perk owner. Does not affect the power of worn/wielded/used enchantments.
|-
|valign="top"|Modify Enemy Critical Hit Chance
|
|-
|valign="top"|Modify Falling Damage
|Adjust the amount of damage sustained by the perk owner when landing after a long fall.
|-
|valign="top"|Modify Ingredients Harvested
|Affects the number of ingredients obtained from harvesting a single plant.
|-
|valign="top"|Modify Initial Ingredient Effects Learned
|...when eating an ingredient.
|-
|valign="top"|Modify Lockpick Level Allowed
|
|-
|valign="top"|Modify Lockpick Sweet Spot
|Affects the size of the area that a lockpick must be within in order to move the lock mechanism.
|-
|valign="top"|Modify Lockpicking Crime Chance
|Modify the chance that the player will be caught committing a crime when picking locks while detected.
|-
|valign="top"|Modify Lockpicking Key Reward Chance
|Modify the chance that the player will be rewarded with the key to a lock if they successfully pick it.
|-
|valign="top"|Modify Max Placeable Mines
|Affects the amount of Runes that can be placed. Some Functions appear not to work as expected, (such as Set Value), however Multiply Value seems to work as desired. Changing multiply value to 2, allows two runes to be placed.
|-
|valign="top"|Modify Max Pickpocket Chance
|
|-
|valign="top"|Modify Player Magic Slowdown
|Modifies the benefit that Players receive from Slow Time effects. Setting it to 1.0 will make the player move at normal speed while under the effects of the slow time effect if it meets the conditions on the spell tab. Default appears to be 0.6 (determined by fVATSPlayerMagicTimeSlowdownMult game setting.)
|-
|valign="top"|Modify Positive Chem Duration
|
|-
|valign="top"|Modify Potions Created
|Affects the number of potions generated when combining a single set of ingredients.
|-
|valign="top"|Modify Recover Arrow Chance
|Modify the likelihood that an arrow fired into a target will be recoverable from the target's corpse. The result value will be compared to a random integer between 0 and 100.
|-
|valign="top"|Modify Recovered Health
|
|-
|valign="top"|Modify Sell Prices
|
|-
|valign="top"|Modify Skill Use
|Adjusts the skill use factor, changing the amount of experience awarded for using skills. Usually used in combination with the condition function [[EPModSkillUsage_IsAdvanceSkill]].
|-
|valign="top"|Modify Sneak Attack Mult
|Adjusts damage multiplier applied to a successful sneak attack.
|-
|valign="top"|Modify Soul Pct Captured To Weapon
|Determines the percentage of the target's soul that will be applied to recharge an enchanted weapon when that weapon makes a killing blow on the target. The percentage is calculated based on the default soul size of the target (i.e. the size soul gem it would fill if soul trapped).
|-
|valign="top"|Modify Spell Range (Target Loc.)
|Modify the maximum range of spells that require the caster to target a location; for example, limiting this perk to rune spells would allow you to modify how far away a rune can be placed.
|-
|valign="top"|Modify Telekinesis Damage
|
|-
|valign="top"|Modify Telekinesis Damage Mult
|
|-
|valign="top"|Modify Telekinesis Distance
|
|-
|valign="top"|Modify Tempering Health
|Increases or decreases the effectiveness of tempering weapons and armor by the perk owner
|-
|valign="top"|Modify Ward Magicka Absorption Pct
|
|-
|valign="top"|Purify Alchemy Ingredients
| While creating Potions only the positive effects of an ingredient is used, or if a Poison is being created only negative effects are kept.
|-
|valign="top"|Set Activate Label
|Sets the Activation Label of the looked at object to the specified text field when looked at by the player(If of course the player is the perk owner if not this appears to do nothing.)
|-
|valign="top"|Set Boolean Graph Variable
|Used to set a Boolean Animation Graph Variable of the Perk owner.
|-
|valign="top"|Set Lockpick Starting Arc
|
|-
|valign="top"|Set Progression Picking
|
|-
|valign="top"|Set Sweep Attack
|Checked when the actor is swinging a melee weapon. If this entry point returns a value other than 0, then the attacking actor will damage multiple enemies along the arc of the swing. Otherwise, the attack will use the game's default behavior, which is akin to firing a single invisible "bullet" that does melee damage.
|-
|valign="top"|Should Apply Placed Item
|Checked when the player is using their pickpocketing skill to plant an item in another actor's inventory. If the item is a potion or poison and the perk's result value is 1, then the alchemy effects will be applied to the pickpocketed NPC. When this condition runs, the subject is the potion or poison being planted, so check ''Subject.IsPoison == 1'' to limit this effect to planted poisons.
|}
Anonymous user