Compare commits
No commits in common. "231b42ccad2c8dd3da0f5ca998072d6c9801e2d8" and "812e11cc729559e5cb01ec767ec38fef0c5607d8" have entirely different histories.
231b42ccad
...
812e11cc72
Binary file not shown.
@ -7,8 +7,8 @@ sLanguage=ENGLISH
|
|||||||
bInvalidateOlderFiles=1
|
bInvalidateOlderFiles=1
|
||||||
sArchiveToLoadInMemoryList=Skyrim - Animations.bsa, Skyrim - Interface.bsa, Skyrim - Sounds.bsa, E - Misc.bsa
|
sArchiveToLoadInMemoryList=Skyrim - Animations.bsa, Skyrim - Interface.bsa, Skyrim - Sounds.bsa, E - Misc.bsa
|
||||||
sEsmToLoadInMemoryList=Skyrim.esm, Update.esm, Dawnguard.esm, HearthFires.esm, Dragonborn.esm, Enderal - Forgotten Stories.esm
|
sEsmToLoadInMemoryList=Skyrim.esm, Update.esm, Dawnguard.esm, HearthFires.esm, Dragonborn.esm, Enderal - Forgotten Stories.esm
|
||||||
sResourceArchiveList=Skyrim - Shaders.bsa, Skyrim - Interface.bsa, Skyrim - Animations.bsa, Skyrim - Meshes0.bsa, Skyrim - Meshes1.bsa, Skyrim - Sounds.bsa, Skyrim - Textures0.bsa, Skyrim - Textures1.bsa, Skyrim - Textures2.bsa, Skyrim - Textures3.bsa, Skyrim - Textures4.bsa, Skyrim - Textures5.bsa, Skyrim - Textures6.bsa, Skyrim - Textures7.bsa
|
sResourceArchiveList=Skyrim - Misc.bsa, Skyrim - Shaders.bsa, Skyrim - Interface.bsa, Skyrim - Animations.bsa, Skyrim - Meshes0.bsa, Skyrim - Meshes1.bsa, Skyrim - Sounds.bsa, Skyrim - Textures0.bsa, Skyrim - Textures1.bsa, Skyrim - Textures2.bsa, Skyrim - Textures3.bsa, Skyrim - Textures4.bsa, Skyrim - Textures5.bsa, Skyrim - Textures6.bsa, Skyrim - Textures7.bsa
|
||||||
sResourceArchiveList2=Skyrim - Textures8.bsa, Skyrim - Patch.bsa, Skyrim_VR - Main.bsa, E - Misc.bsa, E - Meshes.bsa, E - Textures1.bsa, E - Textures2.bsa, E - Sounds.bsa, L - Voices.bsa, E - Update.bsa, L - Textures.bsa
|
sResourceArchiveList2=Skyrim - Textures8.bsa, Skyrim - Patch.bsa, Skyrim_VR - Main.bsa, E - Meshes.bsa, E - Textures1.bsa, E - Textures2.bsa, E - Sounds.bsa, L - Voices.bsa, E - Misc.bsa, E - Update.bsa, L - Textures.bsa
|
||||||
|
|
||||||
[SaveGame]
|
[SaveGame]
|
||||||
iAutoSaveCount=5
|
iAutoSaveCount=5
|
||||||
|
BIN
Skyrim.esm
BIN
Skyrim.esm
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -110,10 +110,7 @@ inline void CheckScriptVersions()
|
|||||||
};
|
};
|
||||||
|
|
||||||
std::map<std::string, short> scripts;
|
std::map<std::string, short> scripts;
|
||||||
scripts["EnderalFunctions"] = 1;
|
|
||||||
scripts["_00E_PlayerFunctions"] = 1;
|
|
||||||
scripts["_00E_PlayerSetUpScript"] = 1;
|
scripts["_00E_PlayerSetUpScript"] = 1;
|
||||||
scripts["_00E_EngineBugfixAlias"] = 1;
|
|
||||||
scripts["_00E_Phasmalist_NewApparitionAlias"] = 1;
|
scripts["_00E_Phasmalist_NewApparitionAlias"] = 1;
|
||||||
scripts["_FS_Phasmalist_ControlQuest"] = 1;
|
scripts["_FS_Phasmalist_ControlQuest"] = 1;
|
||||||
scripts["_00E_Phasmalist_Workbench"] = 1;
|
scripts["_00E_Phasmalist_Workbench"] = 1;
|
||||||
@ -122,7 +119,6 @@ inline void CheckScriptVersions()
|
|||||||
scripts["_00E_PlayerhousingMaster"] = 1;
|
scripts["_00E_PlayerhousingMaster"] = 1;
|
||||||
scripts["_00E_ContainerBonusControl"] = 1;
|
scripts["_00E_ContainerBonusControl"] = 1;
|
||||||
scripts["_00E_AffinityControl"] = 1;
|
scripts["_00E_AffinityControl"] = 1;
|
||||||
scripts["_00E_SympathyControl"] = 1;
|
|
||||||
scripts["_00E_EnderalMCM"] = 1;
|
scripts["_00E_EnderalMCM"] = 1;
|
||||||
scripts["_00E_SkillControl"] = 1;
|
scripts["_00E_SkillControl"] = 1;
|
||||||
scripts["_00E_VisionControl"] = 1;
|
scripts["_00E_VisionControl"] = 1;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Scriptname _00E_AffinityControl extends ReferenceAlias Conditional
|
Scriptname _00E_AffinityControl extends ReferenceAlias Hidden Conditional
|
||||||
|
|
||||||
; ATTENTION
|
; ATTENTION
|
||||||
; this script contains a new affinity system that requires FS. Therefore, many elements in this script are redundant, as
|
; this script contains a new affinity system that requires FS. Therefore, many elements in this script are redundant, as
|
||||||
@ -192,7 +192,7 @@ Function UpdateClassIndices(Int[] PerkDistribution)
|
|||||||
EndWhile
|
EndWhile
|
||||||
|
|
||||||
UpdateMajorSchool()
|
UpdateMajorSchool()
|
||||||
_00E_MajorClassIndex.SetValue(MajorClassIndex)
|
iMajorClassIndex = MajorClassIndex
|
||||||
|
|
||||||
; Update minor class/perk tree
|
; Update minor class/perk tree
|
||||||
If MinorClassIndex > 0 && (MinorClassIndex == MajorClassIndex || PerkDistribution[MinorClassIndex] == 0)
|
If MinorClassIndex > 0 && (MinorClassIndex == MajorClassIndex || PerkDistribution[MinorClassIndex] == 0)
|
||||||
@ -207,7 +207,7 @@ Function UpdateClassIndices(Int[] PerkDistribution)
|
|||||||
Index += 1
|
Index += 1
|
||||||
EndWhile
|
EndWhile
|
||||||
|
|
||||||
_00E_MinorClassIndex.SetValue(MinorClassIndex)
|
iMinorClassIndex = MinorClassIndex
|
||||||
|
|
||||||
EndFunction
|
EndFunction
|
||||||
|
|
||||||
@ -490,6 +490,9 @@ EndFunction
|
|||||||
; PROPERTIES
|
; PROPERTIES
|
||||||
;=====================================================================================
|
;=====================================================================================
|
||||||
|
|
||||||
|
int Property iMajorClassIndex Auto Conditional Hidden
|
||||||
|
int Property iMinorClassIndex Auto Conditional Hidden
|
||||||
|
|
||||||
int Property MajorClassIndex Auto Hidden
|
int Property MajorClassIndex Auto Hidden
|
||||||
int Property MinorClassIndex Auto Hidden
|
int Property MinorClassIndex Auto Hidden
|
||||||
int Property MajorSchool Auto
|
int Property MajorSchool Auto
|
||||||
@ -666,6 +669,3 @@ Int Affinity_ScourgeOfTheWildsIndex
|
|||||||
Int Affinity_SoulcallerIndex
|
Int Affinity_SoulcallerIndex
|
||||||
|
|
||||||
Bool BlockClassUpdates
|
Bool BlockClassUpdates
|
||||||
|
|
||||||
GlobalVariable Property _00E_MajorClassIndex Auto
|
|
||||||
GlobalVariable Property _00E_MinorClassIndex Auto
|
|
||||||
|
@ -5,12 +5,19 @@ int function _GetScriptVersion() Global
|
|||||||
endFunction
|
endFunction
|
||||||
|
|
||||||
Event OnInit()
|
Event OnInit()
|
||||||
Utility.Wait(0.05)
|
Utility.Wait(0.1)
|
||||||
_ClearStuckHelpMessages()
|
_ClearStuckHelpMessages()
|
||||||
EndEvent
|
EndEvent
|
||||||
|
|
||||||
Event OnPlayerLoadGame()
|
Event OnPlayerLoadGame()
|
||||||
|
|
||||||
|
; ResetHelpMessage crashes the game when called in menu mode, for instance, when loading a savegame fails due to missing mods
|
||||||
|
Utility.Wait(0.1)
|
||||||
|
|
||||||
|
; If a help message is visible during game reload, it gets stuck on screen
|
||||||
|
; This workaround shows an empty message to forcefully clear the queue
|
||||||
|
_ClearStuckHelpMessages()
|
||||||
|
|
||||||
Actor PlayerREF = GetReference() as Actor
|
Actor PlayerREF = GetReference() as Actor
|
||||||
|
|
||||||
; Perks modifying armor weights need some push on each game load to work.
|
; Perks modifying armor weights need some push on each game load to work.
|
||||||
@ -21,13 +28,6 @@ Event OnPlayerLoadGame()
|
|||||||
_ResetPerk(PlayerREF, _00E_Class_Vagrant_P05_B_Lightweight)
|
_ResetPerk(PlayerREF, _00E_Class_Vagrant_P05_B_Lightweight)
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
; ResetHelpMessage crashes the game when called in menu mode, for instance, when loading a savegame fails due to missing mods
|
|
||||||
Utility.Wait(0.05)
|
|
||||||
|
|
||||||
; If a help message is visible during game reload, it gets stuck on screen
|
|
||||||
; This workaround shows an empty message to forcefully clear the queue
|
|
||||||
_ClearStuckHelpMessages()
|
|
||||||
|
|
||||||
; Workaround for broken physics on loading saves, made on a mount
|
; Workaround for broken physics on loading saves, made on a mount
|
||||||
If PlayerREF.IsOnMount()
|
If PlayerREF.IsOnMount()
|
||||||
PlayerREF.Dismount()
|
PlayerREF.Dismount()
|
||||||
@ -43,10 +43,10 @@ Function _ResetPerk(Actor PlayerREF, Perk p)
|
|||||||
EndFunction
|
EndFunction
|
||||||
|
|
||||||
Event _ClearStuckHelpMessages()
|
Event _ClearStuckHelpMessages()
|
||||||
if EnderalFunctions.GetNewGameCount() > 1
|
|
||||||
Message.ResetHelpMessage("Empty")
|
Message.ResetHelpMessage("Empty")
|
||||||
_00E_EmptyMessage.ShowAsHelpMessage("Empty", 0.1, 10, 1)
|
_00E_EmptyMessage.ShowAsHelpMessage("Empty", 0.1, 1, 1)
|
||||||
endif
|
Utility.Wait(0.1)
|
||||||
|
Message.ResetHelpMessage("Empty")
|
||||||
EndEvent
|
EndEvent
|
||||||
|
|
||||||
Perk Property _00E_Class_Keeper_P05_C_Conditioning Auto
|
Perk Property _00E_Class_Keeper_P05_C_Conditioning Auto
|
||||||
|
@ -9,33 +9,31 @@ Function ReduceMainSkills()
|
|||||||
String sActorValueToReduce01
|
String sActorValueToReduce01
|
||||||
String sActorValueToReduce02
|
String sActorValueToReduce02
|
||||||
|
|
||||||
int iClassIndex = _00E_MajorClassIndex.GetValueInt()
|
If AffinityControl.iMajorClassIndex == 1
|
||||||
|
|
||||||
If iClassIndex == 1
|
|
||||||
sActorValueToReduce01 = "Block"
|
sActorValueToReduce01 = "Block"
|
||||||
sActorValueToReduce02 = "HeavyArmor"
|
sActorValueToReduce02 = "HeavyArmor"
|
||||||
ElseIf iClassIndex == 2
|
ElseIf AffinityControl.iMajorClassIndex == 2
|
||||||
sActorValueToReduce01 = "OneHanded"
|
sActorValueToReduce01 = "OneHanded"
|
||||||
sActorValueToReduce02 = "LightArmor"
|
sActorValueToReduce02 = "LightArmor"
|
||||||
ElseIf iClassIndex == 3
|
ElseIf AffinityControl.iMajorClassIndex == 3
|
||||||
sActorValueToReduce01 = "Destruction"
|
sActorValueToReduce01 = "Destruction"
|
||||||
sActorValueToReduce02 = "Restoration"
|
sActorValueToReduce02 = "Restoration"
|
||||||
ElseIf iClassIndex == 4
|
ElseIf AffinityControl.iMajorClassIndex == 4
|
||||||
sActorValueToReduce01 = "Sneak"
|
sActorValueToReduce01 = "Sneak"
|
||||||
sActorValueToReduce02 = "OneHanded"
|
sActorValueToReduce02 = "OneHanded"
|
||||||
ElseIf iClassIndex == 5
|
ElseIf AffinityControl.iMajorClassIndex == 5
|
||||||
sActorValueToReduce01 = "Conjuration"
|
sActorValueToReduce01 = "Conjuration"
|
||||||
sActorValueToReduce02 = "Illusion"
|
sActorValueToReduce02 = "Illusion"
|
||||||
ElseIf iClassIndex == 6
|
ElseIf AffinityControl.iMajorClassIndex == 6
|
||||||
sActorValueToReduce01 = "Restoration"
|
sActorValueToReduce01 = "Restoration"
|
||||||
sActorValueToReduce02 = "Alteration"
|
sActorValueToReduce02 = "Alteration"
|
||||||
ElseIf iClassIndex == 7
|
ElseIf AffinityControl.iMajorClassIndex == 7
|
||||||
sActorValueToReduce01 = "TwoHanded"
|
sActorValueToReduce01 = "TwoHanded"
|
||||||
sActorValueToReduce02 = "HeavyArmor"
|
sActorValueToReduce02 = "HeavyArmor"
|
||||||
ElseIf iClassIndex == 8
|
ElseIf AffinityControl.iMajorClassIndex == 8
|
||||||
sActorValueToReduce01 = "Marksman"
|
sActorValueToReduce01 = "Marksman"
|
||||||
sActorValueToReduce02 = "LightArmor"
|
sActorValueToReduce02 = "LightArmor"
|
||||||
ElseIf iClassIndex == 9
|
ElseIf AffinityControl.iMajorClassIndex == 9
|
||||||
sActorValueToReduce01 = "LightArmor"
|
sActorValueToReduce01 = "LightArmor"
|
||||||
sActorValueToReduce02 = "Alchemy"
|
sActorValueToReduce02 = "Alchemy"
|
||||||
Else
|
Else
|
||||||
@ -59,10 +57,10 @@ EndFunction
|
|||||||
; PROPERTIES
|
; PROPERTIES
|
||||||
;=====================================================================================
|
;=====================================================================================
|
||||||
|
|
||||||
|
_00E_AffinityControl Property AffinityControl Auto
|
||||||
|
|
||||||
Actor Property PlayerREF Auto
|
Actor Property PlayerREF Auto
|
||||||
|
|
||||||
GlobalVariable Property _00E_IsInJail Auto
|
GlobalVariable Property _00E_IsInJail Auto
|
||||||
|
|
||||||
Message Property _00E_CrimeQuest_ReduceSkillMessage Auto
|
Message Property _00E_CrimeQuest_ReduceSkillMessage Auto
|
||||||
|
|
||||||
GlobalVariable Property _00E_MajorClassIndex Auto
|
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
Scriptname EnderalFunctions Hidden
|
Scriptname EnderalFunctions Hidden
|
||||||
|
|
||||||
int function _GetScriptVersion() Global
|
|
||||||
return 1
|
|
||||||
endFunction
|
|
||||||
|
|
||||||
float function CalculateContentStrength(ObjectReference container) native global
|
float function CalculateContentStrength(ObjectReference container) native global
|
||||||
|
|
||||||
Potion function CreatePotion(MagicEffect[] effects, float[] magnitudes, int[] areas, int[] durations, int arraySize) native global
|
Potion function CreatePotion(MagicEffect[] effects, float[] magnitudes, int[] areas, int[] durations, int arraySize) native global
|
||||||
|
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.
Loading…
Reference in New Issue
Block a user