I made my enchantments and ingame the description is what I want but... I go to "power" tab and it say it a 1 or 1%. Unarmed do 1 extras damage. Fortift sneak 1%. Please Help.
I get this error when trying to run the script on a weapon:
?
And here's the log from xEdit ?[00:00] Start: Applying script "Skyrim - Create enchanted items from CSV" EnchIronSpearAbsorbHealth02 created EnchIronSpearAbsorbHealth03 created EnchIronSpearAbsorbMagicka02 created EnchIronSpearAbsorbMagicka03 created EnchIronSpearAbsorbStamina02 created EnchIronSpearAbsorbStamina03 created [00:07] Exception in unit userScript line 84: [0402C46F] < Error: Could not be resolved > [00:07] Error during Applying script "Skyrim - Create enchanted items from CSV": [0402C46F] < Error: Could not be resolved >
I'm not sure what 0402C46F is; the weapon I'm running the script on is in the plugin loaded into slot 04, but there's nothing with that FormID in the plugin.
Line 84 of the script applies the enchantment to an armor. You may be trying to add a weapon enchantment to an armor but I was not aware it would cause an error.
I'm only applying it on a weapon, as there's no armor in the plugin file at all. Unless you meant applying an armor enchantment to a weapon. I'm not sure why it'd be doing that. I right click on one weapon, apply script, and select the weapon 1-3 csv and this is the error I get.
Hi there - double posting since these are sorta different issues.
On my mod, a user pointing out that Eminent (x05) and Extreme (x04) were the wrong way round. After inspecting the CK and the UESP wiki page for generic item enchantments I saw that they were indeed correct. After further inspection, I noticed that the majority of weapons were also the wrong. There were a few other oddities here and there (Pickpocketing04, 05, 06 and Alchemy05).
Lastly, any TurnUndead weapons may need a script change in the way they are handled as the enchantment name is a prefix rather than a suffix (i.e it's Blessed Daedric Sword rather than Daedric Sword Blessed - I've already left appropriate whitespace in the below files for suffixing in case you end up changing the script).
Interresting, I would have thought that this kind of problem would have been fixed by USSEP. Thank you for letting me know.
I will have a look at your files, this will save me some time thanks. Regarding the "Blessed" prefix issue, I remember being too lazy to fix it, but you gave me an idea, I can try to add a condition to use the character string as a prefix if it ends with a space.
Using Alteration04 and 05 as an example; having checked Skyrim.esm, both are correctly named Eminent and Extreme respectively. Either way, the template system doesn't cascade name changes down, so I don't think USSEP changes would help here.
Clever idea with the whitespace condition - for what it's worth I'm fairly certain that the TurnUndeadxx weapons are the only ones with a prefix rather than a suffix (though of course, your solution is a better coding practice than hard coding strings conditions!)
I managed to add the condition in the script. Do you have by any chance a version of your CSVs with semi-colon separated values? The weapons filse have additionnal double quotes and space separated values.
Sorry, Excel does that automatically if the row contains spaces (super annoying). Updated files here: https://drive.google.com/file/d/1zEnIej4E9XWYsSDBrY4ZmJ_wlmmyO2SR/view?usp=sharing
Used the below to fix, posting here in case it comes in handy for you in future (Powershell, replaces instances of the word "hello" with "world" - used this to replace the quotes and double quotes in the files):
This helped me an absolute bunch with a mod I was making, thanks a lot mate.
Think there's a slight spelling error in armor.csv, armor-02-to-04.csv and armor-03-to-05.csv. "Alteration04;EnchArmorFortifyAlteration04 "Fortify Alteration" [ENCH:000BE037];of Extreme lteration" should read "Extreme Alteration" at the end.
Also, in weapons.csv and weapons-01-to-03.csv I think "Shock03;EnchWeaponShockDamage03 "Shock Damage" [ENCH:00045F6F];of Shocks;1500" should just read "Shock" (non plural) before the charge value.
20 comments
I made my enchantments and ingame the description is what I want but... I go to "power" tab and it say it a 1 or 1%. Unarmed do 1 extras damage. Fortift sneak 1%. Please Help.
And here's the log from xEdit
?[00:00] Start: Applying script "Skyrim - Create enchanted items from CSV"
EnchIronSpearAbsorbHealth02 created
EnchIronSpearAbsorbHealth03 created
EnchIronSpearAbsorbMagicka02 created
EnchIronSpearAbsorbMagicka03 created
EnchIronSpearAbsorbStamina02 created
EnchIronSpearAbsorbStamina03 created
[00:07] Exception in unit userScript line 84: [0402C46F] < Error: Could not be resolved >
[00:07] Error during Applying script "Skyrim - Create enchanted items from CSV": [0402C46F] < Error: Could not be resolved >
I'm not sure what 0402C46F is; the weapon I'm running the script on is in the plugin loaded into slot 04, but there's nothing with that FormID in the plugin.
Any ideas?
Thanks for looking at it, though!
On my mod, a user pointing out that Eminent (x05) and Extreme (x04) were the wrong way round. After inspecting the CK and the UESP wiki page for generic item enchantments I saw that they were indeed correct.
After further inspection, I noticed that the majority of weapons were also the wrong. There were a few other oddities here and there (Pickpocketing04, 05, 06 and Alchemy05).
Lastly, any TurnUndead weapons may need a script change in the way they are handled as the enchantment name is a prefix rather than a suffix (i.e it's Blessed Daedric Sword rather than Daedric Sword Blessed - I've already left appropriate whitespace in the below files for suffixing in case you end up changing the script).
I've made these corrections already to my own copies, hopefully this will save you some time: https://drive.google.com/file/d/1HT2oxkZ7RCRdgm-k8Jgcpow6ye4EHrxl/view?usp=sharing
Might be worth giving those files a quick sniff test to make sure I've not borked anything or left any out, I admittedly corrected these on autopilot.
Thanks again for the mod mate!
I will have a look at your files, this will save me some time thanks. Regarding the "Blessed" prefix issue, I remember being too lazy to fix it, but you gave me an idea, I can try to add a condition to use the character string as a prefix if it ends with a space.
Clever idea with the whitespace condition - for what it's worth I'm fairly certain that the TurnUndeadxx weapons are the only ones with a prefix rather than a suffix (though of course, your solution is a better coding practice than hard coding strings conditions!)
Used the below to fix, posting here in case it comes in handy for you in future (Powershell, replaces instances of the word "hello" with "world" - used this to replace the quotes and double quotes in the files):
$configFiles = Get-ChildItem . *.csv -rec
foreach ($file in $configFiles)
{
(Get-Content $file.PSPath) |
Foreach-Object { $_ -replace 'Hello', 'World' } |
Set-Content $file.PSPath
}
Let me know if the files are okay
Last version (1.3.1) contains the patched script and your CSVs, kudos to you! Let me know if you find any problem.
Think there's a slight spelling error in armor.csv, armor-02-to-04.csv and armor-03-to-05.csv. "Alteration04;EnchArmorFortifyAlteration04 "Fortify Alteration" [ENCH:000BE037];of Extreme lteration" should read "Extreme Alteration" at the end.
Also, in weapons.csv and weapons-01-to-03.csv I think "Shock03;EnchWeaponShockDamage03 "Shock Damage" [ENCH:00045F6F];of Shocks;1500" should just read "Shock" (non plural) before the charge value.
Thanks again.
Thanks mate!