[5378] | 1 | <?lua |
---|
[5654] | 2 | include("hudtemplates3.oxo") |
---|
| 3 | include("stats.oxo") |
---|
| 4 | include("templates/spaceship_assff.oxt") |
---|
[7163] | 5 | include("templates/lodinformation.oxt") |
---|
[5378] | 6 | ?> |
---|
| 7 | |
---|
| 8 | <Level |
---|
| 9 | name = "Presentation" |
---|
| 10 | description = "A simple testlevel" |
---|
| 11 | > |
---|
[7163] | 12 | <templates> |
---|
| 13 | <Template link=lodtemplate_default /> |
---|
| 14 | </templates> |
---|
| 15 | |
---|
[7193] | 16 | <NotificationQueue |
---|
| 17 | name = "notification" |
---|
| 18 | position = "0.05, 0.05" |
---|
| 19 | font = "VeraMono" |
---|
| 20 | textsize = 0.020 |
---|
| 21 | length = 3 |
---|
| 22 | width = 50 |
---|
| 23 | /> |
---|
| 24 | |
---|
[5378] | 25 | <Scene |
---|
| 26 | ambientlight = "0.5, 0.5, 0.5" |
---|
| 27 | skybox = "Orxonox/skypanoramagen1" |
---|
| 28 | > |
---|
[5452] | 29 | |
---|
[7193] | 30 | <CommandNotification preMessage="Press '" postMessage="' to fire your primary weapon." command="fire 0"> |
---|
| 31 | <events> |
---|
| 32 | <trigger> |
---|
[7319] | 33 | <DistanceTrigger name=trigger position="0,0,-100" distance=10 target="Pawn" /> |
---|
[7193] | 34 | </trigger> |
---|
| 35 | </events> |
---|
| 36 | </CommandNotification> |
---|
[7319] | 37 | <Billboard position="0,0,-100" colour="1.0,1.0,0" material="Examples/Flare" /> |
---|
[7210] | 38 | |
---|
| 39 | <SimpleNotification message="Awesome!!!"> |
---|
| 40 | <events> |
---|
| 41 | <trigger> |
---|
[7319] | 42 | <DistanceTrigger name=trigger position="0,0,100" distance=10 target="Pawn" /> |
---|
[7210] | 43 | </trigger> |
---|
| 44 | </events> |
---|
| 45 | </SimpleNotification> |
---|
[7319] | 46 | <Billboard position="0,0,100" colour="1.0,0,1.0" material="Examples/Flare" /> |
---|
[7163] | 47 | |
---|
[5452] | 48 | |
---|
| 49 | |
---|
[5378] | 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 | |
---|
[5403] | 52 | |
---|
[7163] | 53 | <?lua |
---|
| 54 | for i = 1, 10, 1 do |
---|
| 55 | ?> |
---|
| 56 | <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 57 | <?lua end ?> |
---|
[5383] | 58 | |
---|
[7163] | 59 | |
---|
[5378] | 60 | </Scene> |
---|
| 61 | </Level> |
---|