Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 13, 2014, 11:45:47 AM (10 years ago)
Author:
noep
Message:

Fixed yet another segfault (which we hadn't seen yet).
Cleared emptyLevel, created two testlevels (testing with boxes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/modularships/data/levels/emptyLevel.oxw

    r10029 r10053  
    1616  include("templates/spaceshipPirate.oxt")
    1717  include("templates/spaceshipEscort.oxt")
    18   include("templates/HeavyCruiser.oxt")
    1918?>
    2019
     
    3332    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
    3433   
    35     <MovableEntity position="0,0,0" collisionType=dynamic scale=1 linearDamping=0.8 angularDamping=0  collisiondamage=0.005 enablecollisiondamage=true>
    36     <attached>
    37         <Model position="0,0,0" mesh="cube.mesh" scale3D="40,40,40" />
    38         <StaticEntity position="0,90,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
    39             <attached>
    40                 <Model position="0,0,0" mesh="cube.mesh" scale3D="30,30,30" />
    41             </attached>
    42             <collisionShapes>
    43                 <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
    44             </collisionShapes>
    45         </StaticEntity>
    46     </attached>
    47     <collisionShapes>
    48         <BoxCollisionShape position="0,0,0" halfExtents="40,40,40" />
    49     </collisionShapes>
    50     </MovableEntity>
    51    
    52     <Pawn health=1000 initialhealth=1000 maxhealth=1000 position="0,-100,-100" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Pawn 0" >
    53         <attached>
    54             <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
    55             <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
    56             <StaticEntity position="0,-120,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
    57                 <attached>
    58                     <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
    59                     <Model position="0,0,60" mesh="cube.mesh" scale3D="30,30,30" />
    60                 </attached>
    61                 <collisionShapes>
    62                     <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
    63                     <BoxCollisionShape position="0,0,60" halfExtents="30,30,30" />
    64                 </collisionShapes>
    65             </StaticEntity>
    66             <StaticEntity position="0,-180,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
    67                 <attached>
    68                     <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
    69                     <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
    70                 </attached>
    71                 <collisionShapes>
    72                     <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
    73                     <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
    74                 </collisionShapes>
    75             </StaticEntity>
    76         </attached>
    77         <collisionShapes>
    78             <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
    79             <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
    80         </collisionShapes>
    81     </Pawn>
    82 
    83     <Pawn health=1000 initialhealth=1000 maxhealth=1000 position="0,-100,100" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Pawn 1" >
    84         <attached>
    85             <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
    86             <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
    87         </attached>
    88         <collisionShapes>
    89             <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
    90             <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
    91         </collisionShapes>
    92     </Pawn>
    93    
    94     <ModularSpaceShip position="0,-100,-200">
    95       <templates>
    96         <Template link=spaceshippirate />
    97       </templates>
    98     </ModularSpaceShip>
    99    
    100     <ModularSpaceShip position="0,-1000,-200" health="2000" maxhealth="4000" initialhealth="2000">
    101       <templates>
    102         <Template link=HeavyCruiser />
    103       </templates>
    104     </ModularSpaceShip>
    105    
    10634  </Scene>
    10735</Level>
Note: See TracChangeset for help on using the changeset viewer.