This script is essential for those using lighting mods based on Light Placer such as True Light.
Since I don't know Pascal, I used an AI to write the script I needed for my own use.
This script does not touch the original mod. Instead, it copies records into a new plugin. It cannot harm the base mod in any way.
Instructions
How it Works:
- Open xEdit and load the desired plugin.
- Right-click the plugin and select Apply Script -> ExtractDisableLights.
- The script will prompt you to enter a name for the new plugin (Default:DisableLightPatch).
- You can then choose the desired format and flag for the plugin (ESM, ESP, ESL, ESPFE). Note: ESPFE is an ESP plugin with an ESL flag.
Once the plugin is created, the script will copy ALL LIGH records from your selected plugin into the new one (with overwrite) and set the "Initially Disabled" flag on every reference.
Attention!
The script will disable ALL LIGH references in the selected plugin (including window light beams). If you want to keep specific lights, you must manually delete those records from the new patch or uncheck the "Initially Disabled" flag.
XEdit Script to Disable LIGH References
Good Luck!