Added versions to some scripts
This commit is contained in:
parent
60ddce5e36
commit
2026d7aab3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -81,7 +81,7 @@ inline void CheckScriptVersions()
|
||||
const RE::BSFixedString scriptName;
|
||||
const RE::BSFixedString funcName = "_GetScriptVersion";
|
||||
public:
|
||||
ScriptVersionCallback(const RE::BSFixedString a_scriptName, int a_version) :
|
||||
ScriptVersionCallback(const RE::BSFixedString a_scriptName, short a_version) :
|
||||
scriptName(a_scriptName),
|
||||
expectedVersion(a_version)
|
||||
{
|
||||
@ -109,24 +109,80 @@ inline void CheckScriptVersions()
|
||||
void SetObject(const RE::BSTSmartPointer<RE::BSScript::Object>&) {}
|
||||
};
|
||||
|
||||
RE::BSTSmartPointer<ScriptVersionCallback>{
|
||||
new ScriptVersionCallback("_00E_PlayerSetUpScript", 1)
|
||||
};
|
||||
RE::BSTSmartPointer<ScriptVersionCallback>{
|
||||
new ScriptVersionCallback("_00E_Phasmalist_NewApparitionAlias", 1)
|
||||
};
|
||||
RE::BSTSmartPointer<ScriptVersionCallback>{
|
||||
new ScriptVersionCallback("_00E_Theriantrophist_PlayerAsWerewolf", 1)
|
||||
};
|
||||
RE::BSTSmartPointer<ScriptVersionCallback>{
|
||||
new ScriptVersionCallback("_00E_Theriantrophist_AlchemyControl", 1)
|
||||
};
|
||||
RE::BSTSmartPointer<ScriptVersionCallback>{
|
||||
new ScriptVersionCallback("_00E_PlayerhousingMaster", 1)
|
||||
};
|
||||
RE::BSTSmartPointer<ScriptVersionCallback>{
|
||||
new ScriptVersionCallback("_00E_ContainerBonusControl", 1)
|
||||
};
|
||||
std::map<std::string, short> scripts;
|
||||
scripts["_00E_PlayerSetUpScript"] = 1;
|
||||
scripts["_00E_Phasmalist_NewApparitionAlias"] = 1;
|
||||
scripts["_FS_Phasmalist_ControlQuest"] = 1;
|
||||
scripts["_00E_Phasmalist_Workbench"] = 1;
|
||||
scripts["_00E_Theriantrophist_PlayerAsWerewolf"] = 1;
|
||||
scripts["_00E_Theriantrophist_AlchemyControl"] = 1;
|
||||
scripts["_00E_PlayerhousingMaster"] = 1;
|
||||
scripts["_00E_ContainerBonusControl"] = 1;
|
||||
scripts["_00E_AffinityControl"] = 1;
|
||||
scripts["_00E_EnderalMCM"] = 1;
|
||||
scripts["_00E_SkillControl"] = 1;
|
||||
scripts["_00E_VisionControl"] = 1;
|
||||
scripts["_00E_EnderalControls"] = 1;
|
||||
scripts["_00E_PeaceweedPlayerAliasScript"] = 1;
|
||||
scripts["_00E_NQ_Bounty01_BoardScript"] = 1;
|
||||
scripts["_00E_EPUpdateFunctions"] = 1;
|
||||
scripts["_00E_GUI_ActorHealthBar"] = 1;
|
||||
scripts["MineOreEnderal"] = 1;
|
||||
scripts["_00e_fs_nqr05_functions"] = 1;
|
||||
scripts["_00e_mq11a_functions"] = 1;
|
||||
scripts["_00e_nq_g_07_functions"] = 1;
|
||||
scripts["_00e_fs_nq02_functions"] = 1;
|
||||
scripts["_00e_mq17_functions"] = 1;
|
||||
scripts["_00e_mq16_functions"] = 1;
|
||||
scripts["_00e_mq12b_functions"] = 1;
|
||||
scripts["_00e_mq13c_functions"] = 1;
|
||||
scripts["_00e_mq07a_functions"] = 1;
|
||||
scripts["_00e_mq11c_functions"] = 1;
|
||||
scripts["_00e_fs_nq01_functions"] = 1;
|
||||
scripts["_00e_nqr01_functions"] = 1;
|
||||
scripts["_00e_mq14_functions"] = 1;
|
||||
scripts["_00e_mq06_functions"] = 1;
|
||||
scripts["_00e_mq13a_functions"] = 1;
|
||||
scripts["_00e_mq13b_functions"] = 1;
|
||||
scripts["_00e_fs_nq07_functions"] = 1;
|
||||
scripts["_00e_fs_nq02_functions2"] = 1;
|
||||
scripts["_00e_fs_nq03_functions"] = 1;
|
||||
scripts["_00e_mqp02_functions"] = 1;
|
||||
scripts["_00e_mq12c_functions"] = 1;
|
||||
scripts["_00e_mq02_functions"] = 1;
|
||||
scripts["mq03_functions"] = 1;
|
||||
scripts["_00e_mq05_functions"] = 1;
|
||||
scripts["_00e_fs_nqr04_functions"] = 1;
|
||||
scripts["_00e_cqc05_functions"] = 1;
|
||||
scripts["_00e_fs_nqr03_functions"] = 1;
|
||||
scripts["_00e_mq15_functions"] = 1;
|
||||
scripts["_00e_fs_mq18c_functions"] = 1;
|
||||
scripts["_00e_mqp01_functions"] = 1;
|
||||
scripts["_00e_nq_g_06_functions"] = 1;
|
||||
scripts["_00e_mq01_functions"] = 1;
|
||||
scripts["_00e_fs_nqr02_functions"] = 1;
|
||||
scripts["_00e_fs_nq05_functions"] = 1;
|
||||
scripts["_00e_nq_g_05_functions"] = 1;
|
||||
scripts["_00e_nq_g_03_functions"] = 1;
|
||||
scripts["_00e_mqp03_functions"] = 1;
|
||||
scripts["_00e_mq10a_functions"] = 1;
|
||||
scripts["_00e_mq12a_functions"] = 1;
|
||||
scripts["_00e_mq03_functions"] = 1;
|
||||
scripts["_00e_nq_g_02_functions"] = 1;
|
||||
scripts["_00e_cqj02_functions"] = 1;
|
||||
scripts["_00e_cqc06_functions"] = 1;
|
||||
scripts["_00e_fs_nq06_functions"] = 1;
|
||||
scripts["_00e_cqj05_functions"] = 1;
|
||||
scripts["_00e_mq18b_functions"] = 1;
|
||||
scripts["_00e_nq06_functions"] = 1;
|
||||
scripts["_00e_mq18a_functions"] = 1;
|
||||
scripts["_00e_mq05prologue_functions"] = 1;
|
||||
|
||||
for (const auto& entry : scripts) {
|
||||
RE::BSTSmartPointer<ScriptVersionCallback>{
|
||||
new ScriptVersionCallback(entry.first, entry.second)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
inline void LoadINI(std::map<std::string, bool>* settings, const char* iniPath)
|
||||
|
@ -22,6 +22,10 @@ EndEvent
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
Int Function RegisterPerkTree(int index, FormList perkTree, Message affinityName_Male, Message affinityName_Female)
|
||||
PerkTree_Trees[index] = perkTree
|
||||
PerkTree_AffinityNames_Male[index] = affinityName_Male
|
||||
|
@ -1,5 +1,9 @@
|
||||
Scriptname _00E_EnderalControls extends Quest Hidden
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
_00E_SkillControl Property SkillControl Auto
|
||||
|
||||
_00E_FadeToBlackControl Property FadeToBlackControl Auto
|
||||
|
@ -2,6 +2,10 @@ Scriptname _00E_SkillControl extends Quest Hidden
|
||||
|
||||
import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
Function _ReadSkillBook(String skillName, Int skillTopLimit, Form bookItem, Message msgSkillIncrease, GlobalVariable availablePoints, Message msgNoPoints)
|
||||
Message failMsg = None
|
||||
|
||||
|
@ -2,6 +2,10 @@ Scriptname _00E_VisionControl extends Quest Hidden
|
||||
|
||||
import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;/ Unused
|
||||
function EndVision(bool ScenePlaying, Scene RunningScene = None)
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
Scriptname _00E_CQC05_Functions extends Quest Conditional
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -1,5 +1,9 @@
|
||||
Scriptname _00E_CQC06_Functions extends Quest
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
|
@ -1,5 +1,9 @@
|
||||
Scriptname _00E_CQJ02_Functions extends Quest Conditional
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
|
@ -1,5 +1,9 @@
|
||||
Scriptname _00E_CQJ05_Functions extends Quest
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -15,6 +15,10 @@ int MagicItemsMadeCounter = 0
|
||||
int IntimidationsCounter = 0
|
||||
int QuestsCompletedCounter = 0
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
|
@ -1,5 +1,9 @@
|
||||
Scriptname _00E_FS_MQ18c_Functions extends Quest
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -1,5 +1,9 @@
|
||||
Scriptname _00E_FS_NQ01_Functions extends Quest Conditional
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
|
@ -4,6 +4,10 @@ Import _00E_PlayerFunctions
|
||||
Import Utility
|
||||
Import Game
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -4,6 +4,10 @@ Import _00E_PlayerFunctions
|
||||
Import Utility
|
||||
Import Game
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -4,6 +4,10 @@ Import _00E_PlayerFunctions
|
||||
Import Utility
|
||||
Import Game
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -3,6 +3,10 @@ Scriptname _00E_FS_NQ05_Functions extends Quest
|
||||
Import Utility
|
||||
Import Game
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -4,6 +4,10 @@ Import _00E_PlayerFunctions
|
||||
Import Utility
|
||||
Import Game
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -3,6 +3,10 @@ Scriptname _00E_FS_NQ07_Functions extends Quest
|
||||
Import Utility
|
||||
Import Game
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -1,8 +1,8 @@
|
||||
Scriptname _00E_FS_NQR02_Functions extends Quest
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
|
@ -2,6 +2,10 @@ Scriptname _00E_FS_NQR03_Functions extends Quest
|
||||
|
||||
Import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
|
@ -2,6 +2,10 @@ Scriptname _00E_FS_NQR04_Functions extends Quest
|
||||
|
||||
Import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
|
@ -2,6 +2,10 @@ Scriptname _00E_FS_NQR05_Functions extends Quest Conditional
|
||||
|
||||
Import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
|
@ -8,6 +8,10 @@ float _moveDuration = 1000.0
|
||||
float _removeDuration = 15000.0
|
||||
Form[] _currentlyDisplayedActors
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
string function GetWidgetSource()
|
||||
return "skyui/companionpanel.swf"
|
||||
endFunction
|
||||
|
@ -2,6 +2,10 @@ scriptName _00E_MQ01_Functions extends Quest Conditional
|
||||
|
||||
Import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -3,6 +3,10 @@ Scriptname _00E_MQ02_Functions extends Quest Conditional
|
||||
Import Utility
|
||||
Import Game
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -2,6 +2,10 @@ Scriptname _00E_MQ03_Functions extends Quest
|
||||
|
||||
Import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -2,6 +2,10 @@ Scriptname _00E_MQ05_Functions extends Quest Conditional
|
||||
|
||||
Import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -1,5 +1,9 @@
|
||||
Scriptname _00E_MQ05Prologue_Functions extends Quest
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -4,6 +4,10 @@ Import Utility
|
||||
Import Game
|
||||
Import Actor
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -3,9 +3,9 @@ Scriptname _00E_MQ07a_Functions extends Quest Conditional
|
||||
Import Utility
|
||||
Import Debug
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
|
@ -2,6 +2,10 @@ Scriptname _00E_MQ10a_Functions extends Quest
|
||||
|
||||
Import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -5,6 +5,10 @@ Import Game
|
||||
Import Debug
|
||||
Import _00E_PlayerFunctions
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
|
@ -3,6 +3,9 @@ Scriptname _00E_MQ11c_Functions extends Quest
|
||||
import Utility
|
||||
Import Math
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; STATES
|
||||
|
@ -1,5 +1,9 @@
|
||||
Scriptname _00E_MQ12a_Functions extends Quest
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
|
@ -5,6 +5,10 @@ Import Utility
|
||||
Int CurScriptVersion = 0
|
||||
Int Property LATEST_SCRIPT_VERSION = 2 AutoReadOnly
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -4,6 +4,10 @@ Import Utility
|
||||
|
||||
; This script is mainly used for handling the different "debris" stages of Ark after the siege
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
|
@ -2,6 +2,10 @@ Scriptname _00E_MQ13a_Functions extends Quest Conditional
|
||||
|
||||
Import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -2,6 +2,10 @@ Scriptname _00E_MQ13b_Functions extends Quest Conditional
|
||||
|
||||
Import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
Event OnUpdate()
|
||||
|
||||
MQ13b_SC01_Arrival_01.ForceStart()
|
||||
|
@ -3,6 +3,10 @@ Scriptname _00E_MQ13c_Functions extends Quest Conditional
|
||||
Import Utility
|
||||
Import Game
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; FUNCTIONS
|
||||
;=====================================================================================
|
||||
|
@ -2,6 +2,10 @@ Scriptname _00E_MQ14_Functions extends Quest Conditional
|
||||
|
||||
Import Utility
|
||||
|
||||
int function _GetScriptVersion() Global
|
||||
return 1
|
||||
endFunction
|
||||
|
||||
;=====================================================================================
|
||||
; EVENTS
|
||||
;=====================================================================================
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user