Heads up, I've been a busy little a son of a bee with the scripting, and a new version is here.
The biggest change is that now you don't need the console any more. Whenever you walk past a cell boundary (e.g., between Sanctuary and Red Rocket), the script checks you AND your current follower for the perk, and gives it to you/them if not.
I added the perk to followers too, well, to make them more useful. Followers, obviously, use their own luck stat, not yours.
It's done that way, as opposed to just adding it to all companions in one go, because that this way I don't have to know which modded followers you have in the game. It will just work with any companions, without needing compatibility patches or whatnot. If you walk with them in tow between cells, the script will catch them, even if they're from a mod. (I just got it on Nora from Synthetic Love just fine.)
Followers will NOT lose the perk when you dismiss them, nor when they stop being followers entirely, so beware if you plan to murderize them later.
I've also upped the cap to 25%, same as Overdrive. I don't think it's the sanest idea to go for all Luck clothes and stats, but I'm upping the cap for those who do.
As usual, I'm including the script source, in case you want to tinker with it. FO4 is all about tinkering, amirite?
By the way, having 20 Luck or even more is indeed possible in a vanilla game. With the bobblehead, you can raise it to 11, and with up to 6 legendary armor parts giving 2 luck each, you can have up to 23 luck. I do admit there's a lot of playtime needed to get 6 lucky armor parts though (Right now i have a torso, left and right leg, and a right arm. I just don't like to mix up leather, metal, combat and synth armor parts, which is why I don't wear them together). Then there is the perk Party Boy/Party Girl which on rank 3 gives 3 luck when drunk.
Hmm... Ok, I might have to raise it to 25% then, probably when I do the magazine thing too. I kinda don't like the idea of capping the base game that much.
Thanks for the feedback. It's very much appreciated.
A hypothetical maximum for vanilla requires some luck and shenanigans, but is quite impressive. First, you need to get addicted to x-cell at 10 natural luck. Pick up the I'm special book and you can now select luck, since your total luck is below 10. Combined with the bobblehead this makes a natural 12 luck. With a set of luck clothing with the lucky modifier (+3), a lucky hat with the lucky modifier (+3), 5 pieces of lucky armor (+10), you have a passive 28 luck. Party boy (+3) X-cell (+2) and day-tripper (+3) can raise this to 36 luck. Which would be completely overpowered as a passive crit chance, since that and overdrive would allow for 61% passive crit chance. When combined with a weapon with 2 critical damage modifiers, full skill magazines, the weapon's bobblehead, better criticals max rank, you get a 442.25% DPS increase. Unknown how the lucky weapon modifier affects this. A sawed-off shotgun would have the power to take out Liberty Prime.
On a unrelated note, have you seen the bullet time mod by registrator2000? It adds bullet time by use of a consumable added directly to your inventory. That could be useful for adding the perk.
Hmm... In NV or Skyrim that would be the same kind of script as for adding a perk. Have an auto-starting quest, with a quest script that does an action -- be it adding an item or a perk or whatever -- and then turns off the quest. So I'm guessing he figured out how to script stuff in FO4.
I should really have a look at the latest versions of the available modding tools. Maybe there is scripting support in the meantime.
Okay, entering into the discussion of max vanilla luck, I'm not sure that 36 is possible. Maybe once some DLC comes out? (I really like the trick with the X-Cell addiction, I'm going to try that the next chance I get!) For this discussion, I consider vanilla to be the base game, without console commands or mods.
Let's start with the base being 12(!). I have never seen regular clothing (including hats, glasses, and helmets) drop with legendary effects. There are the unique items, but I've never seen a drop. So let's go with clothes not being legendary. Hats can have +1 luck. Clothes preclude a chest piece (or more) of armor. So add five pieces of armor for +10. We're at 23. Party Boy, Day Tripper and X-Cell for 8 more gets us to 31. I think that's the current max, without mods or console commands. Did I miss anything?
I'm getting this but in VR, thought it was a VR-only problem haha. My worry is that this mod is scanning to apply the crit ability too often and slowing down the game, so even if we do disable the messages, it'll be running in the background. I think I'll submit a bug report to ping the author rather than just leaving a comment and hoping they see it.
Could you make a version which doesn't use cells to check. I only need the perk for myself and I don't want to use many scripts / are afraid of cell reset.
I'm not so much worried about the cell resets, but also about the amount of scripts running. So maybe a 'triggered manually' or 'triggered once' version would be an option? Then again, if it's small... I might not hit the limit, yet. Even with Sim Settlements and various extensions going.
146 comments
The biggest change is that now you don't need the console any more. Whenever you walk past a cell boundary (e.g., between Sanctuary and Red Rocket), the script checks you AND your current follower for the perk, and gives it to you/them if not.
I added the perk to followers too, well, to make them more useful. Followers, obviously, use their own luck stat, not yours.
It's done that way, as opposed to just adding it to all companions in one go, because that this way I don't have to know which modded followers you have in the game. It will just work with any companions, without needing compatibility patches or whatnot. If you walk with them in tow between cells, the script will catch them, even if they're from a mod. (I just got it on Nora from Synthetic Love just fine.)
Followers will NOT lose the perk when you dismiss them, nor when they stop being followers entirely, so beware if you plan to murderize them later.
I've also upped the cap to 25%, same as Overdrive. I don't think it's the sanest idea to go for all Luck clothes and stats, but I'm upping the cap for those who do.
As usual, I'm including the script source, in case you want to tinker with it. FO4 is all about tinkering, amirite?
By the way, having 20 Luck or even more is indeed possible in a vanilla game. With the bobblehead, you can raise it to 11, and with up to 6 legendary armor parts giving 2 luck each, you can have up to 23 luck. I do admit there's a lot of playtime needed to get 6 lucky armor parts though (Right now i have a torso, left and right leg, and a right arm. I just don't like to mix up leather, metal, combat and synth armor parts, which is why I don't wear them together). Then there is the perk Party Boy/Party Girl which on rank 3 gives 3 luck when drunk.
Anyway, I think a cap of 20% is just fine.
Hmm... Ok, I might have to raise it to 25% then, probably when I do the magazine thing too. I kinda don't like the idea of capping the base game that much.
Thanks for the feedback. It's very much appreciated.
On a unrelated note, have you seen the bullet time mod by registrator2000? It adds bullet time by use of a consumable added directly to your inventory. That could be useful for adding the perk.
I should really have a look at the latest versions of the available modding tools. Maybe there is scripting support in the meantime.
http://www.nexusmods.com/fallout4/mods/7380/?
http://www.nexusmods.com/fallout4/mods/3742/?
Let's start with the base being 12(!). I have never seen regular clothing (including hats, glasses, and helmets) drop with legendary effects. There are the unique items, but I've never seen a drop. So let's go with clothes not being legendary. Hats can have +1 luck. Clothes preclude a chest piece (or more) of armor. So add five pieces of armor for +10. We're at 23. Party Boy, Day Tripper and X-Cell for 8 more gets us to 31. I think that's the current max, without mods or console commands. Did I miss anything?
Thanks.
Why this not i in-game mods list, which i more user friedly?