Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8824


Ignore:
Timestamp:
Aug 4, 2011, 11:54:03 PM (13 years ago)
Author:
jo
Message:

Some updates to the level.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai2/data/levels/missionOne.oxw

    r8823 r8824  
    11<LevelInfo
    2  name = "Tutorial"
     2 name = "Mission One"
    33 description = "First guided steps in the orxonoxian universe."
    4  tags = ""
     4 tags = "singleplayer"
    55/>
    66
     
    105105    </SimpleNotification>
    106106
    107     <SimpleNotification message="Right click on the next target." broadcast="true">
    108         <events>
    109             <trigger>
    110                 <EventListener event=PawnDied1 />
    111             </trigger>
    112         </events>
    113     </SimpleNotification>
    114 
    115 
    116 <!-- BRIEFING END-->
    117 <!-- TODO: does NOT work. Intended effect: pawn death causes message to appear (and probably the next box) -->
     107<!-- BRIEFING END // Interactive briefing start -->
     108
    118109  <SimpleNotification message="Right click on the next target." broadcast="true">
    119110        <events>
     
    131122    </SimpleNotification>
    132123
    133   <Pawn health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000>
    134       <attached>
    135         <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
    136       </attached>
    137       <collisionShapes>
    138         <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
    139       </collisionShapes>
    140   </Pawn>
    141 
    142   <Pawn health=30 position="0,200,0" direction="0,-1,0" collisionType=dynamic mass=100000>
    143       <attached>
    144         <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
    145       </attached>
    146       <collisionShapes>
    147         <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
    148       </collisionShapes>
    149   </Pawn>
    150 
    151   <Pawn health=30 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000>
    152       <attached>
    153         <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
    154       </attached>
    155       <collisionShapes>
    156         <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
    157       </collisionShapes>
    158   </Pawn>
     124  <SimpleNotification message="Middle click on the next target." broadcast="true">
     125        <events>
     126            <trigger>
     127                <Pawn health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000>
     128                    <attached>
     129                        <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
     130                    </attached>
     131                    <collisionShapes>
     132                        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     133                    </collisionShapes>
     134                </Pawn>
     135            </trigger>
     136        </events>
     137    </SimpleNotification>
     138
     139  <SimpleNotification message="Aim at the last target and press 'T'." broadcast="true">
     140        <events>
     141            <trigger>
     142                <Pawn health=30 position="0,200,0" direction="0,-1,0" collisionType=dynamic mass=100000>
     143                    <attached>
     144                        <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
     145                    </attached>
     146                    <collisionShapes>
     147                        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     148                    </collisionShapes>
     149                </Pawn>
     150            </trigger>
     151        </events>
     152    </SimpleNotification>
     153
     154  <SimpleNotification message="Well done. Now press 'W'." broadcast="true">
     155        <events>
     156            <trigger>
     157                <Pawn health=30 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000>
     158                    <attached>
     159                        <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
     160                    </attached>
     161                    <collisionShapes>
     162                        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     163                    </collisionShapes>
     164                </Pawn>
     165            </trigger>
     166        </events>
     167    </SimpleNotification>
     168
    159169
    160170<!--------------------------------------PART TWO: Moving targets --------------------------------------->
     
    261271<!--------------------------------------PART FOUR --------------------------------------->
    262272
     273<!--------------------------------------DUMP YARD --------------------------------------->
     274<!-- Idea: Pawndeath should trigger several , delayed events. -->
     275    <!--EventTrigger name="PawnDied4" >
     276        <events>
     277            <trigger>
     278                <Pawn health=30 position="0,300,0" direction="0,-1,0" collisionType=dynamic mass=100000>
     279                    <attached>
     280                        <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
     281                    </attached>
     282                    <collisionShapes>
     283                        <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
     284                    </collisionShapes>
     285                </Pawn>
     286            </trigger>
     287        </events>
     288    </EventTrigger-->
     289
     290    <!--SimpleNotification message="Manual rockets are difficult to use.">
     291        <events>
     292            <trigger>
     293                <EventListener event=PawnDied4 />
     294            </trigger>
     295        </events>
     296    </SimpleNotification>
     297
     298    <Trigger name=boxend1 mode=and >
     299        <EventTrigger name=trigger6>
     300            <events>
     301                <trigger>
     302                    <EventListener event=PawnDied4/>
     303                </trigger>
     304            </events>
     305        </EventTrigger>
     306        <DistanceTrigger name="boxend2" position="-200,0,0" target="Pawn" distance=100 stayActive="true" delay=2 />
     307    </Trigger>
     308
     309    <SimpleNotification message="Let's move on to the pirate ships.">
     310        <events>
     311            <trigger>
     312                <EventListener event=boxend1 />
     313            </trigger>
     314        </events>
     315    </SimpleNotification-->
     316
     317
    263318  </Scene>
    264319</Level>
Note: See TracChangeset for help on using the changeset viewer.