[11579] | 1 | <LevelInfo |
---|
| 2 | name = "DialogueShowcase2" |
---|
| 3 | description = "A level to show and test the functionality of the Dialogue module." |
---|
| 4 | tags = "test" |
---|
| 5 | screenshot = "emptylevel.png" |
---|
| 6 | /> |
---|
| 7 | |
---|
| 8 | <?lua |
---|
| 9 | include("stats.oxo") |
---|
| 10 | include("HUDTemplates3.oxo") |
---|
| 11 | include("templates/lodInformation.oxt") |
---|
| 12 | include("templates/HeavyCruiser.oxt") |
---|
| 13 | ?> |
---|
| 14 | |
---|
| 15 | <?lua |
---|
| 16 | include("templates/spaceshipEscort.oxt") |
---|
| 17 | include("templates/endurancetest_template.oxt") |
---|
| 18 | ?> |
---|
| 19 | |
---|
| 20 | <Level> |
---|
| 21 | <templates> |
---|
| 22 | <Template link=lodtemplate_default /> |
---|
| 23 | </templates> |
---|
| 24 | <?lua include("includes/notifications.oxi") ?> |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | <Scene |
---|
| 28 | ambientlight = "0.8, 0.8, 0.8" |
---|
| 29 | skybox = "Orxonox/Starbox" |
---|
| 30 | > |
---|
| 31 | <DistanceTrigger name="test" position="100,0,100" target="Pawn" distance=25 stayActive="true" /> |
---|
| 32 | <Backlight position="100,0,100" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,1"/> |
---|
| 33 | |
---|
| 34 | <Dialog name="Kurt" currentQuestionId="loop"> |
---|
[11642] | 35 | <questions> |
---|
| 36 | <Question question="Soll ich dich loopen?" Id="loop"> |
---|
| 37 | <answerIds> |
---|
| 38 | <AnswerId Id="ja"/> |
---|
| 39 | <AnswerId Id="nein"/> |
---|
| 40 | </answerIds> |
---|
| 41 | </Question> |
---|
| 42 | <Question question="Dann eben nicht" Id="ok"/> |
---|
| 43 | </questions> |
---|
| 44 | <answers> |
---|
| 45 | <Answer Id="ja" answer="ja loop mich" nextQuestionId="loop"/> |
---|
| 46 | <Answer Id="nein" answer="lieber nicht" nextQuestionId="ok"/> |
---|
| 47 | </answers> |
---|
[11579] | 48 | <events> |
---|
| 49 | <execute> |
---|
| 50 | <EventListener event="test"/> |
---|
| 51 | </execute> |
---|
| 52 | </events> |
---|
| 53 | </Dialog> |
---|
| 54 | |
---|
| 55 | <DistanceTrigger name="test1" position="100,0,-100" target="Pawn" distance=25 stayActive="true" /> |
---|
| 56 | <Backlight position="100,0,-100" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,1"/> |
---|
| 57 | |
---|
| 58 | <NextQuestion question="Hey, sorry to bother you, could you help me with something?" a1="Yeah sure." a2="Nope get lost." > |
---|
| 59 | <possibleQuestions> |
---|
| 60 | <NextQuestion question="Do you like fish" a1="...yes?" a2="This is wasting my time." > |
---|
| 61 | <possibleQuestions> |
---|
| 62 | <NextQuestion question="Splendid! Would you like your ship to look like one?" a1="..." a2="I'm going now, okay?" /> |
---|
| 63 | <NextQuestion question="Turtles then?" a1="..." a2="Im going now, okay?" /> |
---|
| 64 | </possibleQuestions> |
---|
| 65 | </NextQuestion> |
---|
| 66 | <NextQuestion question="I can pay you know." a1="Got enough money." a2="...are you deaf? Bye."/> |
---|
| 67 | </possibleQuestions> |
---|
| 68 | <events> |
---|
| 69 | <execute> |
---|
| 70 | <EventListener event="test1" /> |
---|
| 71 | </execute> |
---|
| 72 | </events> |
---|
| 73 | </NextQuestion> |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> |
---|
| 78 | <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> |
---|
| 79 | |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | </Scene> |
---|
| 83 | </Level> |
---|