Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialogue_FS17/data/levels/DialogueShowcase.oxw @ 11435

Last change on this file since 11435 was 11435, checked in by rrogge, 7 years ago

Code aufgeraeumt

File size: 3.2 KB
Line 
1<LevelInfo
2 name = "DialogueShowcase"
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    <NextQuestion  question="Unknown Spaceship Transmission: Who goes there?" a1="(say your name)" a2="None of your business I'm afraid." >
35     <possibleQuestions>
36        <NextQuestion  question="You're not cleared for this area, turn back." a1="Doesn't look too exciting here anyways." a2="You gotta make me try...(attack)" />
37        <NextQuestion  question="I'll make it my business. Only military allowed in this area." a1="Whoops, didn't know that, I'll be on my way then." a2="Got an important message for Sgt Smith though." >
38        <possibleQuestions>
39          <NextQuestion  question="Make sure I don't have to see your ugly face again." a1="...thanks, bye." a2="I'll think about it." />
40          <NextQuestion  question="Oh why didn't you say that in the first place? Off you go." a1="Thanks mate." a2="Just don't be so rude next time." />
41        </possibleQuestions>
42      </NextQuestion>
43      </possibleQuestions>   
44      <events>
45        <execute>
46           <EventListener event="test" />
47        </execute>
48      </events>
49    </NextQuestion>
50
51    <DistanceTrigger name="test1" position="100,0,-100" target="Pawn" distance=25 stayActive="true" />
52    <Backlight position="100,0,-100" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,1,1"/>
53   
54    <NextQuestion  question="Hey,  sorry to bother you,  could you help me with something?" a1="Yeah sure." a2="Nope get lost." >
55     <possibleQuestions>
56        <NextQuestion  question="Do you like fish" a1="...yes?" a2="This is wasting my time." >
57        <possibleQuestions>
58          <NextQuestion  question="Splendid! Would you like your ship to look like one?" a1="..." a2="I'm going now,  okay?" />
59          <NextQuestion  question="Turtles then?" a1="..." a2="Im going now,  okay?" />
60        </possibleQuestions>
61        </NextQuestion>
62        <NextQuestion  question="I can pay you know." a1="Got enough money." a2="...are you deaf? Bye."/>
63      </possibleQuestions>   
64      <events>
65        <execute>
66           <EventListener event="test1" />
67        </execute>
68      </events>
69    </NextQuestion>
70
71   
72
73    <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"/>
74    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
75
76   
77   
78  </Scene>
79</Level>
Note: See TracBrowser for help on using the repository browser.