Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.