Jump to content

Omods and Keywords


Zorkaz

Recommended Posts

I'm trying to add/remove a keyword to a weapon by changing the omod.

One OMOD adds the keyword, the other removes it, so far so good.

 

But the script attached to the weapon does not recognize the change. (It works very well if I remove the Keyword by hand)

 

So does adding/removing a Keyword actually work?

Link to comment
Share on other sites

I'd figure that the order in which you equip those mods is not the order in which the engine processes their properties.

So that if you think:

 

No mods -> 0 keyword

Mod 1 -> Add 1 keyword

Mod 2 -> Remove 1 keyword

Result -> 0 keyword

 

But what the engine could be doing is

 

No mods -> No keyword

Mod 2 -> Remove 1 keyword

Mod 1 -> Add 1 keyword

Result -> 1 keyword

 

You see, the order in which the mods are processed may affect to the result. The order in which those mods are applied may have nothing to do with the order in which you apply them.

Link to comment
Share on other sites

So does adding/removing a Keyword actually work?

 

I think you need to remove the "AddKeyword" OMOD to actually remove the keyword. As long as at least one OMOD adds that keyword to the item, the keyword remains on it.

Edited by LarannKiar
Link to comment
Share on other sites

  • Recently Browsing   0 members

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