Jump to content

Tempered Armor and Sharpened Weapons - How...?


CalenEllefson

Recommended Posts

Hi,

 

I've been learning a lot by searching and reading many of the posts here, so thanks to everyone for posting...

 

However, I haven't found anything to help me with a couple of questions:

 

1) How does sharpening weapons and tempering armor work from a scripting perspective? What package or effect runs to improve the item? Where does the bonus come from? (I've found the Constructable Objects, the recipes, but that only lists the ingredients, and doesn't specify the bonus or the effect. But, what is the "Workbench Data" section for? Where do I find the Workbench?) (Am I even asking the right questions?)

 

2) In script, how can I tell if the weapon used in a OnHit event has been sharpened?

 

Thanks in advance,

Link to comment
Share on other sites

I don't really know much of anything about scripting, but as I understand it, the bonuses from each level of quality are just (base damage)*(modifier) and are hardcoded. The workbench data field just tells the game what sort of crafting table can use the recipe, i.e. armor tempering recipes can be accessed at Armor Workbench, weapon tempering recipes at the Grinding Wheel, smelt ore at a Smelter, craft items from scratch at the Forge, ect. I'm fairly sure that there is little to no scripting involved. As to telling whether or not a weapon has been sharpened, it seems like that would certainly be possible, but I have no idea how (haven't touched any scripting since FO3).
Link to comment
Share on other sites

As to telling whether or not a weapon has been sharpened, it seems like that would certainly be possible, but I have no idea how (haven't touched any scripting since FO3).

 

The game already tells you it was sharpened. you have several grades depending on your blacksmith level and each time you sharpen a weapon it adds the name of that level to the weapon. so if you sharpen an Iron dagger to legendary grade the name will be iron dagger (legendary).

Link to comment
Share on other sites

The game already tells you it was sharpened. you have several grades depending on your blacksmith level and each time you sharpen a weapon it adds the name of that level to the weapon. so if you sharpen an Iron dagger to legendary grade the name will be iron dagger (legendary).

 

Thanks for replying, but it's only in-game that it says that. I'm trying to figure out how to tell that a weapon has been sharpened from within a Papyrus script.

Link to comment
Share on other sites

I don't really know much of anything about scripting, but as I understand it, the bonuses from each level of quality are just (base damage)*(modifier) and are hardcoded. The workbench data field just tells the game what sort of crafting table can use the recipe, i.e. armor tempering recipes can be accessed at Armor Workbench, weapon tempering recipes at the Grinding Wheel, smelt ore at a Smelter, craft items from scratch at the Forge, ect. I'm fairly sure that there is little to no scripting involved. As to telling whether or not a weapon has been sharpened, it seems like that would certainly be possible, but I have no idea how (haven't touched any scripting since FO3).

 

Thanks for replying, and for the good info on how that all ties together.

 

I'm hoping to find a way to detect which items have been tempered/sharpened, and to be able to apply and/or remove a tempering/sharpening bonus.

Link to comment
Share on other sites

Maybe you should make a script function that checks for the damage a weapon currently uses and compare that to what we know the base damage is. If the current damage is higher than the base damage, then it's possible that it's been sharpened. I haven't really checked the scripting code for this, but it might work.
Link to comment
Share on other sites

  • 2 weeks later...

Maybe you should make a script function that checks for the damage a weapon currently uses and compare that to what we know the base damage is. If the current damage is higher than the base damage, then it's possible that it's been sharpened. I haven't really checked the scripting code for this, but it might work.

 

Hi, dude,

Do you know how to get current weapon damage in script?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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