TheHexi Posted June 11, 2018 Share Posted June 11, 2018 I think TeaLz made something like this for his Legendary Effects mod, but I'm not sure how to do it myself. Am I going to have to learn a scripting language to get the job done? Any advice is appreciated. I'll also try to contact TeaLz to see what he says. Link to comment Share on other sites More sharing options...
pra Posted June 11, 2018 Share Posted June 11, 2018 I don't think this is possible.What keyword is this supposed to be? What's the end goal which you are trying to reach here? Link to comment Share on other sites More sharing options...
WastelandAssassin Posted June 11, 2018 Share Posted June 11, 2018 I don't think you read what TealZ's mod does or how it worksit attaches things via scripts to items that contain a specific keywordhowever , you can't add a keyword via a scriptif you look here https://www.nexusmods.com/fallout4/articles/37 , this is the article by TealZ on how to make armors compatible with his mod Legendary Modificationsso he doesn't have a script that adds the keywords , you need to manually add them (although it's not difficult , it does take time if you have a long list of items , and you have to do it manually to each of them) I may not know about a way this could be done , but I've never heard of anything like thiseven the patchers of mods like Skyrim Redone worked with scripts that looked for keywords , but you had to manually add the keywords to the items before the patchers would be able to handle them Link to comment Share on other sites More sharing options...
Reneer Posted June 11, 2018 Share Posted June 11, 2018 (edited) Actually, you can most definitely add a keyword to weapons via script. It's just a pain to do most of the time. I'll elaborate more when I'm not on mobile. Edited June 11, 2018 by Reneer Link to comment Share on other sites More sharing options...
TheHexi Posted June 11, 2018 Author Share Posted June 11, 2018 so he doesn't have a script that adds the keywords , you need to manually add them (although it's not difficult , it does take time if you have a long list of items , and you have to do it manually to each of them) If that's true then how does the Anti-Material Rifle from the CC have a legendary effect in the workbench? I hear what you're saying, but weapons like the Anti-Material Rifle from the Creation Club have the legendary effect mod at the workbench and they have the ap_legendary on them as well. I doubt anyone at the creation club is adding attach point keywords for Nexus mods. And before you ask I already had the legendary modification mod installed. So I'm curious how that's possible. Link to comment Share on other sites More sharing options...
WastelandAssassin Posted June 12, 2018 Share Posted June 12, 2018 apparently I'm also wrong about this , as Reneer seems to know a way to do this (I'm also waiting to see how it's done) I don't know about CC content , I think it depends on who made it (if it's Bethesda I would agree with you , if it's a mod author I wouldn't be surprised if they set it up like that)I'm also not sure if you can create a script that will add the keywords to all weapons (I guess you could do that for a specific item , but I doubt you could do that to all items that may or may not exist) Link to comment Share on other sites More sharing options...
Zzyxzz Posted June 12, 2018 Share Posted June 12, 2018 Yes, you can do that with InstanceData (requires F4SE)You can get/set keywords to the base object Take a look here https://www.reddit.com/r/f4se/comments/7rps33/how_to_use_instancedata/ Link to comment Share on other sites More sharing options...
Reneer Posted June 12, 2018 Share Posted June 12, 2018 (edited) Here is a brief outline of how I added keywords to weapons via script: Basically what you need to do is use a Quest script and a RegisterForRemoteEvent call on the player that checks when an item is added to their inventory. You then drop the weapon, grab the objectreference, add the keyword, and add the weapon back to the player's inventory. Edited June 12, 2018 by Reneer Link to comment Share on other sites More sharing options...
Recommended Posts