Background for Skyrim SE

CharGen


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
intfunctionGetScriptVersion()Global
voidfunctionSaveCharacter(stringcharacterName)NativeGlobal

Saves a character's appearances to a preset file as well as a tint mask DDS

boolfunctionLoadCharacter(ActorakDestination, RaceakRace, stringcharacterName)Global
boolfunctionLoadCharacterEx(ActorakDestination, RaceakRace, stringcharacterName, intflags=0)NativeGlobal

Loads a character's appearance preset file onto an Actor

voidfunctionDeleteCharacter(stringcharacterName)NativeGlobal

Deletes the slot,dds,nif

intfunctionDeleteFaceGenData(ActorBaseactorBase)NativeGlobal

Deletes
Data\Meshes\Actors\Character\FaceGenData\FaceGeom\%s\%08X.nif
Data\Textures\Actors\Character\FaceGenData\FaceTint\%s\%08X.dds

boolfunctionClearPreset(ActorBasenpc)NativeGlobal

Unmaps the presets to their corresponding NPC

voidfunctionClearPresets()NativeGlobal
voidfunctionSaveExternalCharacter(stringcharacterName)NativeGlobal

External Mode
Saves the characters slot, nif, and dds

boolfunctionLoadExternalCharacter(ActorakDestination, RaceakRace, stringcharacterName)Global
boolfunctionLoadExternalCharacterEx(ActorakDestination, RaceakRace, stringcharacterName, intflags=0)NativeGlobal

Same as LoadCharacter, except it does not internally map the preset, meant to be paired with S.E.C

boolfunctionIsExternalEnabled()NativeGlobal

Determines whether loading external heads is enabled in the ini setting

voidfunctionExportHead(stringfileName)NativeGlobal

Exports the player's head mesh and tint mask DDS relative to Data\SKSE\Plugins\CharGen
Data\SKSE\Plugins\CharGen%fileName%.dds
Data\SKSE\Plugins\CharGen%fileName%.nif

voidfunctionExportSlot(stringfileName)NativeGlobal

Exports only the player's slot file, can be used in conjunction
with LoadCharacter if being applied to the player as the player
does not require a tintmask, it is always generated
Saves preset to SKSE\Plugins\CharGen\Exported%characterName%.jslot

boolfunctionLoadPreset(stringcharacterName)Global

Loads a preset onto the player
Loads player preset from SKSE\Plugins\CharGen\Presets%characterName%.jslot

voidfunctionSavePreset(stringcharacterName)Global

Saves player preset to SKSE\Plugins\CharGen\Presets%characterName%.jslot

boolfunctionLoadCharacterPreset(ActorakDestination, stringcharacterName, ColorFormhairColor)Global

Loads a preset onto the NPC, permanently (DO NOT USE ON NPCs)
Hair Color form that is provided is modified
Not recommended to call this function directly
Loads actor preset from SKSE\Plugins\CharGen\Presets%characterName%.jslot

boolfunctionLoadCharacterPresetEx(ActorakDestination, stringcharacterName, ColorFormhairColor, intflags=0xffffffff)NativeGlobal
voidfunctionSaveCharacterPreset(ActorakSource, stringcharacterName)NativeGlobal

Saves a preset from the NPC (Only works on player currently)
Actor parameter is reserved for future use
Saves actor preset to SKSE\Plugins\CharGen\Presets%characterName%.jslot

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.