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