Dialogue options; restart round and next round for tutorials

Maikel de Vries 2010-04-26 19:32:30 +02:00
parent 45a1acac6c
commit b6c7cb39b1
12 changed files with 52 additions and 4 deletions

View File

@ -0,0 +1,2 @@
DE:Lernrunden
US:Tutorial

View File

@ -1,5 +1,5 @@
[Head]
Icon=26
Icon=2
Title=Tutorial
Version=4,10
Difficulty=1

View File

@ -25,6 +25,9 @@ private func ScenarioInit()
goal->AddCheckpoint(880, 650);
g_wasinit = true;
// Dialogue options -> repeat round.
SetNextMission("Tutorial.c4f\\Tutorial02.c4s", "$MsgRepeatRound$", "$MsgRepeatRoundDesc$");
return true;
}

View File

@ -1,2 +1,8 @@
# Dialogue options
MsgNextTutorial=&Nächste Lernrunde
MsgNextTutorialDesc=Die nächste Lernrunde starten.
MsgRepeatRound=Runde &wiederholen
MsgRepeatRoundDesc=Diese Runde wiederholen.
MsgIntro0=Willkommen bei OpenClonk!
MsgIntro1=Dies ist dein Clonk.

View File

@ -1,2 +1,8 @@
# Dialogue options
MsgNextTutorial=&Next tutorial
MsgNextTutorialDesc=Start the next tutorial scenario.
MsgRepeatRound=&Repeat this round
MsgRepeatRoundDesc=Restart this scenario.
MsgIntro0=Welcome to OpenClonk!
MsgIntro1=This is your Clonk.

View File

@ -44,6 +44,8 @@ protected func Initialize()
// Scriptcounter.
ScriptGo(true);
// Dialogue options -> repeat round.
SetNextMission("Tutorial.c4f\\Tutorial02.c4s", "$MsgRepeatRound$", "$MsgRepeatRoundDesc$");
return;
}
@ -239,12 +241,14 @@ func Script340()
{
if (!FindObject(Find_Distance(20, 820, 390), Find_OCF(OCF_CrewMember)))
goto(339);
else
TutMsg("@$MsgTutGrappleBows$");
TutMsg("@$MsgTutGrappleBows$");
TutArrowClear();
}
func Script360()
{
TutMsg("@$MsgTutSwingAcross$");
// Dialogue options -> next round. //TODO somewhere else
SetNextMission("Tutorial.c4f\\Tutorial03.c4s", "$MsgNextTutorial$", "$MsgNextTutorialDesc$");
}

View File

@ -1,3 +1,9 @@
# Dialogue options
MsgNextTutorial=&Nächste Lernrunde
MsgNextTutorialDesc=Die nächste Lernrunde starten.
MsgRepeatRound=Runde &wiederholen
MsgRepeatRoundDesc=Diese Runde wiederholen.
#Intro: Clonk selection
MsgTutWelcome=Welcome to the second tutorial. Your goal will be to reach the gold plateau on the far right side with both your clonks.
MsgTutClonks=In this tutorial you have two clonks, the clonk you are currently controlling can not do a lot since it is trapped.

View File

@ -1,3 +1,9 @@
# Dialogue options
MsgNextTutorial=&Next tutorial
MsgNextTutorialDesc=Start the next tutorial scenario.
MsgRepeatRound=&Repeat this round
MsgRepeatRoundDesc=Restart this scenario.
#Intro: Clonk selection
MsgTutWelcome=Welcome to the second tutorial. Your goal will be to reach the gold plateau on the far right side with both your clonks.
MsgTutClonks=In this tutorial you have two clonks, the clonk you are currently controlling can not do a lot since it is trapped.
@ -22,7 +28,7 @@ MsgTutRopeladder=Grab a ropeladder from the chest. Go to the location indicated
MsgTutUnfold=Move slowly to the edge of the cliff. You can use the ropeladder by clicking in the landscape. Use the left mousebutton if you are holding the ladder in your left hand or the right button otherwise. Click to the left of your clonk to roll the ropeladder over the edge of the cliff
#Part XX: Dynamite Box
MsgTutUpwards=Ah good, your other clonk can get into the cave. There seems to be some blasting work ahead so don't forget to grab some dynamite from the chest. Move your clonk with some dynamite to the rock indicated by the arrow.
MsgTutUpwards=Ah good, your other clonk can get into the cave. There seems to be some blasting work ahead so don't forget to grab some dynamite from the chest. Move your clonk with some dynamite to the location indicated by the arrow.
MsgTutBroughtDyna=Ok you've brought the dynamite. You can place up to five dynamite sticks into the landscape, this is done by pressing the mousebutton somewhere near the clonk.
MsgTutPlaceDyna=In order to blow up the rock place five dynamite sticks around the position indicated by the arrow. Do not click again after that!
MsgTutDetonate=Ok now you've placed the five dynamite sticks, move away a little, and then press the mousebutton again to detonate the dynamite.

View File

@ -11,6 +11,9 @@ func Initialize()
var TutGoal = CreateObject(Goal_Tutorial);
TutGoal->SetStartpoint(40,446);
TutGoal->AddCheckpoint(300,463,"Javelin");
// Dialogue options -> repeat round.
SetNextMission("Tutorial.c4f\\Tutorial02.c4s", "$MsgRepeatRound$", "$MsgRepeatRoundDesc$");
}
func Script1()

View File

@ -1,3 +1,9 @@
# Dialogue options
MsgNextTutorial=&Nächste Lernrunde
MsgNextTutorialDesc=Die nächste Lernrunde starten.
MsgRepeatRound=Runde &wiederholen
MsgRepeatRoundDesc=Diese Runde wiederholen.
MsgIntro0=Welcome to the firing range. Here, you'll learn the basics of ranged combat.
MsgIntro1=Firstly, we'll use the javelin. Go pick that up now.
MsgJavelin0=Throw a javelin at the target. Keep the mouse button held down to ready it for throwing.

View File

@ -1,3 +1,9 @@
# Dialogue options
MsgNextTutorial=&Next tutorial
MsgNextTutorialDesc=Start the next tutorial scenario.
MsgRepeatRound=&Repeat this round
MsgRepeatRoundDesc=Restart this scenario.
MsgIntro0=Welcome to the firing range. Here, you'll learn the basics of ranged combat.
MsgIntro1=Firstly, we'll use the javelin. Go pick that up now.
MsgJavelin0=Throw a javelin at the target. Keep the mouse button held down to ready it for throwing.