I have some big 3D-arrays of fixed and I'd like to import, in any possible way, values to initialize them. I have close to 100,000 variables and If I copy-paste all the lines "table[i][j][k];" in a script, compilation will fail because of the "script too large"...
I tried to go with banks but of course the size was to big too...
I tried by importing .galaxy files instead pasting lines into the editor but it failed too.
Do you have any idea about the way to go to make it work? Are catalogs a solution? Is there any way for me to store fixed values in the catalog?
What kind of data do you need to store. Conversation States internal data is a convenient hack to externally store large amounts of initialization data.
Furthermore, access time to elements of the catalog seems really short. Maybe I do not need global arrays anymore, even if I have to do real-time computations with thoses (constant) values. :)
Hi!
I have some big 3D-arrays of fixed and I'd like to import, in any possible way, values to initialize them. I have close to 100,000 variables and If I copy-paste all the lines "table[i][j][k];" in a script, compilation will fail because of the "script too large"...
I tried to go with banks but of course the size was to big too...
I tried by importing .galaxy files instead pasting lines into the editor but it failed too.
Do you have any idea about the way to go to make it work? Are catalogs a solution? Is there any way for me to store fixed values in the catalog?
Thank you, Quintoff
What kind of data do you need to store. Conversation States internal data is a convenient hack to externally store large amounts of initialization data.
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!
I just noticed you said 3d fixed arrays. Here is an approach:
Which could get loaded by doing:
Not sure if you would hit an oplimit there, but you could start loading data in separate threads to prevent that issue.
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!
Thanks a lot for your help! I will try to go this way and come back with a quick feedback.
Thanks again ;)
It works amazingly well.
Furthermore, access time to elements of the catalog seems really short. Maybe I do not need global arrays anymore, even if I have to do real-time computations with thoses (constant) values. :)
Thank you again! :D
It would be wise to do some benchmarks first, but its good to know it worked well :)
Go play Antioch Chronicles Remastered!
Also, coming soon, Antioch Episode 3: Thoughts in Chaos!
Dont like mapster's ugly white? Try Mapster's Classic Skin!