From 912ff8b86cea5089b227d1dc77ab0a3ee1b89102 Mon Sep 17 00:00:00 2001 From: onpon4 Date: Sun, 8 Mar 2015 16:19:41 -0400 Subject: [PATCH] Modified script for mission 11 to better match the music. --- data/script11.txt | 26 +++++++++++++++++++------- data/script25.txt | 2 +- src/script.cpp | 8 ++++---- 3 files changed, 24 insertions(+), 12 deletions(-) diff --git a/data/script11.txt b/data/script11.txt index 8665ad0..3f76612 100644 --- a/data/script11.txt +++ b/data/script11.txt @@ -5,10 +5,10 @@ FACE_PHOEBE Ummm... something about this doesn't look right! They should be offering more resistance than this! -6 -FACE_CHRIS +FACE_PHOEBE -1 0 -DAMMIT! It's a trap!! Phoebe, get out of here! NOW!! +DAMMIT! It's a trap!! Come on, Chris, we have to leave NOW!! -7 -1 @@ -22,31 +22,43 @@ FACE_SID 0 Chris, wh... --13 +-14 FACE_KLINE -1 0 So finally I meet the man who has been causing us so much trouble! --18 +-19 +FACE_CHRIS +-1 +0 +Why can't I... + +-21 +FACE_KLINE +-1 +0 +Don't bother trying to run away like your friend there. I've nullified your warp drive. + +-26 FACE_CHRIS -1 0 Who are you? --23 +-29 FACE_KLINE -1 0 I am Kline Kethlan. And I am here to put to a stop to your worthless little crusade! --28 +-35 FACE_KLINE -1 0 No where to run; No where to hide; And no-one to help you! This will certainly be interesting... --32 +-41 -1 15 -20 diff --git a/data/script25.txt b/data/script25.txt index c84d771..1461b25 100644 --- a/data/script25.txt +++ b/data/script25.txt @@ -2,7 +2,7 @@ FACE_KLINE -1 0 -That's far enough, Bainfield. You've been lucky so far! +That's far enough, Bainfield. You've been lucky so far, but your luck is about to run out! 8 FACE_CHRIS diff --git a/src/script.cpp b/src/script.cpp index 0713ccb..cb3c981 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -20,7 +20,7 @@ along with this program. If not, see . #include "Starfighter.h" static cutMsg cutMessage[10]; -static event gameEvent[10]; +static event gameEvent[20]; static void setKlineGreeting() { @@ -40,7 +40,7 @@ static void setKlineGreeting() void loadScriptEvents() { - for (int i = 0 ; i < 10 ; i++) + for (int i = 0 ; i < 20 ; i++) { gameEvent[i].time = 0; strcpy(gameEvent[i].message, ""); @@ -85,7 +85,7 @@ void loadScriptEvents() void checkScriptEvents() { - for (int i = 0 ; i < 10 ; i++) + for (int i = 0 ; i < 20 ; i++) { if (engine.timeTaken == gameEvent[i].time) { @@ -115,7 +115,7 @@ void checkScriptEvents() void syncScriptEvents() { - for (int i = 0 ; i < 10 ; i++) + for (int i = 0 ; i < 20 ; i++) { if (gameEvent[i].time < 0) {