Jump to content
⚠ Known Issue: Media on User Profiles ×

ExcerptNovela

Supporter
  • Posts

    3
  • Joined

  • Last visited

Everything posted by ExcerptNovela

  1. I fixed up a version of the Merge overrides in Master to work for this purpose. All that was required was to edit out two sections and add a check to not copy the Data flags (because the plugin has to be flagged as an ESM, I'm assuming this is why the flags are compressed, such as the HasWater flag). The edit starts at line 34: // special treatment for record header //if s = 'Record Header' then begin // // copy flags // SetElementNativeValues(m, 'Record Header\Record Flags', GetElementNativeValues(e, 'Record Header\Record Flags')); // Continue; //end; // get the same element from master e1 := ElementByName(m, s); // element exists in override but not in master, add and copy it if not Assigned(e1) then begin if Pos(' - ', s) = 5 then s := Copy(s, 1, 4); // leave only subrecord's signature if present e1 := Add(m, s, True); ElementAssign(e1, LowInteger, e2, False); Continue; end; // element exists in both master and override, detect conflict c := ConflictAllForElements(e1, e2, False, IsInjected(m)); // copy it into master if data is different, add check to make sure we are not copying the Data flags if (c >= caConflictBenign) and (Signature(e1) <> 'DATA') then ElementAssign(e1, LowInteger, e2, False); end; // remove elements from master that don't exist in override //for i := Pred(ElementCount(m)) downto 0 do begin // e1 := ElementByIndex(m, i); // if slElems.IndexOf(Name(e1)) = -1 then // Remove(e1); //end;
  2. Thanks, that did the trick! I have a different issue now. I wasn't thinking about how the "Merge Overrides into Master" copies the record exactly as is. In CombinedObjects.esp there is only XCRI data (which is to be expected). Is there a script included that I've missed which can automate the copying of a specific type of element from multiple records back into a master file? What I was hoping to do was: Copy Version Info on all generated cells (this works now) and then -> Merge Overrides into Master. This overwrites records like regions, grids, max height, water, etc... so that will not work for my purposes. I need something more specific. My knowledge of Delphi is very limited, but I suppose I can look through the xedit wiki if I have to find what I need to change in the merge script, unless someone has already written one or there is one I've missed somewhere.
  3. Hi, can anyone give me some advice on getting the automated precombine/previs command line functions to work? I have been able to use the precombine command in powershell: .\CreationKit.exe -GeneratePrecombined:<plugin> clean all This generates the precombined nifs as expected and also CombinedObjects.esp. I was planning on using the copy version info script in order to merge back in the records into the plugin I'm attempting to generate for, but when I look at the CombinedObjects.esp in xEdit, I get tons of cell records with XCRI records which look like this: As you can see, the "Meshes Sorted" records look to be fine, but the "References Sorted" all have errors. The script which copies version info will work and let me copy the Meshes Sorted into the plugin I'm generating for, but not the References (which is as expected considering they have unresolvable errors). What could I be doing wrong here, anyone know how to fix this?
×
×
  • Create New...