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