Making Room for Legendary Effects - jackeys/Power-Armor-to-the-People GitHub Wiki

By default, Fallout 4 supports a total of 128 legendary rules that dictate what legendary effects are available and what items they can apply to. This number is shared for both weapons and armor. As such, if you have all of the DLC or another mod that adds legendary effects, some of the legendary effects may not actually be available unless some intervention is performed. Power Armor to the People includes options for that intervention to ensure that all of the legendary effects can be enjoyed even if you use other mods that add legendary effects.

Legendary Rule Counts

The official Fallout 4 content adds the following number of rules:

  • Fallout 4 - 62
  • Far Harbor - 16
  • Nuka-World - 30 (unused, but taking up space - they are placeholders for legendary grenade mods that were never made)
  • Total - 108

This leaves room for only 20 legendary rules that can be added by mods.

Power Armor to the People adds 16 legendary rules to support its legendary effects by default, all of which can be individually turned off in MCM. Additionally, another 16 legendary rules can be added if unique effects are toggled in MCM, which can be done on an individual basis as well. This means that Power Armor to the People could add as many as 32 legendary rules, exceeding the limit if all DLC is present and some of the unique effects are added.

Interventions

Removing Nuka-World Legendary Rules

Nuka-World adds 30 placeholder legendary rules that apply only to grenades and have no effect. They are never used and don't do anything for your game, so unless you are using a mod that happens to provide real effects instead of placeholders, they can be safely removed. Power Armor to the People will prompt you to remove them in-game if it hits the limit of 128 legendary rules and the Nuka-World legendary rules are still taking up space in the list.

If you are only using Power Armor to the People to add new legendary effects, this intervention leaves more than enough space.

Increasing the Size of Arrays

Requires F4SE and the LL_FourPlay option from the Power Armor to the People installer

Fallout 4 enforces an array limit of 128 for all scripts, which includes the one that manages legendary effects. Using an F4SE plugin called LL_FourPlay, which is distributed with permission as an option in the Power Armor to the People installer, it is possible to increase this limit. It is important to note, however, that this affects all arrays across all scripts, and the developers of LL_FourPlay caution that making arrays too large can have an adverse affect on your game. As such, it is a good idea to back up your game before using this intervention.

If the Nuka-World legendary rules have already been removed and there is still not enough space for the Power Armor to the People legendary effects, if you have LL_FourPlay installed, Power Armor to the People will prompt you to increase the array size in-game. In order to prevent the arrays from growing too large, it will only increase the maximum size in small increments to make its own legendary effects fit.

Manually Increasing the Size of Arrays

With LL_FourPlay installed, it is also possible to manually increase the maximum size of arrays across all scripts. This could be useful if, for example, you want to add more legendary effects from another mod that doesn't have similar interventions to increase the array sizes.

After allowing Power Armor to the People to increase the array size in-game, go to your Fallout 4 game directory and open Data/F4SE/Plugins/LL_fourPlay.ini in a text editor. You should see an entry similar to this:

[Custom Arrays]
uMaxArraySize=136

By changing the value of uMaxArraySize, you can change the array size in your game, but you should keep these important considerations in mind:

  • Setting the value too high can adversely affect your game, so use it at your own risk - Back up your saved game before changing it and don't make it bigger than you need
  • You should never lower the number and then load a saved game that had a higher number, or you could get unexpected results
  • The value should never be lower than 128