Author Topic: Tutorial on Custom 2da Files Please  (Read 465 times)

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Tutorial on Custom 2da Files Please
« on: January 08, 2011, 11:20:47 pm »


               Is there a tutorial someone could point me to on using custom 2da's, i.e. ones that I would create myself. I have an idea for a set of functions and a custom 2da seems (at present) to offer the most efficient solution. Any help much appreciated.

Thanks in advance.

TR
               
               

               


                     Modifié par Tarot Redhand, 08 janvier 2011 - 11:21 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Tutorial on Custom 2da Files Please
« Reply #1 on: January 08, 2011, 11:59:18 pm »


               I can not think of any tutorials for custom 2da files.   Once you know how to make one (Documentation: 2DA File Format) . I do not think there is much need for a tutorial.  All data retirved from the 2da will be done with the Get2DAString function. 

Anything outside of that is kind of  case by case as to how you handle it.
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
Tutorial on Custom 2da Files Please
« Reply #2 on: January 09, 2011, 12:04:13 am »


               I think Lightfoot basically covered it. There are some basic formatting issues, though. No spaces in the data, they're used to separate columns. Leave a blank line after the header line. Looking at 2das in nwnexplorer should show you all you need to know.



Funky
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Tutorial on Custom 2da Files Please
« Reply #3 on: January 09, 2011, 12:13:02 am »


               Thanks guys. Somehow I thought it might be more involved.

TR
               
               

               


                     Modifié par Tarot Redhand, 09 janvier 2011 - 12:13 .