Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5315


Ignore:
Timestamp:
Dec 7, 2008, 10:57:05 PM (15 years ago)
Author:
dafrick
Message:

Updated the questsystem levelfile and the example quest file due to some changes in the questsystem branch, or more precisely: One parameter of the QuestListener was changed form questStatus to mode.

Location:
data/media/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/princessaeryn.oxw

    r5311 r5315  
    2424 description  = "The Tale of Princess Aeryn"
    2525>
    26   <Scene
    27    ambientlight = "0.8, 0.8, 0.8"
    28    skybox       = "Orxonox/Starbox"
    29   >
     26    <Scene
     27        ambientlight = "0.8, 0.8, 0.8"
     28        skybox       = "Orxonox/Starbox"
     29    >
    3030 
    31     <!-- Quest: -->
    32     <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34">
    33       <QuestDescription title="The Tale of Princess Aeryn" description="Princess Aeryn has been kidnapped by evil Mr. M and you were just a little too late to save her.\nYou have to find and save her from her captors." failMessage="You cannot fail, how did you?" completeMessage="You did it John. You're a hero. Princess Aeryn however will still not marry you." />
    34       <subquests>
    35         <GlobalQuest id="43766602-7e2f-4d24-976a-3f9de1474d5b">
    36           <QuestDescription title="Find Aeryn's S.H.O.E.S." description="Oh, the kidnappers must have been in a hurry because they overlooked princess Aeryns S.H.O.E.S. (Super Heavily Organized Escape Ship) hidden in the asteroid field over there.\nFind it and look there for clues to Princess Aeryns whereabouts." completeMessage="You did it, Looking through her stuff you find an odd looking device - Could this be the receiver of Princess Aeryns locator beacon? - But it must be broken, the screen remains blank." />
    37           <complete-effects>
    38             <AddQuest questId="50845552-c8af-4091-947c-76bd850b224e" />
    39           </complete-effects>
     31        <!-- Quest: -->
     32        <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34">
     33            <QuestDescription title="The Tale of Princess Aeryn" description="Princess Aeryn has been kidnapped by evil Mr. M and you were just a little too late to save her.\nYou have to find and save her from her captors." failMessage="You cannot fail, how did you?" completeMessage="You did it John. You're a hero. Princess Aeryn however will still not marry you." />
     34            <subquests>
     35                <GlobalQuest id="43766602-7e2f-4d24-976a-3f9de1474d5b">
     36                    <QuestDescription title="Find Aeryn's S.H.O.E.S." description="Oh, the kidnappers must have been in a hurry because they overlooked princess Aeryns S.H.O.E.S. (Super Heavily Organized Escape Ship) hidden in the asteroid field over there.\nFind it and look there for clues to Princess Aeryns whereabouts." completeMessage="You did it, Looking through her stuff you find an odd looking device - Could this be the receiver of Princess Aeryns locator beacon? - But it must be broken, the screen remains blank." />
     37                    <complete-effects>
     38                        <AddQuest questId="50845552-c8af-4091-947c-76bd850b224e" />
     39                    </complete-effects>
     40                </GlobalQuest>
     41                <GlobalQuest id="50845552-c8af-4091-947c-76bd850b224e">
     42                    <QuestDescription title="Repair the receiver." description="There is a space station called 'Serenity Station' near here. An engineer called Nathan Stark who shoud be able to help you lives there." completeMessage="'Yeah Nathan lives here, he'll shurely help you.'\nAnd he does, apparenty the device was just low on batteries so you're now able to locate your beloved Princess Aeryn." />
     43                    <hints>
     44                        <QuestHint id="b9b10841-b045-4797-b1d3-cfce760e1de6">
     45                            <QuestDescription title="The Katratzi Station" description="'We ain't buying!'\n'What do you want?'\n'No there lives no Nathan here.'\n'Fuck off.''" />
     46                        </QuestHint>
     47                        <QuestHint id="1ee785f8-b71d-4b51-b080-42cec5be8e3c">
     48                            <QuestDescription title="The Pegasus Station" description="'Hello friend.'\n'How can we help you?'\n'A Mr. Stark you say? Sorry no man with such a name lives here.'" />
     49                        </QuestHint>
     50                    </hints>
     51                    <complete-effects>
     52                        <AddQuest questId="97628524-b243-492c-b7b6-498f325b21d4" />
     53                    </complete-effects>
     54                </GlobalQuest>
     55                <GlobalQuest id="97628524-b243-492c-b7b6-498f325b21d4">
     56                    <QuestDescription title="Follow the dots" description="Just follow the dots, they'll lead you right to her." completeMessage="You found Princess Aeryn. Her captors give up at the shere sight ou you." />
     57                    <complete-effects>
     58                        <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
     59                    </complete-effects>
     60                </GlobalQuest>
     61            </subquests>
    4062        </GlobalQuest>
    41         <GlobalQuest id="50845552-c8af-4091-947c-76bd850b224e">
    42           <QuestDescription title="Repair the receiver." description="There is a space station called 'Serenity Station' near here. An engineer called Nathan Stark who shoud be able to help you lives there." completeMessage="'Yeah Nathan lives here, he'll shurely help you.'\nAnd he does, apparenty the device was just low on batteries so you're now able to locate your beloved Princess Aeryn." />
    43           <hints>
    44             <QuestHint id="b9b10841-b045-4797-b1d3-cfce760e1de6">
    45               <QuestDescription title="The Katratzi Station" description="'We ain't buying!'\n'What do you want?'\n'No there lives no Nathan here.'\n'Fuck off.''" />
    46             </QuestHint>
    47             <QuestHint id="1ee785f8-b71d-4b51-b080-42cec5be8e3c">
    48               <QuestDescription title="The Pegasus Station" description="'Hello friend.'\n'How can we help you?'\n'A Mr. Stark you say? Sorry no man with such a name lives here.'" />
    49             </QuestHint>
    50           </hints>
    51           <complete-effects>
    52             <AddQuest questId="97628524-b243-492c-b7b6-498f325b21d4" />
    53           </complete-effects>
    54         </GlobalQuest>
    55         <GlobalQuest id="97628524-b243-492c-b7b6-498f325b21d4">
    56           <QuestDescription title="Follow the dots" description="Just follow the dots, they'll lead you right to her." completeMessage="You found Princess Aeryn. Her captors give up at the shere sight ou you." />
    57           <complete-effects>
    58             <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
    59           </complete-effects>
    60         </GlobalQuest>
    61       </subquests>
    62     </GlobalQuest>
    6363   
    64     <QuestEffectBeacon position="0,0,100" times=1>
    65       <effects>
    66         <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
    67         <AddQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" />
    68                         </effects>
    69       <events>
    70         <execute>
    71                                         <EventListener event=questbeacon1 />
    72         </execute>
    73       </events>
    74       <attached>
    75                                 <DistanceTrigger name=questbeacon1 position="0,0,0" distance=10 target="ControllableEntity" />
    76       </attached>
    77     </QuestEffectBeacon>
    78    
    79     <!-- Create spaceship spawner: -->
    80     <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
    81       <events>
    82         <spawn>
    83           <EventTrigger delay=1>
    84             <events>
    85               <trigger>
    86                 <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
    87               </trigger>
    88             </events>
    89           </EventTrigger>
    90         </spawn>
    91       </events>
    92     </ParticleSpawner>
    93 
    94     <!-- Create world -->
    95 
    96       <!-- Kidnapper flying away -->
    97       <MovableEntity position="200,0,0" velocity="-140,0,-140" yaw=45>
    98         <attached>
    99           <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" />
    100           <ParticleSpawner position="0,0,10" source="Orxonox/fire3" lifetime=2.0 loop=0 autostart=1 />
    101         </attached>
    102       </MovableEntity>
    103 
    104       <!-- Asteroid field -->
    105       <PositionableEntity position="-500,0,-3000">
    106         <attached>
    107           <?lua
    108             for i = 1, 200
    109               do ?>
    110                 <MovableEntity position="<?lua print(math.random() * 2000 - 1000)?>, <?lua print(math.random() * 2000 - 1000) ?>, <?lua print(math.random() * 2000 - 1000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.abs(math.random() * 30 -10)) ?>">
    111                   <attached>
    112                     <Model scale="<?lua print(math.random() * 50) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    113                   </attached>
    114                 </MovableEntity>
    115           <?lua
    116             end
    117           ?>
    118           <!-- S.H.O.E.S -->
    119           <PositionableEntity position="-300,0,0">
    120             <attached>
    121               <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="assff.mesh" />
    122               <QuestEffectBeacon position="0,0,0" times=-1>
     64        <!-- Create spaceship spawner: -->
     65        <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
     66          <events>
     67            <spawn>
     68              <EventTrigger delay=1>
     69                <events>
     70                  <trigger>
     71                    <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
     72                  </trigger>
     73                </events>
     74              </EventTrigger>
     75            </spawn>
     76          </events>
     77          <attached>
     78            <QuestEffectBeacon position="0,0,0" times=1>
    12379                <effects>
    124                         <CompleteQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" />
    125                             </effects>
     80                    <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
     81                    <AddQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" />
     82                </effects>
    12683                <events>
    127                   <execute>
    128                                             <EventListener event=questbeacon2 />
    129                   </execute>
     84                    <execute>
     85                        <EventListener event=questbeacon1 />
     86                    </execute>
    13087                </events>
    13188                <attached>
    132                                     <DistanceTrigger name=questbeacon2 position="0,0,0" distance=50 target="ControllableEntity" />
    133                 </attached>
    134               </QuestEffectBeacon>
    135             </attached>
    136           </PositionableEntity>
    137         </attached>
    138       </PositionableEntity>
    139      
    140      
    141      
    142       <!-- Spacestations -->
    143      
    144         <!-- Serenity Station -->
    145         <PositionableEntity scale=1 position="0,0,5000" yaw=30>
    146                 <attached>
    147                         <?lua
    148                                 createSpaceStation(200)
    149                         ?>
    150             <QuestEffectBeacon position="0,450,200" times=1>
    151               <effects>
    152                 <CompleteQuest questId="50845552-c8af-4091-947c-76bd850b224e" />
    153               </effects>
    154               <events>
    155                 <execute>
    156                   <EventListener event=questbeacon3 />
    157                 </execute>
    158               </events>
    159               <attached>
    160                 <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
    161                 <DistanceTrigger name=questbeacon3 position="0,0,0" distance=100 target="ControllableEntity" />
    162               </attached>
    163             </QuestEffectBeacon>
    164                       </attached>
    165               </PositionableEntity>
    166            
    167               <!-- Katratzi Station -->
    168               <PositionableEntity scale=1 position="0,5000,300" yaw=60>
    169                 <attached>
    170                         <?lua
    171                                 createSpaceStation(51644)
    172                         ?>
    173                         <QuestEffectBeacon position="0,450,0" times=1>
    174               <effects>
    175                 <AddQuestHint hintId="b9b10841-b045-4797-b1d3-cfce760e1de6" />
    176               </effects>
    177               <events>
    178                 <execute>
    179                   <EventListener event=questbeacon4 />
    180                 </execute>
    181               </events>
    182               <attached>
    183                 <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
    184                 <DistanceTrigger name=questbeacon4 position="0,0,0" distance=100 target="ControllableEntity" />
    185               </attached>
    186             </QuestEffectBeacon>
    187                       </attached>
    188               </PositionableEntity>
    189            
    190               <!-- Pegasus Station -->
    191               <PositionableEntity scale=1 position="-5000,100,1000" roll=30>
    192                 <attached>
    193                         <?lua
    194                                 createSpaceStation(658774)
    195                         ?>
    196                         <QuestEffectBeacon position="0,450,0" times=1>
    197               <effects>
    198                 <AddQuestHint hintId="1ee785f8-b71d-4b51-b080-42cec5be8e3c" />
    199               </effects>
    200               <events>
    201                 <execute>
    202                   <EventListener event=questbeacon5 />
    203                 </execute>
    204               </events>
    205               <attached>
    206                 <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
    207                 <DistanceTrigger name=questbeacon5 position="0,0,0" distance=100 target="ControllableEntity" />
    208               </attached>
    209             </QuestEffectBeacon>
    210                       </attached>
    211               </PositionableEntity>
    212              
    213               <!-- Trail -->
    214               <EventDispatcher>
    215           <targets>
    216             <EventTarget name=trail />
    217           </targets>
    218           <events>
    219             <visibility>
    220               <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" questStatus="complete" />
    221             </visibility>
    222             <activity>
    223               <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" questStatus="complete" />
    224             </activity>
    225           </events>
    226         </EventDispatcher>
    227        
    228         <?lua
    229           for i = 1, 25
    230             do
    231         ?>
    232         <Billboard position="<?lua print(i*5000/25) ?>,<?lua print(450+i*(5000-450)/25) ?>,5000" colour="1.0,0,0" material="Examples/Flare" name=trail visible=false/>
    233         <?lua
    234           end
    235         ?>
    236        
    237       <!-- Hideout -->
    238         <PositionableEntity position="5000,5000,5000" >
    239           <attached>
    240             <Model scale="100" mesh="ast2.mesh" shadow=false />
    241           </attached>
    242         </PositionableEntity>
    243        
    244         <PositionableEntity position="5400,5400,5000" visible=false name=trail >
    245           <attached>
    246             <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" />
    247             <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail >
    248               <effects>
    249                 <CompleteQuest questId="97628524-b243-492c-b7b6-498f325b21d4" />
    250               </effects>
    251               <events>
    252                 <execute>
    253                   <EventListener event=questbeacon6 />
    254                 </execute>
    255               </events>
    256               <attached>
    257                 <DistanceTrigger name=questbeacon6 position="0,0,0" distance=100 target="ControllableEntity" />
    258               </attached>
     89                    <DistanceTrigger name=questbeacon1 position="0,0,0" distance=10 target="ControllableEntity" />
     90                </attached>
    25991            </QuestEffectBeacon>
    26092          </attached>
    261         </PositionableEntity>
    262 
    263   </Scene>
     93        </ParticleSpawner>
     94
     95        <!-- Create world -->
     96
     97            <!-- Kidnapper flying away -->
     98            <MovableEntity position="200,0,0" velocity="-140,0,-140" yaw=45>
     99                <attached>
     100                    <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" />
     101                    <ParticleSpawner position="0,0,10" source="Orxonox/fire3" lifetime=2.0 loop=0 autostart=1 />
     102                </attached>
     103            </MovableEntity>
     104
     105            <!-- Asteroid field -->
     106            <PositionableEntity position="-500,0,-3000">
     107                <attached>
     108                    <?lua
     109                        for i = 1, 200
     110                        do ?>
     111                        <MovableEntity position="<?lua print(math.random() * 2000 - 1000)?>, <?lua print(math.random() * 2000 - 1000) ?>, <?lua print(math.random() * 2000 - 1000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.abs(math.random() * 30 -10)) ?>">
     112                            <attached>
     113                                <Model scale="<?lua print(math.random() * 50) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
     114                            </attached>
     115                        </MovableEntity>
     116                    <?lua
     117                        end
     118                    ?>
     119                    <!-- S.H.O.E.S -->
     120                    <PositionableEntity position="-300,0,0">
     121                        <attached>
     122                            <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="assff.mesh" />
     123                            <QuestEffectBeacon position="0,0,0" times=-1>
     124                                <effects>
     125                                    <CompleteQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" />
     126                                </effects>
     127                                <events>
     128                                    <execute>
     129                                        <EventListener event=questbeacon2 />
     130                                    </execute>
     131                                </events>
     132                                <attached>
     133                                    <DistanceTrigger name=questbeacon2 position="0,0,0" distance=50 target="ControllableEntity" />
     134                                </attached>
     135                            </QuestEffectBeacon>
     136                        </attached>
     137                    </PositionableEntity>
     138                </attached>
     139            </PositionableEntity>
     140     
     141     
     142     
     143            <!-- Spacestations -->
     144     
     145            <!-- Serenity Station -->
     146            <PositionableEntity scale=1 position="0,0,5000" yaw=30>
     147                <attached>
     148                    <?lua
     149                        createSpaceStation(200)
     150                    ?>
     151                    <QuestEffectBeacon position="0,450,200" times=1>
     152                        <effects>
     153                            <CompleteQuest questId="50845552-c8af-4091-947c-76bd850b224e" />
     154                        </effects>
     155                        <events>
     156                            <execute>
     157                                <EventListener event=questbeacon3 />
     158                            </execute>
     159                        </events>
     160                        <attached>
     161                            <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
     162                            <DistanceTrigger name=questbeacon3 position="0,0,0" distance=100 target="ControllableEntity" />
     163                        </attached>
     164                    </QuestEffectBeacon>
     165                </attached>
     166            </PositionableEntity>
     167
     168            <!-- Katratzi Station -->
     169            <PositionableEntity scale=1 position="0,5000,300" yaw=60>
     170                <attached>
     171                    <?lua
     172                        createSpaceStation(51644)
     173                    ?>
     174                    <QuestEffectBeacon position="0,450,0" times=1>
     175                        <effects>
     176                            <AddQuestHint hintId="b9b10841-b045-4797-b1d3-cfce760e1de6" />
     177                        </effects>
     178                        <events>
     179                            <execute>
     180                                <EventListener event=questbeacon4 />
     181                            </execute>
     182                        </events>
     183                        <attached>
     184                            <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
     185                            <DistanceTrigger name=questbeacon4 position="0,0,0" distance=100 target="ControllableEntity" />
     186                        </attached>
     187                    </QuestEffectBeacon>
     188                </attached>
     189            </PositionableEntity>
     190
     191            <!-- Pegasus Station -->
     192            <PositionableEntity scale=1 position="-5000,100,1000" roll=30>
     193                <attached>
     194                    <?lua
     195                        createSpaceStation(658774)
     196                    ?>
     197                    <QuestEffectBeacon position="0,450,0" times=1>
     198                        <effects>
     199                            <AddQuestHint hintId="1ee785f8-b71d-4b51-b080-42cec5be8e3c" />
     200                        </effects>
     201                        <events>
     202                            <execute>
     203                                <EventListener event=questbeacon5 />
     204                            </execute>
     205                        </events>
     206                        <attached>
     207                            <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
     208                            <DistanceTrigger name=questbeacon5 position="0,0,0" distance=100 target="ControllableEntity" />
     209                        </attached>
     210                    </QuestEffectBeacon>
     211                </attached>
     212            </PositionableEntity>
     213             
     214            <!-- Trail -->
     215            <EventDispatcher>
     216                <targets>
     217                    <EventTarget name=trail />
     218                </targets>
     219                <events>
     220                    <visibility>
     221                        <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" />
     222                    </visibility>
     223                    <activity>
     224                        <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" />
     225                    </activity>
     226                </events>
     227            </EventDispatcher>
     228       
     229            <?lua
     230                for i = 1, 25
     231                do
     232            ?>
     233                <Billboard position="<?lua print(i*5000/25) ?>,<?lua print(450+i*(5000-450)/25) ?>,5000" colour="1.0,0,0" material="Examples/Flare" name=trail visible=false/>
     234            <?lua
     235                end
     236            ?>
     237       
     238            <!-- Hideout -->
     239            <PositionableEntity position="5000,5000,5000" >
     240                <attached>
     241                    <Model scale="100" mesh="ast2.mesh" shadow=false />
     242                </attached>
     243            </PositionableEntity>
     244
     245            <PositionableEntity position="5400,5400,5000" visible=false name=trail >
     246                <attached>
     247                    <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" />
     248                    <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail >
     249                        <effects>
     250                            <CompleteQuest questId="97628524-b243-492c-b7b6-498f325b21d4" />
     251                        </effects>
     252                        <events>
     253                            <execute>
     254                                <EventListener event=questbeacon6 />
     255                            </execute>
     256                        </events>
     257                        <attached>
     258                            <DistanceTrigger name=questbeacon6 position="0,0,0" distance=100 target="ControllableEntity" />
     259                        </attached>
     260                    </QuestEffectBeacon>
     261                </attached>
     262            </PositionableEntity>
     263
     264    </Scene>
    264265</Level>
    265266
  • data/media/levels/questsystem.oxw

    r5308 r5315  
    2020 description  = "Just a few tests"
    2121>
    22   <Scene
    23    ambientlight = "0.5, 0.5, 0.5"
    24    skybox       = "Orxonox/Starbox"
    25   >
    26     <!--SpawnPoint position="0,   0,  100"           spawnclass=SpaceShip pawndesign=spaceshipassff />
    27     <SpawnPoint position="0,   0, -700" yaw  =180 spawnclass=SpaceShip pawndesign=spaceshipassff />
    28     <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /-->
     22    <Scene
     23    ambientlight = "0.5, 0.5, 0.5"
     24    skybox       = "Orxonox/Starbox"
     25    >
    2926
    30     <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34">
    31       <QuestDescription title="The Main QUest" description="This is the main quest hooray. Solve it!" failMessage="You fail. Looser." completeMessage="You Win." />
    32       <hints>
    33         <QuestHint id="022a859d-08dd-4eac-a085-c28c29c06d48">
    34           <QuestDescription title="The super Hint." description="Be proud of yourself." />
    35                                 </QuestHint>
    36                         </hints>
    37     </GlobalQuest>
     27        <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34">
     28            <QuestDescription title="The Main QUest" description="This is the main quest hooray. Solve it!" failMessage="You fail. Looser." completeMessage="You Win." />
     29            <hints>
     30                <QuestHint id="022a859d-08dd-4eac-a085-c28c29c06d48">
     31                    <QuestDescription title="The super Hint." description="Be proud of yourself." />
     32                </QuestHint>
     33            </hints>
     34        </GlobalQuest>
     35       
     36        <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
     37            <events>
     38                <spawn>
     39                    <EventTrigger delay=1>
     40                        <events>
     41                            <trigger>
     42                                <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
     43                            </trigger>
     44                        </events>
     45                    </EventTrigger>
     46                </spawn>
     47            </events>
     48        </ParticleSpawner>
    3849
    39     <QuestEffectBeacon position="0,0,100" times=-1>
    40       <effects>
    41         <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
    42                         </effects>
    43       <events>
    44         <execute>
    45                                         <EventListener event=qebdt1 />
    46         </execute>
    47       </events>
    48       <attached>
    49         <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare" />
    50                                 <DistanceTrigger name=qebdt1 position="0,0,0" distance=10 target="ControllableEntity" />
    51       </attached>
    52     </QuestEffectBeacon>
     50        <QuestEffectBeacon position="0,0,100" times=-1>
     51            <effects>
     52                <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
     53            </effects>
     54            <events>
     55                <execute>
     56                    <EventListener event=qebdt1 />
     57                </execute>
     58            </events>
     59            <attached>
     60                <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare" />
     61                <DistanceTrigger name=qebdt1 position="0,0,0" distance=10 target="ControllableEntity" />
     62            </attached>
     63        </QuestEffectBeacon>
    5364
    54     <QuestEffectBeacon position="-100,0,0" times=-1>
    55       <effects>
    56         <FailQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
    57       </effects>
    58       <events>
    59         <execute>
    60           <EventListener event=qebdt2 />
    61         </execute>
    62       </events>
    63       <attached>
    64         <Billboard position="0,0,0" colour="1.0,0,0" material="Examples/Flare" />
    65         <DistanceTrigger name=qebdt2 position="0,0,0" distance=10 target="ControllableEntity" />
    66       </attached>
    67     </QuestEffectBeacon>
     65        <QuestEffectBeacon position="-100,0,0" times=-1>
     66            <effects>
     67                <FailQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
     68            </effects>
     69            <events>
     70                <execute>
     71                    <EventListener event=qebdt2 />
     72                </execute>
     73            </events>
     74            <attached>
     75                <Billboard position="0,0,0" colour="1.0,0,0" material="Examples/Flare" />
     76                <DistanceTrigger name=qebdt2 position="0,0,0" distance=10 target="ControllableEntity" />
     77            </attached>
     78        </QuestEffectBeacon>
    6879
    69                 <QuestEffectBeacon position="100,0,0" times=-1>
    70       <effects>
    71         <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
    72       </effects>
    73       <events>
    74         <execute>
    75           <EventListener event=qebdt3 />
    76         </execute>
    77       </events>
    78       <attached>
    79         <Billboard position="0,0,0" colour="0,1.0,0" material="Examples/Flare" />
    80         <DistanceTrigger name=qebdt3 position="0,0,0" distance=10 target="ControllableEntity" />
    81       </attached>
    82     </QuestEffectBeacon>
     80        <QuestEffectBeacon position="100,0,0" times=-1>
     81            <effects>
     82                <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
     83            </effects>
     84            <events>
     85                <execute>
     86                    <EventListener event=qebdt3 />
     87                </execute>
     88            </events>
     89            <attached>
     90                <Billboard position="0,0,0" colour="0,1.0,0" material="Examples/Flare" />
     91                <DistanceTrigger name=qebdt3 position="0,0,0" distance=10 target="ControllableEntity" />
     92            </attached>
     93        </QuestEffectBeacon>
    8394
    84                 <QuestEffectBeacon position="0,100,0" times=-1>
    85       <effects>
    86         <AddQuestHint hintId="022a859d-08dd-4eac-a085-c28c29c06d48" />
    87       </effects>
    88       <events>
    89         <execute>
    90           <EventListener event=qebdt4 />
    91         </execute>
    92       </events>
    93       <attached>
    94         <Billboard position="0,0,0" colour="0,0,1.0" material="Examples/Flare" />
    95         <DistanceTrigger name=qebdt4 position="0,0,0" distance=10 target="ControllableEntity" />
    96       </attached>
    97     </QuestEffectBeacon>
     95        <QuestEffectBeacon position="0,100,0" times=-1>
     96            <effects>
     97                <AddQuestHint hintId="022a859d-08dd-4eac-a085-c28c29c06d48" />
     98            </effects>
     99            <events>
     100                <execute>
     101                    <EventListener event=qebdt4 />
     102                </execute>
     103            </events>
     104            <attached>
     105                <Billboard position="0,0,0" colour="0,0,1.0" material="Examples/Flare" />
     106                <DistanceTrigger name=qebdt4 position="0,0,0" distance=10 target="ControllableEntity" />
     107            </attached>
     108        </QuestEffectBeacon>
    98109
    99     <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
    100       <events>
    101         <spawn>
    102           <EventTrigger delay=1>
     110        <ParticleEmitter name=firecenter position="0,0,0" source="Orxonox/fire3" active=false>
    103111            <events>
    104               <trigger>
    105                 <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
    106               </trigger>
     112                <activity>
     113                    <QuestListener questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" mode="complete" />
     114                </activity>
    107115            </events>
    108           </EventTrigger>
    109         </spawn>
    110       </events>
    111     </ParticleSpawner>
    112    
    113     <ParticleEmitter name=firecenter position="0,0,0" source="Orxonox/fire3" active=false>
    114       <events>
    115         <activity>
    116           <QuestListener questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" questStatus="complete" />
    117         </activity>
    118       </events>
    119     </ParticleEmitter>
     116        </ParticleEmitter>
    120117
    121   </Scene>
     118    </Scene>
    122119</Level>
    123120
Note: See TracChangeset for help on using the changeset viewer.