icecreamassassin Posted July 28, 2011 Share Posted July 28, 2011 Ok. So I have a problem. It seems that the script editor in the TES construction kit has some kind of maximum on the number of characters or lines or something which just brick walls any further code in a script. I was doing a script that had about 640 lines and then stopped, then for some reason when I tried to rework it and came back to the original to try and slim down the code, it was capping me out at about 426 lines and I can't figure out why it's suddenly doing this to me. Anyone else have a problem with this or know what's causing it? I thought maybe it was a "maximum lines of code per ESP file" or something but trimmed out a couple excess scripts but it didn't seem to help. This is really annoying and bothering me, not to mention putting me behind on getting my mod done :P HEEEEELLLPPP :X Link to comment Share on other sites More sharing options...
fg109 Posted July 28, 2011 Share Posted July 28, 2011 Well, there is a maximum amount of characters per line, and a maximum amount of lines. You could try looking in the constructionset.ini file and see if there's some settings you can change. Or you could also try using the Construction Set Extender (I think it increases the maximums). Otherwise, you could try posting your code here and have someone take a look at it. Link to comment Share on other sites More sharing options...
icecreamassassin Posted August 1, 2011 Author Share Posted August 1, 2011 Well it seems there is more too it than that, I mean the limitation changed on me and the line count was very arbitrary. I did install OBSE and it allowed me to continue and complete what I was working on which is good though Link to comment Share on other sites More sharing options...
PrettyMurky Posted August 1, 2011 Share Posted August 1, 2011 I think the limitation is on lines within 'Begin... End' blocks. So the lines used for declaring variables don't count, which is why the limit seems random. The easiest way to cirumvent it is with User Defined Functions. It can save you a lot of time, and make your mod a lot more efficient if you do it right as well. Link to comment Share on other sites More sharing options...
QQuix Posted August 1, 2011 Share Posted August 1, 2011 Vanilla script compiler has a limit on the number of lines (so I've heard)OBSE removed this limit a few versions back.Even with OBSE there is a limit on the size of the compiled code (32K, if memory serves).I think I've read somewhere that CSE doubles that limit (but I cant find where I read it) Link to comment Share on other sites More sharing options...
Recommended Posts