Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2011, 8:53:28 PM (14 years ago)
Author:
dafrick
Message:

Merging presentation branch back into trunk.
There are many new features and also a lot of other changes and bugfixes, if you want to know, digg through the svn log.
Not everything is yet working as it should, but it should be fairly stable. If you habe any bug reports, just send me an email.

Location:
code/trunk
Files:
52 edited
10 copied

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/data/levels/FPSTest.oxw

    r8079 r8706  
    2121    <Template link=lodtemplate_default />
    2222  </templates>
     23  <?lua include("includes/notifications.oxi") ?>
    2324
    2425  <Scene
  • code/trunk/data/levels/asteroids.oxw

    r8079 r8706  
    1414    <Template link=lodtemplate_default />
    1515  </templates>
     16  <?lua include("includes/notifications.oxi") ?>
    1617
    1718  <Scene
  • code/trunk/data/levels/dynamicMatch.oxw

    r8079 r8706  
    1616    <Template link=lodtemplate_default />
    1717  </templates>
     18  <?lua include("includes/notifications.oxi") ?>
    1819
    1920  <Scene
  • code/trunk/data/levels/earth.oxw

    • Property svn:eol-style set to native
    r8498 r8706  
    1919    <Template link="lodtemplate_default" />
    2020  </templates>
     21  <?lua include("includes/notifications.oxi") ?>
    2122
    2223  <Template name=PortalDefault>
  • code/trunk/data/levels/emptyLevel.oxw

    r7679 r8706  
    1212
    1313<?lua
    14   include("templates/spaceshipAssff.oxt")
     14  include("templates/spaceshipAssff2.oxt")
    1515  include("templates/spaceshipPirate.oxt")
    1616?>
     
    2323    <Template link=lodtemplate_default />
    2424  </templates>
     25  <?lua include("includes/notifications.oxi") ?>
    2526
    2627  <Scene
     
    3031
    3132    <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"/>
    32     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     33    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
    3334   
    3435  </Scene>
  • code/trunk/data/levels/events.oxw

    r7679 r8706  
    2020    <Template link=lodtemplate_default />
    2121  </templates>
     22  <?lua include("includes/notifications.oxi") ?>
    2223
    2324  <Scene
  • code/trunk/data/levels/fightInOurBack.oxw

    r8213 r8706  
    6868    <Template link=lodtemplate_default />
    6969  </templates>
     70  <?lua include("includes/notifications.oxi") ?>
    7071
    7172    <!-- Ausgang: Szene ===> ambientlight/skybox -->
  • code/trunk/data/levels/includes/pickups.oxi

    r7163 r8706  
    202202<PickupRepresentation
    203203    pickupName = "Drone Pickup"
    204     pickupDescription = "Adds a Drone to the Players Spaceship"
     204    pickupDescription = "Adds a Drone to the Player's Spaceship"
    205205    spawnerTemplate = "dronepickupRepresentation"
    206206>
     
    210210</PickupRepresentation>
    211211
     212<!-- Shrink Pickup -->
     213
     214<PickupRepresentation
     215    pickupName = "Small Shrink"
     216    pickupDescription = "Shrinks the Ship by a bit"
     217    spawnerTemplate = "smallshrinkpickupRepresentation"
     218>
     219    <pickup>
     220        <ShrinkPickup template=smallshrinkpickup />
     221    </pickup>
     222</PickupRepresentation>
     223
     224<PickupRepresentation
     225    pickupName = "Medium Shrink"
     226    pickupDescription = "Shrinks the Ship"
     227    spawnerTemplate = "mediumshrinkpickupRepresentation"
     228>
     229    <pickup>
     230        <ShrinkPickup template=mediumshrinkpickup />
     231    </pickup>
     232</PickupRepresentation>
     233
     234<PickupRepresentation
     235    pickupName = "Huge Shrink"
     236    pickupDescription = "Shrinks the Ship considerably"
     237    spawnerTemplate = "hugeshrinkpickupRepresentation"
     238>
     239    <pickup>
     240        <ShrinkPickup template=hugeshrinkpickup />
     241    </pickup>
     242</PickupRepresentation>
     243
  • code/trunk/data/levels/includes/weaponSettingsAssff.oxi

    r7845 r8706  
    2626          <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=3.14159 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" />
    2727          <HsW01 mode=0 munitionpershot=0 delay=0     damage=3.14159 material="Flares/point_lensflare" muzzleoffset="-1.6, 1.3,-2" />
    28           <LightningGun mode=1 muzzleoffset="0,0,0" damage=23 />
     28          <LightningGun mode=1 muzzleoffset="0,0,0" damage=3.14159 shielddamage=20 />
    2929        </Weapon>
    3030        <Weapon>
     
    3939        </Weapon>
    4040        <Weapon>
    41           <SimpleRocketFire mode=2 muzzleoffset="0,0,0" damage=50 />
    42           <RocketFire mode=3 muzzleoffset="0,0,0" damage=100 />
     41          <SimpleRocketFire mode=2 muzzleoffset="0,0,0" damage=30 shielddamage=20 />
     42          <RocketFire mode=3 muzzleoffset="0,0,0" damage=30 healthdamage=50 shielddamage=20 />
    4343        </Weapon>
    4444      </WeaponPack>
  • code/trunk/data/levels/lastManStanding.oxw

    r8178 r8706  
    2323    <Template link=lodtemplate_default />
    2424  </templates>
     25  <?lua include("includes/notifications.oxi") ?>
    2526
    2627  <Scene
  • code/trunk/data/levels/lastTeamStanding.oxw

    r8179 r8706  
    2222    <Template link=lodtemplate_default />
    2323  </templates>
     24  <?lua include("includes/notifications.oxi") ?>
    2425
    2526  <Scene
     
    2728    skybox       = "Orxonox/skypanoramagen1"
    2829  >
     30  <?lua include("includes/notifications.oxi") ?>
    2931
    3032    <?lua
  • code/trunk/data/levels/lastTeamStandingII.oxw

    r8351 r8706  
    2222    <Template link=lodtemplate_default />
    2323  </templates>
     24  <?lua include("includes/notifications.oxi") ?>
    2425
    2526  <Scene
  • code/trunk/data/levels/myTestLevel.oxw

    • Property svn:eol-style set to native
    r8458 r8706  
    2323    <Template link=lodtemplate_default />
    2424  </templates>
     25  <?lua include("includes/notifications.oxi") ?>
    2526
    2627  <Scene
     
    3031
    3132    <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"/>
    32     <SpawnPoint team=0 position="0,0,0" lookat="2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
     33    <SpawnPoint team=0 position="0,0,0" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    3334   
    34     <SpaceBoundaries warnDistance="1" maxDistance="200" showDistance="100" healthDecrease="0.1" position="0,0,0"/>
     35    <SpaceBoundaries warnDistance="1" maxDistance="200" showDistance="150" reactionMode="0" healthDecrease="0.9" position="0,0,0"/>
     36   
     37    <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Flares/backlightflare" scale=1 />
    3538   
    3639  </Scene>
  • code/trunk/data/levels/notifications.oxw

    r7679 r8706  
    1919        <Template link=lodtemplate_default />
    2020    </templates>
     21    <?lua include("includes/notifications.oxi") ?>
    2122
    2223    <Scene
     
    2425        skybox       = "Orxonox/skypanoramagen1"
    2526    >
    26 
    27     <Script code="showGUI NotificationLayer false true" needsGraphics="true" />
    2827
    2928    <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" />
  • code/trunk/data/levels/pickups.oxw

    r7679 r8706  
    2323    <Template link=lodtemplate_default />
    2424  </templates>
     25  <?lua include("includes/notifications.oxi") ?>
    2526
    2627  <Scene
     
    190191    </PickupSpawner>
    191192
     193    <PickupSpawner position="-25,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
     194      <pickup>
     195        <ShrinkPickup template ="smallshrinkpickup"/>
     196      </pickup>
     197    </PickupSpawner>
     198
     199    <PickupSpawner position="0,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
     200      <pickup>
     201        <ShrinkPickup template ="mediumshrinkpickup"/>
     202      </pickup>
     203    </PickupSpawner>
     204
     205    <PickupSpawner position="25,-50,-125" respawnTime="60" triggerDistance="20" maxSpawnedItems="5">
     206      <pickup>
     207        <ShrinkPickup template ="hugeshrinkpickup"/>
     208      </pickup>
     209    </PickupSpawner>
     210
     211    <!--StaticEntity position="0,-200,0" direction="0,-1,0" collisionType=static mass=500 friction=0.01 >
     212      <attached>
     213        <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
     214      </attached>
     215      <collisionShapes>
     216        <BoxCollisionShape position="0,0,0" halfExtents="10,10,10" />
     217      </collisionShapes>
     218  </StaticEntity-->
     219
    192220  </Scene>
    193221</Level>
  • code/trunk/data/levels/pirateAttack.oxw

    r8213 r8706  
    99  include("stats.oxo")
    1010  include("templates/spaceshipAssff.oxt")
    11   include("templates/spaceshipHXYSL.oxt")
    1211  include("templates/spaceshipPirate.oxt")
    1312  include("templates/lodInformation.oxt")
     
    3534    <Template link=lodtemplate_default />
    3635  </templates>
     36  <?lua include("includes/notifications.oxi") ?>
    3737
    3838    <Scene
  • code/trunk/data/levels/planets.oxw

    r8498 r8706  
    1919    <Template link="lodtemplate_default" />
    2020  </templates>
     21  <?lua include("includes/notifications.oxi") ?>
    2122
    2223  <Scene
  • code/trunk/data/levels/pong.oxw

    r7865 r8706  
    1515  <PongBat>
    1616    <camerapositions>
    17       <CameraPosition position="0,200,0" pitch=-90 absolute=true />
     17      <CameraPosition position="0,150,0" pitch=-90 absolute=true />
    1818      <CameraPosition position="0,50,160" drag=true mouselook=true />
    1919      <CameraPosition position="0,40,125" drag=true mouselook=true />
     
    5656    <Template link=lodtemplate_default />
    5757  </templates>
    58 
    59   <WorldAmbientSound source="mainmenu.ogg" playOnLoad=true />
     58  <?lua include("includes/notifications.oxi") ?>
     59
     60  <WorldAmbientSound source="Ganymede.ogg" playOnLoad=true looping=true />
    6061
    6162  <PongBot />
     
    6768    <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" />
    6869
    69     <?lua
    70       for i = 1, 10, 1 do
    71     ?>
    72       <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" />
    73     <?lua end ?>
     70    <SpawnPoint position="991.729, -110.11, 435.404" orientation="0.534038, 0.563456, 0.212168, 0.593553" />
    7471
    7572    <MovableEntity rotationrate=5 rotationaxis="0,0,1">
  • code/trunk/data/levels/portals.oxw

    • Property svn:eol-style set to native
    r8457 r8706  
    2121    <Template link=lodtemplate_default />
    2222  </templates>
     23  <?lua include("includes/notifications.oxi") ?>
    2324
    2425  <Scene
     
    3536    </Template>
    3637
    37     <PortalEndPoint position="0,0,0" id="1" distance="40" target="MobileEntity" design="PortalDefault"/>
    38     <PortalEndPoint position="-100,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
     38    <PortalEndPoint position="0,0,0" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>
     39    <PortalEndPoint position="-300,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>
    3940    <PortalLink fromID="1" toID="2" />
    4041    <PortalLink fromID="2" toID="1" />
  • code/trunk/data/levels/presentation.oxw

    r7679 r8706  
    1919    <Template link=lodtemplate_default />
    2020  </templates>
     21  <?lua include("includes/notifications.oxi") ?>
    2122
    2223  <Scene
  • code/trunk/data/levels/presentation09.oxw

    r8079 r8706  
    2121    <Template link=lodtemplate_default />
    2222  </templates>
     23  <?lua include("includes/notifications.oxi") ?>
    2324
    2425  <Scene
  • code/trunk/data/levels/presentation09b.oxw

    r8079 r8706  
    2323    <Template link=lodtemplate_default />
    2424  </templates>
     25  <?lua include("includes/notifications.oxi") ?>
    2526
    2627  <Scene
  • code/trunk/data/levels/presentationDM.oxw

    r8079 r8706  
    2020    <Template link=lodtemplate_default />
    2121  </templates>
     22  <?lua include("includes/notifications.oxi") ?>
    2223
    2324  <Scene
  • code/trunk/data/levels/presentationFS10.oxw

    r7679 r8706  
    2626    <Template link=lodtemplate_default />
    2727  </templates>
     28  <?lua include("includes/notifications.oxi") ?>
    2829
    2930  <Scene
  • code/trunk/data/levels/presentationFS102.oxw

    r8079 r8706  
    2121    <Template link=lodtemplate_default />
    2222  </templates>
     23  <?lua include("includes/notifications.oxi") ?>
    2324
    2425  <Scene
  • code/trunk/data/levels/presentationFS10Ed.oxw

    r8079 r8706  
    2121    <Template link=lodtemplate_default />
    2222  </templates>
     23  <?lua include("includes/notifications.oxi") ?>
    2324
    2425  <Scene
  • code/trunk/data/levels/presentationFS11.oxw

    • Property svn:eol-style set to native
    r8465 r8706  
    1313<?lua
    1414  include("templates/spaceshipAssff.oxt")
     15  include("templates/spaceshipAssff2.oxt")
    1516  include("templates/spaceshipPirate.oxt")
    1617?>
     
    2728    <Template link=lodtemplate_default />
    2829  </templates>
     30  <?lua include("includes/notifications.oxi") ?>
     31
     32  <NotificationQueueCEGUI
     33    name="narrative"
     34    targets="simpleNotification"
     35    size=1
     36    displayTime=30
     37    position="0.2, 0, 0.1, 0"
     38    fontSize="24"
     39    fontColor="0.3, 1, 0.2, 0.8"
     40    alignment="HorzCentred"
     41    displaySize="0.6, 0, 0, 0"
     42    />
    2943
    3044  <Scene
    3145    ambientlight = "0.8, 0.8, 0.8"
    32     skybox       = "Orxonox/Starbox"
     46    skybox       = "Orxonox/skyboxempty"
    3347  >
    3448
     
    3852
    3953    <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"/>
    40     <SpawnPoint team=0 position="0,0,0" lookat="2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    41 
    42 
    43     <!-- PICKUPS -->
    44     <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
    45       <pickup>
    46         <DronePickup template=dronepickup />
    47       </pickup>
    48     </PickupSpawner>
    49 
     54
     55    <!-- SOUND -->
     56    <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" />
     57    <WorldAmbientSound source="Mars.ogg" looping="true">
     58        <events>
     59            <activity>
     60                <DistanceTrigger position="-72369,803,2" distance=1700 target="Camera" />
     61            </activity>
     62        </events>
     63    </WorldAmbientSound>
     64    <WorldAmbientSound source="Jupiter.ogg" looping="true">
     65        <events>
     66            <activity>
     67                <DistanceTrigger position="-73450,5067,-351" distance=800 target="Camera" />
     68            </activity>
     69        </events>
     70    </WorldAmbientSound>
     71
     72    <!-- EARTH ORBIT -->
     73
     74    <DistanceTrigger name="spawntrigger" position="0,0,0" target="Pawn" distance=10 stayActive="true" />
     75    <DistanceTrigger name="spawndelaytrigger1" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=1 />
     76    <DistanceTrigger name="spawndelaytrigger2" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=7 />
     77    <DistanceTrigger name="spawndelaytrigger3" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=12 />
     78    <DistanceTrigger name="spawndelaytrigger4" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=15 />
     79    <DistanceTrigger name="spawndelaytrigger5" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=25 />
     80    <DistanceTrigger name="spawndelaytrigger6" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=35 />
     81    <DistanceTrigger name="spawndelaytrigger7" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=40 />
     82
     83    <SpawnPoint position="0,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff>
     84        <events>
     85            <activity>
     86                <EventTrigger invert="true">
     87                    <events>
     88                        <trigger>
     89                            <EventListener event="spawndelaytrigger1" />
     90                        </trigger>
     91                    </events>
     92                </EventTrigger>
     93            </activity>
     94        </events>
     95    </SpawnPoint>
     96
     97    <SimpleNotification message="Welcome to Earth Orbit" >
     98        <events>
     99            <trigger>
     100                <EventListener event=spawntrigger />
     101            </trigger>
     102        </events>
     103    </SimpleNotification>
     104    <SimpleNotification message="Turn right to witness an explosion" >
     105        <events>
     106            <trigger>
     107                <EventListener event=spawndelaytrigger1 />
     108            </trigger>
     109        </events>
     110    </SimpleNotification>
     111
     112    <!-- EARTH -->
     113    <Planet
     114      position="80500,0,0"
     115      scale="63000"
     116      collisionType="dynamic"
     117      linearDamping="0.8"
     118      angularDamping="0"
     119      mass="5.9e21"
     120      pitch="-90"
     121      yaw="50"
     122      mesh="planets/earth.mesh"
     123      atmosphere="atmosphere1"
     124      rotationaxis="0,1,0"
     125      rotationrate="0.2"
     126      atmospheresize="80.0f"
     127      imagesize="1024.0f"
     128      collisiondamage = 2
     129      enablecollisiondamage = true
     130    >
     131      <attached>
     132        <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" />
     133      </attached>
     134      <collisionShapes>
     135        <SphereCollisionShape radius="63000" position="0,0,0" />
     136      </collisionShapes>
     137    </Planet>
     138
     139    <!-- PARTICLE EFFECT -->
     140
     141    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp" autostart="false" lifetime=500 loop=1 startdelay=2.5>
     142        <events>
     143            <spawn>
     144                <EventListener event=spawndelaytrigger1 />
     145            </spawn>
     146        </events>
     147    </ParticleSpawner>
     148    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp2" autostart="false" lifetime=500 loop=1 startdelay=2>
     149        <events>
     150            <spawn>
     151                <EventListener event=spawndelaytrigger1 />
     152            </spawn>
     153        </events>
     154    </ParticleSpawner>
     155    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp3" autostart="false" lifetime=500 loop=1 startdelay=2>
     156        <events>
     157            <spawn>
     158                <EventListener event=spawndelaytrigger1 />
     159            </spawn>
     160        </events>
     161    </ParticleSpawner>
     162    <StaticEntity collisionType = "static" position = "-50,50,-125" scale=1 >
     163      <attached>
     164        <Model position="0,0,0" scale="2" mesh="ast1.mesh" />
     165      </attached>
     166      <collisionShapes>
     167        <SphereCollisionShape radius="8" />
     168      </collisionShapes>
     169    </StaticEntity>
     170       
     171    <SimpleNotification message="A particle effect by Tibor" >
     172        <events>
     173            <trigger>
     174                <EventListener event=spawndelaytrigger2 />
     175            </trigger>
     176        </events>
     177    </SimpleNotification>
     178
     179    <!-- ENEMIES 1st ROUND -->
     180
     181    <SimpleNotification message="Enemies attacking" >
     182        <events>
     183            <trigger>
     184                <EventListener event=spawndelaytrigger3 />
     185            </trigger>
     186        </events>
     187    </SimpleNotification>
     188
     189    <Script code="addBots 3" onLoad="false">
     190        <events>
     191            <trigger>
     192                <EventListener event=spawndelaytrigger3 />
     193            </trigger>
     194        </events>
     195    </Script>
     196
     197    <SpawnPoint position="100,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
     198        <events>
     199            <activity>
     200                <EventListener event=spawnpointtrigger />
     201            </activity>
     202        </events>
     203    </SpawnPoint>
     204
     205    <SpawnPoint position="0,-100,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
     206        <events>
     207            <activity>
     208                <EventListener event=spawnpointtrigger />
     209            </activity>
     210        </events>
     211    </SpawnPoint>
     212
     213    <SpawnPoint position="0,0,100" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
     214        <events>
     215            <activity>
     216                <EventListener event=spawnpointtrigger />
     217            </activity>
     218        </events>
     219    </SpawnPoint>
     220
     221    <Trigger name="spawnpointtrigger" mode="xor" invert="true" >
     222        <EventTrigger>
     223            <events>
     224                <trigger>
     225                    <EventListener event=spawndelaytrigger1 />
     226                </trigger>
     227            </events>
     228        </EventTrigger>
     229        <EventTrigger invert="true">
     230            <events>
     231                <trigger>
     232                    <EventListener event=portaltrigger />
     233                </trigger>
     234            </events>
     235        </EventTrigger>
     236    </Trigger>
     237
     238    <!-- SPACE BOUNDARY -->
     239
     240    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-90000,0,0"/>
     241    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,10000,0"/>
     242    <SpaceBoundaries warnDistance="1" maxDistance="450" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
     243    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-30000,0,0"/>
     244
     245    <SimpleNotification message="Notice the shields by Simon" >
     246        <events>
     247            <trigger>
     248                <EventListener event=spawndelaytrigger4 />
     249            </trigger>
     250        </events>
     251    </SimpleNotification>
     252
     253    <SimpleNotification message="and space boundaries by Maurus" >
     254        <events>
     255            <trigger>
     256                <EventListener event=spawndelaytrigger5 />
     257            </trigger>
     258        </events>
     259    </SimpleNotification>
     260
     261    <SimpleNotification message="Let's get out of here" >
     262        <events>
     263            <trigger>
     264                <EventListener event=spawndelaytrigger6 />
     265            </trigger>
     266        </events>
     267    </SimpleNotification>
     268
     269    <Script code="killBots" onLoad="false">
     270        <events>
     271            <trigger>
     272                <EventListener event=spawndelaytrigger6 />
     273            </trigger>
     274        </events>
     275    </Script>
     276
     277    <SimpleNotification message="Boost enhancement by Dominik" >
     278        <events>
     279            <trigger>
     280                <EventListener event=spawndelaytrigger7 />
     281            </trigger>
     282        </events>
     283    </SimpleNotification>
    50284   
    51     <!-- BOUNDARIES AND PORTALS -->
    52    
    53     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
    54     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-10000,0,0"/>
     285    <!-- PORTALS -->
    55286
    56287    <Template name=PortalDefault>
     
    62293    </Template>
    63294
    64     <PortalEndPoint position="350,0,0" id="1" distance="40" target="MobileEntity" design="PortalDefault"/>
    65     <PortalEndPoint position="-10300,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
    66     <PortalLink fromID="1" toID="2" />
    67     <PortalLink fromID="2" toID="1" />
    68 
    69 
    70 
    71     <!-- MODELS, DEBRIS, ETC -->
    72 
     295    <PortalEndPoint position="-350,0,0" id="3" distance="40" target="MobileEntity" design="PortalDefault" active="false">
     296        <events>
     297            <activity>
     298                <EventListener event=spawndelaytrigger6 />
     299            </activity>
     300        </events>
     301    </PortalEndPoint>
     302    <PortalEndPoint position="-72000,0,0" id="4" distance="40" target="MobileEntity" design="PortalDefault" />
     303    <PortalLink fromID="3" toID="4" />
     304    <PortalLink fromID="4" toID="3" />
     305
     306    <DistanceTrigger name="portaltrigger" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" />
     307    <DistanceTrigger name="portaldelaytrigger1" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=5 />
     308    <DistanceTrigger name="portaldelaytrigger2" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=10 />
     309    <DistanceTrigger name="portaldelaytrigger3" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=15 />
     310    <DistanceTrigger name="portaldelaytrigger4" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=17 />
     311
     312    <SimpleNotification message="Welcome to Moon Orbit" >
     313        <events>
     314            <trigger>
     315                <EventListener event=portaltrigger />
     316            </trigger>
     317        </events>
     318    </SimpleNotification>
     319
     320    <SimpleNotification message="Portals by Andreas" >
     321        <events>
     322            <trigger>
     323                <EventListener event=portaldelaytrigger1 />
     324            </trigger>
     325        </events>
     326    </SimpleNotification>
     327
     328    <!-- MOON AREA -->
     329   
     330    <!-- MOON -->
    73331    <Planet
    74       position="-5000,0,0"
    75       scale="400"
     332      position="-80000,0,0"
     333      scale="4000"
    76334      collisionType="dynamic"
    77335      linearDamping="0.8"
    78336      angularDamping="0"
    79       mass="10000000"
     337      mass="7.36e19"
    80338      pitch="0"
    81       mesh="planets/muunilinst.mesh"
     339      mesh="planets/moon.mesh"
    82340      atmosphere="atmosphere1"
    83       rotationaxis="1,0,0"
    84       rotationrate="1.0"
    85       atmospheresize="300.0f"
     341      rotationaxis="0,1,0"
     342      rotationrate="0.2"
     343      atmospheresize="0.0f"
    86344      imagesize="1024.0f"
     345      collisiondamage = 2
     346      enablecollisiondamage = true
    87347    >
     348      <attached>
     349        <ForceField position="0,0,0" mode="newtonianGravity" diameter="40000" massDiameter="34740" mass="7.36e19" />
     350      </attached>
    88351      <collisionShapes>
    89         <SphereCollisionShape radius="400" position="0,0,0" />
     352        <SphereCollisionShape radius="4000" position="0,0,0" />
    90353      </collisionShapes>
    91354    </Planet>
    92355
    93     <MovableEntity position="0,0,0">
    94       <attached>
    95         <Billboard position="-5000,0,0" material="Examples/Flare" colour="0, 0, 1" scale=10/>
    96       </attached>
    97     </MovableEntity>
    98 
     356    <SimpleNotification message="Hydrogen farmer/space station by Hans" >
     357        <events>
     358            <trigger>
     359                <EventListener event=portaldelaytrigger2 />
     360            </trigger>
     361        </events>
     362    </SimpleNotification>
     363
     364    <!-- HYDROGEN FARMER & DOCKING -->
     365    <SpaceShip position="-74000,2500,0" roll=90 yaw=180 pitch=20 mass=10000 health=100000 >
     366      <attached>
     367        <!-- Docking -->
     368        <DistanceTriggerBeacon name="bcnDestroyer" />
     369        <DockingTarget name="destroyer" />
     370
     371        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=100 />
     372        <!-- <Model mesh="cube.mesh" mass=10 position="-1120,0,0" scale3D="230,200,490"  /> -->
     373        <!-- <Model mesh="cube.mesh" mass=10 position="580,0,-960" scale3D="230,200,490" yaw=-120 /> -->
     374        <!-- <Model mesh="cube.mesh" mass=10 position="580,0,960" scale3D="230,200,490" yaw=-240 /> -->
     375        <!-- <Model mesh="cube.mesh" mass=10 position="0,0,0" scale3D="600,200,100" /> -->
     376      </attached>
     377      <collisionShapes>
     378        <BoxCollisionShape  position="-1120,0,0" halfExtents="230,200,490" />
     379        <BoxCollisionShape  position="580,0,-960" halfExtents="230,200,490" yaw=-120 />
     380        <BoxCollisionShape  position="580,0,960" halfExtents="230,200,490" yaw=-240 />
     381      </collisionShapes>
     382    </SpaceShip>
     383
     384    <Dock position="-73942, 1288, -255" roll=90 yaw=180 >
     385        <animations>
     386            <MoveToDockingTarget target="destroyer" />
     387        </animations>
     388        <effects>
     389            <DockToShip target="spaceShip" />
     390        </effects>
     391        <events>
     392            <execute>
     393                <EventListener event="dockMe" />
     394            </execute>
     395        </events>
     396        <attached>
     397            <DistanceTrigger position="10,-202, -42" distance="800" target="Pawn"
     398                beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
     399            />
     400        </attached>
     401    </Dock>
     402
     403    <SpaceShip template="spaceshipassff2" position="-73915,3786,67" orientation="-0.14045, 0.68254, 0.68144, 0.223774" >
     404      <attached>
     405        <DockingTarget name="spaceShip" />
     406      </attached>
     407    </SpaceShip>
     408
     409    <!-- PICKUPS -->
     410    <SimpleNotification message="Oh, what have we here?" >
     411        <events>
     412            <trigger>
     413                <EventListener event=portaldelaytrigger3 />
     414            </trigger>
     415        </events>
     416    </SimpleNotification>
     417
     418    <SimpleNotification message="Shrink pickup by Sandro" >
     419        <events>
     420            <trigger>
     421                <EventListener event=portaldelaytrigger4 />
     422            </trigger>
     423        </events>
     424    </SimpleNotification>
     425
     426    <PickupSpawner position="-72487,420,-63" respawnTime="10" triggerDistance="20" maxSpawnedItems="5" active="false">
     427      <pickup>
     428        <ShrinkPickup template ="smallshrinkpickup"/>
     429      </pickup>
     430      <events>
     431        <activity>
     432            <EventListener event=portaldelaytrigger3 />
     433        </activity>
     434      </events>
     435      <attached>
     436        <ParticleSpawner position="0,0,0" source="Orxonox/Shield" autostart="false" lifetime=500 loop=0 >
     437            <events>
     438                <spawn>
     439                    <EventListener event=portaldelaytrigger3 />
     440                </spawn>
     441            </events>
     442        </ParticleSpawner>
     443      </attached>
     444    </PickupSpawner>
     445
     446    <SpaceBoundaries warnDistance="1" maxDistance="1700" showDistance="500" healthDecrease="0.1" position="-72369,803,2"/>
     447    <SpaceBoundaries warnDistance="1" maxDistance="800" showDistance="300" healthDecrease="0.1" position="-73450,5067,-351"/>
     448
     449    <!-- FINISH -->
     450
     451    <DistanceTrigger name="dockingtrigger" position="-73942, 1288, -255" target="Pawn" distance=20 stayActive="true" />
     452    <DistanceTrigger name="dockingdelaytrigger1" position="-73942, 1288, -255" target="Pawn" distance=20 stayActive="true" delay=3 />
     453    <DistanceTrigger name="dockingdelaytrigger2" position="-73942, 1288, -255" target="Pawn" distance=20 stayActive="true" delay=10 />
     454
     455    <SimpleNotification message="Docking by Sven" >
     456        <events>
     457            <trigger>
     458                <EventListener event=dockingtrigger />
     459            </trigger>
     460        </events>
     461    </SimpleNotification>
     462
     463    <SimpleNotification message="Weapons by Jonas" >
     464        <events>
     465            <trigger>
     466                <EventListener event=dockingdelaytrigger1 />
     467            </trigger>
     468        </events>
     469    </SimpleNotification>
     470
     471    <SimpleNotification message="Steering enhancement by Manuel" >
     472        <events>
     473            <trigger>
     474                <EventListener event=dockingdelaytrigger2 />
     475            </trigger>
     476        </events>
     477    </SimpleNotification>
    99478   
    100479  </Scene>
  • code/trunk/data/levels/presentationHS09.oxw

    r8079 r8706  
    2424    <Template link=lodtemplate_default />
    2525  </templates>
     26  <?lua include("includes/notifications.oxi") ?>
    2627
    2728  <Scene
  • code/trunk/data/levels/presentationHS09b.oxw

    r8079 r8706  
    2929    <Template link=lodtemplate_default />
    3030  </templates>
     31  <?lua include("includes/notifications.oxi") ?>
    3132
    3233  <Scene
  • code/trunk/data/levels/princessAeryn.oxw

    r7679 r8706  
    2424    <Template link=lodtemplate_default />
    2525  </templates>
     26  <?lua include("includes/notifications.oxi") ?>
    2627
    2728  <Scene
  • code/trunk/data/levels/screenshot.oxw

    r7679 r8706  
    2222    <Template link=lodtemplate_default />
    2323  </templates>
     24  <?lua include("includes/notifications.oxi") ?>
    2425
    2526  <Scene
  • code/trunk/data/levels/sound.oxw

    r7854 r8706  
    2323    <Template link=lodtemplate_default />
    2424  </templates>
     25  <?lua include("includes/notifications.oxi") ?>
    2526
    2627  <Scene
  • code/trunk/data/levels/teamBaseMatch.oxw

    r8079 r8706  
    2323    <Template link=lodtemplate_default />
    2424  </templates>
     25  <?lua include("includes/notifications.oxi") ?>
    2526
    2627  <Scene
  • code/trunk/data/levels/teamDeathMatch.oxw

    r7679 r8706  
    2222    <Template link=lodtemplate_default />
    2323  </templates>
     24  <?lua include("includes/notifications.oxi") ?>
    2425
    2526  <Scene
  • code/trunk/data/levels/templates/lodInformation.oxt

    r8528 r8706  
    1414      <MeshLodInformation mesh=SolarPanel.mesh enabled=false/>
    1515      <MeshLodInformation mesh=CuboidLandingZone.mesh enabled=false/>
     16      <MeshLodInformation mesh=HydroHarvester.mesh enabled=false />
    1617
    1718      <!-- disable LOD for some debris meshes which caused a crash (fixed in Ogre 1.7.3) -->
  • code/trunk/data/levels/templates/pickupRepresentationTemplates.oxt

    r7679 r8706  
    391391  <InvisiblePickup
    392392    duration = 20.0
     393    activaionType = "immediate"
     394    durationType = "continuous"
     395  />
     396</Template>
     397
     398<Template name=smallshrinkpickupRepresentation>
     399    <PickupRepresentation>
     400        <spawner-representation>
     401            <StaticEntity>
     402                <attached>
     403                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
     404                        <attached>
     405                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.4 />
     406                        </attached>
     407                    </Billboard>
     408                </attached>
     409            </StaticEntity>
     410        </spawner-representation>
     411    </PickupRepresentation>
     412</Template>
     413
     414<Template name=smallshrinkpickup>
     415  <InvisiblePickup
     416    duration = 10.0
     417    shrinkFactor = 2.5
     418    activaionType = "immediate"
     419    durationType = "continuous"
     420  />
     421</Template>
     422
     423<Template name=mediumshrinkpickupRepresentation>
     424    <PickupRepresentation>
     425        <spawner-representation>
     426            <StaticEntity>
     427                <attached>
     428                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
     429                        <attached>
     430                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=0.7 />
     431                        </attached>
     432                    </Billboard>
     433                </attached>
     434            </StaticEntity>
     435        </spawner-representation>
     436    </PickupRepresentation>
     437</Template>
     438
     439<Template name=mediumshrinkpickup>
     440  <InvisiblePickup
     441    duration = 30.0
     442    shrinkFactor = 5.0
     443    activaionType = "immediate"
     444    durationType = "continuous"
     445  />
     446</Template>
     447
     448<Template name=hugeshrinkpickupRepresentation>
     449    <PickupRepresentation>
     450        <spawner-representation>
     451            <StaticEntity>
     452                <attached>
     453                    <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Sphere2" scale=0.1>
     454                        <attached>
     455                            <Billboard position="0,0,0" colour="1.0,0.55,1.0" material="Shrink" scale=1.0 />
     456                        </attached>
     457                    </Billboard>
     458                </attached>
     459            </StaticEntity>
     460        </spawner-representation>
     461    </PickupRepresentation>
     462</Template>
     463
     464<Template name=hugeshrinkpickup>
     465  <InvisiblePickup
     466    duration = 60.0
     467    shrinkFactor = 10.0
    393468    activaionType = "immediate"
    394469    durationType = "continuous"
  • code/trunk/data/levels/templates/spaceshipAssff.oxt

    r7845 r8706  
    33   hudtemplate            = spaceshiphud
    44   camerapositiontemplate = spaceshipassffcameras
    5    engine                 = spaceshipassffengine
    65   spawnparticlesource    = "Orxonox/fairytwirl"
    76   spawnparticleduration  = 3
     
    1211   initialhealth     = 100
    1312
    14    primaryThrust     = 100;
    15    auxilaryThrust    = 30;
    16    rotationThrust    = 25;
     13   shieldhealth        = 30
     14   initialshieldhealth = 30
     15   maxshieldhealth     = 50
     16   shieldabsorption    = 0.8
     17   reloadrate          = 1
     18   reloadwaittime      = 1
     19
     20   primaryThrust     = 100
     21   auxilaryThrust    = 30
     22   rotationThrust    = 50
     23
     24   lift = 1;
     25   stallSpeed = 220;
     26
     27   boostPower            = 15
     28   boostPowerRate        = 1
     29   boostRate             = 5
     30   boostCooldownDuration = 10
     31
     32   shakeFrequency = 15
     33   shakeAmplitude = 9
    1734
    1835   collisionType     = "dynamic"
     
    2138   angularDamping    = 0.9999999
    2239  >
     40    <engines>
     41      <MultiStateEngine position=" 7.6, 0, 6" template=spaceshipassffengine />
     42      <MultiStateEngine position="-7.6, 0, 0" template=spaceshipassffengine />
     43    </engines>
    2344    <attached>
    2445      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="assff.mesh" />
     
    7798    </EffectContainer>
    7899    <EffectContainer condition="not idle">
    79       <FadingBillboard mainstate=activity active=false scale=0.1 position="0, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    80 <!--
    81       <Light mainstate=visibility position=" 8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point />
    82       <Light mainstate=visibility position="-8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point />
    83 -->
     100      <FadingBillboard mainstate=activity active=false scale=0.1 position="7.6, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     101      <FadingBillboard mainstate=activity active=false scale=0.1 position="-7.6, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    84102    </EffectContainer>
    85103    <EffectContainer condition="normal or brake">
     
    87105    </EffectContainer>
    88106    <EffectContainer condition="normal or boost">
    89       <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    90       <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     107      <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 0" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
     108      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 0" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    91109    </EffectContainer>
    92110    <EffectContainer condition="boost">
     
    94112      <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    95113    </EffectContainer>
    96     <EffectContainer condition="brake">
     114<!--    <EffectContainer condition="brake">
    97115      <FadingBillboard mainstate=activity active=false scale=0.3 position=" 8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    98116      <FadingBillboard mainstate=activity active=false scale=0.3 position="-8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
     
    100118      <FadingBillboard mainstate=activity active=false scale=0.15 position="-8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
    101119    </EffectContainer>
     120-->
    102121  </MultiStateEngine>
    103122</Template>
  • code/trunk/data/levels/templates/spaceshipGhost.oxt

    r7679 r8706  
    33   hudtemplate            = spaceshiphud
    44   camerapositiontemplate = spaceshipghostcameras
    5    engine                 = spaceshipghostengine
     5
    66   spawnparticlesource    = "Orxonox/fairytwirl"
    77   spawnparticleduration  = 3
     
    2121   angularDamping    = 0.9999999
    2222  >
    23 
     23    <engines>
     24      <MultiStateEngine position="0,0,0" template=spaceshipghostengine/>
     25    </engines>
    2426    <attached>
    2527      <Model position="0,0,0" scale=2 yaw=90 pitch=-90 roll=0 mesh="ghost.mesh" />
  • code/trunk/data/levels/templates/spaceshipH2.oxt

    r7679 r8706  
    33   hudtemplate            = spaceshiphud
    44   camerapositiontemplate = spaceshipHtwocameras
    5    engine                 = spaceshipHtwoengine
    65   spawnparticlesource    = "Orxonox/fairytwirl"
    76   spawnparticleduration  = 3
     
    2524  include("includes/weaponSettingsH2.oxi")
    2625?>
     26    <engines>
     27      <MultiStateEngine position="0,0,0" template=spaceshipHtwoengine />
    2728
     29    </engines>
    2830    <attached>
    2931      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale3D="3,0.833,0.833" mesh="h2_green.mesh" />
  • code/trunk/data/levels/templates/spaceshipHXY.oxt

    r7679 r8706  
    2121   angularDamping    = 0.9999999
    2222  >
     23    <engines>
     24      <MultiStateEngine position=" 0, 0, 0" template=spaceshipHXYengine />
     25    </engines>
    2326    <attached>
    2427      <Model position="0,0,0" yaw=180 pitch=-90 roll=0 scale=4 mesh="HXY.mesh" />
  • code/trunk/data/levels/templates/spaceshipHXYSL.oxt

    r8398 r8706  
    33   hudtemplate            = spaceshiphud
    44   camerapositiontemplate = spaceshipHXYcameras
    5    engine                 = spaceshipHXYengine
    65   spawnparticlesource    = "Orxonox/fairytwirl"
    76   spawnparticleduration  = 3
     
    2120   angularDamping    = 0.9999999
    2221  >
     22    <engines>
     23      <MultiStateEngine position=" 0, 0, 0" template=spaceshipHXYengine />
     24    </engines>
    2325    <attached>
    2426      <Model position="0,0,0" yaw=180 pitch=-90 roll=0 scale=4 mesh="HXY.mesh" />
     
    3840  </SpaceShip>
    3941</Template>
    40 
    41 <Template name=spaceshipHXYcameras defaults=0>
    42   <SpaceShip>
    43     <camerapositions>
    44       <CameraPosition position="0,8, 60" drag=true mouselook=true />
    45       <CameraPosition position="0,16, 120" drag=true mouselook=true />
    46       <CameraPosition position="0,24,180" drag=true mouselook=true />
    47       <CameraPosition position="0,60,10" pitch="-80" drag=true mouselook=true />
    48     </camerapositions>
    49   </SpaceShip>
    50 </Template>
    51 
    52 <Template name=spaceshipHXYengine baseclass=MultiStateEngine>
    53   <MultiStateEngine
    54    boostfactor    = 6
    55 
    56    speedfront     = 150
    57    speedback      =  50
    58    speedleftright =  50
    59    speedupdown    =  50
    60 
    61    accelerationfront     = 500
    62    accelerationbrake     = 500
    63    accelerationback      =  125
    64    accelerationleftright =  125
    65    accelerationupdown    =  125
    66   >
    67     <EffectContainer condition="idle">
    68     </EffectContainer>
    69     <EffectContainer condition="not idle">
    70 
    71     </EffectContainer>
    72     <EffectContainer condition="normal or brake">
    73 
    74     </EffectContainer>
    75     <EffectContainer condition="normal or boost">
    76       <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 2, 0, 20" colour="1, 0.7, 0.1, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    77       <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-2, 0, 20" colour="1, 0.7, 0.1, 1.0" width=10 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    78     </EffectContainer>
    79     <EffectContainer condition="boost">
    80       <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 2, 0, 20" colour="1, 0.7, 0.1, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    81       <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-2, 0, 20" colour="1, 0.7, 0.1, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    82     </EffectContainer>
    83     <EffectContainer condition="brake">
    84       <FadingBillboard mainstate=activity active=false scale=0.3 position=" 2, 0, 20" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    85       <FadingBillboard mainstate=activity active=false scale=0.3 position="-2, 0, 20" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    86       <FadingBillboard mainstate=activity active=false scale=0.15 position=" 2, 0, 20" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
    87       <FadingBillboard mainstate=activity active=false scale=0.15 position="-2, 0, 20" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
    88     </EffectContainer>
    89   </MultiStateEngine>
    90 </Template>
  • code/trunk/data/levels/templates/spaceshipPirate.oxt

    r7679 r8706  
    33   hudtemplate            = spaceshiphud
    44   camerapositiontemplate = spaceshippiratecameras
    5    engine                 = spaceshippirateengine
    65   spawnparticlesource    = "Orxonox/fairytwirl"
    76   spawnparticleduration  = 3
     
    2120   angularDamping    = 0.9999999
    2221  >
     22    <engines>
     23      <MultiStateEngine position=" 0, 0, 0" template=spaceshippirateengine />
     24    </engines>
    2325    <attached>
    2426      <Model position="0,0,0" yaw=90 pitch=-90 roll=0 scale=4 mesh="pirate.mesh" />
  • code/trunk/data/levels/templates/spaceshipSwallow.oxt

    r7679 r8706  
    33   hudtemplate            = spaceshiphud
    44   camerapositiontemplate = spaceshipswallowcameras
    5    engine                 = spaceshipswallowengine
    65   spawnparticlesource    = "Orxonox/fairytwirl"
    76   spawnparticleduration  = 3
     
    2120   angularDamping    = 0.9999999
    2221  >
    23 
     22    <engines>
     23      <MultiStateEngine position=" 0, 0, 0" template=spaceshipswallowengine />
     24    </engines>
    2425    <attached>
    2526      <Model position="0,0,0" scale=2 yaw=90 pitch=-90 roll=0 mesh="swallow_mat.mesh" />
  • code/trunk/data/levels/templates/spaceshipTransporter.oxt

    r7679 r8706  
    33   hudtemplate            = spaceshiphud
    44   camerapositiontemplate = spaceshipTransportercameras
    5    engine                 = spaceshipTransporterengine
    65   spawnparticlesource    = "Orxonox/fairytwirl"
    76   spawnparticleduration  = 3
     
    2120   angularDamping    = 0.9999999
    2221  >
     22    <engines>
     23      <MultiStateEngine position=" 0, 0, 0" template=spaceshipTransporterengine />
     24    </engines>
    2325    <attached>
    2426      <Model position="0,0,0" yaw=0 pitch=0 roll=0 scale=10 mesh="Transporter.mesh" />
  • code/trunk/data/levels/templates/spaceshipTransporterSL.oxt

    r7679 r8706  
    33   hudtemplate            = spaceshiphud
    44   camerapositiontemplate = spaceshipTransportercameras
    5    engine                 = spaceshipTransporterengine
    65   spawnparticlesource    = "Orxonox/fairytwirl"
    76   spawnparticleduration  = 3
     
    2120   angularDamping    = 0.9999999
    2221  >
     22    <engines>
     23      <MultiStateEngine position=" 0, 0, 0" template=spaceshipTransporterengine />
     24    </engines>
    2325    <attached>
    2426      <Model position="0,0,0" yaw=0 pitch=0 roll=0 scale=10 mesh="Transporter.mesh" />
     
    3840  </SpaceShip>
    3941</Template>
    40 
    41 <Template name=spaceshipTransportercameras defaults=0>
    42   <SpaceShip>
    43     <camerapositions>
    44       <CameraPosition position="0,90,350" drag=true mouselook=true />
    45       <CameraPosition position="0,150, 400" drag=true mouselook=true />
    46       <CameraPosition position="0,200,550" drag=true mouselook=true />
    47       <CameraPosition position="0,120,200" pitch="-80" drag=true mouselook=true />
    48     </camerapositions>
    49   </SpaceShip>
    50 </Template>
    51 
    52 <Template name=spaceshipTransporterengine baseclass=MultiStateEngine>
    53   <MultiStateEngine
    54    boostfactor    = 2
    55 
    56    speedfront     = 50
    57    speedback      =  10
    58    speedleftright =  10
    59    speedupdown    =  10
    60 
    61 
    62    accelerationfront     = 20
    63    accelerationbrake     = 20
    64    accelerationback      = 10
    65    accelerationleftright =  10
    66    accelerationupdown    =  10
    67   >
    68     <EffectContainer condition="idle">
    69     </EffectContainer>
    70     <EffectContainer condition="not idle">
    71 
    72     </EffectContainer>
    73     <EffectContainer condition="normal or brake">
    74 
    75     </EffectContainer>
    76     <EffectContainer condition="normal or boost">
    77       <Backlight mainstate=activity active=false scale=2 name=bltest position=" 22, -10, 87" colour="1, 0.7, 0.1, 1.0" width=10 length=3000 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    78       <Backlight mainstate=activity active=false scale=2 name=bltest position="-22, -10, 87" colour="1, 0.7, 0.1, 1.0" width=10 length=3000 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" />
    79     </EffectContainer>
    80     <EffectContainer condition="boost">
    81       <Backlight mainstate=activity active=false scale=3 name=bltest position=" 22, -10, 87" colour="1, 0.7, 0.1, 0.7" width=25 length=2000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    82       <Backlight mainstate=activity active=false scale=3 name=bltest position="-22, -10, 87" colour="1, 0.7, 0.1, 0.7" width=25 length=2000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />
    83     </EffectContainer>
    84     <EffectContainer condition="brake">
    85       <FadingBillboard mainstate=activity active=false scale=2 position=" 22, -10, 87" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    86       <FadingBillboard mainstate=activity active=false scale=2 position="-22, -10, 87" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
    87       <FadingBillboard mainstate=activity active=false scale=1 position="22, -10, 87" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
    88       <FadingBillboard mainstate=activity active=false scale=1 position="-22, -10, 87" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 />
    89     </EffectContainer>
    90   </MultiStateEngine>
    91 </Template>
  • code/trunk/data/levels/testStars.oxw

    r7679 r8706  
    2323    <Template link=lodtemplate_default />
    2424  </templates>
     25  <?lua include("includes/notifications.oxi") ?>
    2526
    2627  <Scene
  • code/trunk/data/levels/testSwallow.oxw

    r8079 r8706  
    2222    <Template link=lodtemplate_default />
    2323  </templates>
     24  <?lua include("includes/notifications.oxi") ?>
    2425
    2526  <Scene
  • code/trunk/data/levels/theTimeMachine.oxw

    r8213 r8706  
    6868        <Template link=lodtemplate_default />
    6969    </templates>
     70    <?lua include("includes/notifications.oxi") ?>
     71   
    7072    <Scene
    7173        ambientlight="0.8,0.8,0.8"
  • code/trunk/data/levels/tutorial.oxw

    r7679 r8706  
    1919    <Template link=lodtemplate_default />
    2020  </templates>
     21  <?lua include("includes/notifications.oxi") ?>
    2122
    2223  <Scene
  • code/trunk/data/levels/underAttack.oxw

    r8079 r8706  
    1515    <Template link=lodtemplate_default />
    1616  </templates>
     17  <?lua include("includes/notifications.oxi") ?>
    1718
    1819  <Scene
  • code/trunk/data/levels/waypoints.oxw

    r7679 r8706  
    2121    <Template link=lodtemplate_default />
    2222  </templates>
     23  <?lua include("includes/notifications.oxi") ?>
    2324
    2425  <Scene
Note: See TracChangeset for help on using the changeset viewer.