[5236] | 1 | <?lua |
---|
[5242] | 2 | include("levels/hudtemplates.oxw") |
---|
[5236] | 3 | ?> |
---|
[5219] | 4 | |
---|
[5241] | 5 | <?lua |
---|
[5242] | 6 | include("levels/spaceshiptemplates.oxw") |
---|
[5241] | 7 | ?> |
---|
| 8 | |
---|
[5239] | 9 | <Level |
---|
[5236] | 10 | name = "Sample" |
---|
| 11 | description = "Just a few tests" |
---|
[5240] | 12 | > |
---|
| 13 | <Scene |
---|
[5247] | 14 | ambientlight = "0.5, 0.5, 0.5" |
---|
[5240] | 15 | skybox = "Orxonox/Starbox" |
---|
| 16 | > |
---|
[5255] | 17 | <!--SpawnPoint position="0, 0, 100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
[5244] | 18 | <SpawnPoint position="0, 0, -700" yaw =180 spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
[5255] | 19 | <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /--> |
---|
[5236] | 20 | |
---|
[5255] | 21 | <MovableEntity scale=1.5 position="0,0,-300" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=90> |
---|
[5256] | 22 | <events> |
---|
| 23 | <activity> |
---|
| 24 | <DistanceTrigger position="0,0,-300" distance=50 target="ControllableEntity" invert=1 /> |
---|
| 25 | </activity> |
---|
| 26 | </events> |
---|
[5219] | 27 | <attached> |
---|
[5240] | 28 | <Model position="0,0,0" scale=10 mesh="ast1.mesh" /> |
---|
| 29 | <PositionableEntity position="0,0,100"> |
---|
[5236] | 30 | <attached> |
---|
[5240] | 31 | <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> |
---|
| 32 | <MovableEntity position="0,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=500> |
---|
| 33 | <attached> |
---|
| 34 | <Model position="0,35,0" scale=2 mesh="ast1.mesh" /> |
---|
| 35 | <Model position="0,-35,0" scale=2 mesh="ast1.mesh" /> |
---|
[5255] | 36 | <Model position="35,0,0" scale=2 mesh="ast1.mesh"> |
---|
| 37 | <attached> |
---|
| 38 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
| 39 | </attached> |
---|
| 40 | </Model> |
---|
| 41 | <Model position="-35,0,0" scale=2 mesh="ast1.mesh"> |
---|
| 42 | <attached> |
---|
| 43 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
| 44 | </attached> |
---|
| 45 | </Model> |
---|
[5240] | 46 | </attached> |
---|
| 47 | </MovableEntity> |
---|
[5236] | 48 | </attached> |
---|
[5240] | 49 | </PositionableEntity> |
---|
| 50 | <MovableEntity position="0,0,-100" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=200> |
---|
| 51 | <attached> |
---|
[5255] | 52 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
[5240] | 53 | <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> |
---|
| 54 | <Model position="0,0,-50" scale=3 mesh="ast1.mesh" /> |
---|
| 55 | <Model position="0,0,50" scale=3 mesh="ast1.mesh" /> |
---|
| 56 | </attached> |
---|
[5236] | 57 | </MovableEntity> |
---|
[5219] | 58 | </attached> |
---|
[5236] | 59 | </MovableEntity> |
---|
[5219] | 60 | |
---|
[5257] | 61 | |
---|
[5256] | 62 | <!--ParticleSpawner position="-500,0,-200" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
[5255] | 63 | <ParticleSpawner position="-500,0,-300" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
| 64 | <ParticleSpawner position="-500,0,-400" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
| 65 | <ParticleSpawner position="-500,0,-500" source="Orxonox/BigExplosion1part1" lifetime=2.5 loop=1 /> |
---|
[5256] | 66 | <ParticleSpawner position="-500,0,-600" source="Orxonox/BigExplosion1part1" lifetime=2.5 loop=1 /--> |
---|
[5255] | 67 | |
---|
[5257] | 68 | |
---|
[5256] | 69 | <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> |
---|
[5255] | 70 | <events> |
---|
| 71 | <spawn> |
---|
[5257] | 72 | <EventTrigger delay=1> |
---|
| 73 | <events> |
---|
| 74 | <trigger> |
---|
| 75 | <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 76 | </trigger> |
---|
| 77 | </events> |
---|
| 78 | </EventTrigger> |
---|
[5255] | 79 | </spawn> |
---|
| 80 | </events> |
---|
| 81 | </ParticleSpawner> |
---|
| 82 | |
---|
[5257] | 83 | |
---|
| 84 | <ParticleEmitter name=fireright position="200,0,0" source="Orxonox/fire3" active=false> |
---|
[5256] | 85 | <events> |
---|
| 86 | <activity> |
---|
[5257] | 87 | <DistanceTrigger name=firetrigger1 position="200,0,0" distance=100 target="ControllableEntity" /> |
---|
[5256] | 88 | </activity> |
---|
| 89 | </events> |
---|
| 90 | </ParticleEmitter> |
---|
[5257] | 91 | <ParticleEmitter name=fireleft position="-200,0,0" source="Orxonox/fire3" active=false> |
---|
[5256] | 92 | <events> |
---|
| 93 | <activity> |
---|
[5257] | 94 | <DistanceTrigger name=firetrigger2 position="-200,0,0" distance=100 target="ControllableEntity" /> |
---|
[5256] | 95 | </activity> |
---|
| 96 | </events> |
---|
| 97 | </ParticleEmitter> |
---|
[5257] | 98 | <ParticleEmitter name=firecenter position="0,0,0" source="Orxonox/fire3" active=false> |
---|
| 99 | <events> |
---|
| 100 | <activity> |
---|
| 101 | <EventListener event=firetrigger1 /> |
---|
| 102 | <EventListener event=firetrigger2 /> |
---|
| 103 | </activity> |
---|
| 104 | </events> |
---|
| 105 | </ParticleEmitter> |
---|
[5256] | 106 | |
---|
[5257] | 107 | |
---|
| 108 | <EventDispatcher> |
---|
| 109 | <targets> |
---|
| 110 | <EventTarget name=fireright /> |
---|
| 111 | <EventTarget name=firecenter /> |
---|
| 112 | <EventTarget name=fireleft /> |
---|
| 113 | </targets> |
---|
| 114 | <events> |
---|
| 115 | <activity> |
---|
| 116 | <DistanceTrigger position="0,0,200" distance=100 target="ControllableEntity" /> |
---|
| 117 | </activity> |
---|
| 118 | </events> |
---|
| 119 | </EventDispatcher> |
---|
| 120 | |
---|
| 121 | |
---|
[5256] | 122 | <Model position="0,50,0" scale=3 mesh="assff.mesh"> |
---|
| 123 | <events> |
---|
| 124 | <visibility> |
---|
| 125 | <DistanceTrigger position="0,50,0" distance=50 target="ControllableEntity" invert=1 /> |
---|
| 126 | </visibility> |
---|
| 127 | </events> |
---|
| 128 | </Model> |
---|
| 129 | |
---|
[5257] | 130 | |
---|
[5240] | 131 | <Model position="0,0,200" scale=10 mesh="ast2.mesh" shadow=true /> |
---|
| 132 | <!--Model position="0,0,-200" scale=10 mesh="ast1.mesh" shadow=true /--> |
---|
| 133 | <Model position="0,200,0" scale=10 mesh="ast3.mesh" shadow=true /> |
---|
| 134 | <Model position="0,-200,0" scale=10 mesh="ast4.mesh" shadow=true /> |
---|
| 135 | <Model position="200,0,0" scale=10 mesh="ast5.mesh" shadow=false /> |
---|
| 136 | <Model position="-200,0,0" scale=10 mesh="ast6.mesh" shadow=false /> |
---|
[5236] | 137 | |
---|
[5240] | 138 | <Model position="1000,-200,0" scale3D="1,100,100" mesh="ast1.mesh" /> |
---|
| 139 | |
---|
[5241] | 140 | <Model position="0, 0,-100" pitch=-90 roll=-90 scale=4 mesh="assff.mesh" /> |
---|
[5245] | 141 | <!--Model position="0,100,-100" pitch=-90 roll=-90 scale=4 mesh="pirate.mesh" /> |
---|
| 142 | <Model position="0,300,-100" pitch=-90 roll=-90 scale=4 mesh="spacecruiser.mesh" /--> |
---|
[5241] | 143 | |
---|
[5240] | 144 | </Scene> |
---|
| 145 | </Level> |
---|