GetPluginVersion

From GECK
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Returns the version number of the specified NVSE plugin, or -1 if the plugin is not loaded. Note that plugin names are set during registration and displayed in the file, nvse.log, it is not the file name.

Syntax

[help]
(float) GetPluginVersion PluginName:string

Example

if (GetPluginVersion "JIP NVSE Plugin") < 56
    MessageBoxEx "You need to install version 56 of JIP LN NVSE Plugin"
endif

Note

  • The return value is usually an integer, i.e. it has no decimal point. For example, to check if the version of ShowOff NVSE is greater or equal to 1.80, one should check for that value * 100 to get rid of the decimal points, which would look like this:
 if (GetPluginVersion "ShowOffNVSE Plugin") >= 180
    ; do stuff
 endif
    • However, there is a sole exception with JIP LN NVSE, which returns a float. For example, if checking for version 57.30 or greater, then 57.30 is the number that must be used in the script.
  • Below is a list of known plugin names:
NVSE Plugin Plugin Name
Aim Transition Patch "AimTransitionFix"
AnhNVSE "AnhNVSE"
ARES_NVSE "ARESPlugin"
Book Menu Restored Plugin "Book Menu Restored"
Charisma Tweaks "Charisma Overhaul"
Climate Control NVSE "ClimateControl"
Console Paste Support "Console Clipboard"
Controller Support NVSE "Controller Support"
Crash Logger "CobbCrashLogger"
Cursor Unilaterally Matched "CUM"
Fog-Based Object Culling "FogCulling"
GaryGaryGary "GAAARY"
GECK Extender "ZeGaryHax" (Can't be used with IsPluginInstalled and GetPluginVersion)
Height Randomizer "HeightRandomizer"
High Res Local Maps "HighResLocalMaps"
High Resolution Bloom "HighResBloom"
High Resolution Screens "HDPipboy"
High Resolution Water Fog "HighResWaterDepth"
Hot Reload (NVSE) "hot_reload" (See also GetGameHotReloaded)
Improved Console (NVSE) "Improved Console"
Improved Lighting Shaders "Improved Lighting Shaders for FNV"
JIP LN NVSE "JIP NVSE Plugin"
JIP Realistic Weapon Overheating "RWO Plugin"
JohnnyGuitar NVSE "JohnnyGuitarNVSE"
kNVSE Animation Plugin "kNVSE"
kNVSE JSON Generator "MyFirstPlugin"
LStewieAl's Tweaks "lStewieAl's Tweaks"
Manual Reload "Manual Reload"
MCM "MCM Extensions"
FNV Mod Limit Fix "MLF"
MoonlightNVSE "MoonlightNVSE"
NVAC - New Vegas Anti Crash "NVAC - New Vegas Anti Crash"
New Vegas - Enhanced Camera "EnhancedCamera"
New Vegas Reloaded "NewVegasReloaded"
New Vegas Stutter Remover "sr_New_Vegas_Stutter_Remover"
No Skill Tags "NO TAGS REDONE"
NVTF - New Vegas Tick Fix "NVTF"
NX "Extensions for NVSE"
OneTweak "OneTweak"
Pip-Boy Shading Fix "PipBoyShadingFix"
Project Nevada "pn_nvse"
FNV ReShade Helper "FNVReShadeHelper"
ROOG FNV - ROOG TTW "Hard Hardcore"
ROOGNVSE Plugin "ttw_nvse"
ShowOff NVSE "ShowOffNVSE Plugin"
Simple Exterior Fog Remover "ExteriorFogRemover"
SUP NVSE "SUP NVSE Plugin"
SUPDate Checker "SUPDate Checker"
UIO - User Interface Organizer "UI Organizer Plugin"
YAPR - Yet Another Pip-Boy Remover "PipBoyTweaks"
yGTM - Gameplay Tweaks and Madness "yGTM"
yUI - User Interface "yUI"


See Also