TimeShadow Posted September 2, 2014 Share Posted September 2, 2014 Is there a finite number of characters and/or lines that can be placed in one script, as my script will only partially paste (the end is truncated)? And if so how many (line or characters)? Link to comment Share on other sites More sharing options...
RoyBatterian Posted September 2, 2014 Share Posted September 2, 2014 somewhere around 19000 chars Link to comment Share on other sites More sharing options...
TimeShadow Posted September 2, 2014 Author Share Posted September 2, 2014 Thanks for the info, have removed many spaces to get it to fit. I got about 32000 chars, and it fit... but just. Looks like your a Blade Runner fan. :thumbsup: Link to comment Share on other sites More sharing options...
Belthan Posted September 2, 2014 Share Posted September 2, 2014 Probably also worth noting that in some contexts, the limit is significantly lower. For example, a quest script seems to accept the full amount but the result script for a quest stage only allows around 1K. Link to comment Share on other sites More sharing options...
jazzisparis Posted September 2, 2014 Share Posted September 2, 2014 The size of the compiled script is also limited, and is more problematic since it's reached long before the char limit. This is especially true with NVSE-heavy scripts. the result script for a quest stage only allows around 1K.This can be worked around by clicking Edit next to the Result Script box, instead of editing the script directly in the box (the same applies to any result script). I have a quest stage ~11K characters long. Link to comment Share on other sites More sharing options...
TimeShadow Posted September 3, 2014 Author Share Posted September 3, 2014 Thanks for all the tips guys, This is just an object script with no script extender, is was over 800 lines and 33,000 chars, so I cut is down to 635 lines and just over 32,000 chars and now fits. I created it in Notepad++ and then cut and paste to the GECK to compile as I don't have any idea how to compile it in NP++ and don't know what scripting language the GECK uses. If anyone has any info on this stuff, that would be a great help and time saver. Once again thanks to all. Oh, jazzinparis must say that your JIP CCC mod is a must have. And I have to ask as your photo begs the question, are you a fan of Blade Runner, Rachael, Replicants, Sean Young or smoking? :smile: Link to comment Share on other sites More sharing options...
Belthan Posted September 16, 2014 Share Posted September 16, 2014 This can be worked around by clicking Edit next to the Result Script box, instead of editing the script directly in the box (the same applies to any result script). I have a quest stage ~11K characters long. Sweet! I just thought the edit button brought up a bigger edit window; I didn't realize it also increased the character limit. Goodbye, kludgey workarounds for scripts that don't quite fit in the result script box! Thanks a million! Link to comment Share on other sites More sharing options...
africaisstarving Posted September 25, 2014 Share Posted September 25, 2014 scripts can only be about 33 000 characters long . i think. one way to cut it down is use 1 quest/1 token to do one thing and have them use each other's variables or use globals . makes your life easier . reading thru 1000 lines of code is not fun. Link to comment Share on other sites More sharing options...
africaisstarving Posted September 25, 2014 Share Posted September 25, 2014 also as a side thing ..not that it matters..if you use variables with huge values weird things start happening in the game since variables start overwriting other variables so is has really funny results but no CTD surprisingly. i set a game setting to something like 2 billion and my character would holster weapon randomly or would say weird things out of nowhere. hahah Link to comment Share on other sites More sharing options...
Recommended Posts