This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scriptName GetPapyrusScriptName | |
string function NameOfScript(Anything script) | |
return StringUtil.Substring(script, 1, StringUtil.Find(script, " ") - 1) | |
endFunction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Actor player = Game.GetPlayer() | |
float direction | |
if player.GetAngleZ() > 180 | |
direction = player.GetAngleZ() - 180 | |
else | |
direction = player.GetAngleZ() + 180 | |
endIf | |
float xOffset = (distanceFromTarget) * -Math.cos(player.GetAngleZ()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
event OnEffectStart(Actor target, Actor caster) | |
Actor player = Game.GetPlayer() | |
float direction | |
if player.GetAngleZ() > 180 | |
direction = player.GetAngleZ() - 180 | |
else | |
direction = player.GetAngleZ() + 180 | |
endIf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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 |