Jambo11 Posted May 10, 2020 Share Posted May 10, 2020 Mirelurk Hunters are, without a doubt, the toughest mirelurk, save for the queen. Unfortunately, their loot is no better than what you get from any other mirelurk mook: 1 or 2 pieces of mirelurk meat and a chance of getting a single piece of softshell meat. What I'd like to do is give the hunters a separate leveled item: 5 pieces of softshell mirelurk meat, an extra 5 if you have the Wasteland Survival Guide from Sunshine Tidings. Buuuuuut...I'll be damned if I can figure out how give the Hunters a different leveled item. Any ideas? Link to comment Share on other sites More sharing options...
robotized Posted May 11, 2020 Share Posted May 11, 2020 Yes, I have some ideas. Requires some experience with FO4Edit.Open Fallout4.esm in FO4Edit. Go to Leveled Item category. Find LLD_MirelurkMeatExtra [LVLI:0008E3AF]. Right click, press Copy as new record.... Give the record a name like this - LLD_SoftshellMeatExtra5. Create new plugin, can be ESP with ESL flag. Give the plugin a name, I leave that one to you. Now go the record you created and change the "Reference" MeatMirelurk "Mirelurk Meat" [ALCH:000330FF] to MeatMirelurkSoftshell "Softshell Mirelurk Meat" [ALCH:00033100]. Then change the Count to 5.Next, from Leveled Item again, you need LLD_Mirelurk [LVLI:0002EF69]. And again you use command to Copy as new record in.... Give it a name - LLD_MirelurkHunter. When asked where to copy, you select your new plugin. Go to the new record. You have to do two things. First is to change Reference LLS_Mirelurk_SoftshellMeat_25 [LVLI:0002EF6A] to MeatMirelurkSoftshell "Softshell Mirelurk Meat" [ALCH:00033100]. Change its Count to 5.Second one is to right click on "Leveled List Entries" and Add a new one. For the new Reference you enter LLD_SoftshellMeatExtra5 [LVLI:FE000800]. Set Level and Count to 1. Important: When you have to copy a record and put it as an entry inside other record, you can use F2. So in the example above, select the record LLD_SoftshellMeatExtra5, press F2, then copy the record with its FormID(CTRL+C), then go to LLD_MirelurkHunter to paste the record as new entry for leveled list. Same thing applies for the Death Item below.Last thing to do is find all NPC records for the hunters:EncMirelurkHunter01 "Mirelurk Hunter" [NPC_:00064C5E]EncMirelurkHunter01AmbushLegendary "Legendary Mirelurk Hunter" [NPC_:002499F1]EncMirelurkHunter01Legendary "Legendary Mirelurk Hunter" [NPC_:0017E6D7]EncMirelurkHunter02 "Glowing Mirelurk Hunter" [NPC_:00142381]EncMirelurkHunter02AmbushLegendary "Legendary Glowing Mirelurk Hunter" [NPC_:002499F2]EncMirelurkHunter02Legendary "Legendary Glowing Mirelurk Hunter" [NPC_:0017E6D6]EncMirelurkHunter03 "Albino Mirelurk Hunter" [NPC_:00142384]EncMirelurkHunter03AmbushLegendary "Legendary Albino Mirelurk Hunter" [NPC_:002499F3]EncMirelurkHunter03Legendary "Legendary Albino Mirelurk Hunter" [NPC_:0017E6D8]You can select them all. It helps to arrange records by EditorID. Right click and use option to Copy as override.... For each of the overrides find "INAM-Death item". You have to edit and change that from LLD_Mirelurk [LVLI:0002EF69] to LLD_MirelurkHunter [LVLI:FE000801].Save the plugin and start testing. I don't know if it will work right away on existing save, unless spawning hunters with console command.If by any chance you don't get +5 extra softshell meat(with the magazine), there is an edit you can do. For the softshell meat inside LLD_SoftshellMeatExtra5 set the count back to 1. Then in the list LLD_MirelurkHunter, for LLD_SoftshellMeatExtra5 entry set the count from 1 to 5. Save the plugin and test. Again, this is only if the first method doesn't work. Link to comment Share on other sites More sharing options...
Jambo11 Posted May 26, 2020 Author Share Posted May 26, 2020 (edited) Thank you so much! I wish I had considered the possibility of the editing being easier with XEdit. My only concern is how does the game know whether or not to give to extra meat in a leveled list that isn't vanilla? Is there something in the code that looks for leveled lists that contain "meatextra?" I would think there would be a FormList associated with the effect of that particular issue of Wasteland Survival Guide. Edited May 26, 2020 by Jambo11 Link to comment Share on other sites More sharing options...
Jambo11 Posted May 27, 2020 Author Share Posted May 27, 2020 Well, I'm getting 5 pieces of softshell meat, but just as I feared, I'm not getting the extra 5. Link to comment Share on other sites More sharing options...
robotized Posted May 27, 2020 Share Posted May 27, 2020 If you look in the leveled list for extra meat, there is a some sort of Global Variable called ExtraMeatChance. The variable is set to 100. I've checked this in the CK as well. This chance is actually Chance None. Chance None 100 means that extra meat will not be spawned by default. However, the magazine adds a perk to the player with a script. That script changes the value for ExtraMeatChance with -100. I think that Chance None becomes 0, so with the magazine there is 100% chance for extra meat. Did you try the second solution I proposed at the end of my previous post? Edit: Wait, I have an idea about this. But I need to test it first. Link to comment Share on other sites More sharing options...
robotized Posted May 27, 2020 Share Posted May 27, 2020 Ok, I was right. What exactly did I find out? Well, new level lists with extra meat will work before you pick the magazine. If they are added after the perk is applied, my theory is that the global variable is reset back to its original state/value. Forget about the second backup method, the first one will work if you haven't picked the magazine. If you have it already in your saved game, there is one thing you can try. Use console and typeplayer.placeatme 185cd8This will place the perk magazine below your feet, where you stand. Pick it up and then go kill some hunters. Link to comment Share on other sites More sharing options...
Jambo11 Posted May 28, 2020 Author Share Posted May 28, 2020 (edited) I think I know what I did wrong. I used LLS_Mirelurk_SoftshellMeat_25 [LVLI:0002EF6A], instead of MeatMirelurkSoftshell "Softshell Mirelurk Meat" [ALCH:00033100]. For some reason "placeatme" didn't work for the magazine, but "additem" did the trick. I'll let you know what happens with the loot. Edited May 28, 2020 by Jambo11 Link to comment Share on other sites More sharing options...
robotized Posted May 28, 2020 Share Posted May 28, 2020 Yeah, a few times the magazine disappeared somewhere beneath my feet. I traced my steps from my first post and created a plugin. Then loaded the game, used command to add the magazine and fought a mirelurk hunter. I got 10 pieces of softshell meat. Lets hope this works for you too. Link to comment Share on other sites More sharing options...
Jambo11 Posted August 21, 2020 Author Share Posted August 21, 2020 I finally got the mod to a stage that I'm comfortable with. You can find it here: https://www.nexusmods.com/fallout4/mods/30604?tab=posts&BH=2 Thank you, again, for your assistance! Link to comment Share on other sites More sharing options...
robotized Posted August 22, 2020 Share Posted August 22, 2020 Nice! I haven't noticed molerats and mutant hounds lacked the extra meat. The mod slipped from my attention, when you released it. Thanks for sharing. I wish I had considered the possibility of the editing being easier with XEdit.Just a few words on xEdit. Although it is easier(and faster) in my opinion to copy and edit some forms, or even finding them, CK is still recommended as the official tool. Forms like perks, quests, spells and enchantments, other complicated forms with scripts and so on, it is best to create/edit those in CK. Whenever I create something in xEdit, I do run it in CK. If I don't get an error, that's a good sign. Link to comment Share on other sites More sharing options...
Recommended Posts