[9035] | 1 | <LevelInfo |
---|
[9036] | 2 | name = "Surface Race" |
---|
[9056] | 3 | description = "Race on a surface of a planet" |
---|
| 4 | tags = "Race" |
---|
[9035] | 5 | screenshot = "emptylevel.png" |
---|
| 6 | /> |
---|
| 7 | |
---|
| 8 | <?lua |
---|
[9056] | 9 | include("HUDTemplates3.oxo") |
---|
[9035] | 10 | include("stats.oxo") |
---|
[9056] | 11 | include("templates/spaceshipRace.oxt") |
---|
[9035] | 12 | include("templates/lodInformation.oxt") |
---|
| 13 | |
---|
[9056] | 14 | |
---|
[9035] | 15 | ?> |
---|
| 16 | |
---|
[9071] | 17 | |
---|
| 18 | |
---|
| 19 | <Level |
---|
| 20 | gametype = "OldSpaceRace" |
---|
| 21 | > |
---|
| 22 | |
---|
[9035] | 23 | <templates> |
---|
| 24 | <Template link=lodtemplate_default /> |
---|
| 25 | </templates> |
---|
| 26 | <?lua include("includes/notifications.oxi") ?> |
---|
| 27 | |
---|
| 28 | <Scene |
---|
[9037] | 29 | ambientlight = "2.0, 2.0, 2.0" |
---|
[9041] | 30 | skybox = "Orxonox/skyBoxClouds" |
---|
[9061] | 31 | gravity = "0,-70,0" |
---|
[9056] | 32 | negativeWorldRange = "-100000, -100000, -100000" |
---|
| 33 | positiveWorldRange = " 100000, 100000, 100000" |
---|
| 34 | hasPhysics = true |
---|
[9035] | 35 | > |
---|
| 36 | |
---|
[9056] | 37 | <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"/> |
---|
[9071] | 38 | <!-- ------------------SpawnPoint----------------- --> |
---|
| 39 | <SpawnPoint team=0 position="0,5050,0" lookat="0,5070,5070" spawnclass=SpaceShip pawndesign=spaceshipRace active="true" > |
---|
| 40 | <events> |
---|
| 41 | <activity> |
---|
| 42 | <EventTrigger invert="true"> |
---|
| 43 | <events> |
---|
| 44 | <trigger> |
---|
| 45 | <EventListener event="checkpoint2" /> |
---|
| 46 | </trigger> |
---|
| 47 | </events> |
---|
| 48 | </EventTrigger> |
---|
| 49 | </activity> |
---|
| 50 | </events> |
---|
| 51 | </SpawnPoint> |
---|
[9056] | 52 | |
---|
[9071] | 53 | <!-- ------------------CheckPoints----------------- --> |
---|
| 54 | <OldRaceCheckPoint name="checkpoint1" position="100,5100,0" direction="0,0,0" collisionType="static" scale="1" distance="40" checkpointindex="0" islast="false"> |
---|
| 55 | <attached> |
---|
| 56 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 57 | </attached> |
---|
| 58 | <collisionShapes> |
---|
| 59 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
| 60 | <BoxCollisionShape position="0,0,-55" halfExtents="55, 10, 10" /> |
---|
| 61 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
| 62 | <BoxCollisionShape position="-55,0,0" halfExtents="10, 10, 55" /> |
---|
| 63 | </collisionShapes> |
---|
| 64 | </OldRaceCheckPoint> |
---|
| 65 | |
---|
| 66 | <OldRaceCheckPoint name="checkpoint2" position="500,5100,0" stayActive="true" collisionType="static" scale="1" distance="40" checkpointindex="1" islast="false"> |
---|
| 67 | <attached> |
---|
| 68 | <Model mass="50" scale="50" mesh="raceCheckPoint.mesh" /> |
---|
| 69 | <SpawnPoint position="0,0,0" lookat="0,1000,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" > |
---|
| 70 | <events> |
---|
| 71 | <activity> |
---|
| 72 | <Trigger mode="xor" invert="true" > |
---|
| 73 | <EventTrigger> |
---|
| 74 | <events> |
---|
| 75 | <trigger> |
---|
| 76 | <EventListener event="checkpoint2" /> |
---|
| 77 | </trigger> |
---|
| 78 | </events> |
---|
| 79 | </EventTrigger> |
---|
| 80 | <EventTrigger invert="true"> |
---|
| 81 | <events> |
---|
| 82 | <trigger> |
---|
| 83 | <EventListener event="checkpoint3" /> |
---|
| 84 | </trigger> |
---|
| 85 | </events> |
---|
| 86 | </EventTrigger> |
---|
| 87 | </Trigger> |
---|
| 88 | </activity> |
---|
| 89 | </events> |
---|
| 90 | </SpawnPoint> |
---|
| 91 | </attached> |
---|
| 92 | <collisionShapes> |
---|
| 93 | <BoxCollisionShape position="0,0,55" halfExtents="55, 10, 10" /> |
---|
| 94 | <BoxCollisionShape position="0,0,-55" halfExtents="55, 10, 10" /> |
---|
| 95 | <BoxCollisionShape position="55,0,0" halfExtents="10, 10, 55" /> |
---|
| 96 | <BoxCollisionShape position="-55,0,0" halfExtents="10, 10, 55" /> |
---|
| 97 | </collisionShapes> |
---|
| 98 | </OldRaceCheckPoint> |
---|
| 99 | |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01> |
---|
[9070] | 103 | <attached> |
---|
[9056] | 104 | <Model position="0,0,0" mesh="testcube.mesh" scale3D="5000,5000,5000" /> |
---|
| 105 | </attached> |
---|
[9061] | 106 | |
---|
| 107 | <!-- ------------------Boden----------------- --> |
---|
[9056] | 108 | <collisionShapes> |
---|
| 109 | <BoxCollisionShape position="0,50,0" halfExtents="5000,5000,5000" /> |
---|
[9071] | 110 | </collisionShapes> |
---|
[9070] | 111 | |
---|
[9071] | 112 | |
---|
[9056] | 113 | </StaticEntity> |
---|
[9070] | 114 | <!-- -----------------------Zylinder---------------------------- --> |
---|
| 115 | <StaticEntity position="0,0,0" direction="0,0,0" collisionType=static mass=100000 friction=0.01 > |
---|
| 116 | <attached> |
---|
| 117 | <Model position="1000,5100,1000" mesh="cylinder.mesh" scale3D="1000,1000,1000" /> |
---|
| 118 | </attached> |
---|
| 119 | </StaticEntity> |
---|
| 120 | |
---|
[9035] | 121 | </Scene> |
---|
| 122 | </Level> |
---|
| 123 | |
---|