0 of 0

File information

Last updated

Original upload

Created by

SoleVaultBoy

Uploaded by

SoleVaultBoy

Virus scan

Safe to use

About this mod

Provides a common set of tools to be used with Papyrus. Includes temporary and persistent global variables, tons of form-related stuff, extensive file management and more.

Requirements
Permissions and credits
Changelogs
Donations
Features
  • Offers over 1000 common functions to be used with Papyrus, the game's scripting language,
    with the goal of making it feel less like a language from the last century and enhancing its functionality
  • Each script is under the System namespace, to provide better a distinction and visibility
  • Tons of base object related functions, like for forms, form lists, projectiles and more
  • Filesystem management within the game's root folder and its subdirectories
  • Restoration of EditorIDs - They can now be used in-game, via script commands, in the console,
    and with mods that require this feature, like Base Object Swapper and Spell Perk Item Distributor
  • A simple function runner is also included
    Spoiler:  
    Show
    Create a file with a ".ini" extension under "Data/PCL/Functions".

    Use the following template (the section can be anything - must be unique):
    [MyScript.OnGameStart]
    sEventName = OnGameStart
    sScriptName = MyScript
    sFunctionName = OnGameStart

    Change the values to your needs and be sure that the function in Papyrus has no arguments and is flagged as global.
    You can have multiple function calls by adding new sections, which are parsed alphabetically.

    Events:
    • OnGameStart: Runs once on game start
    • OnGameLoad: Runs on every game load
    • OnPostGameStart: Runs on every game load after game start
  • And a command runner too
    Spoiler:  
    Show
    Create a file with a ".txt" extension under "Data/PCL/Commands".
    In there, you can write any commands that the console would normally support
    and they get executed once the main menu is loaded.
    To run multiple commands per file, separate them with a new line.

    Note that the commands won't actually appear in the console, due to not being written to the log,
    but they still get executed.

Included Scripts
  • IO
    • Directory
    • File
    • INI
    • JSON
    • Path
  • Activator
  • AimModel
  • Ammo
  • Array
  • Assert
  • Book
  • Boolean
  • Cell
  • Char
  • Colors
  • Component
  • Console
  • Container
  • Door
  • Enchantment
  • EncounterZone
  • Enumerable
  • Events
  • Explosion
  • Faction
  • Flora
  • Form
  • FormList
  • Game
  • Holotape
  • Int32
  • MagicEffect
  • Math
  • MemVar
  • Message
  • MiscObject
  • MovementType
  • NetImmerse
  • ObjectReference
  • Operator
  • Outfit
  • Perk
  • Potion
  • Projectile
  • Regex
  • SaveVar
  • ScriptObject
  • Single
  • Spell
  • Strings
  • Structure
  • UInt32
  • Vectors
  • Versions
  • WorldSpace

Notes
  • If you get compiler errors about arrays/structs not being allowed inside structs, install this compiler patch

Recommendations