Intro-Script CTD
Based on some tutorials of how to create a new intro script for the menu background, I tries to create a new background. However, I get a CTD when starting the game.
What I did was:
- decompiling the old scripts and using some modified entries to create a new script
- creating a new script with a duration and scene definition, a starsphere, the model of the neutron star, a camera and monitor and a "SET_CAMERA" entry
- compiling the script to thn-format using luac32.exe
- creating a new base in the intro-system, including the room and the script
- making a backup of the INTRO-system folder and deleting all other bases, because it seemed my script was never used (possible error?)
Ah BTW: There are no animations or paths in the script, but that is not the problem, is it?
Now, what could be the problem? Maybe the script not being accessible from the start, which would explain why only the other scripts were taken? Ah, and another question/problem: When I decompile the new thn-file, I notice there are no negative values, they are all being converted into positive ones. So maybe it has something to do with the compilation process? I am not sure there, because in the tutorials, there was never dealt with how to save and use the script.
What I did was:
- decompiling the old scripts and using some modified entries to create a new script
- creating a new script with a duration and scene definition, a starsphere, the model of the neutron star, a camera and monitor and a "SET_CAMERA" entry
- compiling the script to thn-format using luac32.exe
- creating a new base in the intro-system, including the room and the script
- making a backup of the INTRO-system folder and deleting all other bases, because it seemed my script was never used (possible error?)
Ah BTW: There are no animations or paths in the script, but that is not the problem, is it?
Now, what could be the problem? Maybe the script not being accessible from the start, which would explain why only the other scripts were taken? Ah, and another question/problem: When I decompile the new thn-file, I notice there are no negative values, they are all being converted into positive ones. So maybe it has something to do with the compilation process? I am not sure there, because in the tutorials, there was never dealt with how to save and use the script.