Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9521


Ignore:
Timestamp:
Dec 16, 2012, 1:21:43 AM (11 years ago)
Author:
jo
Message:

Improved level version.

Location:
code/branches/presentationHS12/data/levels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS12/data/levels/pong.oxw

    r9348 r9521  
    9393<!-- TODO: Create a Pong Score Sound and include it here.
    9494This WorldSound works, but doesn't make sense, since it is played together with ambient/moodDependedDirectory/Ganymede.ogg -->
    95             <!--WorldSound name="scoreSound" position="0,0,0" source="ambient/default/Earth.ogg" >
     95            <!--WorldSound name="scoreSound" position="0,0,0" source="sounds/PongScore_cut.ogg" >
    9696              <events>
    9797                <play>
  • code/branches/presentationHS12/data/levels/presentationHS12.oxw

    r9520 r9521  
    3939  <?lua include("includes/notifications.oxi") ?>
    4040
     41  <NotificationQueueCEGUI
     42    name="narrative"
     43    targets="simpleNotification"
     44    size=1
     45    displayTime=30
     46    position="0.2, 0, 0.1, 0"
     47    fontSize="24"
     48    fontColor="0.3, 1, 0.2, 0.8"
     49    alignment="HorzCentred"
     50    displaySize="0.6, 0, 0, 0"
     51    />
     52
    4153  <Scene
    4254    ambientlight = "0.8, 0.8, 0.8"
    43     skybox       = "Orxonox/Starbox"
    44   >
     55    skybox       = "Orxonox/skyBoxMoreNebula"
     56  > <!-- Orxonox/Starbox -->
    4557    <?lua
    4658      include("includes/pickups.oxi")
     
    4860
    4961    <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"/>
    50     <!--SpawnPoint team=0 position="-800,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /-->
     62    <SpawnPoint team=0 position="-800,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
    5163    <!--SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=bigship /-->
    52     <SpawnPoint team=0 position="-900,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage />
     64    <!--SpawnPoint team=0 position="-900,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage /-->
     65    <!--SpawnPoint team=0 position="6000,0,2000" lookat="1,1,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage /-->
    5366   
    5467    <SpaceRaceManager>
    5568        <checkpoints>
    56             <RaceCheckPoint name="checkpoint1" position="000,0,0" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="0" islast="false" nextcheckpoints="1,2,3">
    57                 <attached>
    58                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=90 />
     69            <RaceCheckPoint name="checkpoint1" position="000,0,0" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="0" islast="false" nextcheckpoints="1,2,3">
     70                <attached>
     71                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=90 />
    5972                </attached>
    6073            </RaceCheckPoint>
    6174<!--- first three alternative paths --->
    62             <RaceCheckPoint name="checkpoint2" position="1300,0,-800" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="1" islast="false" nextcheckpoints="7,-1,-1">
    63                 <attached>
    64                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=90/>
    65                 </attached>
    66             </RaceCheckPoint>
    67 
    68             <RaceCheckPoint name="checkpoint3" position="1200,-400,0" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="2" islast="false" nextcheckpoints="5,-1,-1">
    69                 <attached>
    70                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=90 />
    71                 </attached>
    72             </RaceCheckPoint>
    73 
    74             <RaceCheckPoint name="checkpoint4" position="1200,100,700" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="3" islast="false" nextcheckpoints="6,-1,-1">
    75                 <attached>
    76                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=90 />
     75            <RaceCheckPoint name="checkpoint2" position="1300,0,-800" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="1" islast="false" nextcheckpoints="7,-1,-1">
     76                <attached>
     77                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=90/>
     78                </attached>
     79            </RaceCheckPoint>
     80
     81            <RaceCheckPoint name="checkpoint3" position="1200,-400,0" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="2" islast="false" nextcheckpoints="5,-1,-1">
     82                <attached>
     83                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=90 />
     84                </attached>
     85            </RaceCheckPoint>
     86
     87            <RaceCheckPoint name="checkpoint4" position="1200,100,700" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="3" islast="false" nextcheckpoints="6,-1,-1">
     88                <attached>
     89                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=90 />
    7790                </attached>
    7891            </RaceCheckPoint>
    7992
    8093<!--- second three alternative paths --->
    81             <!--RaceCheckPoint name="checkpoint5" position="2000,500,-400" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="4" islast="false" nextcheckpoints="7,-1,-1">
    82                 <attached>
    83                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=90 />
     94            <!--RaceCheckPoint name="checkpoint5" position="2000,500,-400" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="4" islast="false" nextcheckpoints="7,-1,-1">
     95                <attached>
     96                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=90 />
    8497                </attached>
    8598            </RaceCheckPoint-->
    8699
    87             <RaceCheckPoint name="checkpoint6" position="2000,0,0" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="5" islast="false" nextcheckpoints="8,9,-1">
    88                 <attached>
    89                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=90 />
    90                 </attached>
    91             </RaceCheckPoint>
    92 
    93             <RaceCheckPoint name="checkpoint7" position="2000,-500,400" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="6" islast="false" nextcheckpoints="10,-1,-1">
    94                 <attached>
    95                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=90 />
     100            <RaceCheckPoint name="checkpoint6" position="2000,0,0" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="5" islast="false" nextcheckpoints="8,9,-1">
     101                <attached>
     102                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=90 />
     103                </attached>
     104            </RaceCheckPoint>
     105
     106            <RaceCheckPoint name="checkpoint7" position="2000,-500,400" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="6" islast="false" nextcheckpoints="10,-1,-1">
     107                <attached>
     108                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=90 />
    96109                </attached>
    97110            </RaceCheckPoint>
     
    100113<!--- third generation --->
    101114
    102             <RaceCheckPoint name="checkpoint8" position="5000,0,-3000" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="7" islast="false" nextcheckpoints="12,-1,-1">
    103                 <attached>
    104                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=135 />
    105                 </attached>
    106             </RaceCheckPoint>
    107 
    108             <RaceCheckPoint name="checkpoint9" position="3500,800,0" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="8" islast="false" nextcheckpoints="11,-1,-1">
    109                 <attached>
    110                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=90 />
    111                 </attached>
    112             </RaceCheckPoint>
    113 
    114             <RaceCheckPoint name="checkpoint10" position="3500,-800,0" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="9" islast="false" nextcheckpoints="11,-1,-1">
    115                 <attached>
    116                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=90 />
    117                 </attached>
    118             </RaceCheckPoint>
    119 
    120             <RaceCheckPoint name="checkpoint11" position="3500,0,1000" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="10" islast="false" nextcheckpoints="12,-1,-1">
    121                 <attached>
    122                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=90 />
    123                 </attached>
    124             </RaceCheckPoint>
    125 
    126 <!-- Intermediate -->
    127             <RaceCheckPoint name="checkpoint12" position="4500,0,-100" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="11" islast="false" nextcheckpoints="12,-1,-1">
    128                 <attached>
    129                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=90 />
    130                 </attached>
    131             </RaceCheckPoint>
    132 
    133 <!----  GOAL  ---->
    134             <RaceCheckPoint name="checkpoint13" position="6000,0,2000" direction="0,-1,1" collisionType="static" scale="1" distance="40" checkpointindex="12" islast="true">
    135                 <attached>
    136                     <Model mass="50" scale="7" mesh="BigSpacegate.mesh" yaw=100 />
     115            <RaceCheckPoint name="checkpoint8" position="5000,0,-3000" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="7" islast="false" nextcheckpoints="12,-1,-1">
     116                <attached>
     117                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=135 />
     118                </attached>
     119            </RaceCheckPoint>
     120
     121            <RaceCheckPoint name="checkpoint9" position="3500,800,0" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="8" islast="false" nextcheckpoints="11,-1,-1">
     122                <attached>
     123                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=90 />
     124                </attached>
     125            </RaceCheckPoint>
     126
     127            <RaceCheckPoint name="checkpoint10" position="3500,-800,0" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="9" islast="false" nextcheckpoints="11,-1,-1">
     128                <attached>
     129                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=90 />
     130                </attached>
     131            </RaceCheckPoint>
     132
     133            <RaceCheckPoint name="checkpoint11" position="3500,0,1000" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="10" islast="false" nextcheckpoints="12,-1,-1">
     134                <attached>
     135                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=90 />
     136                </attached>
     137            </RaceCheckPoint>
     138
     139<!-- Intermediate Solo Gate -->
     140            <RaceCheckPoint name="checkpoint12" position="4500,0,-100" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="11" islast="false" nextcheckpoints="12,-1,-1">
     141                <attached>
     142                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=90 />
     143                </attached>
     144            </RaceCheckPoint>
     145
     146<!----  First Common Point  ---->
     147            <RaceCheckPoint name="checkpoint13" position="6000,0,2000" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="12" islast="false" nextcheckpoints="13,14,-1">
     148                <attached>
     149                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=100 pitch=45 />
     150                </attached>
     151            </RaceCheckPoint>
     152
     153<!-- Two Paths (1) -->
     154            <RaceCheckPoint name="checkpoint14" position="7500,-1500,2500" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="13" islast="false" nextcheckpoints="15,-1,-1">
     155                <attached>
     156                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=100 pitch=130 roll=1 />
     157                    <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.6,0.4,0.1" scale=3 />
     158                </attached>
     159            </RaceCheckPoint>
     160
     161            <RaceCheckPoint name="checkpoint15" position="7500,-1500,1500" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="14" islast="false" nextcheckpoints="16,-1,-1">
     162                <attached>
     163                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=100 pitch=90 />
     164                </attached>
     165            </RaceCheckPoint>
     166
     167<!-- Two Paths (2) -->
     168            <RaceCheckPoint name="checkpoint16" position="9000,-3000, 3000" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="15" islast="false" nextcheckpoints="17,-1,-1">
     169                <attached>
     170                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=100 pitch=130 roll=1 />
     171                    <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=3 />
     172                </attached>
     173            </RaceCheckPoint>
     174
     175            <RaceCheckPoint name="checkpoint17" position="9000,-3000,1000" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="16" islast="false" nextcheckpoints="17,-1,-1">
     176                <attached>
     177                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=100 pitch=110 />
     178                </attached>
     179            </RaceCheckPoint>
     180
     181<!-- GOAL -->
     182            <RaceCheckPoint name="checkpoint18" position="12000,-4000,2000" direction="0,-1,1" collisionType="static" scale="1" distance="70" checkpointindex="17" islast="true">
     183                <attached>
     184                    <Model mass="50" scale="6" mesh="BigSpacegate.mesh" yaw=100 pitch=135 />
    137185                </attached>
    138186            </RaceCheckPoint>
    139187        </checkpoints>
    140188    </SpaceRaceManager>
     189
     190
     191
     192
    141193
    142194<!-- Simplify paths -->
     
    158210
    159211    <!-- ForceField -->
    160 
     212800,400,0
     213        <ForceField position="1200,-400,0" direction="8,4,0" diameter=500 velocity=2000 length=500 />
     214        <MovableEntity position="1200,-400,0">
     215            <attached>
     216                <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.1,0.1,0.1" scale=1/>
     217                <?lua for i=0,4,1 do ?>
     218                    <Billboard position="<?lua print(i*200) ?>,<?lua print(i*100) ?>,-100" material="Examples/Flare" colour="0.1,0.1,0.1" scale=1/>
     219                    <Billboard position="<?lua print(i*200) ?>,<?lua print(i*100) ?>,100" material="Examples/Flare" colour="0.1,0.1,0.1" scale=1/>
     220                <?lua end ?>
     221                </attached>
     222        </MovableEntity>
    161223
    162224
    163225   <!-- Pickup -->
    164    <PickupSpawner pickup=mediumspeedpickup position="5300,0,-2300" triggerDistance="60" respawnTime="10" maxSpawnedItems="99" scale="12" />
     226   <PickupSpawner pickup=smallspeedpickup position="5300,0,-2300" triggerDistance="60" respawnTime="10" maxSpawnedItems="99" scale="12" />
     227
     228
     229<!--- SCENERY --->
     230    <!-- @Objects: HYDROGEN FARMER-->
     231    <StaticEntity position="5700,0,-3700" mass=10000 >
     232      <attached>
     233        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 />
     234        <ParticleEmitter position="0,0,0" source="Orxonox/ThrusterFire" scale=1.2 />
     235   <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245"  />
     236        <Model mesh="cube.mesh" mass=10 position="290,0,-480" scale3D="115,100,245" yaw=-120 />
     237        <Model mesh="cube.mesh" mass=10 position="290,0,480" scale3D="115,100,245" yaw=-240 />
     238        <Model mesh="cube.mesh" mass=10 position="-280,0,0" scale3D="163,50,50" />
     239        <Model mesh="cube.mesh" mass=10 position="140,0,-240" scale3D="163,50,50"  yaw=-120/>
     240        <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="163,50,50" yaw=-240/>
     241        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" />
     242        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/>
     243        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/>
     244        <Model mesh="cube.mesh" mass=10 position="0,400,0" scale3D="43,110,26" yaw=-30 />
     245        <Model mesh="cube.mesh" mass=10 position="-200,100,0" scale3D="26,50,43" />
     246        <Model mesh="cube.mesh" mass=10 position="100,100,-173" scale3D="43,50,26" yaw=-30/>
     247        <Model mesh="cube.mesh" mass=10 position="100,100,173" scale3D="43,50,26" yaw=30/>
     248        <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/>
     249        <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/>
     250        <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/>     -->
     251      </attached>
     252      <collisionShapes>
     253        <BoxCollisionShape  position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes -->
     254        <BoxCollisionShape  position="290,0,-480" halfExtents="115,100,245" yaw=-120 />
     255        <BoxCollisionShape  position="290,0,480" halfExtents="115,100,245" yaw=-240 />
     256        <BoxCollisionShape  position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections -->
     257        <BoxCollisionShape  position="140,0,-240" halfExtents="163,50,50" yaw=-120 />
     258        <BoxCollisionShape  position="140,0,240" halfExtents="163,50,50" yaw=-240 />
     259        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower -->
     260        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-120 />
     261        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-240 />
     262        <BoxCollisionShape  position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one-->
     263        <BoxCollisionShape  position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs -->
     264        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=-30 />
     265        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=30 />
     266        <BoxCollisionShape  position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs -->
     267        <BoxCollisionShape  position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 />
     268        <BoxCollisionShape  position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 />
     269      </collisionShapes>
     270    </StaticEntity>
     271
     272    <StaticEntity position="2800,0,0" mass=10000 pitch=0 roll=45 yaw=240 >
     273      <attached>
     274        <Model position="0,0,0" yaw=0 pitch=180 roll=0 scale=40 mesh="bsBody.mesh" />
     275        <Model position="0,0,0" yaw=0 pitch=180 roll=0 scale=40 mesh="bsDuseL.mesh" />
     276        <Model position="0,0,0" yaw=0 pitch=180 roll=0 scale=40 mesh="bsDuseR.mesh" />
     277        <Model position="0,0,0" yaw=0 pitch=180 roll=0 scale=40 mesh="bsKuppelV.mesh" />
     278        <Model position="0,0,0" yaw=0 pitch=180 roll=0 scale=40 mesh="bsKuppelK.mesh" />
     279        <Model position="0,0,0" yaw=0 pitch=180 roll=0 scale=40 mesh="bsAntL.mesh" />
     280        <Model position="0,0,0" yaw=0 pitch=180 roll=0 scale=40 mesh="bsAntR.mesh" />
     281        <Model position="0,0,0" yaw=0 pitch=180 roll=0 scale=40 mesh="bsGarage.mesh" />
     282        <Model position="0,0,0" yaw=0 pitch=180 roll=0 scale=40 mesh="bsStation.mesh" />
     283
     284        <BlinkingBillboard position="20,-24,160" material="Examples/Flare" colour="0.3, 0.3, 1, 0.1" amplitude=0.2 frequency=0.4 phase=0 quadratic=1 />
     285        <BlinkingBillboard position="-20,-24,160" material="Examples/Flare" colour="0.3, 0.3, 1, 0.1" amplitude=0.2 frequency=0.4 phase=0 quadratic=1 />
     286        <BlinkingBillboard position="20,-25,190" material="Examples/Flare" colour="0.3, 0.3, 1, 0.1" amplitude=0.2 frequency=0.4 phase=40 quadratic=1 />
     287        <BlinkingBillboard position="-20,-25,190" material="Examples/Flare" colour="0.3, 0.3, 1, 0.1" amplitude=0.2 frequency=0.4 phase=40 quadratic=1 />
     288        <BlinkingBillboard position="20,-25,220" material="Examples/Flare" colour="0.3, 0.3, 1, 0.1" amplitude=0.2 frequency=0.4 phase=80 quadratic=0 />
     289        <BlinkingBillboard position="-20,-25,220" material="Examples/Flare" colour="0.3, 0.3, 1, 0.1" amplitude=0.2 frequency=0.4 phase=80 quadratic=0 />
     290        <BlinkingBillboard position="20,-26,250" material="Examples/Flare" colour="0.3, 0.3, 1, 0.1" amplitude=0.2 frequency=0.4 phase=120 quadratic=0 />
     291        <BlinkingBillboard position="-20,-26,250" material="Examples/Flare" colour="0.3, 0.3, 1, 0.1" amplitude=0.2 frequency=0.4 phase=120 quadratic=0 />
     292        <BlinkingBillboard position="20,-26,28" material="Examples/Flare" colour="0.3, 0.3, 1, 0.1" amplitude=0.2 frequency=0.4 phase=160 quadratic=0 />
     293        <BlinkingBillboard position="-20,-26,28" material="Examples/Flare" colour="0.3, 0.3, 1, 0.1" amplitude=0.2 frequency=0.4 phase=160 quadratic=0 />
     294        <BlinkingBillboard position="29,-35,142" material="Examples/Flare" colour="1, 0.4, 0.4, 0.1" amplitude=0.2 frequency=30 phase=0 quadratic=0 />
     295        <BlinkingBillboard position="-29,-35,142" material="Examples/Flare" colour="1, 0.4, 0.4, 0.1" amplitude=0.2 frequency=30 phase=0 quadratic=0 />
     296      </attached>
     297    </StaticEntity>
     298    <!-- triple large belt around the planet  -->
     299    <?lua
     300        dofile("includes/asteroidField.lua")
     301        asteroidBelt(15000, 0, 0, 30, 0, 30, 30, 50, 7190, 7800, 250, 1)
     302    ?>
     303    <?lua
     304        dofile("includes/asteroidField.lua")
     305        asteroidBelt(15000, 0, 0, 30, 0, 30, 30, 50, 10000, 11000, 300, 1)
     306    ?>
     307    <?lua
     308        dofile("includes/asteroidField.lua")
     309        asteroidBelt(15000, 0, 0, 30, 0, 30, 30, 50, 14000, 15000, 350, 1)
     310    ?>
     311
     312    <Planet
     313      position="15000,0,-1000"
     314      scale="5000"
     315      collisionType="dynamic"
     316      linearDamping="0.8"
     317      angularDamping="0"
     318      mass="10000000"
     319      pitch="0"
     320      mesh="planets/ganymede.mesh"
     321      atmosphere="atmosphere1"
     322      rotationaxis="1,0,0"
     323      rotationrate="1.0"
     324      atmospheresize="80.0f"
     325      imagesize="1024.0f"
     326      collisiondamage = 2
     327      enablecollisiondamage = true
     328    >
     329      <attached>
     330        <ForceField position="5000,0,0" mode="sphere" diameter="10000" velocity="-50" />
     331      </attached>
     332      <collisionShapes>
     333        <SphereCollisionShape radius="5000" position="0,0,0" />
     334      </collisionShapes>
     335    </Planet>
     336
     337
     338<!-- INTERACTIVE LEVEL -->
     339    <DistanceTrigger name="start" position="-900,0,0"  target="Pawn" distance=100 stayActive="true" delay=0.5 />
     340    <DistanceTrigger name="spawnBots" position="-900,0,0"  target="Pawn" distance=100 stayActive="true" delay=4.5 />
     341
     342    <SimpleNotification message="Sound Effetcs by Mike." broadcast="true">
     343        <events>
     344            <trigger>
     345                <EventListener event=start />
     346            </trigger>
     347        </events>
     348    </SimpleNotification>
     349
     350    <Script code="addBots 3" onLoad="false">
     351        <events>
     352            <trigger>
     353                <EventListener event=spawnBots />
     354            </trigger>
     355        </events>
     356    </Script>
     357
     358
     359<!-- SOUNDS & MUSIC -->
     360            <WorldSound name="scoreSound" position="-900,0,0" source="sounds/ReadyGo.ogg" >
     361              <events>
     362                <play>
     363                  <EventListener event="start" />
     364                </play>
     365              </events>
     366            </WorldSound>
     367
     368
     369
    165370
    166371  </Scene>
Note: See TracChangeset for help on using the changeset viewer.