Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5355


Ignore:
Timestamp:
Dec 14, 2008, 11:03:40 PM (16 years ago)
Author:
rgrieder
Message:

Updated test levels for physics.

Location:
data/media/levels
Files:
2 edited

Legend:

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

    r5350 r5355  
    3131        <Model position="0,0,0" scale=100 mesh="plane.mesh" />
    3232        <Model position="0,-0.0001,0" roll=180 scale=100 mesh="plane.mesh" />
    33        
    3433      </attached>
    3534      <collisionShapes>
     
    108107    <SpawnPoint position="0,   0, -700" yaw  =180 spawnclass=SpaceShip pawndesign=spaceshipassff />
    109108    <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /-->
     109 
     110    <MovableEntity
     111     name            = "apple1"
     112     position        = "-150, 80, -500"
     113     collisionType   = "dynamic"
     114     mass            = 10
     115     velocity        = "30, 0, 0"
     116    >
     117      <attached>
     118        <Model position="0,0,0" scale=20 mesh="sphere.mesh" />
     119      </attached>
     120      <collisionShapes>
     121        <SphereCollisionShape name = "secondSphere" radius=20 position="0,0,0"/>
     122      </collisionShapes>
     123    </MovableEntity>
     124 
     125    <MovableEntity
     126     name            = "apple2"
     127     position        = "50, 80, -500"
     128     collisionType   = "dynamic"
     129     mass            = 10
     130     velocity        = "-30, 0, 0"
     131    >
     132      <attached>
     133        <Model position="0,0,0" scale=20 mesh="sphere.mesh" />
     134      </attached>
     135      <collisionShapes>
     136        <SphereCollisionShape name = "secondSphere" radius=20 position="0,0,0"/>
     137        <SphereCollisionShape name = "secondSphere" radius=20 position="1,0,0"/>
     138      </collisionShapes>
     139    </MovableEntity>
     140 
     141    <MovableEntity
     142     name            = "apple3"
     143     position        = "150, 80, -500"
     144     collisionType   = "dynamic"
     145     mass            = 10
     146     velocity        = "-30, 0, 0"
     147    >
     148      <attached>
     149        <Model position="0,0,0" scale=20 mesh="sphere.mesh" />
     150      </attached>
     151      <collisionShapes>
     152        <SphereCollisionShape name = "secondSphere" radius=20 position="0,0,0"/>
     153      </collisionShapes>
     154    </MovableEntity>
    110155
    111156    <!--MovableEntity scale=1.5 position="0,0,-300" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=90>
     
    157202
    158203
    159     <ParticleSpawner position="0,5,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
     204    <ParticleSpawner position="0,20,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
    160205      <events>
    161206        <spawn>
     
    163208            <events>
    164209              <trigger>
    165                 <SpawnPoint position="0,5,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
     210                <SpawnPoint position="0,20,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
    166211              </trigger>
    167212            </events>
  • data/media/levels/spaceshiptemplates_physics.oxw

    r5335 r5355  
    77   initialhealth     = 100
    88
    9    maxspeed          = 150
    10    maxsecondaryspeed = 50
    11    maxrotation       = 100
    12    transacc          = 100
    13    rotacc            = 140
    14    transdamp         = 75
     9   primaryThrust     = 100;
     10   auxilaryThrust    = 30;
     11   rotationThrust    = 10;
    1512   
    1613   collisionType     = "dynamic"
    1714   mass              = 100
     15   linearDamping     = 0.7
     16   angularDamping    = 0.999
    1817   name              = "blubbbeliblubb"
    1918  >
     
    2423      <BlinkingBillboard position="-17,-1.5,0" material="Examples/Flare" colour="0.5, 1.0, 0.3" amplitude=0.1 frequency=0.5 phase=180 quadratic=1 />
    2524      <!--ParticleEmitter position="0,0,-100" source="Orxonox/smoke5" /-->
    26       <SphereCollisionShape radius=20/>
    2725    </attached>
    2826    <collisionShapes>
Note: See TracChangeset for help on using the changeset viewer.