YouDoNotKnowMyName Posted August 30, 2021 Share Posted August 30, 2021 Good morning everybody! So, I want to give an NPC a weapon with a certain OMOD. I found this post that explains how to do this:https://forums.nexusmods.com/index.php?/topic/8543413-put-a-weapon-with-mod-into-a-container/ I made an Object Template and gave it a keyword.I made a leveled item and gave it the same keyword and set the chance to 100. I put that leveled item in the NPCs inventory. But the NPC in the game still spawns with random OMODs on that weapon. So what am I missing here?I also tried to set the chance to 0, because leveled lists might be using a "chance not to spwan" instead of "chance to spwan", but that did not change anything. Link to comment Share on other sites More sharing options...
YouDoNotKnowMyName Posted August 30, 2021 Author Share Posted August 30, 2021 No answer? Link to comment Share on other sites More sharing options...
Balx2 Posted August 31, 2021 Share Posted August 31, 2021 I wanted a certain weapon with Rapid mod to be on a vendor so what I did was:Form List – created form list and added the OMOD mod_Legendary_Weapon_speed “Rapid”Leveled item – created and added the base weapon type I wanted and overrode the name, adjusted level and chance to tasteQuest – created a quest, attached CustomItemQuestScript and edited in my Leveled List, Form List, and my reference to the vendor.I never tested adding the weapon to a non-vendor npc because I wanted it through a vendor but it should work Link to comment Share on other sites More sharing options...
YouDoNotKnowMyName Posted August 31, 2021 Author Share Posted August 31, 2021 Nevermind, I got it to work like that post I linked described it.I forgot to uncheck the "default" checkbox in the object template window. Now it works fine! Yes, I know this could be done with a script and a quest, but I try to keep things as simple as possible ... Link to comment Share on other sites More sharing options...
DiodeLadder Posted August 31, 2021 Share Posted August 31, 2021 Having looked at my post in the linked thread, looks like I forgot to mention that the Keyword has to be configured with Type = Instantiation Filter. With object template and instantiation filter, you can even spawn legendary weapons without using quests and form lists. That's how Silver Shroud SMG is configured (look at the object template in Submachine Gun). I think this is a much simpler method if it can fit your project. Link to comment Share on other sites More sharing options...
Balx2 Posted September 1, 2021 Share Posted September 1, 2021 I'm glad you got it to work. I only wish the developers kept things as simple as possible, other then unique weapons you find on vendors, it seems like every damn thing in the game is done four different ways so trying to find good examples in the CK can be such a pain in the ass. IE I found another part of the game with annoying audio so went to fix it and found that this one was not just an X-marker or a speaker but also had a quest attached that controlled audio for parts of it but not the entire aspect. Link to comment Share on other sites More sharing options...
Recommended Posts