Jump to content


Photo

Columns for .2da's


  • Please log in to reply
1 reply to this topic

#1 Rastor

Rastor

    Yes, I really am a dragon. Yes, I am a jerk. Live with it.

  • Member
  • 2001 posts

Posted 22 January 2004 - 08:06 PM

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?
Home of Kitanya, Improved Asylum, more...

Posted Image

#2 CamDawg

CamDawg

    ALL GLORY TO THE HYPNOTOAD

  • Modder
  • 1505 posts

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.

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.