Skyrim Special Edition
0 of 0

File information

Last updated

Original upload

Created by

ponzipyramid

Uploaded by

ponzipyramid

Virus scan

Safe to use

Tags for this mod

About this mod

Experimental SKSE plugin that enables the creation of custom console commands using Papyrus. Built with CommonLibSSE-NG.

Requirements
Permissions and credits


Purpose
CC is designed to allow mod authors and users to easily execute arbitrary Papyrus (or native code through Papyrus bindings) in-game for development and debugging. For instance, you can create commands to print out important script properties, test out functions on NPCs, or quickly edit forms in game (add/remove keywords, factions, etc) without needing to check logs or set up special hotkeys for every combination you want to test. 

Note that this mod does not add new commands by itself. You can check out Extended Console if you're interested in seeing how CC works.

How it Works
CC registers custom commands using configuration files that can be found in Data/SKSE/CustomConsole. When the player enters something in their console, CC will identify whether or not it is a custom command. If it isn't, the input will behave as normal. If it matches a command,  CC will automatically convert user-supplied arguments into the correct type and pass them to the corresponding Papyrus function defined in the config file. For instance, editor and form IDs will turn into their actual forms prior to the function being invoked, minimising the need for manual parsing or type conversions in Papyrus (although they may still be necessary in some cases).

Requirements
  • Address Library
Installation
Install like any other mod, preferably with a mod manager.

For Developers
Please refer to the docs if you're interested in creating your own console commands. If you find issues with the mod/documentation or have additional questions, feel free to post. 

Source

Credits

  • Sniffleman, powerofthree, CharmedBaryon, and alandtse for CommonlibSSE-NG
  • meh321 for Address Library
  • Karandra and fenix for providing extremely helpful code examples for interacting with Papyrus through SKSE
  • RE Discord for invaluable help and advice