Date Uploaded | File Size | Version |
---|---|---|
October 23, 2022 | 382 KB | 1.0.1.1 |
Description
LibMathf is a CommonLibSSE-NG plugin that extends Papyrus with a collection of math functions. Supports Skyrim SE, AE, and VR.
The C++ plugin is based on Unity's Mathf and some of Delphi's routines.
A few functions available in Papyrus were duplicated for interface consistency.
Requirements
- SKSE
- Address Library for SKSE Plugins
- Visual C++ Redistributables (2015-2022) (Install with PowerShell)
Documentation
Files
File | Description |
---|---|
LibMathf.pyroproject |
an XML-based Pyro project file |
Scripts/LibMathf.pex |
the compiled header script |
Scripts/Source/LibMathf.psc |
the source header script |
SKSE/Plugins/LibMathf.dll |
the SKSE/CommonLibSSE plugin |
For Players
Installing
Install with a mod manager, such as Mod Organizer 2. Players need only LibMathf.pex and LibMathf.dll.
For Mod Authors
Importing with Pyro
The Pyro project for Master of Disguise imports multiple libraries from GitHub, including LibMathf. Here's how:
<Variables>
<Variable Name="ModName" Value="Master of Disguise - Special Edition"/>
<Variable Name="ModsPath" Value="F:\ModOrganizer\Games\SkyrimSE\mods" />
<Variable Name="OutputPath" Value="@ModsPath\@ModName"/>
<Variable Name="GamePath" Value="$Skyrim64Path"/>
<Variable Name="SourceDir" Value="Scripts\Source"/>
<Variable Name="ScriptsPath" Value="@GamePath\Data\@SourceDir"/>
<Variable Name="RepoBaseURL" Value="https://api.github.com/repos/fireundubh"/>
</Variables>
<Imports>
<Import>F:\SDKs\SKSE\@SourceDir</Import>
<Import>@RepoBaseURL/LibFire/contents/Scripts/Source?ref=master</Import>
<Import>@RepoBaseURL/LibMathf/contents/Scripts/Source?ref=master</Import>
<Import>@RepoBaseURL/LibTurtleClub/contents/Scripts/Source?ref=master</Import>
<Import>@RepoBaseURL/skyui/contents/dist/Data/Scripts/Source?ref=master</Import>
<Import>@OutputPath\@SourceDir</Import>
<Import>@ScriptsPath\Base</Import>
</Imports>
For Developers
Compiling/Contributing
- Compile with CMake from the GitHub repo. Your environment must be set up for CommonLibSSE plugin development already.
- Submit open source PRs on GitHub.