Doom1991 Posted August 2, 2017 Share Posted August 2, 2017 (edited) I need some help as to what determines how a "Object Modification file" connects to a "Weapon file". Searching for a tutorial on this came up to be dumb as the tag system only gives me stuff like "How to make a mod for a new gun" and such results. So what I want to do is make a new Weapon Workbench Mod for a gun but I can't figure out what determines its attachments and so on. I understand how to make the Weapon Mod itself under "Object Modification". Let me make an example: So I create a couple of files for a 10mm Pistol +Object Modification mod_10mm_Reciever_CustomLoaded mod_10mm_Custom_QuickLoad What determines how those two mods in Object Modification are connected to the Weapon file "10mm"? Is it the "EDID - Editor ID" itself or is there another tab with a file that has a list of keywords attaching the mod files to the weapon in the workbench? Edit: Answer ---> +"Keywords" tab and the "ma_10mm [KYWD:00017E69]" is the association link between the two files for the workbench. "ap_gun_receiver [KYWD:00024004]" is what determines what tab the modification goes under in the Workbench. Thanks to BigAndFlabby for the help. Edited August 2, 2017 by Doom1991 Link to comment Share on other sites More sharing options...
JonathanOstrus Posted August 2, 2017 Share Posted August 2, 2017 It's done with keywords. Specifically the attach point and mod association. If you look at vanilla object modification records it should be pretty self explanatory. The weapon base record also needs to have the mod association, and attach point keywords too. Using your 10mm example you can see it has:ma_10mm [KYWD:00017E69] under keywordsap_gun_receiver [KYWD:00024004] under attach parentThe object mod mod_10mm_Receiver_Standard "Standard Receiver" [OMOD:00091FC4] has the attach point ap_gun_receiver [KYWD:00024004] and then gives more parent nodes for further mods. It has a target omod keyword of ma_10mm [KYWD:00017E69] so that it only shows up in the workbench on items with the same keyword. If you don't include the target keyword then the object mod will appear on any item that has the attach parent node that matches. Such as ap_Legendary [KYWD:001E32C8]. Link to comment Share on other sites More sharing options...
Doom1991 Posted August 2, 2017 Author Share Posted August 2, 2017 It's done with keywords. Specifically the attach point and mod association. If you look at vanilla object modification records it should be pretty self explanatory. The weapon base record also needs to have the mod association, and attach point keywords too. Using your 10mm example you can see it has:ma_10mm [KYWD:00017E69] under keywordsap_gun_receiver [KYWD:00024004] under attach parentThe object mod mod_10mm_Receiver_Standard "Standard Receiver" [OMOD:00091FC4] has the attach point ap_gun_receiver [KYWD:00024004] and then gives more parent nodes for further mods. It has a target omod keyword of ma_10mm [KYWD:00017E69] so that it only shows up in the workbench on items with the same keyword. If you don't include the target keyword then the object mod will appear on any item that has the attach parent node that matches. Such as ap_Legendary [KYWD:001E32C8].Great information. I would of completely missed the Attach Point keyword there. I was just digging through another persons mod from the Nexus here figuring it out. This helps answer my question completely. I'm wanting to make a new ap_gun keyword so I can have a new Modification tab in the workbench to put Ammo Load into. Then I can remove all the Weapon Mods ammo changes and add them into a new section so every receiver can use that ammo type in game. Before asking about this here, I was gonna make the barrels carry the ammo changes instead. Thanks for the help. Link to comment Share on other sites More sharing options...
Recommended Posts