Jump to content


Photo

Detailed information of 2da files


  • Please log in to reply
2 replies to this topic

#1 Kexikus

Kexikus

    Jedi Master

  • Members
  • PipPipPipPipPip
  • 963 posts

Posted 12 October 2016 - 05:58 PM

.2da files are a very common and important file type in both KotOR games and are also very common to be edited in mods. That's why this tutorial aims to bring you a list with detailed explanations on what they do.

Introduction

You can find all .2da files in the 2da.bif file, where they can be accessed using KotOR Tool. KotOR Tool also provides a 2da-editor to modify them as you want.

Basically, .2da files are 2d arrays or put simply: tables, just like you know them from programs like Excel. The one difference here would be that in a .2da file, each column has a specific and pre-defined (hardcoded) function. Each .2da file collects a set of "objects" that differ in details. Thus every column in the .2da file represents a certain characteristic of such an object while each row represents one specific instance of this type of object. As a simple example, you could have a file called trees.2da that contains information on different types of trees. The columns would then include details like height, age, etc and every row would stand for one tree species with details entered in each entry of this row.

This tutorial will consist of two parts: First a (currently incomplete) list of all .2da files used in both games with detailed information on what they do and what each column stands for. The second part will be a list of .2da files that exist in KotOR but that aren't actually used since they're only remnants from Never Winter Nights (an older game by Bioware based on the same engine). This second part is only for reference, so that you know these files are useless.

Now, this tutorial is currently far from being complete. There are many .2da files that are still missing and even for those that are already listed there may be missing information or maybe even incorrect information. If you notice a mistake or know things that are still missing, please post them to this thread so that I can add them to improve on this ressource. Thank you very much :D

A big thanks already goes to Fair Strides, who provided most of the information currently listed. Thank you!

Used .2da files

In this section I will (eventually) list all .2da files used by both KotOR and its sequel TSL. Most of these appear in both games and are identical or have only very minor differences. Those are marked with (K1/TSL) after their names and possible differences will be explained in the proper place. Some .2da files however differ on a bigger scale between the two games or exist only in one of them. Those are then marked by either (K1) or (TSL) depending on which game they are from.

Each listed file has a short introduction that describes what these files are used for, followed by a list of their columns with descriptions.
If there is no description for a certain column, then that's just because I don't know what it does, while descriptions written in red are unconfirmed and might be wrong.
And as a final note: When you open a .2da file in KotOR Tool, you will notice the first column labeled (Row Label). This column exists in every .2da file and labels the rows numerically from 0 upwards. This label can then be used by other .2da files to reference specific lines from this file. But since this column is the same in every .2da file, I won't list it everytime.
And here we go:

acbonus.2da (K1/TSL)

Spoiler


aiscripts.2da (K1/TSL)
Spoiler

 

aliensound.2da (K1/TSL)

Spoiler

 

ambientmusic.2da (K1/TSL)

Spoiler

 

ambientsound.2da (K1/TSL)

Spoiler

 

ammunitiontypes.2da (K1/TSL)

Spoiler

 

animations.2da (K1/TSL)

Spoiler

 

appearance.2da (K1)

Spoiler

 

appearance.2da (TSL)

Spoiler

 

appearancesndset.2da (K1/TSL)

Spoiler

 

baseitems.2da (K1/TSL)

Spoiler

 

bindablekeys.2da (K1/TSL)

Spoiler

 

bodybag.2da (K1/TSL)

Spoiler

 

camerastyle.2da (K1/TSL)

Spoiler

 

chemicalcreate.2da (TSL)

Spoiler

 

classes.2da (K1/TSL)

Spoiler

 

heads.2da (K1/TSL)

Spoiler

 

itemcreate.2da & itemcreatemira.2da (TSL)

Spoiler

 

portraits.2da (K1/TSL)

Spoiler

 

upcrystals.2da (K1/TSL)

Spoiler

 

Unused .2da files

This section will simply list files that are not used by the KotOR games. Many of these only exist in the KotOR 1 files and were removed for TSL.

  • actions.2da
  • areaeffects.2da
  • caarmorclass.2da
  • capart.2da
  • categories.2da
  • catype.2da
  • chargenclothes.2da

Changelog

Spoiler

                    


Signatur_zps1zcbmz8z.gif


#2 Fair Strides

Fair Strides

    Aurora Engine Operator

  • Administrators
  • 1,955 posts
  • LocationOregon, USA

Posted 17 October 2016 - 10:32 PM

Besides a battle with the formatting engine, I'm glad we got the information up there... :)


(By the way, if you ever want to ask about one of the quotes, feel free to send me a PM)

 

My personal, made-up quote: "To know is good, but to act is better."

"Words are just words, thoughts thoughts, but actions...actions are progress." - Fair Strides

"Intelligence and respect are all it takes to get along fine. Not a bad trade off, huh?" - EwigD from GameFaqs

"And regarding butchering the language, I have been to the internet. The language is well butchered regularly." - Malkior

 

"You can either live with the lies or die with the truth. Who would rather lie to live than die for telling the truth?" - Fair Strides


#3 Hassat Hunter

Hassat Hunter

    TSLRCM / M4-78EP Developer

  • Administrators
  • 4,431 posts

Posted 30 October 2016 - 01:59 PM

Nice one.
Haven't fully digged into everything but just mentioning that alienvo.2da is definitely easier to find alien VO in TSL, aside from the added benefit of being actually used ingame.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users