Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestates2/data/levels/old/questsystem.oxw @ 6743

Last change on this file since 6743 was 6417, checked in by rgrieder, 15 years ago

Merged presentation2 branch back to trunk.
Major new features:

  • Actual GUI with settings, etc.
  • Improved space ship steering (human interaction)
  • Rocket fire and more particle effects
  • Advanced sound framework
  • Property svn:eol-style set to native
File size: 4.1 KB
Line 
1<?lua
2  include("hudtemplates3.oxo")
3  include("stats.oxo")
4  include("templates/spaceship_assff.oxt")
5?>
6
7<NotificationQueue
8 name  = "notification"
9 position = "1.0, 1.0"
10 targets = "all"
11/>
12
13<Level
14 name         = "Questsystem"
15 description  = "Just a few tests"
16>
17    <Scene
18    ambientlight = "0.5, 0.5, 0.5"
19    skybox       = "Orxonox/Starbox"
20    >
21
22        <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34">
23            <QuestDescription title="The Main QUest" description="This is the main quest hooray. Solve it!" failMessage="You fail. Looser." completeMessage="You Win." />
24            <hints>
25                <QuestHint id="022a859d-08dd-4eac-a085-c28c29c06d48">
26                    <QuestDescription title="The super Hint." description="Be proud of yourself." />
27                </QuestHint>
28            </hints>
29        </GlobalQuest>
30
31        <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
32            <events>
33                <spawn>
34                    <EventTrigger delay=1>
35                        <events>
36                            <trigger>
37                                <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
38                            </trigger>
39                        </events>
40                    </EventTrigger>
41                </spawn>
42            </events>
43        </ParticleSpawner>
44
45        <QuestEffectBeacon position="0,0,100" times=-1>
46            <effects>
47                <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
48            </effects>
49            <events>
50                <execute>
51                    <EventListener event=qebdt1 />
52                </execute>
53            </events>
54            <attached>
55                <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare" />
56                <DistanceTrigger name=qebdt1 position="0,0,0" distance=10 target="ControllableEntity" />
57            </attached>
58        </QuestEffectBeacon>
59
60        <QuestEffectBeacon position="-100,0,0" times=-1>
61            <effects>
62                <FailQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
63            </effects>
64            <events>
65                <execute>
66                    <EventListener event=qebdt2 />
67                </execute>
68            </events>
69            <attached>
70                <Billboard position="0,0,0" colour="1.0,0,0" material="Examples/Flare" />
71                <DistanceTrigger name=qebdt2 position="0,0,0" distance=10 target="ControllableEntity" />
72            </attached>
73        </QuestEffectBeacon>
74
75        <QuestEffectBeacon position="100,0,0" times=-1>
76            <effects>
77                <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
78            </effects>
79            <events>
80                <execute>
81                    <EventListener event=qebdt3 />
82                </execute>
83            </events>
84            <attached>
85                <Billboard position="0,0,0" colour="0,1.0,0" material="Examples/Flare" />
86                <DistanceTrigger name=qebdt3 position="0,0,0" distance=10 target="ControllableEntity" />
87            </attached>
88        </QuestEffectBeacon>
89
90        <QuestEffectBeacon position="0,100,0" times=-1>
91            <effects>
92                <AddQuestHint hintId="022a859d-08dd-4eac-a085-c28c29c06d48" />
93            </effects>
94            <events>
95                <execute>
96                    <EventListener event=qebdt4 />
97                </execute>
98            </events>
99            <attached>
100                <Billboard position="0,0,0" colour="0,0,1.0" material="Examples/Flare" />
101                <DistanceTrigger name=qebdt4 position="0,0,0" distance=10 target="ControllableEntity" />
102            </attached>
103        </QuestEffectBeacon>
104
105        <ParticleEmitter name=firecenter position="0,0,0" source="Orxonox/fire3" active=false>
106            <events>
107                <activity>
108                    <QuestListener questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" mode="complete" />
109                </activity>
110            </events>
111        </ParticleEmitter>
112
113    </Scene>
114</Level>
115
Note: See TracBrowser for help on using the repository browser.