| [10262] | 1 | <LevelInfo | 
|---|
 | 2 |  name = "Collision shapes" | 
|---|
 | 3 |  description = "A level with some collision shapes." | 
|---|
 | 4 |  tags = "test" | 
|---|
 | 5 |  screenshot = "emptylevel.png" | 
|---|
 | 6 | /> | 
|---|
 | 7 |  | 
|---|
 | 8 | <?lua | 
|---|
 | 9 |   include("stats.oxo") | 
|---|
 | 10 |   include("HUDTemplates3.oxo") | 
|---|
 | 11 |   include("templates/lodInformation.oxt") | 
|---|
 | 12 | ?> | 
|---|
 | 13 |  | 
|---|
 | 14 | <?lua | 
|---|
 | 15 |   include("templates/spaceshipAssff2.oxt") | 
|---|
 | 16 |   include("templates/spaceshipPirate.oxt") | 
|---|
 | 17 |   include("templates/spaceshipEscort.oxt") | 
|---|
 | 18 | ?> | 
|---|
 | 19 |  | 
|---|
 | 20 | <Level> | 
|---|
 | 21 |   <templates> | 
|---|
 | 22 |     <Template link=lodtemplate_default /> | 
|---|
 | 23 |   </templates> | 
|---|
 | 24 |   <?lua include("includes/notifications.oxi") ?> | 
|---|
 | 25 |  | 
|---|
 | 26 |   <Scene | 
|---|
 | 27 |     ambientlight = "0.8, 0.8, 0.8" | 
|---|
 | 28 |     skybox       = "Orxonox/Starbox" | 
|---|
 | 29 |   > | 
|---|
 | 30 |  | 
|---|
 | 31 |     <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"/> | 
|---|
 | 32 |     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> | 
|---|
 | 33 |      | 
|---|
 | 34 |         <StaticEntity position="1000,0,0" collisionType="static"> | 
|---|
 | 35 |                 <collisionShapes> | 
|---|
 | 36 |                         <SphereCollisionShape   yaw="20" pitch="20" roll="20" position="0,-300,0" radius="100" /> | 
|---|
 | 37 |                         <CylinderCollisionShape yaw="20" pitch="20" roll="20" position="0,+000,0" radius="50" height="150" /> | 
|---|
 | 38 |                         <BoxCollisionShape      yaw="20" pitch="20" roll="20" position="0,+200,0" halfExtents="30, 50, 80" /> | 
|---|
 | 39 |                         <ConeCollisionShape     yaw="20" pitch="20" roll="20" position="0,+400,0" radius="50" height="150" /> | 
|---|
 | 40 |                         <PlaneCollisionShape    yaw="20" pitch="20" roll="20" position="0,+600,0" normal="0, -1, 0" offset="30" /> | 
|---|
 | 41 |                 </collisionShapes> | 
|---|
 | 42 |         </StaticEntity> | 
|---|
 | 43 |          | 
|---|
 | 44 |   </Scene> | 
|---|
 | 45 | </Level> | 
|---|
 | 46 |  | 
|---|