Skyrim
0 of 0

File information

Last updated

Original upload

Created by

powerofthree

Uploaded by

powerofthree

Virus scan

Safe to use

About this mod

An SKSE plugin with some custom Papyrus functions. Currently required by: Frozen Electrocuted Combustion + Strange Runes.

Requirements
Permissions and credits
Changelogs
powerofthree's Papyrus Extender

REQUIREMENTS

SKSE
Latest version of Skyrim
Visual C++ Redistributables (2015/2017/2019)

CHANGELOG

Spoiler:  
Show

2.5
- Added GetFurnitureTypeFindAllReferencesOfFormType, GetWeatherType
- Fixed crashes when using formlists with no script added forms in FindAllReferencesOfType
- Changed MixColorWithSkinTone  to use screen blending instead of linear

2.3
- added couple of functions from FO4, FindAllReferencesOfType, and FindAllReferencesWithKeyword
- added Get/SetEffectShaderDuration and GetEffectShader/ArtObjectTotalObjectCount
- fixed bug where HasEffectShader and related functions would always return 0

2.2
- all graphic modifying functions write extradata to the actor's root node
- ResetActor3D now resets all graphic changes by detecting these extradata
- removed radius argument from GetClosestActorFromRef
- some internal changes to classes, fixed null errors that could occasionally lead to crashes.

2.1
- added colorform nullptr checks to SetHairColor

2.0
- rewrote base using libSkyrim
- added and changed many functions (note: some functions may had their parameters changed)
- removed events (for now)

v1.61
- temporarily disabled OnMagicEffectApplyRemove event as it was causing crashes when consuming food items.

v1.6
- added Events which you can register for on alias, active effects, and forms.
- added RemoveChildNode
- added DecapitateActor
- added Get/SetLightFOV and Get/SetLightDepthBias
- added SetProjectileImpactForce
- added nullptr checks to prevent crashes with GetAllActiveEffectsOnActor
- fixed internal bug with Get/SetLightRadius where the parameter should have been an int, not float.
- rewrote many functions to use SKSE task delegates more effectively
- removed Get/SetArmorAddonPriority
- replaced GetImpulseVector with Apply2DHavokImpulse and Apply3DHavokImpulse
- optimized ResetActor3D 

v1.51
SetLightType now set the light type correctly
- SetLightColor now sets color correctly

v1.5
- added ModifySkinnedDecals, ResetActor3D  functions
GetLightType now returns the correct light type
- ReplaceTextureSet functions now don't persist when reloading to an earlier save

v1.4
- added ReplaceFaceTextureSet, ReplaceSkinTextureSet, SetHeadPartAlpha, IsActorSoulTrapped  functions
- added AddAllGameSpells/RacesToList functions
- added GetProjectileType
-
removed RegenerateTintedSkin
- code optimization
- fixed Get/SetMagicEffectSound crash
- renamed ReplaceTextureSetOnArmor to ReplaceArmorTextureSet
- renamed GetDirectionalVector to GetImpulseVector

v1.3
- new Form, EffectShader, Sound, Game class functions.
- added ReplaceTextureSetOnArmor to Actor class functions
- added AddAllInventoryItemsToList and related functions to ObjectReference class functions

DESCRIPTION

A SKSE plugin and modder's resource containing functions that will be used across the majority of my mods. Currently required by : Frozen Electrocuted Combustion + Strange Runes : Spellcasting Enhanced.

Source is available at : https://github.com/powerof3/SKSEPlugins

INSTALLATION

Install as normally with a mod manager, such as Mod Organizer. 

FUNCTIONS

Documentation is provided in po3_SKSEFunctions.psc.

NOTES

  • GetRandomFloat/Int is approximately 1000 times faster than vanilla Utility.RandomFloat/Int
  • SetSkinColor functions should only be used on NPCs, and only if it's really needed. Side effect is losing lip colors/warpaints/scars.
  • SetFace/SkinTextureSet will result in a neckseam if the entire textureset is replaced.
  • Most Set functions only last a single game session, and may still persist even if loading saves before the function was called.  

CREDITS
  • underthesky for initially getting this set up and implementing the position functions (thanks a lot!)
  • aers, nukem, ryan, meh321 for tips and help
  • davidjcobb for advice and reviewing the code + his Skyrim class definitions
  • expired6978 for advice plus some bits of code were adapted from Racemenu related to modifying NiNodes.
  • Chesko for decoding ExtraTeleport, adapted from SimplyKnock.
  • Dienes for the ReplaceKeyword function adapted from DienesTools.