Perk

From the Fallout4 CreationKit Wiki
Revision as of 12:18, 16 May 2017 by imported>Hitbts (→‎Perk Entry Dialog: filled in entry point info)
Jump to navigation Jump to search

Papyrus: Perk Script, Perk Fragments

Perks are abilities received by players as they gain levels and play through the game. Or, instead of receiving a new Perk, the player may add a rank to an existing Perk, thereby increasing its effectiveness (if that Perk had more than one allowable rank). Perk Entries define what happens if the player has the Perk.

Editor Dialog

Perk Editor.png

  • ID: The editor ID which is used by the Creation Kit.
  • Name: The name as it will appear in-game.
  • Perk Description: The full, display description of the perk.
  • Icon: The name of the file that contains the perk icon graphic.
  • Sound:
  • SWF:
  • Flags
    • Trait:
    • Playable: A check box that identifies (when checked) that the perk can be chosen by the player when leveling up.
    • Hidden:
  • Level:
  • Num Ranks:
  • Next Perk:
  • Scripts:
  • Level-Up Menu Conditions: Sets the conditions necessary to make this perk available. Usually these are GetBaseActorValue and HasPerk conditions.
  • Perk Entries: A collection of perk entries belonging to this perk.

Perk Entry Dialog

PerkEntry Editor.png

  • Rank:
  • Priority: Used to control order of operations when two perk entries affect the same value. Perks with a higher priority (higher number) take precedence.
  • Conditions: The perk entry conditions.
  • Entry Types
    • Quest:
    • Ability:
    • Entry Point: An Entry Point Perk allows you to modify a specific, predefined part of the code. When you create a Perk Entry that refers to an Entry Point, you select from a list of these predefined Entry Points. Each one will also have a number of arguments that are relevant to that entry point.
      • Conditions: The conditions under which the Perk is effective. For example, a condition here allows you to specify that the Perk only functions if the player's health is below 50%, or only works if they have a specific weapon equipped.
      • Function: How the Entry Point is affected: plus, minus, multiply, set, etc.
      • Function Data: Text, script, or numeric data used when applying the entry point.

See Also