Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 29, 2011, 5:25:02 PM (13 years ago)
Author:
dafrick
Message:

Presentation level is getting ready.

Location:
code/branches/presentation/data/levels
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/data/levels/includes/notifications.oxi

    r8643 r8664  
    33<NotificationQueueCEGUI
    44    name="all"
    5     targets="questsystem, commandNotification, simpleNotification"
     5    targets="questsystem"
    66    displaySize="0.5, 0, 0, 0"
    77    position="0, 10, 0.3, 0"
  • code/branches/presentation/data/levels/presentationFS11.oxw

    r8656 r8664  
    3232  <NotificationQueueCEGUI
    3333    name="narrative"
    34     targets="narrative"
     34    targets="simpleNotification"
    3535    size=1
    3636    displayTime=30
    37     position="0.2, 0, 0.8, 0"
     37    position="0.2, 0, 0.1, 0"
    3838    fontSize="24"
    3939    fontColor="0.3, 1, 0.2, 0.8"
     
    5353    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/>
    5454
    55     <SimpleNotification message="Welcome to Earth Orbit" sender="narrative" >
     55    <!-- EARTH ORBIT -->
     56
     57    <DistanceTrigger name="spawntrigger" position="0,0,0" target="Pawn" distance=10 stayActive="true" />
     58    <DistanceTrigger name="spawndelaytrigger1" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=1 />
     59    <DistanceTrigger name="spawndelaytrigger2" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=7 />
     60    <DistanceTrigger name="spawndelaytrigger3" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=12 />
     61    <DistanceTrigger name="spawndelaytrigger4" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=15 />
     62    <DistanceTrigger name="spawndelaytrigger5" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=25 />
     63    <DistanceTrigger name="spawndelaytrigger6" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=35 />
     64    <DistanceTrigger name="spawndelaytrigger7" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=40 />
     65
     66    <SpawnPoint position="0,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff>
     67        <events>
     68            <activity>
     69                <EventTrigger invert="true">
     70                    <events>
     71                        <trigger>
     72                            <EventListener event="spawndelaytrigger1" />
     73                        </trigger>
     74                    </events>
     75                </EventTrigger>
     76            </activity>
     77        </events>
     78    </SpawnPoint>
     79
     80    <SimpleNotification message="Welcome to Earth Orbit" >
    5681        <events>
    5782            <trigger>
     
    6085        </events>
    6186    </SimpleNotification>
    62 
    63     <DistanceTrigger name="spawntrigger" position="0,0,0" target="Pawn" distance=10 stayActive="true" />
    64     <SpawnPoint position="0,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    65 
    66 <!-- PICKUPS -->
    67     <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
    68       <pickup>
    69         <DronePickup template=dronepickup />
    70       </pickup>
    71     </PickupSpawner>
    72 
    73     <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp" lifetime=500 loop=1 startdelay=2.5 />
    74     <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp2" lifetime=500 loop=1 startdelay=2 />
    75     <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp3" lifetime=500 loop=1 startdelay=2 />
    76 
    77    
    78     <!-- BOUNDARIES AND PORTALS -->
    79 
    80     <Template name=PortalDefault>
    81         <PortalEndPoint>
    82             <attached>
    83                 <Billboard material="Portals/Default" />
    84             </attached>
    85         </PortalEndPoint>
    86     </Template>
    87 
    88     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-90000,0,0"/>
    89     <PortalEndPoint position="-350,0,0" id="3" distance="40" target="MobileEntity" design="PortalDefault"/>
    90     <PortalEndPoint position="-72000,0,0" id="4" distance="40" target="MobileEntity" design="PortalDefault"/>
    91     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,10000,0"/>
    92 
    93     <SpaceBoundaries warnDistance="1" maxDistance="450" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
    94     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-30000,0,0"/>
    95 
    96     <PortalLink fromID="3" toID="4" />
    97     <PortalLink fromID="4" toID="3" />
    98 
    99     <!-- MODELS, DEBRIS, ETC -->
     87    <SimpleNotification message="Turn right to witness an explosion" >
     88        <events>
     89            <trigger>
     90                <EventListener event=spawndelaytrigger1 />
     91            </trigger>
     92        </events>
     93    </SimpleNotification>
    10094
    10195    <!-- This is a model of Earth: mass=EarthMass/1000 and radius=EarthRadius[km]*10 -->
     
    126120    </Planet>
    127121
     122    <!-- PARTICLE EFFECT -->
     123
     124    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp" autostart="false" lifetime=500 loop=1 startdelay=7.5>
     125        <events>
     126            <spawn>
     127                <EventListener event=spawntrigger />
     128            </spawn>
     129        </events>
     130    </ParticleSpawner>
     131    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp2" autostart="false" lifetime=500 loop=1 startdelay=7>
     132        <events>
     133            <spawn>
     134                <EventListener event=spawntrigger />
     135            </spawn>
     136        </events>
     137    </ParticleSpawner>
     138    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp3" autostart="false" lifetime=500 loop=1 startdelay=7>
     139        <events>
     140            <spawn>
     141                <EventListener event=spawntrigger />
     142            </spawn>
     143        </events>
     144    </ParticleSpawner>
     145       
     146    <SimpleNotification message="A particle effect by Tibor" >
     147        <events>
     148            <trigger>
     149                <EventListener event=spawndelaytrigger2 />
     150            </trigger>
     151        </events>
     152    </SimpleNotification>
     153
     154    <!-- ENEMIES 1st ROUND -->
     155
     156    <SimpleNotification message="Enemies attacking" >
     157        <events>
     158            <trigger>
     159                <EventListener event=spawndelaytrigger3 />
     160            </trigger>
     161        </events>
     162    </SimpleNotification>
     163
     164    <Script code="addBots 3" onLoad="false">
     165        <events>
     166            <trigger>
     167                <EventListener event=spawndelaytrigger3 />
     168            </trigger>
     169        </events>
     170    </Script>
     171
     172    <SpawnPoint position="50,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
     173        <events>
     174            <activity>
     175                <EventListener event=spawndelaytrigger1 />
     176            </activity>
     177        </events>
     178    </SpawnPoint>
     179
     180    <SpawnPoint position="0,-50,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
     181        <events>
     182            <activity>
     183                <EventListener event=spawndelaytrigger1 />
     184            </activity>
     185        </events>
     186    </SpawnPoint>
     187
     188    <SpawnPoint position="0,0,50" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
     189        <events>
     190            <activity>
     191                <EventListener event=spawndelaytrigger1 />
     192            </activity>
     193        </events>
     194    </SpawnPoint>
     195
     196    <!-- SPACE BOUNDARY -->
     197
     198    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-90000,0,0"/>
     199    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,10000,0"/>
     200    <SpaceBoundaries warnDistance="1" maxDistance="450" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
     201    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-30000,0,0"/>
     202
     203    <SimpleNotification message="Notice the shields by Simon" >
     204        <events>
     205            <trigger>
     206                <EventListener event=spawndelaytrigger4 />
     207            </trigger>
     208        </events>
     209    </SimpleNotification>
     210
     211    <SimpleNotification message="and space boundaries by Maurus" >
     212        <events>
     213            <trigger>
     214                <EventListener event=spawndelaytrigger5 />
     215            </trigger>
     216        </events>
     217    </SimpleNotification>
     218
     219    <SimpleNotification message="Let's get out of here" >
     220        <events>
     221            <trigger>
     222                <EventListener event=spawndelaytrigger6 />
     223            </trigger>
     224        </events>
     225    </SimpleNotification>
     226
     227    <Script code="killBots" onLoad="false">
     228        <events>
     229            <trigger>
     230                <EventListener event=spawndelaytrigger6 />
     231            </trigger>
     232        </events>
     233    </Script>
     234
     235    <SimpleNotification message="Boost enhancement by Dominik" >
     236        <events>
     237            <trigger>
     238                <EventListener event=spawndelaytrigger7 />
     239            </trigger>
     240        </events>
     241    </SimpleNotification>
     242   
     243    <!-- PORTALS -->
     244
     245    <Template name=PortalDefault>
     246        <PortalEndPoint>
     247            <attached>
     248                <Billboard material="Portals/Default" />
     249            </attached>
     250        </PortalEndPoint>
     251    </Template>
     252
     253    <PortalEndPoint position="-350,0,0" id="3" distance="40" target="MobileEntity" design="PortalDefault" active="false">
     254        <events>
     255            <activity>
     256                <EventListener event=spawndelaytrigger6 />
     257            </activity>
     258        </events>
     259    </PortalEndPoint>
     260    <PortalEndPoint position="-72000,0,0" id="4" distance="40" target="MobileEntity" design="PortalDefault">
     261        <attached>
     262            <DistanceTrigger name="portaltrigger" position="0,0,0" target="Pawn" distance=10 stayActive="true" />
     263            <DistanceTrigger name="portaldelaytrigger1" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=5 />
     264            <DistanceTrigger name="portaldelaytrigger2" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=10 />
     265            <DistanceTrigger name="portaldelaytrigger3" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=15 />
     266            <DistanceTrigger name="portaldelaytrigger4" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=17 />
     267        </attached>
     268    </PortalEndPoint>
     269    <PortalLink fromID="3" toID="4" />
     270    <PortalLink fromID="4" toID="3" />
     271
     272    <SimpleNotification message="Moon orbit" >
     273        <events>
     274            <trigger>
     275                <EventListener event=portaltrigger />
     276            </trigger>
     277        </events>
     278    </SimpleNotification>
     279
     280    <SimpleNotification message="Portals by Andreas" >
     281        <events>
     282            <trigger>
     283                <EventListener event=portaltrigger1 />
     284            </trigger>
     285        </events>
     286    </SimpleNotification>
     287
    128288    <!-- MOON AREA -->
    129 
    130289    <!-- This is a model of our Moon: mass=MoonMass/1000 and radius=MoonRadius[km]*10 and position=DistanceFromEarth[km]*10 -->
    131290    <Planet
     
    154313    </Planet>
    155314
    156     <!-- Hydrogen farmer -->
     315    <SimpleNotification message="Hydrogen farmer/space station by Hans" >
     316        <events>
     317            <trigger>
     318                <EventListener event=portaltrigger2 />
     319            </trigger>
     320        </events>
     321    </SimpleNotification>
     322
     323    <!-- HYDROGEN FARMER & DOCKING -->
    157324    <SpaceShip position="-74000,2500,0" roll=90 yaw=180 pitch=20 mass=10000 >
    158325      <attached>
     
    200367    </SpaceShip>
    201368
    202 
    203     <PickupSpawner position="-25,-50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5">
     369    <!-- PICKUPS -->
     370    <SimpleNotification message="Oh, what have we here?" >
     371        <events>
     372            <trigger>
     373                <EventListener event=portaltrigger3 />
     374            </trigger>
     375        </events>
     376    </SimpleNotification>
     377
     378    <SimpleNotification message="Shrink pickup by Sandro" >
     379        <events>
     380            <trigger>
     381                <EventListener event=portaltrigger4 />
     382            </trigger>
     383        </events>
     384    </SimpleNotification>
     385
     386    <PickupSpawner position="25,50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5" visible="false">
    204387      <pickup>
    205         <ShrinkPickup template ="smallshrinkpickup"/>
     388        <ShrinkPickup template ="mediumshrinkpickup"/>
    206389      </pickup>
    207     </PickupSpawner>
    208 
    209     <PickupSpawner position="25,50,-125" respawnTime="10" triggerDistance="20" maxSpawnedItems="5">
    210       <pickup>
    211         <ShrinkPickup template ="smallshrinkpickup"/>
    212       </pickup>
     390      <events>
     391        <visibility>
     392            <EventListener event=portaltrigger3 />
     393        </visibility>
     394      </events>
    213395    </PickupSpawner>
    214396  </Scene>
  • code/branches/presentation/data/levels/templates/spaceshipAssff.oxt

    r8597 r8664  
    3131
    3232   shakeFrequency = 15
    33    shakeAmplitude = 7
     33   shakeAmplitude = 9
    3434
    3535   collisionType     = "dynamic"
Note: See TracChangeset for help on using the changeset viewer.