Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Presentation_HS17_merge/data/levels/DialogShowcase.oxw @ 11777

Last change on this file since 11777 was 11747, checked in by landauf, 7 years ago

merged Dialog_HS17

File size: 6.3 KB
RevLine 
[11652]1<LevelInfo
2 name = "DialogShowase"
3 description = "A level to show and test the functionality of the Dialog 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" />
[11670]32 <Backlight position="100,0,100" visible=true frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,1"/>
[11652]33   
34    <Dialog name="Kurt" currentQuestionId="loop1">
35      <questions>
[11670]36        <Question Id="loop1" question="Wanna be looped?" >
[11652]37          <answerIds>
[11670]38            <AnswerId Id="yes"/>
39            <AnswerId Id="no"/>
[11652]40            <AnswerId Id="giveItToMe"/>
41          </answerIds>
42        </Question>
[11670]43        <Question Id="lorem" question="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet." >
[11652]44          <answerIds>
[11670]45            <AnswerId Id="endIt"/>
[11652]46          </answerIds>
47        </Question>
[11670]48        <Question Id="loop2" question="Wanna be looped again?" >
[11652]49          <answerIds>
[11670]50            <AnswerId Id="yes"/>
51            <AnswerId Id="no"/>
52            <AnswerId Id="endIt"/>
[11652]53          </answerIds>
54        </Question>
[11670]55        <Question  Id="ok" question="Guess not then"/>
[11652]56      </questions>
57      <answers>
58        <Answer Id="giveItToMe" answer="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet." nextQuestionId="lorem"/>
[11670]59        <Answer Id="yes" answer="yeah loop me" nextQuestionId="loop2"/>
60        <Answer Id="no" answer="i'd rather not" nextQuestionId="ok"/>
61        <Answer Id="endIt" answer="i will go now..." nextQuestionId="end"/>
[11652]62      </answers>
63      <events>
64        <execute>
65          <EventListener event="test"/>
66        </execute>
67      </events>
68    </Dialog>
69   
[11670]70
71
72
73  <DistanceTrigger name="troll" position="100,0,200" target="Pawn" distance=25 stayActive="true" />
74  <Backlight position="100,0,200" visible=true frequency=0.3 amplitude=3 material="Flares/lensflare" colour="1,0,1"/>
75 
76    <Dialog name="Rick" currentQuestionId="start">
77      <questions>
78        <Question Id= "start" question= "hey can you predect what i will do next?">
79          <answerIds>
80            <AnswerId Id="NeverGonnaGiveMeUp" />
81            <AnswerId Id="DontCare"/>
82            <AnswerId Id="Serious" />
83          </answerIds>
84        </Question>
85       
86        <Question Id= "WeAreNoStrangers" question= "We're no strangers to love. You know the rules and so do I. A full commitment's what I'm thinking of,
87You wouldn't get this from any other guy.">
88          <answerIds>
89            <AnswerId Id="whatIamFeeling"/>
90            <AnswerId Id="DontCare"/>
91            <AnswerId Id="IGoNow"/>
92          </answerIds>
93        </Question>
94       
95        <Question Id= "NeverGonnaLetYouDown" question= "Never gonna give you up
96Never gonna let you down
97Never gonna run around and desert you
98Never gonna make you cry
99Never gonna say goodbye
100Never gonna tell a lie and hurt you" >
101          <answerIds>
102            <AnswerId Id="Again"/>
103            <AnswerId Id="IGoNow"/>
104          </answerIds>
105        </Question>
106
107        <Question Id= "leave" question= "That was not what i had in mind but that is way better, thanks for the advidce. I will leave now."/>
108
109      </questions>
110   
111      <answers>
112        <Answer Id= "NeverGonnaGiveMeUp" nextQuestionId ="WeAreNoStrangers" answer= "wait are you the RICK?!" />
113        <Answer Id= "DontCare" nextQuestionId ="end" answer= "I could not care less" />
114        <Answer Id= "Serious" nextQuestionId ="leave" answer= "The same thing you do every night? - try to take over the world?" />
115        <Answer Id= "whatIamFeeling" nextQuestionId ="NeverGonnaLetYouDown" answer= "I just wanna tell you how I'm feeling, gotta make you understand" />
116        <Answer Id= "IGoNow" nextQuestionId ="" answer= "well that strange i guess i go now..." />
117        <Answer Id= "Again" nextQuestionId ="WeAreNoStrangers" answer= "I didn't quiet get it." />
118      </answers>
119
120      <events>
121          <execute>
122              <EventListener event="troll"/>
123          </execute>
124      </events>
125    </Dialog>
126   
[11652]127    <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"/>
128    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
129   
130  </Scene>
131</Level>
Note: See TracBrowser for help on using the repository browser.