When you load a modified .csv table into one of the generically named tables (e.g. "Modify existing table") in the S&S editor...
(1) how does it get associated with the original table that was modified? i.e., how does the game-engine know what the newly loaded data is?
(2) what does a modder need to do if (s)he needs two+ tables using the same "Modify existing table" columns-side?
Firstly you'll want to start by making sure it's a csv mod table exported from the debug screen in-game, exporting mod csv files includes instructions for the first few columns of the Modify existing table, here is the results of exporting my mod's perks using the normal csv export using the debug screen:
Note that the mod csv output has additional six columns and values (some of which are blank) between the tabs in the latter, those are specifically for Modify existing table use, the first value is a comment to remind yourself (or a reader) of something if you like. The second is the operation type, a value that is either 1 which sets a single specific value on a specific row and column of a specific table, 2 which sets the values of an entire row on a specific table, or 3 which adds a new row to the end of the table and sets the row's values to those provided. The third value is the name of the library, in this case it's that of my own mod, CMod, but it could be SE_Asset, SE_Perks, SE_Linguistic, SE_Airforce or any other internal library. The fourth value is the specific sub-library/table number which in this case is 380 or hex perks. The fifth and sixth values are the row and column number for use with operation types 1 and 2 but I have the column number as -1 here as it's not used for operation type 2 and operation type 3 doesn't use either. All the data forward of that is the same as in the normal csv, note that mod csv exports will always export with operation type 2 and if you're adding new content you'll probably want to use operation type 3 and not bother with using the row/column number fields.
You can address multiple different sub-libraries/tables using the same Modify existing table library, it simply is a list of changes to make and you can use just one or two of the columns or all of them if you like, it makes no difference. It can often even be helpful having the changes for multiple tables above and below each other for readability purposes.
< Message edited by Catasteroid -- 10/27/2021 7:08:23 PM >