Fallout 4

File information

Last updated

Original upload

Created by

zilav

Uploaded by

VIitS

Virus scan

Safe to use

Tags for this mod

About this mod

This is for editing the data in the CEll record, not editing the precombined meshes. It can also be used to reduce mod size when you regenerate precombined meshes for your mod.

Requirements
Permissions and credits
See articles section (or Readme) for guides on how to use this script. It’s fairly user friendly, so it’s mainly a quick summary on how the game uses precombineds, and suggestions on when you should or shouldn’t use different features.

This is a modding tool, not a mod. If you aren’t making mods, it won’t help you. This is an amazing FO4Edit (i.e. xEdit) script made by zilav that helps with editing information in the Cell record regarding precombined meshes.

As is always the case when using automation scripts, you should BACKUP YOUR PLUGINS before using this (particularly if you want to use more than the “Clean Precombines” option).

To use:
  1)   Right click on the Cell record you want to edit
  2)   Apply script
  3)   Select FO4PrecombinedDataEditor -> OK

The functionality that most mod authors are going to beinterested is the “Clean Precombines” function. This generates a bat file that makes a list of which precombined meshes haven’t actually changed (as far as what they contain), and when you run it those extra precombined meshes will be deleted so you can pack on the ones you need with your mod.

This script can also let you edit the XCRI field,adding/removing references from meshes or deleting meshes (and the relevant references) from the record. Warning: this doesn’t actually change the .nif files, you need to either edit them yourself or make new ones with the CK. THIS FUNCTIONALITY SHOULD ONLY BE USED IF YOU KNOW WHAT YOU ARE DOING

If you have any questions, or are confused on how to use something, please leave a comment and I'll try and help.

Manual Installation: 
1) Extract the script(s) into your Edit Scripts folder. It should be in the folder you installed FO4Edit in. If you don't have one, you didn't install FO4Edit correctly.

Spoiler:  
Show




*Note on cleaning precombineds: If someone uses two mods that both rebuild precombineds for the same cell, cleaning the ITM .nifs will result in a bit of visual weirdness if your mod loads last, as some of their changed .nifs will be used due to the names matching the vanilla .nif names of ones that were ITM for your mod. This could result in invisible objects (with or without collision, but usually with the collision still there), doubled objects (if you don't touch an object, and they moved it a little), and other similar bugs.

The two mods would be  incompatible with each other anyway, but I figured this was important to mention in case you get any bug reports like that.