How Does One Edit 2da Files?
Elrandir
Member Posts: 1,664
My question is as the title reads. Sorry if this has been answered elsewhere, but I didn't find anything about it.
I want to edit the encumbrance.2da file to fix the issue of 0 carry weight capacity when you have a strength over 100. (Yes, this isn't an issue that comes up in normal gameplay, but you'd be surprised how often it comes up in my personal games.)
I'm hoping it's a simple text change or perhaps some pattern recognition, but if I have to learn basic programming so be it. I don't know where to even find these files to begin with, however.
I want to edit the encumbrance.2da file to fix the issue of 0 carry weight capacity when you have a strength over 100. (Yes, this isn't an issue that comes up in normal gameplay, but you'd be surprised how often it comes up in my personal games.)
I'm hoping it's a simple text change or perhaps some pattern recognition, but if I have to learn basic programming so be it. I don't know where to even find these files to begin with, however.
0
Comments
TR
Sorry, I genuinely don't know a thing about this and its painfully difficult to figure out information. It seems everyone who does this already knows how, so trying to read messages in old threads (whether here or elsewhere) is like trying to decipher a foreign language where you only kind of recognize every few words.
For anyone who might stumble across this thread that's in the same or similar situation as I am, here's how I solved my problem:
1. Download Yata. (linked above courtesy of TarotRedhand)
2. Download the 2da source files. https://neverwintervault.org/project/nwn1/script/bioware-169-scripts-2da-files
3. Use Yata to open up your intended file. In my case it was encumbrance.2da
4. Edit the appropriate lines of text. In my case it was using f2 to add new lines from 101-255
5. Save the file and copy/paste it into your ovr (override) file. I've read some things that suggest some files can/should be saved in the hak file instead, but ovr worked for this one.
6. Profit.
If you later want to revert the modifications, deleting the file(s) from the override folder is sufficient. That tells the game to go back to using the copy bundled with the rest of the game data.
TR
NWN EE: 8193.28 Full 2DA source
Yata is still available and maintained. With EE you now have an alternative to the override folder (never, ever use the ovr folder for the reasons mentioned above), the development folder. Remember to put whatever you develop in either folder, into a hak file as soon as you've got stuff working correctly otherwise you can seriously screw up any module you play as they weren't designed with your changes in mind.
TR