Reply to Re: What is the limit for single script?
If you don't have an account, just leave the password field blank.
: : : : : : What is the limit of the size and the length of a script?
: : : : : : Currently I have a 12KB, 900 lines script, which is going to be even bigger. I am wondering that if I should break it into a few different ones.
: : : : : : I remembered that someone mentioned such information in the boards before, but I can't find it now. So please...
: : : : : I dont know, but man! THATS A HUGE SCRIPT, mmm, still no match for ds3d.
: : : : : Hey btw, I thought it was 30kb, not sure, but you will never make 30kb!
: : : : I believe the limit is actually 32 KB, no guarantees.
: : : : And 12 KB isn't that large... I've made a 16 KB script for FIAT v1.00 (not a cutscene either). And I know of someone who made a 58 KB script... and then found out about the 32 KB limit later. I've looked at it, and it might be possible to split it into multiple scripts... it would be a rather laborous undertaking.
: : : redink1, lol, spawn("part2")
: : : spawn("part3");
: : : and go on, btw, use kill_this_task ;p
: : If the script was just a simple cutscene, you would of course be quite correct. And you would be correct in any other linear script.
: : Except, you are quite wrong in this case, as the script is very non-linear, and uses a lot of local variables and loops.
: : And the author is trying to limit the use of globals as much as possible (always a good idea, and the D-Mod in question is a large Epic so the limiting of globals is even more critical). So how exactly do you communicate between the spawned scripts, which is necessary?
: : You can't, without quite a lot of work.
: I thought that the limit was 64kb. I think I read that in the D-mod authoring faq. Ya know, that one by SETH?
No, it's 32 kb, TRUST ME, I know...
: : : : : : Currently I have a 12KB, 900 lines script, which is going to be even bigger. I am wondering that if I should break it into a few different ones.
: : : : : : I remembered that someone mentioned such information in the boards before, but I can't find it now. So please...
: : : : : I dont know, but man! THATS A HUGE SCRIPT, mmm, still no match for ds3d.
: : : : : Hey btw, I thought it was 30kb, not sure, but you will never make 30kb!
: : : : I believe the limit is actually 32 KB, no guarantees.
: : : : And 12 KB isn't that large... I've made a 16 KB script for FIAT v1.00 (not a cutscene either). And I know of someone who made a 58 KB script... and then found out about the 32 KB limit later. I've looked at it, and it might be possible to split it into multiple scripts... it would be a rather laborous undertaking.
: : : redink1, lol, spawn("part2")
: : : spawn("part3");
: : : and go on, btw, use kill_this_task ;p
: : If the script was just a simple cutscene, you would of course be quite correct. And you would be correct in any other linear script.
: : Except, you are quite wrong in this case, as the script is very non-linear, and uses a lot of local variables and loops.
: : And the author is trying to limit the use of globals as much as possible (always a good idea, and the D-Mod in question is a large Epic so the limiting of globals is even more critical). So how exactly do you communicate between the spawned scripts, which is necessary?
: : You can't, without quite a lot of work.
: I thought that the limit was 64kb. I think I read that in the D-mod authoring faq. Ya know, that one by SETH?
No, it's 32 kb, TRUST ME, I know...