Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 29, 2010, 8:41:19 PM (15 years ago)
Author:
dafrick
Message:

Tested and cleaned all levels (except for the ones that someone is working on at the moment).
Two levels had old Pickups in them, they have been updated to work properly now.
All levels except one are working. The one that isn't is the presentationHS09b level, which crashes due to LOD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/data/levels/presentation_pong.oxw

    r5929 r7007  
    5454    <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" />
    5555
    56 <?lua
    57 for i = 1, 10, 1
    58 do ?>
    59     <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" />
    60 <?lua
    61 end
    62 ?>
    63 
    64   <MovableEntity rotationrate=5 rotationaxis="0,0,1">
    65     <attached>
    66       <PongCenterpoint name=pongcenter dimension="200,120" balltemplate=pongball battemplate=pongbat ballspeed=200 ballaccfactor=1.0 batspeed=130 batlength=0.25>
    67         <attached>
    68           <Model position="0,0,60" mesh="cube.mesh" scale3D="105,1,1" />
    69           <Model position="0,0,-60" mesh="cube.mesh" scale3D="105,1,1" />
    70 
    71           <ParticleSpawner name=scoreeffect_right position="120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    72           <ParticleSpawner name=scoreeffect_right position="120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    73           <ParticleSpawner name=scoreeffect_right position="120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    74           <ParticleSpawner name=scoreeffect_right position="120,0,  0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 />
    75           <ParticleSpawner name=scoreeffect_right position="120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    76           <ParticleSpawner name=scoreeffect_right position="120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    77           <ParticleSpawner name=scoreeffect_right position="120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    78 
    79           <ParticleSpawner name=scoreeffect_left position="-120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    80           <ParticleSpawner name=scoreeffect_left position="-120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    81           <ParticleSpawner name=scoreeffect_left position="-120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    82           <ParticleSpawner name=scoreeffect_left position="-120,0,  0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 />
    83           <ParticleSpawner name=scoreeffect_left position="-120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    84           <ParticleSpawner name=scoreeffect_left position="-120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
    85           <ParticleSpawner name=scoreeffect_left position="-120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
    86 
    87           <WorldSound name="scoreSound" position="0,0,0" source="sounds/pong_score.wav" >
    88             <events>
    89               <play>
    90                 <EventListener event=pongcenter />
    91               </play>
    92             </events>
    93           </WorldSound>
    94 
    95 <?lua
    96 for i = 1, 15, 1
    97 do ?>
    98           <ParticleSpawner name=scoreeffect_center position="<?lua print(math.random() * 200 - 100) ?>,0,<?lua print(math.random() * 120 - 60) ?>" source="Orxonox/sparks2" lifetime=0.02 autostart=0 startdelay=<?lua print(math.random() * 0.7) ?> />
    99 <?lua
    100 end
    101 ?>
    102 
    103         </attached>
    104       </PongCenterpoint>
    105     </attached>
    106   </MovableEntity>
    107 
    108   <EventDispatcher>
    109     <targets>
    110       <EventTarget target=scoreeffect_right />
    111       <EventTarget target=scoreeffect_center />
    112     </targets>
    113     <events>
    114       <spawn>
    115         <EventFilter>
    116           <names>
    117             <EventName name=right />
    118           </names>
    119           <EventListener event=pongcenter />
    120         </EventFilter>
    121       </spawn>
    122     </events>
    123   </EventDispatcher>
    124   <EventDispatcher>
    125     <targets>
    126       <EventTarget target=scoreeffect_left />
    127       <EventTarget target=scoreeffect_center />
    128     </targets>
    129     <events>
    130       <spawn>
    131         <EventFilter>
    132           <names>
    133             <EventName name=left />
    134           </names>
    135           <EventListener event=pongcenter />
    136         </EventFilter>
    137       </spawn>
    138     </events>
    139   </EventDispatcher>
    140 
    141   <?lua
    142     dofile("includes/CuboidSpaceStation.lua")
    143   ?>
    144 
    145   <StaticEntity pitch=15>
    146     <attached>
    147       <MovableEntity rotationrate="-4.15786" rotationaxis="0,0,1">
    148         <attached>
    149           <StaticEntity position="-2500,0,0" yaw=90 pitch=90>
    150             <attached>
    151               <?lua
    152                 createSpaceStationPar(0,2,1,2,1,4,1,50)
    153               ?>
    154             </attached>
    155           </StaticEntity>
    156         </attached>
    157       </MovableEntity>
    158     </attached>
    159   </StaticEntity>
    160 
    161   <StaticEntity position="0,1200,-200" yaw=50 pitch=60 roll=45>
    162     <attached>
    163       <Model scale=10 mesh="Carrier.mesh" />
    164       <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" />
    165       <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" />
    166     </attached>
    167   </StaticEntity>
    168 
    169   <StaticEntity pitch=70>
    170     <attached>
    171       <MovableEntity rotationaxis="0,0,1" rotationrate=8.5974>
    172         <attached>
    173           <StaticEntity yaw=-90 pitch=0 roll=90 position="800,0,0">
    174             <attached>
    175               <Model position="0,0,0" scale=10 mesh="satellite.mesh" />
    176               <MovableEntity position="-4,0,20" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=50>
    177                 <attached>
    178                   <Model position="0,0,0" scale=10 mesh="satellitedish.mesh"/>
    179                 </attached>
    180               </MovableEntity>
    181               <ParticleEmitter pitch=-135 roll=30 position="-14, 3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
    182               <ParticleEmitter pitch=135 roll=30 position="-14, 3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
    183               <ParticleEmitter pitch=-45 roll=30 position="-14,-3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
    184               <ParticleEmitter pitch=45 roll=30 position="-14,-3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
    185             </attached>
    186           </StaticEntity>
    187         </attached>
    188       </MovableEntity>
    189     </attached>
    190   </StaticEntity>
    191 
    192 <?lua
    193 for i = 1, 10, 1
    194 do ?>
    195   <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * 100 + 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    196     <attached>
    197       <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    198     </attached>
    199   </MovableEntity>
    200   <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * -100 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    201     <attached>
    202       <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    203     </attached>
    204   </MovableEntity>
    205 
    206   <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * 100 + 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    207     <attached>
    208       <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    209     </attached>
    210   </MovableEntity>
    211   <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * -100 - 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    212     <attached>
    213       <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    214     </attached>
    215   </MovableEntity>
    216 
    217   <MovableEntity position="<?lua print(math.random() * 100 + 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    218     <attached>
    219       <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    220     </attached>
    221   </MovableEntity>
    222   <MovableEntity position="<?lua print(math.random() * -100 - 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
    223     <attached>
    224       <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
    225     </attached>
    226   </MovableEntity>
    227 <?lua
    228 end
    229 ?>
     56    <?lua
     57      for i = 1, 10, 1 do
     58    ?>
     59      <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" />
     60    <?lua end ?>
     61
     62    <MovableEntity rotationrate=5 rotationaxis="0,0,1">
     63      <attached>
     64        <PongCenterpoint name=pongcenter dimension="200,120" balltemplate=pongball battemplate=pongbat ballspeed=200 ballaccfactor=1.0 batspeed=130 batlength=0.25>
     65          <attached>
     66            <Model position="0,0,60" mesh="cube.mesh" scale3D="105,1,1" />
     67            <Model position="0,0,-60" mesh="cube.mesh" scale3D="105,1,1" />
     68
     69            <ParticleSpawner name=scoreeffect_right position="120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
     70            <ParticleSpawner name=scoreeffect_right position="120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
     71            <ParticleSpawner name=scoreeffect_right position="120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
     72            <ParticleSpawner name=scoreeffect_right position="120,0,  0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 />
     73            <ParticleSpawner name=scoreeffect_right position="120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
     74            <ParticleSpawner name=scoreeffect_right position="120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
     75            <ParticleSpawner name=scoreeffect_right position="120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
     76
     77            <ParticleSpawner name=scoreeffect_left position="-120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
     78            <ParticleSpawner name=scoreeffect_left position="-120,0, 30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
     79            <ParticleSpawner name=scoreeffect_left position="-120,0, 15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
     80            <ParticleSpawner name=scoreeffect_left position="-120,0,  0" source="Orxonox/BigExplosion1part2" lifetime=0.1 autostart=0 />
     81            <ParticleSpawner name=scoreeffect_left position="-120,0,-15" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
     82            <ParticleSpawner name=scoreeffect_left position="-120,0,-30" source="Orxonox/BigExplosion1part2" lifetime=3.0 autostart=0 />
     83            <ParticleSpawner name=scoreeffect_left position="-120,0,-45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 />
     84
     85            <WorldSound name="scoreSound" position="0,0,0" source="sounds/pong_score.wav" >
     86              <events>
     87                <play>
     88                  <EventListener event=pongcenter />
     89                </play>
     90              </events>
     91            </WorldSound>
     92
     93            <?lua
     94              for i = 1, 15, 1 do
     95            ?>
     96              <ParticleSpawner name=scoreeffect_center position="<?lua print(math.random() * 200 - 100) ?>,0,<?lua print(math.random() * 120 - 60) ?>" source="Orxonox/sparks2" lifetime=0.02 autostart=0 startdelay=<?lua print(math.random() * 0.7) ?> />
     97            <?lua end ?>
     98
     99          </attached>
     100        </PongCenterpoint>
     101      </attached>
     102    </MovableEntity>
     103
     104    <EventDispatcher>
     105      <targets>
     106        <EventTarget target=scoreeffect_right />
     107        <EventTarget target=scoreeffect_center />
     108      </targets>
     109      <events>
     110        <spawn>
     111          <EventFilter>
     112            <names>
     113              <EventName name=right />
     114            </names>
     115            <EventListener event=pongcenter />
     116          </EventFilter>
     117        </spawn>
     118      </events>
     119    </EventDispatcher>
     120    <EventDispatcher>
     121      <targets>
     122        <EventTarget target=scoreeffect_left />
     123        <EventTarget target=scoreeffect_center />
     124      </targets>
     125      <events>
     126        <spawn>
     127          <EventFilter>
     128            <names>
     129              <EventName name=left />
     130            </names>
     131            <EventListener event=pongcenter />
     132          </EventFilter>
     133        </spawn>
     134      </events>
     135    </EventDispatcher>
     136
     137    <?lua
     138      dofile("includes/CuboidSpaceStation.lua")
     139    ?>
     140
     141    <StaticEntity pitch=15>
     142      <attached>
     143        <MovableEntity rotationrate="-4.15786" rotationaxis="0,0,1">
     144          <attached>
     145            <StaticEntity position="-2500,0,0" yaw=90 pitch=90>
     146              <attached>
     147                <?lua
     148                  createSpaceStationPar(0,2,1,2,1,4,1,50)
     149                ?>
     150              </attached>
     151            </StaticEntity>
     152          </attached>
     153        </MovableEntity>
     154      </attached>
     155    </StaticEntity>
     156
     157    <StaticEntity position="0,1200,-200" yaw=50 pitch=60 roll=45>
     158      <attached>
     159        <Model scale=10 mesh="Carrier.mesh" />
     160        <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" />
     161        <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" />
     162      </attached>
     163    </StaticEntity>
     164
     165    <StaticEntity pitch=70>
     166      <attached>
     167        <MovableEntity rotationaxis="0,0,1" rotationrate=8.5974>
     168          <attached>
     169            <StaticEntity yaw=-90 pitch=0 roll=90 position="800,0,0">
     170              <attached>
     171                <Model position="0,0,0" scale=10 mesh="satellite.mesh" />
     172                <MovableEntity position="-4,0,20" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=50>
     173                  <attached>
     174                    <Model position="0,0,0" scale=10 mesh="satellitedish.mesh"/>
     175                  </attached>
     176                </MovableEntity>
     177                <ParticleEmitter pitch=-135 roll=30 position="-14, 3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
     178                <ParticleEmitter pitch=135 roll=30 position="-14, 3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
     179                <ParticleEmitter pitch=-45 roll=30 position="-14,-3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
     180                <ParticleEmitter pitch=45 roll=30 position="-14,-3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
     181              </attached>
     182            </StaticEntity>
     183          </attached>
     184        </MovableEntity>
     185      </attached>
     186    </StaticEntity>
     187
     188    <?lua
     189      for i = 1, 10, 1 do
     190    ?>
     191      <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * 100 + 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     192        <attached>
     193          <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
     194        </attached>
     195      </MovableEntity>
     196      <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * -100 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     197        <attached>
     198          <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
     199        </attached>
     200      </MovableEntity>
     201
     202      <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * 100 + 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     203        <attached>
     204          <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
     205        </attached>
     206      </MovableEntity>
     207      <MovableEntity position="<?lua print(math.random() * 600 - 300)?>, <?lua print(math.random() * -100 - 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     208        <attached>
     209          <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
     210        </attached>
     211      </MovableEntity>
     212
     213      <MovableEntity position="<?lua print(math.random() * 100 + 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     214        <attached>
     215          <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
     216        </attached>
     217      </MovableEntity>
     218      <MovableEntity position="<?lua print(math.random() * -100 - 300)?>, <?lua print(math.random() * 600 - 300) ?>, <?lua print(math.random() * 600 - 300) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
     219        <attached>
     220          <Model scale="<?lua print(math.random() * 10 + 5) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
     221        </attached>
     222      </MovableEntity>
     223    <?lua end ?>
    230224
    231225  </Scene>
Note: See TracChangeset for help on using the changeset viewer.