Community
SCI Programming => SCI Syntax Help => Topic started by: MusicallyInspired on April 27, 2019, 03:51:35 PM
-
I started a SCI1.1 project I had made from scratch again to get all the latest fixes in the template game (this project is quite old) and I'm trying to customize the control panel window but the entire script seems to still be in Studio Script syntax. Which means I can't make any changes. Is there a way to convert a single script to a different syntax rather than the whole game through Game Properties? Because the game is already in Sierra Script and in order to force it to convert all I'd have to convert everything to Studio Script and then back again and I'm not too keen on that.
-
The template game is indeed still in Studio Script, entirely. Here, catch.
Also, there's no reason you can't mix the two, as it's on a per-file basis. The project setting is just what to use for newly added or decompiled scripts.
-
It is? Why then when you create a new game and specify Sierra Script does it not convert everything?
EDIT: Actually, it seems like there are some extraneous files that the template game no longer uses and attempting to compile them results in failure. Like controlitem.sc which seems to have been replaced by SettingsPane. So I was working in the wrong place. (I use Find In Files a lot)
-
What? No, when you create new project and specify Sierra script, it should convert everything.
And anyway, even if you have mixed syntaxes (as long as it's not mixed in the same file), they should still compile just fine.
-
Maybe I just have extraneous files mixed into my root Template Game folder then. Because I definitely have controlitem and SettingsPane in a raw Template Game and they both want to be the same script (and one fails to compile). Kawa, does that ZIP you attached comprise of all the scripts in the Template Game? I have some random numbered scripts to with no sources that I'm not sure if I should delete or not (in the 900s). My Template Game may be tainted.
-
Maybe I just have extraneous files mixed into my root Template Game folder then. Because I definitely have controlitem and SettingsPane in a raw Template Game and they both want to be the same script (and one fails to compile). Kawa, does that ZIP you attached comprise of all the scripts in the Template Game? I have some random numbered scripts to with no sources that I'm not sure if I should delete or not (in the 900s). My Template Game may be tainted.
Didn't SCI Studio renumber the system scripts, just to be annoying? Or am I thinking of someone else?
-
Maybe I just have extraneous files mixed into my root Template Game folder then. Because I definitely have controlitem and SettingsPane in a raw Template Game and they both want to be the same script (and one fails to compile). Kawa, does that ZIP you attached comprise of all the scripts in the Template Game? I have some random numbered scripts to with no sources that I'm not sure if I should delete or not (in the 900s). My Template Game may be tainted.
Didn't SCI Studio renumber the system scripts, just to be annoying? Or am I thinking of someone else?
Yeah, there's also things like the death script being numbered 977, which we now know is supposed to be used for the Grooper script. In fact, game-specific scripts are generally not supposed to be in the 900s. In all fairness, the old SCI0 template was made well before the surfacing of original SCI source.