File information

Last updated

Original upload

Created by

L0rkhaan

Uploaded by

L0rkhaan

Virus scan

Safe to use

Tags for this mod

20 comments

  1. sattyre
    sattyre
    • premium
    • 270 kudos
    Thank you.  This makes things so much easier.
  2. dlitt17
    dlitt17
    • member
    • 3 kudos
    I dont know where else to post so here I go.

    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.   
  3. clioshand
    clioshand
    • premium
    • 40 kudos
    You star, this is beyond great!
  4. adelinadragonborn
    adelinadragonborn
    • member
    • 22 kudos
    Great script, thank you!
  5. puddles54
    puddles54
    • premium
    • 29 kudos
    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.

    Any ideas?
    1. L0rkhaan
      L0rkhaan
      • premium
      • 24 kudos
      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.
    2. puddles54
      puddles54
      • premium
      • 29 kudos
      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.

      Thanks for looking at it, though!
  6. Aurora555
    Aurora555
    • premium
    • 86 kudos
    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).

    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!
    1. L0rkhaan
      L0rkhaan
      • premium
      • 24 kudos
      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.
    2. Aurora555
      Aurora555
      • premium
      • 86 kudos
      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!)
    3. L0rkhaan
      L0rkhaan
      • premium
      • 24 kudos
      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.
    4. Aurora555
      Aurora555
      • premium
      • 86 kudos
      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):

      $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
    5. L0rkhaan
      L0rkhaan
      • premium
      • 24 kudos
      Thank you, it made it easier for me to make a diff. I checked your files and I agree with the modifications you propose.

      Last version (1.3.1) contains the patched script and your CSVs, kudos to you! Let me know if you find any problem.
    6. Aurora555
      Aurora555
      • premium
      • 86 kudos
      Nice one, thanks again for your hard work Lochrey - happy gaming!
  7. Aurora555
    Aurora555
    • premium
    • 86 kudos
    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.

    Thanks again.
    1. L0rkhaan
      L0rkhaan
      • premium
      • 24 kudos
      Thanks for the feedback. I corrected the "Extreme Alteration" typo but I kept the "of Shocks" as this is what it is used in the base game.
    2. Aurora555
      Aurora555
      • premium
      • 86 kudos
      Well s#*! so it is, dunno how I missed that - sounds so wrong lol

      Thanks mate!
  8. DarkhunterHellsing
    DarkhunterHellsing
    • supporter
    • 11 kudos
    Nice idea! btw there's a lil bug on the examples (armor - Conjuration). Thank You!
    1. L0rkhaan
      L0rkhaan
      • premium
      • 24 kudos
      Thanks for the heads up, I corrected it in the new version (1.1).
  9. PierreDespereaux
    PierreDespereaux
    • premium
    • 944 kudos
    This looks incredible, a real time-saver. Thank you.