Difference between revisions of "Perk Entry"
imported>Henning |
imported>Henning |
||
Line 1: | Line 1: | ||
[[Perk Entry|Perk Entries]] define what happens if the player has the Perk. A rank is associated with a perk entry, indicating which rank it applies to. If a specific perk entry is applicable at multiple ranks, it must be specified multiple times, once for each rank. Each perk entry has several different options to define what the perk entry does. | [[Perk Entry|Perk Entries]] define what happens if the player has the Perk. A rank is associated with a perk entry, indicating which rank it applies to. If a specific perk entry is applicable at multiple ranks, it must be specified multiple times, once for each rank. Each perk entry has several different options to define what the perk entry does. | ||
== Headline text == | == Headline text == | ||
--[[User:911911199|911911199]] 23:26, 18 July 2009 (UTC)Jacob Community | --[[User:911911199|911911199]] 23:26, 18 July 2009 (UTC)-Jacob Community Editor | ||
For an example, the Adamantium Skeleton optional trait reduces how much limb damage you get when attacked, and also decreases the total amount of weight you can carry. So it has two "Perk Entries" (one for the resistance to limb damage, one for the decrease in carry weight). | For an example, the Adamantium Skeleton optional trait reduces how much limb damage you get when attacked, and also decreases the total amount of weight you can carry. So it has two "Perk Entries" (one for the resistance to limb damage, one for the decrease in carry weight). | ||
Revision as of 18:41, 18 July 2009
Perk Entries define what happens if the player has the Perk. A rank is associated with a perk entry, indicating which rank it applies to. If a specific perk entry is applicable at multiple ranks, it must be specified multiple times, once for each rank. Each perk entry has several different options to define what the perk entry does.
Headline text
--911911199 23:26, 18 July 2009 (UTC)-Jacob Community Editor For an example, the Adamantium Skeleton optional trait reduces how much limb damage you get when attacked, and also decreases the total amount of weight you can carry. So it has two "Perk Entries" (one for the resistance to limb damage, one for the decrease in carry weight).
Perk Entry Dialog
- Rank: Number rank. Lower ranks are granted first.
- Priority: Used to control order of operations when two perk entries affect the same values.
- Quest: A Quest Perk Entry will start a specified quest and set it to a specified stage. The quest can be checked for in conditions, or its quest script can be used to affect various things in the game world.
- Stage: The stage to set.
- Ability: With an Ability Perk Entry, you select from a list of Abilities. When the player chooses a perk or trait with an Ability perk entry, the Ability is added to the player's "spell list".
- Entry Point: Entry Points are specific places in the code that are pre-defined. When you create a Perk Entry that refers to an Entry Point, you select from a list of these pre-defined Entry Points. Each one will also have a number of arguments that are relevant to that entry point.
- Condition Filter: What is affected: Examples include the Perk Owner (most common), the target, the weapon, item, attacker, attacker weapon, attackee, etc.
- Function: How it is affected: Plus, minus, multiply, set, etc.
- Function Data: How much it is affected.
- Conditions: The certain conditions in which something is affected. For example, for a perk that modifies weapon damage only when the weapon is an energy weapon, the conditions for the weapon argument would include an IsEnergyWeapon condition check.
CAUTION
If a plugin or master module contains a Perk currently on the player and is removed from the load list, the game will crash while attempting to load any save where the player possesses that perk. It is strongly recommended to put some means to remove the perk from the Player character should they want to uninstall the mod.
Note
In the previous example of the Adamantium Skeleton trait, each of the trait's Perk Entries use an Entry Point.