home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Classic Fond 52
/
ClassicFond52.iso
/
GAMES
/
DROIDW.RAR
/
DWCD.GOB
/
mission_cog_sy_secdroid.cog
< prev
next >
Wrap
Text File
|
1998-11-04
|
5KB
|
163 lines
symbols
message startup
message converse
sector triggersector
thing jawa
keyframe wavingflagKey=jawa_wavingflag.key
end
code
startup:
AISetLookFrame(jawa, 1);
wait_time=1.3;
return;
converse:
converse:
dwPlayPlayerResponse();
//playerpos=getthingpos(player);
# What response did the player select?
ResponseID = dwGetPlayerResponse();
if (ResponseID == 0 && !ConversationActive)
{
# Response 0 is reserved to indicate that a conversation is starting
ConversationActive = 1;
dwfreezeplayer();
PlaySong(0, 0, 0);
# Use the font "SerpentineICGLt12E" for gonk,
# display the text in color 96 (white)
ResponseID = 1;
}
if (ResponseID == 1)
{ #beginning Node
//AIsetlookpos(jawa, getthingpos(player));
if (met == 0)
{
dwplaycharacterspeech("SDC000", "M1ed001.wav");
met = 1;
}
else
{
dwcleardialog();
}
dwAddResponse(100, "SDP100", "M1xx004.wav", 71);
dwAddResponse(200, "SDP200", "M1xx005.wav", 72);
dwAddResponse(300, "SDP300", "T6xx012.wav", 73);
dwAddResponse(400, "SDP400", "M1xx007.wav", 72);
//dwAddResponse(500, "SDP500", "M1xx008.wav", 71);
dwAddResponse(600, "SDP004", "idxx222.wav", 20);
}
//=========================================================== Question 1
//=========================================================== Question 1
//=========================================================== Question 1
if (ResponseID == 100)
{
dwplaycharacterspeech("SDC100", "M1ed002.wav");
dwAddResponse(110, "SDP110", "M1xx009.wav", 71); //;
}
if (ResponseID == 110)
{
dwplaycharacterspeech("SDC110", "M1ed003.wav");
dwAddResponse(120, "SDP120", "M1xx010.wav", 72); //;
}
if (ResponseID == 120)
{
dwplaycharacterspeech("SDC120", "M1ed004.wav");
dwAddResponse(130, "SDP130", "M1xx011.wav", 73); // ;
}
if (ResponseID == 130)
{
dwplaycharacterspeech("SDC130", "M1ed005.wav");
dwAddResponse(140, "SDP140", "M1xx012.wav", 71); //;
}
if (ResponseID == 140)
{
dwplaycharacterspeech("SDC140", "M1ed006.wav");
dwAddResponse(1, "SDP003", "m1xx003.wav", 30); //;
}
//=========================================================== Question 2
//=========================================================== Question 2
//=========================================================== Question 2
if (ResponseID == 200)
{
dwplaycharacterspeech("SDC200", "M1ed007.wav");
dwAddResponse(210, "SDP210", "M1xx013.wav", 71);
}
if (ResponseID == 210)
{
dwplaycharacterspeech("SDC210", "M1ed009.wav");
dwAddResponse(220, "SDP220", "M1xx014.wav", 72); //;
}
if (ResponseID == 220)
{
dwplaycharacterspeech("SDC220", "M1ed010.wav");
dwAddResponse(1, "SDP001", "T1xx014.wav", 30); //;
}
//=========================================================== Question 3
//=========================================================== Question 3
//=========================================================== Question 3
if (ResponseID == 300)
{
dwplaycharacterspeech("SDC300", "M1ed011.wav");
dwAddResponse(1, "SDP001", "T1xx014.wav", 30); //;
}
//=========================================================== Question 4
//=========================================================== Question 4
//=========================================================== Question 4
if (ResponseID == 400)
{
dwplaycharacterspeech("SDC400", "M1ed012.wav");
dwAddResponse(410, "SDP410", "M1xx015.wav", 72);
}
if (ResponseID == 410)
{
dwplaycharacterspeech("SDC410", "M1ed013.wav");
dwAddResponse(420, "SDP420", "M1xx016.wav", 30);
}
if (ResponseID == 420)
{
dwplaycharacterspeech("SDC420", "M1ed014.wav");
dwAddResponse(1, "SDP001", "T1xx014.wav", 72);
}
//=========================================================== Question 5
//=========================================================== Question 5
//=========================================================== Question 5
if (ResponseID == 500)
{
dwplaycharacterspeech("SDC500", "M1ed015.wav");
dwAddResponse(1, "SDP001", "T1xx014.wav", 40);
}
if (ResponseID == 600)
{
#PLAYER: Gotta go!
dwcleardialog();
met =0;
# Terminate the conversation
ConversationActive=0;
ShuffleTracks(6, 7, 8, 9);
# Enable the player
dwunfreezeplayer();
}
return;
end