Help editing smithing menu + other questions

Post » Tue Jun 19, 2012 11:38 am

How do I edit the menu for the forge so that I can add a new category of materials? I want to make a brand new category that will appear on the side along with Orcish, Dwarven, Elven, Iron, Steel, etc.

I've got a couple of other questions: How could I apply a certain bonus (eg bonus damage to undead from silver items) to new weapons I've made?

Am I able to create or edit certain keywords to achieve new things?
User avatar
Harry-James Payne
 
Posts: 3464
Joined: Wed May 09, 2007 6:58 am

Post » Mon Jun 18, 2012 11:40 pm

Bump
User avatar
SaVino GοΜ
 
Posts: 3360
Joined: Mon Sep 17, 2007 8:00 pm

Post » Tue Jun 19, 2012 12:39 am

If you poke around the forum, you'll see that creating new smithing categories isn't currently possible. Somewhere, the UI sorts them into categories based on preset material keywords. For example, the Iron category looks for everything with the 'WeapMaterialIron', 'ArmorMaterialIron', or 'ArmorMaterialIronBanded' keyword. This can be found in the weapon's/armor's keyword list. You can create a new keyword, but there currently isn't a way for this to create a new category in the smithing menus.
User avatar
Add Meeh
 
Posts: 3326
Joined: Sat Jan 06, 2007 8:09 am

Post » Mon Jun 18, 2012 10:12 pm

Is there a way to apply certain bonuses like the one I mentioned to brand new items?
User avatar
Killer McCracken
 
Posts: 3456
Joined: Wed Feb 14, 2007 9:57 pm

Post » Tue Jun 19, 2012 12:47 am

I don't know as I haven't looked into that. A couple of thoughts though
- try looking at the lunar weapons
- maybe considered enchantments, but it might be possible to create a weapon enchantment with a constant effect?
- try looking at turn undead to see how they target undead.


As far as adding new keywords - yes and no. Some things are hardcoded like I mentioned above, but there are certain cases where new keywords do work. For example, Recipes aren't hardcoded to show up at a specific workbench. Their form has a workbench keyword property that associates them with any workbench that has that keyword. For most weapons and armors, their workbench keyword is CraftingSmithingForge. This is a keyword property of the various forges, so recipes are filtered to these (skyforge, whiterun forge, generic forges). Creating a new workbench and keyword will associate recipes to that forge if they use that keyword. That may or may not have made sense.


Some of this may be achievable with scripting, although I haven't looked into papyrus yet. Form Scripts have a HasKeyword method. Maybe...

if weapon form HasKeyword WeapMaterialSilver

if target HasKeyword Undead

on hit, do additional flame damage.

Look at the CraftingBlackSmithForge object. There is a script attached that is set to burn the player when standing on the forge. Sorry, I'm not really familiar with scripring at all, but this is what I've seen when poking around the CK and reference docs.
User avatar
Amysaurusrex
 
Posts: 3432
Joined: Wed Aug 09, 2006 2:45 pm

Post » Tue Jun 19, 2012 11:45 am

bonuses like silver sword being more effective against unded are handled by adding a perk dynamically through script.

first create a hidden perk that has the traits of the bonus effect (probably also need to create a magic effect that goes with the perk). then add a script that gives the perk to the player OnEquip and removes it OnUnequip. you can copy and paste the existing script on the silver sword if you don't want to write it from scratch. just change the words to match your perk and link the property to your actual editor ID. if you look thru the gamesas tutorials on scripting it is easy to get this working.
User avatar
Andrew Perry
 
Posts: 3505
Joined: Sat Jul 07, 2007 5:40 am


Return to V - Skyrim