I've run across something.
A mod that I'm involved absolutely must have the capability to add extra columns to a .2da file or it won't work (dealing with epilogues and I don't want to scrap anything that someone else did).
Is there anyway to use WeiDU to add columns to an already existing 2da? I seem to think so, but can't remember exactly how.
If not, would it be possible to add this?

Columns for .2da's
Started by Rastor, Jan 22 2004 08:06 PM
1 reply to this topic
#1
Posted 22 January 2004 - 08:06 PM
Home of Kitanya, Improved Asylum, more...

#2
Posted 22 January 2004 - 09:10 PM
You remembered correctly.
APPEND_COL ~blah.2da~ ~1 2 3 4 5 6 etc~
The 1, 2, etc will be placed in subsequent rows. The number of elements you give to APPEND_COL must be equal to the number of rows in the file to which you're appending, which makes it a bear to use for something like KITLIST. IIRC it also tries to append to the first few lines of the 2DA, up where the file info is, and I don't know of any way to stop that (someone here does, though, I'll bet). You could insert something unique in the first few rows, then just edit it out with a REPLACE_TEXUALLY and white space.

APPEND_COL ~blah.2da~ ~1 2 3 4 5 6 etc~
The 1, 2, etc will be placed in subsequent rows. The number of elements you give to APPEND_COL must be equal to the number of rows in the file to which you're appending, which makes it a bear to use for something like KITLIST. IIRC it also tries to append to the first few lines of the 2DA, up where the file info is, and I don't know of any way to stop that (someone here does, though, I'll bet). You could insert something unique in the first few rows, then just edit it out with a REPLACE_TEXUALLY and white space.
Why is this Hypnotoad video so popu... ALL GLORY TO THE HYPNOTOAD.
____
The Gibberlings Three - Home of IE Mods
The BG2 Fixpack - All the fixes of Baldurdash, plus a few hundred more. Now available, with more fixes being added in every release.