Skip to content

Instantly share code, notes, and snippets.

View mrowrpurr's full-sized avatar

Mrowr Purr mrowrpurr

View GitHub Profile
@mrowrpurr
mrowrpurr / Papyrus Project Template File.ppj.md
Last active October 22, 2024 15:56
VS Code File Templates for Papyrus

Note: Check to verify the path in these files matches your Skyrim install folder (else change the paths)

To use these templates with the Papyrus Extension for Visual Studio Code:

  1. Install the extension
  2. Download the latest version of Pyro
  3. Browse to C:\Users\[YOUR USER]\.vscode\extensions\joelday.papyrus-lang-vscode-*\
  4. Delete everything in the pyro folder and replace it with the freshly downloaded version of pyro
  5. Open up the resources/sse folder
  6. Open skyrimse.ppj and replace the contents with the contents of the skyrimse.ppj in this Gist
@mrowrpurr
mrowrpurr / CreationKitCustom.ini
Created July 23, 2021 00:18
Creation Kit Custom .ini (with various fixes)
[AUDIO]
bEnableAudio=0
[GENERAL]
bAllowMultipleMasterLoads=1
uGridsToLoad=1
[MESSAGES]
bBlockMessageBoxes=1
{
"workbench.colorTheme": "Default Light+",
"papyrus.skyrimSpecialEdition.modDirectoryPath": "C:\\Skyrim\\Mods",
"workspaceExplorer.workspaceStorageDirectory": "C:\\Skyrim\\Mods",
"vim.handleKeys": {
"<C-k>": false,
"<C-w>": false
},
"vim.normalModeKeyBindingsNonRecursive": [
{
@mrowrpurr
mrowrpurr / Custom Skyrim Console Command.psc
Created July 26, 2021 05:36
Custom Skyrim Console Command
; Credit: milzschnitte
; Source: https://www.loverslab.com/topic/58600-skyrim-custom-console-commands-using-papyrus/
Scriptname MyScript extends ReferenceAlias
Event OnInit()
UnregisterForMenu("Console")
RegisterForMenu("Console")
endEvet
Intro music: https://www.bensound.com/royalty-free-music/cinematic
Mouse cursor: https://www.deviantart.com/karlomagno24/art/Skyrim-Cursor-Set-269380622
Background iamge: https://pixabay.com/it/illustrations/fantasia-draghi-ragazza-freddo-4033016/ by Stefan Keller (PD)
Firefox theme: https://addons.mozilla.org/en-US/firefox/addon/skyrim-special-edition/
Skyrim Dragon Font: https://fontstruct.com/fontstructions/show/764074 by gfhjk50 (CC-BY-SA)
Yoster Code Font: https://www.1001fonts.com/yoster-island-font.html
Quick Mod Authoring Setup Series:
- Episode 1: Intro / Skyrim Install https://youtu.be/CWxtMpDV62w
- Episode 2: Mod Managers https://youtu.be/hZjN2WHi6dQ
- Episode 3: Creation Kit https://youtu.be/TGlH7mxe348
- Episode 4: Visual Studio Code https://youtu.be/Hejm3TJw10E
- Episode 5: Various Tools https://youtu.be/baCHU_jfbic
- (Bonus Episode) GitHub for Modders https://youtu.be/_zVLoAzyU1s
Custom Console Command Series:
<?xml version='1.0'?>
<PapyrusProject xmlns="PapyrusProject.xsd"
Flags="TESV_Papyrus_Flags.flg"
Game="sse"
Anonymize="true"
Output="Scripts"
Optimize="false"
Release="false"
Zip="false"
Package="false"
@mrowrpurr
mrowrpurr / .gitattributes
Last active August 15, 2021 03:30
Skyrim .gitignore and .gitattributes
# Auto detect text files and perform LF normalization
* text=auto
# Binary files (no line-ending conversions), diff using hexdump
*.esp binary diff=hex
*.pex binary diff=hex
string characters = "0123456789abcdef"
int[] characterValues = new int[16]
; 0 - 9
characterValues[0] = 48 ; 0
characterValues[1] = 49 ; 1
characterValues[2] = 50 ; 2
characterValues[3] = 51 ; 3
characterValues[4] = 52 ; 4
scriptName Apprentice_Test_Effect extends ActiveMagicEffect
float CurrentAlpha
event OnEffectStart(Actor target, Actor caster)
RegisterForUpdate(1.0)
CurrentAlpha = UI.GetFloat("HUD Menu", "_root.HUDMovieBaseInstance.CrosshairInstance._alpha")
UI.SetFloat("HUD Menu", "_root.HUDMovieBaseInstance.CrosshairInstance._alpha", 0.0)
endEvent