Jump to content

[LE] Weapon Upgrade Script


Recommended Posts

So I've been digging through the CK and I'm failing to find the script or function that actually handles upgrading weapons/armor. I've browsed through the Tempering section in Contructibles but that neither details the upgrade levels or effects nor points at a script, it just seems to remove and replace the item in the inventory. I've tried digging through the scripts but I've not been able to find any likely candidates that the CK'll actually load and let me look at. What script or function would I need to modify to change how weapons/armor are upgraded and the tiers available?

Thanks in advance.

Edited by ElizabethSterling
Link to comment
Share on other sites

Perhaps I'm missing something but I looked over the perks and all they do is double the Tempering Health value. What I'm interested in is the script that actually applies this upgrade to the weapon in question. The function that moves a blade from normal to flawless quality or whatever and defines the various tiers.

Edited by ElizabethSterling
Link to comment
Share on other sites

Perhaps I'm missing something but I looked over the perks and all they do is double the Tempering Health value. What I'm interested in is the script that actually applies this upgrade to the weapon in question. The function that moves a blade from normal to flawless quality or whatever and defines the various tiers.

 

That's not done by scripts. It's done by the game engine behind the scene based on your skill and perks.

Link to comment
Share on other sites

The names that are given to equipment on upgrades is hard coded with some sort of threshold value (based on skill I believe). At a certain point the highest name "Exquisite" (I think) is given. You could use mods to allow higher skill than 100, or use console commands to give yourself a higher skill and you can keep upgrading the gear to get higher stats but the name will cap out.

 

I'm not sure what else you would envision changing or how it could logically work.

Link to comment
Share on other sites

The names that are given to equipment on upgrades is hard coded with some sort of threshold value (based on skill I believe). At a certain point the highest name "Exquisite" (I think) is given. You could use mods to allow higher skill than 100, or use console commands to give yourself a higher skill and you can keep upgrading the gear to get higher stats but the name will cap out.

 

I'm not sure what else you would envision changing or how it could logically work.

 

The tiers go:

 

Fine

Superior

Exquisite

Flawless

Legendary

 

They're stored in the game settings as sHealthDataPrefix(Weap/Armo)X.

Link to comment
Share on other sites

  • 2 weeks later...

I've been looking around some more for non-script ways to work this. Part of what I'm trying to do is to change the value added to a weapon by upgrading it but I can't seem to find the variable that controls that. It's either not there, (unlikely) or not well named. Does anyone have any ideas on where this value is stored? It seems to have a 1.25x relationship with the item health value or thereabouts, thus 1.6 health (legendary) = 2x base item value. As such I've searched out the variables with a 1.25 or 0.625 value but they don't seem to be the key.

Edited by ElizabethSterling
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...