Skip to content

SkyrimScripting/SKSE_Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

Skyrim SKSE plugin C++ templates

Templates of SKSE projects for Skyrim

Follow links to templates below. Each one is in a separate "Template" GitHub repository.

All templates use CommonLibSSE NG and should work on Skyrim SE, AE, GOG, and VR

Requirements

Some templates may have additional requirements.
Be sure to read the README for any template you use.

  • Visual Studio 2022 (the free Community edition is fine!)
  • vcpkg
      1. Clone the repository using git OR download it as a .zip
      1. Go into the vcpkg folder and double-click on bootstrap-vcpkg.bat
      1. Edit your system or user Environment Variables and add a new one:
      • Name: VCPKG_ROOT
        Value: C:\path\to\wherever\your\vcpkg\folder\is

"Hello, world!"

This Hello, world! template is as simple as templates get!

Use this to confirm your C++ compiler is working and you can compile and run basic SKSE plugins.

Skyrim Scripting YouTube series templates

The following templates will be featured in the YouTube series* teaching SKSE development.

* currently being recorded, planned release in January 2023

They each demonstrate a different feature of SKSE.

They use lots of code comments describing the feature that they demonstrate.

MessageBox and Notification Display a popup message in the game and a notification message.
Write to Log File Configure an SKSE .log file and write to it!
SKSE Events Detect important SKSE events, e.g. save game, new game, etc
Forms Lookup and loop thru game forms, e.g. find all soups in the game
Game Events Detect game events, e.g. when objects are activated or menus opened/closed
Multiple .cpp/.h Files Supports multiple .h and .cpp files