Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/questsystem.oxw @ 5273

Last change on this file since 5273 was 5271, checked in by dafrick, 16 years ago

Created questsystem levelfile

File size: 2.2 KB
Line 
1<?lua
2  include("levels/hudtemplates.oxw")
3?>
4
5<?lua
6  include("levels/spaceshiptemplates.oxw")
7?>
8
9<Level
10 name         = "Sample"
11 description  = "Just a few tests"
12>
13  <Scene
14   ambientlight = "0.5, 0.5, 0.5"
15   skybox       = "Orxonox/Starbox"
16  >
17    <!--SpawnPoint position="0,   0,  100"           spawnclass=SpaceShip pawndesign=spaceshipassff />
18    <SpawnPoint position="0,   0, -700" yaw  =180 spawnclass=SpaceShip pawndesign=spaceshipassff />
19    <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /-->
20
21    <LocalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34">
22            <QuestDescription title="" description="" />
23    </LocalQuest>
24
25    <QuestEffectBeacon position="0,0,100" times=-1>
26      <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
27      <events>
28        <execute>
29          <DistanceTrigger position="0,0,100" name=crap2 distance=1 target="ControllableEntity" />
30        </execute>
31      </events>
32      <attached>
33        <ParticleEmitter position="0,0,0" source="Orxonox/fire3" />
34      </attached>
35    </QuestEffectBeacon>
36
37    <QuestEffectBeacon position="0,0,0" times=-1>
38      <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
39      <events>
40        <execute>
41          <DistanceTrigger position="0,0,0" name=crap2 distance=1 target="ControllableEntity" />
42        </execute>
43      </events>
44      <attached>
45        <ParticleEmitter position="0,0,0" source="Orxonox/fire3" />
46      </attached>
47    </QuestEffectBeacon>
48
49    <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
50      <events>
51        <spawn>
52          <EventTrigger delay=1>
53            <events>
54              <trigger>
55                <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
56              </trigger>
57            </events>
58          </EventTrigger>
59        </spawn>
60      </events>
61    </ParticleSpawner>
62
63
64    <Model position="0, 0,-100" pitch=-90 roll=-90 scale=4 mesh="assff.mesh" />
65    <!--Model position="0,100,-100" pitch=-90 roll=-90 scale=4 mesh="pirate.mesh" />
66    <Model position="0,300,-100" pitch=-90 roll=-90 scale=4 mesh="spacecruiser.mesh" /-->
67
68  </Scene>
69</Level>
70
Note: See TracBrowser for help on using the repository browser.