by Syfo-Dyas » Wed Dec 15, 2010 5:42
Now I have this as the file SCRIPTS within the WAD file, but still nothing happens in either GzDOOM or Odamex.
Should I move the SCRIPTS file into the resource wad that I load along side of the map for my project?
Also, should I create a second script file, what file name should I save and load it as under XWE so that it does not conflict with other SCRIPTS file, and how does GzDOOM know which file to goto?
----------------
#include "zcommon.acs"
script 1 OPEN
{
delay (const:2); // this allows two clicks to pass and wipe tp happen before it prints anything
print (s:"What is this place?");
delay (const:70);
print (s:"And how did I get here?");
delay (const:70);
print (s:"What have I gotten my self into now?");
delay (const:70);
print (s:"I suppose I better have a look around...");
ambientsound ("Sith", 127);
delay (const:105);
print (s:"Well, maybe not...");
delay (const:35);
Light_Fade (const:1, 160, 35);
Door_Open (const:7, 24);
}
Now I have this as the file SCRIPTS within the WAD file, but still nothing happens in either GzDOOM or Odamex.
Should I move the SCRIPTS file into the resource wad that I load along side of the map for my project?
Also, should I create a second script file, what file name should I save and load it as under XWE so that it does not conflict with other SCRIPTS file, and how does GzDOOM know which file to goto?
----------------
#include "zcommon.acs"
script 1 OPEN
{
delay (const:2); // this allows two clicks to pass and wipe tp happen before it prints anything
print (s:"What is this place?");
delay (const:70);
print (s:"And how did I get here?");
delay (const:70);
print (s:"What have I gotten my self into now?");
delay (const:70);
print (s:"I suppose I better have a look around...");
ambientsound ("Sith", 127);
delay (const:105);
print (s:"Well, maybe not...");
delay (const:35);
Light_Fade (const:1, 160, 35);
Door_Open (const:7, 24);
}