» 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.