Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/waypoints/data/levels/old/questSystem.oxw @ 10004

Last change on this file since 10004 was 7679, checked in by dafrick, 14 years ago

Renaming levelfiles (and some other) according to our new naming conventions which is using camelCase, without '_' or spaces.

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