[8177] | 1 | |
---|
| 2 | <LevelInfo |
---|
| 3 | name = "Portals" |
---|
| 4 | description = "Level for testing portals" |
---|
| 5 | tags = "tutorial" |
---|
| 6 | /> |
---|
| 7 | |
---|
| 8 | <?lua |
---|
| 9 | include("HUDTemplates3.oxo") |
---|
| 10 | include("stats.oxo") |
---|
| 11 | include("templates/spaceshipAssff.oxt") |
---|
[8454] | 12 | include("templates/pickupRepresentationTemplates.oxt") |
---|
[8177] | 13 | include("templates/lodInformation.oxt") |
---|
| 14 | ?> |
---|
| 15 | |
---|
| 16 | <Level |
---|
| 17 | name = "Presentation" |
---|
| 18 | description = "A simple testlevel" |
---|
| 19 | > |
---|
| 20 | <templates> |
---|
| 21 | <Template link=lodtemplate_default /> |
---|
| 22 | </templates> |
---|
| 23 | |
---|
| 24 | <Scene |
---|
| 25 | ambientlight = "0.5, 0.5, 0.5" |
---|
| 26 | skybox = "Orxonox/skypanoramagen1" |
---|
| 27 | > |
---|
| 28 | |
---|
[8454] | 29 | <Template name=PortalDefault> |
---|
[8243] | 30 | <PortalEndPoint> |
---|
| 31 | <attached> |
---|
[8454] | 32 | <Billboard material="Portals/Default" /> |
---|
[8243] | 33 | </attached> |
---|
| 34 | </PortalEndPoint> |
---|
| 35 | </Template> |
---|
[8177] | 36 | |
---|
[8454] | 37 | <PortalEndPoint position="0,0,0" id="1" distance="40" target="MobileEntity" design="PortalDefault"/> |
---|
| 38 | <PortalEndPoint position="-90,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/> |
---|
[8243] | 39 | <PortalLink fromID="1" toID="2" /> |
---|
| 40 | <PortalLink fromID="2" toID="1" /> |
---|
| 41 | |
---|
[8454] | 42 | <PickupSpawner position="-100,0,0" triggerDistance="10" respawnTime="10" maxSpawnedItems="10"> |
---|
| 43 | <pickup> |
---|
| 44 | <DronePickup template=dronepickup /> |
---|
| 45 | </pickup> |
---|
| 46 | </PickupSpawner> |
---|
| 47 | |
---|
[8177] | 48 | <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" /> |
---|
| 49 | |
---|
| 50 | <SpawnPoint position="200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 51 | |
---|
| 52 | <GlobalShader compositor="Bloom" visible=false> |
---|
| 53 | <events> |
---|
| 54 | <visibility> |
---|
| 55 | <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true /> |
---|
| 56 | </visibility> |
---|
| 57 | </events> |
---|
| 58 | </GlobalShader> |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | <!-- |
---|
| 62 | <Model position="0,0,0" scale=8 mesh="ast1.mesh" /> |
---|
| 63 | <StaticEntity position="0,0,0" collisionType=static> |
---|
| 64 | <collisionShapes> |
---|
| 65 | <SphereCollisionShape radius="20" /> |
---|
| 66 | </collisionShapes> |
---|
| 67 | </StaticEntity> |
---|
| 68 | --> |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | <!-- |
---|
| 72 | <?lua |
---|
| 73 | for i = 1, 70, 1 do |
---|
| 74 | ?> |
---|
| 75 | <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 1000 + 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 76 | <attached> |
---|
| 77 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 78 | </attached> |
---|
| 79 | </MovableEntity> |
---|
| 80 | <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * -1000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 81 | <attached> |
---|
| 82 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 83 | </attached> |
---|
| 84 | </MovableEntity> |
---|
| 85 | |
---|
| 86 | <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 1000 + 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 87 | <attached> |
---|
| 88 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 89 | </attached> |
---|
| 90 | </MovableEntity> |
---|
| 91 | <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * -1000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 92 | <attached> |
---|
| 93 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 94 | </attached> |
---|
| 95 | </MovableEntity> |
---|
| 96 | |
---|
| 97 | <MovableEntity position="<?lua print(math.random() * 1000 + 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 98 | <attached> |
---|
| 99 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 100 | </attached> |
---|
| 101 | </MovableEntity> |
---|
| 102 | <MovableEntity position="<?lua print(math.random() * -1000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> |
---|
| 103 | <attached> |
---|
| 104 | <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false /> |
---|
| 105 | </attached> |
---|
| 106 | </MovableEntity> |
---|
| 107 | <?lua end ?> |
---|
| 108 | --> |
---|
| 109 | |
---|
| 110 | </Scene> |
---|
| 111 | </Level> |
---|