Changeset 6388 for code/branches/presentation2/data/levels
- Timestamp:
- Dec 21, 2009, 1:28:10 PM (15 years ago)
- Location:
- code/branches/presentation2/data/levels
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/levels/empty_level.oxw
r6387 r6388 18 18 > 19 19 20 <!--Rocket position="-10, 3.5,800" velocity="0,0,-100"> 20 <!--Rocket position="-10, 3.5,800" velocity="0,0,-100"> 21 21 <attached> 22 22 <Model pitch=180 position="0,0,0" scale=1.5 mesh="rocket_test.mesh" > -
code/branches/presentation2/data/levels/gametype_asteroids.oxw
r5781 r6388 28 28 ?> 29 29 30 <MovableEntity 31 position="<?lua print(math.random()* 15000 - 1000) ?>,<?lua print(math.random() * 12000 - 4000) ?>,<?lua print(math.random() * 12000 - 4000) ?>" collisionType=dynamic 30 <MovableEntity 31 position="<?lua print(math.random()* 15000 - 1000) ?>,<?lua print(math.random() * 12000 - 4000) ?>,<?lua print(math.random() * 12000 - 4000) ?>" collisionType=dynamic 32 32 linearDamping=0.8 33 33 angularDamping=0 34 scale=<?lua print(j * 150)?> 34 scale=<?lua print(j * 150)?> 35 35 collisiondamage=1 36 36 enablecollisiondamage=true> -
code/branches/presentation2/data/levels/old/physicstest.oxw
r5781 r6388 12 12 13 13 <?lua 14 for i = 1, 226, 1 14 for i = 1, 226, 1 15 15 do ?> 16 16 <Model position="<?lua print(math.random() * 40000 - 20000)?>, <?lua print(math.random() * 40000 - 20000) ?>, <?lua print(math.random() * 40000 - 20000) ?>" scale="<?lua print(math.random() * 250 + 20) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" rotationAxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationRate="<?lua print(math.random() * 30 + 15) ?>" /> 17 <?lua 17 <?lua 18 18 end 19 19 ?> -
code/branches/presentation2/data/levels/old/tutorial_hs08.oxw
r5781 r6388 19 19 <!-- Embedded lua code (creates random asteroids) --> 20 20 <?lua 21 for i = 1, 226, 1 21 for i = 1, 226, 1 22 22 do ?> 23 23 <Model position="<?lua print(math.random() * 40000 - 20000)?>, <?lua print(math.random() * 40000 - 20000) ?>, <?lua print(math.random() * 40000 - 20000) ?>" scale="<?lua print(math.random() * 250 + 20) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" rotationAxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationRate="<?lua print(math.random() * 30 + 15) ?>" /> 24 <?lua 24 <?lua 25 25 end 26 26 ?> -
code/branches/presentation2/data/levels/presentation09.oxw
r6387 r6388 24 24 max = 20 25 25 for i = 1, max, 1 26 do 26 do 27 27 x = math.sin(i/max*6)*40000 28 28 y = math.cos(i/max*6)*40000 … … 30 30 ?> 31 31 <?lua 32 for k = 1, 25, 1 32 for k = 1, 25, 1 33 33 do 34 34 j = math.random() 35 35 ?> 36 36 37 <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> 37 <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> 38 38 <attached> 39 39 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> … … 43 43 </collisionShapes> <?lua end ?> 44 44 </MovableEntity> 45 <?lua 45 <?lua 46 46 end 47 47 ?> -
code/branches/presentation2/data/levels/presentation09b.oxw
r6387 r6388 121 121 122 122 <?lua 123 for i = 1, 10, 1 123 for i = 1, 10, 1 124 124 do 125 125 ?> … … 136 136 </controller> 137 137 </SpaceShip> 138 <?lua 139 end 140 ?> 141 142 <?lua 143 for i = 1, 12, 1 138 <?lua 139 end 140 ?> 141 142 <?lua 143 for i = 1, 12, 1 144 144 do 145 145 ?> … … 156 156 </controller> 157 157 </SpaceShip> 158 <?lua 158 <?lua 159 159 end 160 160 ?> … … 173 173 174 174 <?lua 175 for i = 1, 12, 1 175 for i = 1, 12, 1 176 176 do 177 177 ?> … … 190 190 </controller> 191 191 </SpaceShip> 192 <?lua 192 <?lua 193 193 end 194 194 ?> … … 320 320 321 321 <?lua 322 for i = 1, 10, 1 322 for i = 1, 10, 1 323 323 do 324 324 ?> … … 335 335 </controller> 336 336 </SpaceShip> 337 <?lua 338 end 339 ?> 340 341 <?lua 342 for i = 1, 200, 1 337 <?lua 338 end 339 ?> 340 341 <?lua 342 for i = 1, 200, 1 343 343 do 344 344 x = math.random() * 100 + (i-70) * 100 … … 348 348 ?> 349 349 350 <MovableEntity position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 - 15) ?>"> 350 <MovableEntity position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 - 15) ?>"> 351 351 <attached> 352 352 <Model position="0,0,0" scale=<?lua print(s) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 353 353 </attached> 354 354 </MovableEntity> 355 <?lua 355 <?lua 356 356 end 357 357 ?> … … 363 363 return table.getn(elements) 364 364 end 365 for i = 1, 150, 1 365 for i = 1, 150, 1 366 366 do 367 367 x = math.random() * 750 - 4500 … … 371 371 ?> 372 372 373 <MovableEntity position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 - 15) ?>"> 373 <MovableEntity position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 - 15) ?>"> 374 374 <attached> 375 375 <Model position="0,0,0" scale="<?lua print(sizes[e]) ?>" mesh="<?lua print( elements[e]) ?>" /> 376 376 </attached> 377 377 </MovableEntity> 378 <?lua 378 <?lua 379 379 end 380 380 ?> -
code/branches/presentation2/data/levels/presentationHS09.oxw
r6387 r6388 126 126 127 127 <?lua 128 for i = 1, 10, 1 128 for i = 1, 10, 1 129 129 do 130 130 ?> … … 141 141 </controller> 142 142 </SpaceShip> 143 <?lua 144 end 145 ?> 146 147 <?lua 148 for i = 1, 12, 1 143 <?lua 144 end 145 ?> 146 147 <?lua 148 for i = 1, 12, 1 149 149 do 150 150 ?> … … 161 161 </controller> 162 162 </SpaceShip> 163 <?lua 163 <?lua 164 164 end 165 165 ?> … … 178 178 179 179 <?lua 180 for i = 1, 12, 1 180 for i = 1, 12, 1 181 181 do 182 182 ?> … … 195 195 </controller> 196 196 </SpaceShip> 197 <?lua 197 <?lua 198 198 end 199 199 ?> … … 325 325 326 326 <?lua 327 for i = 1, 10, 1 327 for i = 1, 10, 1 328 328 do 329 329 ?> … … 340 340 </controller> 341 341 </SpaceShip> 342 <?lua 342 <?lua 343 343 end 344 344 ?> … … 349 349 return table.getn(elements) 350 350 end 351 for i = 1, 100, 1 351 for i = 1, 100, 1 352 352 do 353 353 x = math.random() * 100 + (i) * 100 … … 358 358 ?> 359 359 360 <MovableEntity mass=90000 position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 100 - 15) ?>"> 360 <MovableEntity mass=90000 position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 100 - 15) ?>"> 361 361 <attached> 362 362 <Model position="0,0,0" scale=<?lua print(s) ?> mesh="<?lua print(elements[e])?>" /> 363 363 </attached> 364 364 </MovableEntity> 365 <?lua 366 end 367 ?> 368 369 <?lua 370 for i = 1, 100, 1 365 <?lua 366 end 367 ?> 368 369 <?lua 370 for i = 1, 100, 1 371 371 do 372 372 x = math.random() * 200 + i*200 … … 378 378 <!-- <Billboard material="Test/Fog" position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" color="1, 1, 1, 0.01" scale="20" /> 379 379 --> 380 <?lua 380 <?lua 381 381 end 382 382 ?> … … 388 388 return table.getn(elements) 389 389 end 390 for i = 1, 150, 1 390 for i = 1, 150, 1 391 391 do 392 392 x = math.random() * 750 - 4500 … … 396 396 ?> 397 397 398 <MovableEntity mass=90000 position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30- 15) ?>"> 398 <MovableEntity mass=90000 position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" linearDamping=0.8 angularDamping=0.8 rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30- 15) ?>"> 399 399 <attached> 400 400 <Model position="0,0,0" scale="<?lua print(sizes[e]) ?>" mesh="<?lua print( elements[e]) ?>" /> 401 401 </attached> 402 402 </MovableEntity> 403 <?lua 403 <?lua 404 404 end 405 405 ?> 406 406 <!-- 407 407 <Planet position="1000,0,0" mass=900000 scale=1000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f /> 408 --> 408 --> 409 409 </Scene> 410 410 </Level> -
code/branches/presentation2/data/levels/presentation_dm.oxw
r6387 r6388 18 18 19 19 <?lua 20 for i = 1, 10, 1 20 for i = 1, 10, 1 21 21 do ?> 22 22 <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 /> 23 <?lua 23 <?lua 24 24 end 25 25 ?> … … 35 35 36 36 <?lua 37 for i = 1, 100, 1 37 for i = 1, 100, 1 38 38 do 39 39 j = math.random() 40 40 ?> 41 41 42 <MovableEntity position="<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> 42 <MovableEntity position="<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000-2000) ?>,<?lua print(math.random() * 5000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> 43 43 <attached> 44 44 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> … … 48 48 </collisionShapes> 49 49 </MovableEntity> 50 <?lua 50 <?lua 51 51 end 52 52 ?> -
code/branches/presentation2/data/levels/questsystem2.oxw
r6387 r6388 37 37 <QuestDescription title="The super Hint.3" description="Be proud of yourself.3" /> 38 38 </QuestHint> 39 </hints> 39 </hints> 40 40 <subquests> 41 41 <GlobalQuest id="e17f5245-f95b-44a8-b6cf-402274435ed4"> … … 215 215 max = 20 216 216 for i = 1, max, 1 217 do 217 do 218 218 x = math.sin(i/max*6)*40000 219 219 y = math.cos(i/max*6)*40000 … … 221 221 ?> 222 222 <?lua 223 for k = 1, 25, 1 223 for k = 1, 25, 1 224 224 do 225 225 j = math.random() 226 226 ?> 227 227 228 <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> 228 <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> 229 229 <attached> 230 230 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> … … 234 234 </collisionShapes> <?lua end ?> 235 235 </MovableEntity> 236 <?lua 236 <?lua 237 237 end 238 238 ?> -
code/branches/presentation2/data/levels/teambasematchlevel.oxw
r5781 r6388 41 41 <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> 42 42 <?lua 43 for i = 1, 10, 1 43 for i = 1, 10, 1 44 44 do ?> 45 45 <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> 46 46 <events><spawn><EventListener event="base 1" /></spawn></events> 47 47 </ParticleSpawner> 48 <?lua 48 <?lua 49 49 end 50 50 ?> … … 78 78 <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> 79 79 <?lua 80 for i = 1, 10, 1 80 for i = 1, 10, 1 81 81 do ?> 82 82 <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> 83 83 <events><spawn><EventListener event="base 2" /></spawn></events> 84 84 </ParticleSpawner> 85 <?lua 85 <?lua 86 86 end 87 87 ?> … … 115 115 <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> 116 116 <?lua 117 for i = 1, 10, 1 117 for i = 1, 10, 1 118 118 do ?> 119 119 <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> 120 120 <events><spawn><EventListener event="base 3" /></spawn></events> 121 121 </ParticleSpawner> 122 <?lua 122 <?lua 123 123 end 124 124 ?> … … 151 151 <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> 152 152 <?lua 153 for i = 1, 10, 1 153 for i = 1, 10, 1 154 154 do ?> 155 155 <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> 156 156 <events><spawn><EventListener event="base 4" /></spawn></events> 157 157 </ParticleSpawner> 158 <?lua 158 <?lua 159 159 end 160 160 ?> … … 188 188 <Billboard scale=7 material="Examples/Flare" colour="0.5,0.5,0.5" position = "100,0,0"/> 189 189 <?lua 190 for i = 1, 10, 1 190 for i = 1, 10, 1 191 191 do ?> 192 192 <ParticleSpawner position="<?lua print(math.random() * 400 - 200) ?>,<?lua print(math.random() * 200 - 100) ?>,<?lua print(math.random() * 200 - 100) ?>" startdelay=<?lua print(math.random()) ?> source="Orxonox/BigExplosion1part1" lifetime=2.0 loop=0 autostart=0> 193 193 <events><spawn><EventListener event="base 5" /></spawn></events> 194 194 </ParticleSpawner> 195 <?lua 195 <?lua 196 196 end 197 197 ?> -
code/branches/presentation2/data/levels/test_ghost.oxw
r6387 r6388 24 24 max = 20 25 25 for i = 1, max, 1 26 do 26 do 27 27 x = math.sin(i/max*6)*40000 28 28 y = math.cos(i/max*6)*40000 … … 30 30 ?> 31 31 <?lua 32 for k = 1, 25, 1 32 for k = 1, 25, 1 33 33 do 34 34 j = math.random() 35 35 ?> 36 36 37 <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> 37 <MovableEntity position="<?lua print(x + math.random() * 10000-2500) ?>,<?lua print(y + math.random() * 5000-2500) ?>,<?lua print(z + math.random() * 1000-500) ?>" <?lua if i == 5 then ?> collisionType=dynamic linearDamping=0.8 angularDamping=0 mass=<?lua print(j * 50) ?> <?lua end ?> scale=<?lua print(j * 5) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>"> 38 38 <attached> 39 39 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> … … 43 43 </collisionShapes> <?lua end ?> 44 44 </MovableEntity> 45 <?lua 45 <?lua 46 46 end 47 47 ?>
Note: See TracChangeset
for help on using the changeset viewer.