Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5437 for data


Ignore:
Timestamp:
Mar 31, 2009, 1:16:16 AM (16 years ago)
Author:
landauf
Message:

added new features to the pong level

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/media/levels/presentation_pong.oxw

    r5426 r5437  
    2020    <attached>
    2121      <Model position="0,0,3" mesh="cube.mesh" scale3D="14,2,2" />
     22      <!--Model roll=180 mesh="pongbat.mesh" scale=0.045 /-->
    2223    </attached>
    2324  </PongBat>
     
    5556?>
    5657
    57     <MovableEntity rotationrate=5 rotationaxis="0,0,1">
    58       <attached>
    59         <PongCenterpoint dimension="200,120" balltemplate=pongball battemplate=pongbat ballspeed=200 batspeed=130 batlength=0.25>
    60           <attached>
    61             <Model position="0,0,60" mesh="cube.mesh" scale3D="105,1,1" />
    62             <Model position="0,0,-60" mesh="cube.mesh" scale3D="105,1,1" />
    63           </attached>
    64         </PongCenterpoint>
    65       </attached>
    66     </MovableEntity>
     58  <MovableEntity rotationrate=5 rotationaxis="0,0,1">
     59    <attached>
     60      <PongCenterpoint name=pongcenter dimension="200,120" balltemplate=pongball battemplate=pongbat ballspeed=200 batspeed=130 batlength=0.25>
     61        <attached>
     62          <Model position="0,0,60" mesh="cube.mesh" scale3D="105,1,1" />
     63          <Model position="0,0,-60" mesh="cube.mesh" scale3D="105,1,1" />
     64<!--
     65          <ParticleSpawner name=scoreeffect_R position=" 100,0, 60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 />
     66          <ParticleSpawner name=scoreeffect position="  50,0, 60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 />
     67          <ParticleSpawner name=scoreeffect position="   0,0, 60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 />
     68          <ParticleSpawner name=scoreeffect position=" -50,0, 60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 />
     69          <ParticleSpawner name=scoreeffect_L position="-100,0, 60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 />
     70          <ParticleSpawner name=scoreeffect_R position=" 100,0,-60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 />
     71          <ParticleSpawner name=scoreeffect position="  50,0,-60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 />
     72          <ParticleSpawner name=scoreeffect position="   0,0,-60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 />
     73          <ParticleSpawner name=scoreeffect position=" -50,0,-60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 />
     74          <ParticleSpawner name=scoreeffect_L position="-100,0,-60" source="Orxonox/BigExplosion1part1" lifetime=3.0 autostart=0 />
     75-->
     76        </attached>
     77      </PongCenterpoint>
     78    </attached>
     79  </MovableEntity>
     80
     81  <EventDispatcher>
     82    <targets>
     83      <EventTarget name=scoreeffect />
     84    </targets>
     85    <events>
     86      <spawn>
     87        <EventListener event=pongcenter />
     88      </spawn>
     89    </events>
     90  </EventDispatcher>
     91
     92  <?lua
     93    dofile("../../media/levels/CuboidSpaceStation.lua")
     94  ?>
     95
     96  <StaticEntity pitch=15>
     97    <attached>
     98      <MovableEntity rotationrate="-4.15786" rotationaxis="0,0,1">
     99        <attached>
     100          <StaticEntity position="-2500,0,0" yaw=90 pitch=90>
     101            <attached>
     102              <?lua
     103                createSpaceStationPar(0,2,1,2,1,4,1,50)
     104              ?>
     105            </attached>
     106          </StaticEntity>
     107        </attached>
     108      </MovableEntity>
     109    </attached>
     110  </StaticEntity>
     111
     112  <StaticEntity position="0,1200,-200" yaw=50 pitch=60 roll=45>
     113    <attached>
     114      <Model scale=10 mesh="Carrier.mesh" />
     115      <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" />
     116      <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" />
     117    </attached>
     118  </StaticEntity>
     119
     120  <StaticEntity pitch=70>
     121    <attached>
     122      <MovableEntity rotationaxis="0,0,1" rotationrate=8.5974>
     123        <attached>
     124          <StaticEntity yaw=-90 pitch=0 roll=90 position="800,0,0">
     125            <attached>
     126              <Model position="0,0,0" scale=10 mesh="satellite.mesh" />
     127              <MovableEntity position="-4,0,20" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=50>
     128                <attached>
     129                  <Model position="0,0,0" scale=10 mesh="satellitedish.mesh"/>
     130                </attached>
     131              </MovableEntity>
     132              <ParticleEmitter pitch=-135 roll=30 position="-14, 3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
     133              <ParticleEmitter pitch=135 roll=30 position="-14, 3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
     134              <ParticleEmitter pitch=-45 roll=30 position="-14,-3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
     135              <ParticleEmitter pitch=45 roll=30 position="-14,-3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 />
     136            </attached>
     137          </StaticEntity>
     138        </attached>
     139      </MovableEntity>
     140    </attached>
     141  </StaticEntity>
    67142
    68143<?lua
Note: See TracChangeset for help on using the changeset viewer.