ogauge5 Posted September 24, 2016 Share Posted September 24, 2016 Hello all, I am trying to use fo4edit to copy around 6 object modfication properties from one object modfication to about 250+ other object modifications. i have been trying to find away to mass copy all of the properties to the other object modfications at once to save time. Does anyone know of a way to copy multiple properties at once from one record to multiple other records? A script, some way to select more than one property at once in fo4edit, anything? I have looked and looked for ways to do this but am beginning to believe there isn't a way. That would suck as copying that amount of properties to every object mod would be dragging and dropping over 1500 times. Link to comment Share on other sites More sharing options...
zilav Posted September 24, 2016 Share Posted September 24, 2016 From xEdit Tips:"You can copy data from a record to several others by selecting them in the left pane, make sure that the source record to copy from is the last you selected so it is visible in the right pane, then right click on a data node you want to copy in the right pane -> Copy to selected" Link to comment Share on other sites More sharing options...
ogauge5 Posted September 25, 2016 Author Share Posted September 25, 2016 i may have tried that, but I will try that and see what happens. That may just apply to copying everything from an entire record, eg object modification as opposed to specific properties/fields from that record. Regardless, I am pretty basic as regards to fo4edit, so it may be I overlooked something. I am trying to copy multiple right pane properties to different left pane records. Again this may not be posssible, I don't know. if I were to compare multiple records/object mods, I want to be able to select multiple properties within the first record and copy them to the other compared records at once. Link to comment Share on other sites More sharing options...
zilav Posted September 25, 2016 Share Posted September 25, 2016 Use mentioned method and copy each property separately, so a total of 6 clicks instead of one. Big deal. Link to comment Share on other sites More sharing options...
FiftyTifty Posted September 25, 2016 Share Posted September 25, 2016 Zilav knows what he's talking about. Dude's the wizard that has been taking care of xEdit for yonks. But if you really want to do it via script, since it would be good practice I suppose, take a look at these functions. http://www.creationkit.com/index.php?title=TES5Edit_Scripting_Functions Namely: RecordByFormID - To get the source record with the data you want to copy.wbCopyElementToRecord - To copy the data to all the records you want changed. Link to comment Share on other sites More sharing options...
ogauge5 Posted September 26, 2016 Author Share Posted September 26, 2016 thanks for the replies! I will look at both. regards Link to comment Share on other sites More sharing options...
shadowslasher410 Posted September 28, 2016 Share Posted September 28, 2016 I know this is a bit late, but I can't recommend Automation Tools by matortheeternal enough for this kind of thing. It's got a bit of a learning curve, but make sure to read the instructions and you should be fine. Oh, and even though its on the skyrim nexus, it works with Fallout 4 too. If you decide to end up using it and you need help just PM me. Link to comment Share on other sites More sharing options...
ogauge5 Posted September 28, 2016 Author Share Posted September 28, 2016 Ok, So update on this problem. The method zilav describes does kind of work. If I do that method, it will indeed copy one element (e.g. DATA-data/Properties/Property element index 0) within the properties element list index to all of the other object modification files. However, upon trying to copy a different element from the property element list index (e.g. DATA-data/Properties/Property element index 9) the newly copied property element (9) simply overwrites the previously copied property element (0) from the property element list index. So instead of adding another element from the property list index, it just overwrites the one I originally copied. Copying the entire properties element list index, (e.g. DATA-data/Properties) overwrites the Entire properties element list index of the object modification. I need to keep the original property elements of each object modification while adding 6 additional new property elements without overwriting anything. Using the Automation Tools Quick Change copy script for TES5edit (which also works for FO4edit) results in the same conundrum described in the first paragraph of this post. Link to comment Share on other sites More sharing options...
ogauge5 Posted September 28, 2016 Author Share Posted September 28, 2016 DOH! @Shadowlasher410 Wow, that is a crazy coincidence. I literally just finished that post and then I see yours. I will pm a question I have about the copy function. Essentially it is kind of what I described above. Link to comment Share on other sites More sharing options...
ogauge5 Posted September 29, 2016 Author Share Posted September 29, 2016 Another update for anyone that might be curious or in the future has a similar problem. I believe I have figured out what is going on with the problem described above. I am trying to copy multiple elements of the same type of weapon properties, enchantments. Each enchantment has a different effect. However, I don't think you can copy weapon properties to another record if the other record already has the same type of property without overwriting the original property. So by copying an enchantment to a bunch of weapon object mods that previously had NO weapon properties that were of the enchantment type, you can add a single element of that type. However, every subsequent copying does not add a new element but rather overwrites since there is already an element that has that property type in it. Makes sense to prevent duplicates I suppose. Ok, So update on this problem. The method zilav describes does kind of work. If I do that method, it will indeed copy one element (e.g. DATA-data/Properties/Property element index 0) within the properties element list index to all of the other object modification files. However, upon trying to copy a different element from the property element list index (e.g. DATA-data/Properties/Property element index 9) the newly copied property element (9) simply overwrites the previously copied property element (0) from the property element list index. So instead of adding another element from the property list index, it just overwrites the one I originally copied. Copying the entire properties element list index, (e.g. DATA-data/Properties) overwrites the Entire properties element list index of the object modification. I need to keep the original property elements of each object modification while adding 6 additional new property elements without overwriting anything. Using the Automation Tools Quick Change copy script for TES5edit (which also works for FO4edit) results in the same conundrum described in the first paragraph of this post. Link to comment Share on other sites More sharing options...
Recommended Posts