-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.bb
115 lines (72 loc) · 8.06 KB
/
README.bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[center][color=#f1c232][size=6][b]Add Enchanted Variants To Leveled Lists[/b][/size][/color][/center]
To put in plainly, this xEdit script will insert all selected equipment (which will be enchanted variants of equipment generated beforehand [url=https://www.nexusmods.com/skyrimspecialedition/mods/25395]with this script[/url]) into the Vanilla, and any pre-determined plugin's enchantment equipment leveled lists, making sure they are in the correct list and are tiered correctly.
This is designed as a "sister script" to the above linked xEdit script, as it relies on the way it generates Enchanted Variants.
This script is primarily designed to insert these weapons into the leveled lists prefixed with [code]SublistEnch[/code]. The script allows you to choose the fuzzy search parameter, but you will almost always want to insert [code]SublistEnch[/code]
1) Generate enchanted variants of the weapons and armor you wish to put into leveled lists [url=https://www.nexusmods.com/skyrimspecialedition/mods/25395]with this script[/url]. If you want to generate enchanted variants from mods that adds enchantments (Summermyst and Wintermyst are supported already), you can add a plugin name (i.e [code]Thaumaturgy.esp[/code]) to line [code]2282[/code] in the [code]ALLA_AutomatedLeveledListAdditions.pas[/code] script file. Below is this line with Thaumaturgy added.
``[code]slTemp.CommaText := 'Skyrim.esm, Dawnguard.esm, Dragonborn.esm, HolyEnchants.esp, LostEnchantments.esp, "More Interesting Loot for Skyrim.esp", "Summermyst - Enchantments of Skyrim.esp", "Wintermyst - Enchantments of Skyrim.esp", "Thaumaturgy.esp"';[/code]`[code]
3) Select any amount of weapon or armor records from the plugin generated above, and run the script. Other record types are ignored, so you can select a plugin or an ARMO/WEAP GRUP instead.
4) Enter a fuzzy search parameter for leveled lists (i.e [/code]SublistEnch[code], [/code]LItemEnch[code])
5) The script will then iterate over leveled lists in all the vanilla game plugins, Thaumaturgy, and Serenity (if they exist!) as well as any added plugins, and find any with the fuzzy search parameter. These are placed in a list. Then, for each selected equipment record, we check all those pre-determined LVLIs, and add it to relevent LVLIs. It decides which list to add to based on the WeapType/ArmorX and WeapMaterial/ArmorMaterial keywords that are attached to the equipment, along with the enchantment effect it has.
6) Determine the correct level to add the weapon at based on weapon tiers from WACCF, and pre-existing leveled list entries. Armor pieces are always added at Level 1 per Bethesda's schema for Armor SublistEnch LVLIs.
[center][color=#f1c232][size=5][b]Weapon Keywords[/b][/size][/color][/center]
This script relies on proper keywords on weapons it is adding. This means that is is important that any weapons this script runs on have proper [/code]WeapType[code] and [/code]WeapMaterial[code] keywords, as this is what is used to determine the proper leveled list to add to.
[center][color=#f1c232][size=5][b]Armor Keywords[/b][/size][/color][/center]
This script relies on proper keywords on armor pieces it is adding. This means that is is important that any armor pieces this script runs on have proper [/code]ArmorX[code] and [/code]ArmorMaterialX[code] keywords, as this is what is used to determine the proper leveled list to add to.
[center][color=#f1c232][size=5][b]Leveled List Flags[/b][/size][/color][/center]
All leveled lists that are overridden will have the following flags set, to ensure that all the equipment variants can be rolled for even if a modded variant doesn't reach the highest level. Without doing this. if you are level 43, you will get the highest tier enchantments for Ebony in your roll, but if all the variants only applied to the lower two tiers, you would only get the vanilla variant. Setting these flags ensures that you can still roll for the lower level enchantment, which makes sense anyways. The lower tier enchantment lists already have these flags set in vanilla.
- Calculate from all levels <= player's level
- Calculate for each item in count
[center][color=#f1c232][size=5][b]Situations when Weapons will not be added to a Leveled List[/b][/size][/color][/center]
Dwarven Weapons are the first tier to have all three "Absorb" enchantment lists. Previous tiers do not have lists for Absorb enchantments, and won't be added to a leveled list.
Elven Weapons are the first tier to have a "Banish" enchantment list. Previous tiers do not have a list for Banish, and won't be added to a leveled list.
When using WACCF, Orcish Weapons are the first tier to have a "Paralyze" enchantment list rather than Elven. Elven weapons will be added to Orcish enchantment lists for Paralyze only along with Orcish weapons. Previous tiers before Elven do not and did not have a list for Paralyze, and won't be added to a leveled list.
Nordic and Stalhrim tiers are the only tiers to have a "Chaos" enchantment list. Only Nordic or Stalhrim tiered weapons with Chaos will be added to a leveled list.
The Thaumaturgy "Damage Construct" enchantment has no leveled lists for any tier, and is only used for specifically hand-placed Dwarven weapons. No weapons with Damage Construct will be added to a leveled list.
The Huntsman's Prowess enchantment has no leveled list, and is only applied to the Poacher's axe in the vanilla game on the one NPC it's placed on. No weapons with Huntsman's Prowess will be added to a leveled list.
The Lunar enchantment has no leveled lists in Vanilla. The "Serenity" mod adds many new lists with lunar weapons, however they do not follow Bethesda's schema for Sublist LVLI EditorIDs and as such will only be found with a fuzzy search parameter of "LItemEnch" rather than "SublistEnch". You would want to run this script a second time against Lunar weapons with the different parameter to add to the Lunar lists.
[center][color=#f1c232][size=5][b]Situations when Armor will not be added to a Leveled List[/b][/size][/color][/center]
As you move up in armor tiers, lower enchantment tiers (i.e [/code]01[code]) do not have a leveled listlist.
For instance, Glass armors only have [/code]03[code], [/code]04[code] and [/code]05[code] lists. Any Glass equipment with a magnitude < [/code]03[code] or if it is [/code]06[code] does not have a list to be placed in.
Steel and Iron have [/code]01[code],[/code]02[code]and [/code]03[code], Daedric has [/code]04[code] [/code]05[code] and [/code]06`, etc
Most edge cases are checked for (ImperialLight, ImperialIron, Scaled Shields), and are converted to be added to a proper list.
[center][color=#f1c232][size=5][b]Tier and equipment type conversions[/b][/size][/color][/center]
If a weapon is a Bow and has Wood tier, the tier will be changed to Hunting
If a weapon is NOT a bow has Wood tier, the tier will be changed to Iron
If a weapon is a Bow and has Steel tier, the tier will be changed to Imperial
If an armor piece is ImperialLight, it will be added to Leather lists.
- If that armor piece is a Shield, it will be added to Elven lists instead.
If a Shield is Scaled tier, it will be added to Elven lists instead.
[center][color=#f1c232][size=4][b]New weapon type conversions. Any new weapon types will be put into lists for the vanilla weapon type they are under[/b][/size][/color][/center]
Battleaxe
- Pike
- Halberd
- Scythe
- Quarterstaff/QtrStaff
Sword
- Rapier
- Katana
- CurvedSword
Dagger
- Claw
[center][color=#f1c232][size=5][b]Specifics about early Bow Leveled Lists[/b][/size][/color][/center]
Long Bow does not have ANY enchantment lists.
Hunting Bow (Hunting) only has Vanilla lists for the following. Weapons with Hunting tier with an enchantment not listed below will not be added to a leveled list.
- Fear
- Fire
- Frost
- Magicka
- Shock
- Stamina
- Turn
Imperial Bow (Imperial) has the same as Hunting Bow, but also, the below from Thaumaturgy. Weapons with Imperial tier with an enchantment not listed below or under Hunting Bow above will not be added to a leveled list.
- Burden
- Damage Armor
- Damage Weapon
- Frenzy
- Poison
- Silence
- Sun
- Weakness To Fire
- Weakness To Frost
- Weakness To Poison
- Weakness To Shock