Community

SCI Programming => SCI Development Tools => Topic started by: gumby on March 05, 2011, 09:35:08 AM

Title: Compiling in Studio
Post by: gumby on March 05, 2011, 09:35:08 AM
How does one go about introducing a new script into a game without doing it through Studio?  I've added a reference to my script in the game.ini, but when I 'compile all', Studio doesn't pick up the script. 

The only way I've been able to do this (manually) is to:
1.   Open the script in Studio & compile it.
2.   Close out of the script editor, & close the game (closing may not be necessary?)
3.   Open the game, now the script shows up with the other script resources & 'compile all' works.

Alternately, it seems that compiling the script once then rebuilding resources also gets it 'included' into the game.

I tried to put a 'dummy' compiled version of the script (.sco file) thinking that perhaps that is what Studio is looking for, but that wasn't it - and that doesn't make sense after I think about it anyway.

This problem does not exist in Companion.