Author Topic: 2da file string length limit?  (Read 493 times)

Legacy_Calgacus

  • Full Member
  • ***
  • Posts: 195
  • Karma: +0/-0
2da file string length limit?
« on: November 28, 2010, 03:40:30 am »


               Any one know how long a string can be if it's in a 2DA file?  Long ones seeem to cause a game crash.  for example this string : 
"puzz1 The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius The dragon Vesuvius "
               
               

               
            

Legacy_GhostOfGod

  • Hero Member
  • *****
  • Posts: 1490
  • Karma: +0/-0
2da file string length limit?
« Reply #1 on: November 28, 2010, 07:18:32 am »


               Got this off the Lexicon:

Known Bugs

The maximum length of a field within a *.2da file is 267 characters. Anything longer than that will cause NWN to crash.


www.nwnlexicon.com/compiled/function.get2dastring.html
               
               

               


                     Modifié par GhostOfGod, 28 novembre 2010 - 07:21 .
                     
                  


            

Legacy_Calgacus

  • Full Member
  • ***
  • Posts: 195
  • Karma: +0/-0
2da file string length limit?
« Reply #2 on: November 28, 2010, 03:47:08 pm »


               thanks