[5262] | 1 | <?lua |
---|
| 2 | include("levels/spaceshiptemplates.oxw") |
---|
| 3 | ?> |
---|
[5295] | 4 | <?lua |
---|
| 5 | include("levels/hudtemplates.oxw") |
---|
| 6 | ?> |
---|
[5262] | 7 | |
---|
| 8 | <Level |
---|
| 9 | name = "Sample" |
---|
| 10 | description = "Just a few tests" |
---|
| 11 | > |
---|
| 12 | <Scene |
---|
| 13 | ambientlight = "0.5, 0.5, 0.5" |
---|
| 14 | skybox = "Orxonox/Starbox" |
---|
[5289] | 15 | negativeWorldRange = "(-100000, -100000, -100000)" |
---|
| 16 | positiveWorldRange = "( 100000, 100000, 100000)" |
---|
| 17 | hasPhysics = true |
---|
[5262] | 18 | > |
---|
| 19 | |
---|
[5289] | 20 | <LinearEntity |
---|
[5290] | 21 | name = "blubb" |
---|
| 22 | position = "-250, 30, -500" |
---|
| 23 | collisionType = "kinematic" |
---|
[5289] | 24 | mass = 10 |
---|
[5290] | 25 | velocity = "100, 0, 0" |
---|
[5289] | 26 | > |
---|
| 27 | <attached> |
---|
[5290] | 28 | <Model name = "moedeli" position="0,0,0" scale=10 mesh="ast1.mesh" /> |
---|
| 29 | <StaticEntity name="hahaha" position="0,0,0" collisionType="static"> |
---|
| 30 | <collisionShapes> |
---|
| 31 | <SphereCollisionShape name="firstSphere" radius=20/> |
---|
| 32 | </collisionShapes> |
---|
| 33 | </StaticEntity> |
---|
[5289] | 34 | </attached> |
---|
[5290] | 35 | |
---|
| 36 | <!--collisionShapes> |
---|
| 37 | <SphereCollisionShape name = "secondSphere" radius=0.4 position="1,1,1"/> |
---|
| 38 | <CompoundCollisionShape position="4,4,4"> |
---|
| 39 | <SphereCollisionShape name = "thirdSphere" radius=1.0/> |
---|
| 40 | </CompoundCollisionShape> |
---|
| 41 | </collisionShapes--> |
---|
[5289] | 42 | </LinearEntity> |
---|
| 43 | |
---|
| 44 | <LinearEntity |
---|
[5290] | 45 | name = "blubb2" |
---|
| 46 | position = "250, 0, -500" |
---|
| 47 | collisionType = "dynamic" |
---|
[5289] | 48 | mass = 10 |
---|
[5290] | 49 | velocity = "-100, 0, 0" |
---|
[5289] | 50 | > |
---|
| 51 | <attached> |
---|
| 52 | <Model position="0,0,0" scale=10 mesh="ast1.mesh" /> |
---|
| 53 | </attached> |
---|
[5290] | 54 | <collisionShapes> |
---|
[5295] | 55 | <SphereCollisionShape name = "secondSphere" radius=20 position="0,0,0"/> |
---|
[5290] | 56 | </collisionShapes> |
---|
[5289] | 57 | </LinearEntity> |
---|
[5262] | 58 | |
---|
[5295] | 59 | <StaticEntity |
---|
| 60 | name = "blubbStatic" |
---|
| 61 | position = "50, -20, -500" |
---|
| 62 | collisionType = "static" |
---|
| 63 | mass = 10 |
---|
| 64 | > |
---|
| 65 | <attached> |
---|
| 66 | <Model position="0,0,0" scale=10 mesh="ast1.mesh" /> |
---|
| 67 | </attached> |
---|
| 68 | <collisionShapes> |
---|
| 69 | <SphereCollisionShape name = "secondSphere" radius=20 position="0,0,0"/> |
---|
| 70 | </collisionShapes> |
---|
| 71 | </StaticEntity> |
---|
| 72 | |
---|
[5262] | 73 | <!--SpawnPoint position="0, 0, 100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 74 | <SpawnPoint position="0, 0, -700" yaw =180 spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 75 | <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /--> |
---|
| 76 | |
---|
[5268] | 77 | <!--LinearEntity scale=1.5 position="0,0,-300" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=90> |
---|
[5262] | 78 | <events> |
---|
| 79 | <activity> |
---|
| 80 | <DistanceTrigger position="0,0,-300" distance=50 target="ControllableEntity" invert=1 /> |
---|
| 81 | </activity> |
---|
| 82 | </events> |
---|
| 83 | <attached> |
---|
| 84 | <Model position="0,0,0" scale=10 mesh="ast1.mesh" /> |
---|
| 85 | <PositionableEntity position="0,0,100"> |
---|
| 86 | <attached> |
---|
| 87 | <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> |
---|
[5268] | 88 | <LinearEntity position="0,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=500> |
---|
[5262] | 89 | <attached> |
---|
| 90 | <Model position="0,35,0" scale=2 mesh="ast1.mesh" /> |
---|
| 91 | <Model position="0,-35,0" scale=2 mesh="ast1.mesh" /> |
---|
| 92 | <Model position="35,0,0" scale=2 mesh="ast1.mesh"> |
---|
| 93 | <attached> |
---|
| 94 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
| 95 | </attached> |
---|
| 96 | </Model> |
---|
| 97 | <Model position="-35,0,0" scale=2 mesh="ast1.mesh"> |
---|
| 98 | <attached> |
---|
| 99 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
| 100 | </attached> |
---|
| 101 | </Model> |
---|
| 102 | </attached> |
---|
[5268] | 103 | </LinearEntity> |
---|
[5262] | 104 | </attached> |
---|
| 105 | </PositionableEntity> |
---|
[5268] | 106 | <LinearEntity position="0,0,-100" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=200> |
---|
[5262] | 107 | <attached> |
---|
| 108 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
| 109 | <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> |
---|
| 110 | <Model position="0,0,-50" scale=3 mesh="ast1.mesh" /> |
---|
| 111 | <Model position="0,0,50" scale=3 mesh="ast1.mesh" /> |
---|
| 112 | </attached> |
---|
[5268] | 113 | </LinearEntity> |
---|
[5262] | 114 | </attached> |
---|
[5268] | 115 | </LinearEntity--> |
---|
[5262] | 116 | |
---|
| 117 | |
---|
| 118 | <!--ParticleSpawner position="-500,0,-200" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
| 119 | <ParticleSpawner position="-500,0,-300" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
| 120 | <ParticleSpawner position="-500,0,-400" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
| 121 | <ParticleSpawner position="-500,0,-500" source="Orxonox/BigExplosion1part1" lifetime=2.5 loop=1 /> |
---|
| 122 | <ParticleSpawner position="-500,0,-600" source="Orxonox/BigExplosion1part1" lifetime=2.5 loop=1 /--> |
---|
| 123 | |
---|
| 124 | |
---|
| 125 | <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> |
---|
| 126 | <events> |
---|
| 127 | <spawn> |
---|
| 128 | <EventTrigger delay=1> |
---|
| 129 | <events> |
---|
| 130 | <trigger> |
---|
| 131 | <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
| 132 | </trigger> |
---|
| 133 | </events> |
---|
| 134 | </EventTrigger> |
---|
| 135 | </spawn> |
---|
| 136 | </events> |
---|
| 137 | </ParticleSpawner> |
---|
| 138 | |
---|
| 139 | |
---|
| 140 | <!--ParticleEmitter name=fireright position="200,0,0" source="Orxonox/fire3" active=false> |
---|
| 141 | <events> |
---|
| 142 | <activity> |
---|
| 143 | <DistanceTrigger name=firetrigger1 position="200,0,0" distance=100 target="ControllableEntity" /> |
---|
| 144 | </activity> |
---|
| 145 | </events> |
---|
| 146 | </ParticleEmitter> |
---|
| 147 | <ParticleEmitter name=fireleft position="-200,0,0" source="Orxonox/fire3" active=false> |
---|
| 148 | <events> |
---|
| 149 | <activity> |
---|
| 150 | <DistanceTrigger name=firetrigger2 position="-200,0,0" distance=100 target="ControllableEntity" /> |
---|
| 151 | </activity> |
---|
| 152 | </events> |
---|
| 153 | </ParticleEmitter> |
---|
| 154 | <ParticleEmitter name=firecenter position="0,0,0" source="Orxonox/fire3" active=false> |
---|
| 155 | <events> |
---|
| 156 | <activity> |
---|
| 157 | <EventListener event=firetrigger1 /> |
---|
| 158 | <EventListener event=firetrigger2 /> |
---|
| 159 | </activity> |
---|
| 160 | </events> |
---|
| 161 | </ParticleEmitter--> |
---|
| 162 | |
---|
| 163 | |
---|
| 164 | <!--EventDispatcher> |
---|
| 165 | <targets> |
---|
| 166 | <EventTarget name=fireright /> |
---|
| 167 | <EventTarget name=firecenter /> |
---|
| 168 | <EventTarget name=fireleft /> |
---|
| 169 | </targets> |
---|
| 170 | <events> |
---|
| 171 | <activity> |
---|
| 172 | <DistanceTrigger position="0,0,200" distance=100 target="ControllableEntity" /> |
---|
| 173 | </activity> |
---|
| 174 | </events> |
---|
| 175 | </EventDispatcher--> |
---|
| 176 | |
---|
| 177 | |
---|
| 178 | <!--Model position="0,50,0" scale=3 mesh="assff.mesh"> |
---|
| 179 | <events> |
---|
| 180 | <visibility> |
---|
| 181 | <DistanceTrigger position="0,50,0" distance=50 target="ControllableEntity" invert=1 /> |
---|
| 182 | </visibility> |
---|
| 183 | </events> |
---|
| 184 | </Model--> |
---|
| 185 | |
---|
| 186 | |
---|
| 187 | <Model position="0,0,200" scale=10 mesh="ast2.mesh" shadow=true /> |
---|
| 188 | <!--Model position="0,0,-200" scale=10 mesh="ast1.mesh" shadow=true /--> |
---|
| 189 | <Model position="0,200,0" scale=10 mesh="ast3.mesh" shadow=true /> |
---|
| 190 | <Model position="0,-200,0" scale=10 mesh="ast4.mesh" shadow=true /> |
---|
| 191 | <Model position="200,0,0" scale=10 mesh="ast5.mesh" shadow=false /> |
---|
| 192 | <Model position="-200,0,0" scale=10 mesh="ast6.mesh" shadow=false /> |
---|
| 193 | |
---|
| 194 | <Model position="1000,-200,0" scale3D="1,100,100" mesh="ast1.mesh" /> |
---|
| 195 | |
---|
| 196 | <Model position="0, 0,-100" pitch=-90 roll=-90 scale=4 mesh="assff.mesh" /> |
---|
| 197 | <!--Model position="0,100,-100" pitch=-90 roll=-90 scale=4 mesh="pirate.mesh" /> |
---|
| 198 | <Model position="0,300,-100" pitch=-90 roll=-90 scale=4 mesh="spacecruiser.mesh" /--> |
---|
| 199 | |
---|
| 200 | </Scene> |
---|
| 201 | </Level> |
---|