Changeset 6412 for code/branches/pickup2/data/levels
- Timestamp:
- Dec 25, 2009, 1:18:03 PM (15 years ago)
- Location:
- code/branches/pickup2
- Files:
-
- 20 edited
- 13 copied
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup2
- Property svn:mergeinfo changed
-
code/branches/pickup2/data/levels/empty_level.oxw
r5781 r6412 17 17 skybox = "Orxonox/Starbox" 18 18 > 19 20 <!--Rocket position="-10, 3.5,800" velocity="0,0,-100"> 21 <attached> 22 <Model pitch=180 position="0,0,0" scale=1.5 mesh="rocket_test.mesh" > 23 <attached> 24 <ParticleEmitter pitch=0 roll=0 position="0,5,0" source="Orxonox/laser" lifetime=2.0 loop=1 startdelay=3.0/> 25 <ParticleEmitter pitch=-90 roll=0 position="0,-5,0" source="Orxonox/particlecanon" lifetime=2.0 loop=1 startdelay=3.0/> 26 <ParticleEmitter pitch=-90 roll=0 position="0,0,-2" source="Orxonox/rocketfire" lifetime=2.0 loop=1 startdelay=3.0 /> 27 <ParticleEmitter pitch=-90 roll=0 position="0,0,-2" source="Orxonox/smoke" lifetime=2.0 loop=1 startdelay=3.0 /> 28 </attached> 29 </Model> 30 </attached> 31 </Rocket--> 32 33 19 34 <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" /> 20 <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceship pirate/>35 <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> 21 36 </Scene> 22 37 </Level> -
code/branches/pickup2/data/levels/events.oxw
- Property svn:eol-style set to native
r5929 r6412 45 45 works with all amounts of objects from zero to infinity. In the examples I used two objects each. 46 46 --> 47 47 48 48 49 49 <!-- red --> -
code/branches/pickup2/data/levels/gametype_asteroids.oxw
r5781 r6412 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/pickup2/data/levels/includes/weaponsettings3.oxi
r5781 r6412 2 2 <WeaponSlot position="-15.0,-1.5,0" /> 3 3 <WeaponSlot position=" 15.0,-1.5,0" /> 4 <WeaponSlot position=" 0.0, 0.0,0" />4 <WeaponSlot position=" 0, 0,0" /> 5 5 </weaponslots> 6 6 <weaponsets> 7 7 <WeaponSet firemode=0 /> 8 8 <WeaponSet firemode=1 /> 9 <WeaponSet firemode=2 /> 9 10 </weaponsets> 10 11 <weapons> … … 13 14 <DefaultWeaponmodeLink firemode=0 weaponmode=0 /> 14 15 <DefaultWeaponmodeLink firemode=1 weaponmode=1 /> 16 <DefaultWeaponmodeLink firemode=2 weaponmode=2 /> 15 17 </links> 16 18 <Weapon> … … 36 38 <LightningGun mode=1 muzzleoffset="0,0,0" /> 37 39 </Weapon> 40 <Weapon> 41 <RocketFire mode=2 muzzleoffset="0,0,0" /> 42 </Weapon> 38 43 </WeaponPack> 39 44 <WeaponPack> … … 41 46 <DefaultWeaponmodeLink firemode=1 weaponmode=0 /> 42 47 </links> 43 < Weapon>44 < !-- EnergyDrink mode=0 munitionpershot=0 delay=0 material="Flares/point_lensflare"muzzleoffset="2,-0.2,-1" / -->45 </Weapon >48 <!--Weapon> 49 <EnergyDrink mode=0 munitionpershot=0 delay=0 material="Flares/point_lensflare"muzzleoffset="2,-0.2,-1" /> 50 </Weapon--> 46 51 </WeaponPack> 47 52 </weapons> -
code/branches/pickup2/data/levels/includes/weaponsettings_ghost.oxi
- Property svn:eol-style set to native
r6105 r6412 16 16 <HsW01 mode=0 munitionpershot=0 delay=0 material="Flares/point_lensflare" /> 17 17 <HsW01 mode=0 munitionpershot=0 delay=0.125 material="Flares/point_lensflare" muzzleoffset=" 0.5,0.6,1.7" /> 18 <LightningGun mode=1 muzzleoffset="0,0,0" /> 18 19 </Weapon> 19 20 <Weapon> 20 21 <HsW01 mode=0 munitionpershot=0 delay=0 material="Flares/point_lensflare" /> 21 22 <HsW01 mode=0 munitionpershot=0 delay=0.125 material="Flares/point_lensflare" muzzleoffset="-0.5,0.6,1.7" /> 23 <LightningGun mode=1 muzzleoffset="0,0,0" /> 22 24 </Weapon> 23 25 </WeaponPack> -
code/branches/pickup2/data/levels/old/physicstest.oxw
r5781 r6412 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/pickup2/data/levels/old/physicstest2.oxw
r5929 r6412 21 21 <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /--> 22 22 23 24 23 <!-- axes in ogre's origin of coordinate system for phsics engine testing purposes--> 24 <StaticEntity 25 25 position = "0,0,0" 26 26 name = "banana" … … 35 35 <PlaneCollisionShape name="thePlane" planeNormal="0,1,0" planeOffset=0 /> 36 36 </collisionShapes> 37 38 39 40 41 42 43 44 45 46 47 37 </StaticEntity> 38 39 <!-- red sphere for phsics engine testing purposes--> 40 <!--StaticEntity position="40,0,0"> 41 <attached> 42 <Model position="0,0,0" scale=1 mesh="sphere.mesh" /> 43 </attached> 44 </StaticEntity--> 45 46 <!-- yellow cube for phsics engine testing purposes--> 47 <!--StaticEntity position="80,0,0"> 48 48 <attached> 49 49 <Model position="0,0,0" scale=1 mesh="cube.mesh" /> 50 50 </attached> 51 51 </StaticEntity--> 52 52 53 53 <MovableEntity -
code/branches/pickup2/data/levels/old/presentation_physics.oxw
r5781 r6412 30 30 <PlaneCollisionShape planeNormal="0,1,0" planeOffset=0 /> 31 31 </collisionShapes> 32 32 </StaticEntity> 33 33 34 34 <MovableEntity 35 35 position = "0,250,500" 36 36 rotationaxis = "1, 1, 1" … … 64 64 <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> 65 65 </collisionShapes> 66 66 </MovableEntity> 67 67 68 68 <?lua -
code/branches/pickup2/data/levels/old/princessaeryn.oxw
r5929 r6412 6 6 7 7 <?lua 8 8 dofile("includes/CuboidSpaceStation.lua") 9 9 ?> 10 10 11 11 <NotificationQueue 12 13 14 12 name = "notification" 13 position = "1.0, 1.0" 14 targets = "questsystem" 15 15 /> 16 16 -
code/branches/pickup2/data/levels/old/questsystem.oxw
r5781 r6412 6 6 7 7 <NotificationQueue 8 9 10 8 name = "notification" 9 position = "1.0, 1.0" 10 targets = "all" 11 11 /> 12 12 … … 29 29 </GlobalQuest> 30 30 31 32 33 34 35 36 37 38 39 40 41 42 43 31 <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> 32 <events> 33 <spawn> 34 <EventTrigger delay=1> 35 <events> 36 <trigger> 37 <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> 38 </trigger> 39 </events> 40 </EventTrigger> 41 </spawn> 42 </events> 43 </ParticleSpawner> 44 44 45 45 <QuestEffectBeacon position="0,0,100" times=-1> -
code/branches/pickup2/data/levels/old/sample4.oxw
r5929 r6412 23 23 <Model position="0,0,0" scale=10 mesh="satellite.mesh" /> 24 24 <MovableEntity position="-4,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=50> 25 25 <attached> 26 26 <Model position="4,0,0" scale=10 mesh="satellitedish.mesh"/> 27 27 </attached> 28 28 </MovableEntity> 29 29 <ParticleEmitter pitch=-135 roll=30 position="-14, 3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> 30 30 <ParticleEmitter pitch=135 roll=30 position="-14, 3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> -
code/branches/pickup2/data/levels/old/spaceshiptemplates_physics.oxw
r5781 r6412 10 10 auxilaryThrust = 30; 11 11 rotationThrust = 10; 12 12 13 13 collisionType = "dynamic" 14 14 mass = 100 -
code/branches/pickup2/data/levels/old/tutorial_hs08.oxw
r5781 r6412 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/pickup2/data/levels/presentation.oxw
r5929 r6412 20 20 21 21 22 23 24 25 26 27 22 <!-- axes in ogre's origin of coordinate system for phsics engine testing purposes--> 23 <!--StaticEntity position="0,0,0"> 24 <attached> 25 <Model position="0,0,0" scale=1 mesh="axes.mesh" /> 26 </attached> 27 </StaticEntity --> 28 28 29 30 31 32 33 34 29 <!-- red sphere for phsics engine testing purposes--> 30 <!--StaticEntity position="40,0,0"> 31 <attached> 32 <Model position="0,0,0" scale=1 mesh="sphere.mesh" /> 33 </attached> 34 </StaticEntity--> 35 35 36 37 38 39 40 41 36 <!-- yellow cube for phsics engine testing purposes--> 37 <!--StaticEntity position="80,0,0"> 38 <attached> 39 <Model position="0,0,0" scale=1 mesh="cube.mesh" /> 40 </attached> 41 </StaticEntity--> 42 42 43 44 43 <!-- Carrier with guns not implemented yet --> 44 <MovableEntity position="-2000,-1000,-2000" pitch="-90" roll="90"> 45 45 <attached> 46 46 <Model position="0,0,0" scale=10 mesh="Carrier.mesh" /> 47 47 <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" /> 48 48 <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" /> 49 49 </attached> … … 54 54 <Model position="0,0,0" scale=10 mesh="satellite.mesh" /> 55 55 <MovableEntity position="-4,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=50> 56 56 <attached> 57 57 <Model position="4,0,0" scale=10 mesh="satellitedish.mesh"/> 58 58 </attached> 59 59 </MovableEntity> 60 60 <ParticleEmitter pitch=-135 roll=30 position="-14, 3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> 61 61 <ParticleEmitter pitch=135 roll=30 position="-14, 3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> -
code/branches/pickup2/data/levels/presentation09.oxw
r5781 r6412 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 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) ?>"> 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) ?>"> 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 ?> 48 48 <?lua end ?> 49 49 <Planet position="0,0,0" scale=10000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f /> 50 50 51 51 </Scene> 52 52 </Level> -
code/branches/pickup2/data/levels/presentation09b.oxw
r5929 r6412 86 86 </controller> 87 87 </SpaceShip> 88 88 89 89 <PickupSpawner item="JumpItem" triggerDistance="20" respawnTime="10000" position="-3800, 2500, 1500"> 90 90 <attached> … … 93 93 </attached> 94 94 </PickupSpawner> 95 95 96 96 <PickupSpawner item="HealthUsableItem" triggerDistance="20" respawnTime="10000" position="-4150,2750,1550"> 97 97 <attached> … … 100 100 </attached> 101 101 </PickupSpawner> 102 102 103 103 <PickupSpawner item="HealthImmediateItem" triggerDistance="20" respawnTime="3" position="2300, 4300, 2400"> 104 104 <attached> … … 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 … … 347 347 s = math.random() * 60 + 30 348 348 ?> 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) ?>"> 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) ?>"> 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 … … 370 370 e = math.floor(math.random()*elements.length()+1) 371 371 ?> 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) ?>"> 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) ?>"> 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 379 end 380 ?> 381 378 <?lua 379 end 380 ?> 381 382 382 </Scene> 383 383 </Level> -
code/branches/pickup2/data/levels/presentation_dm.oxw
r5781 r6412 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 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) ?>"> 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) ?>"> 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/pickup2/data/levels/princessaeryn.oxw
r5929 r6412 6 6 7 7 <?lua 8 8 dofile("includes/CuboidSpaceStation.lua") 9 9 ?> 10 10 -
code/branches/pickup2/data/levels/questsystem2.oxw
- Property svn:eol-style set to native
r6105 r6412 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 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) ?>"> 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) ?>"> 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 ?> 239 239 <?lua end ?> 240 240 <Planet position="0,0,0" scale=10000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f /> 241 241 242 242 </Scene> 243 243 </Level> -
code/branches/pickup2/data/levels/teambasematchlevel.oxw
r5781 r6412 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/pickup2/data/levels/templates/spaceship_assff.oxt
r5781 r6412 64 64 speedupdown = 50 65 65 66 defEngineSndNormal = "sounds/Engine_low.ogg" 67 defEngineSndBoost = "sounds/Engine_high.ogg" 68 66 69 accelerationfront = 500 67 70 accelerationbrake = 500 … … 70 73 accelerationupdown = 125 71 74 > 72 <active> 75 <EffectContainer condition="idle"> 76 <WorldSound mainstate="activity" source="sounds/Engine_idle.ogg" loop=1 active=false/> 77 </EffectContainer> 78 <EffectContainer condition="not idle"> 73 79 <FadingBillboard mainstate=activity active=false scale=0.1 position="0, 0, 9" colour="0.2, 0.65, 1.0, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 74 80 <!-- … … 76 82 <Light mainstate=visibility position="-8, 0, 8" diffuse="0.3, 0.6, 1.0" specular="0.3, 0.6, 1.0" attenuation="600, 1.0, 0.007, 0.0002" type=point /> 77 83 --> 78 </active> 79 <forward> 84 </EffectContainer> 85 <EffectContainer condition="normal or brake"> 86 87 </EffectContainer> 88 <EffectContainer condition="normal or boost"> 80 89 <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 81 90 <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.2, 0.65, 1.0, 1.0" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 82 </ forward>83 < boost>91 </EffectContainer> 92 <EffectContainer condition="boost"> 84 93 <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> 85 94 <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 0, 6" colour="0.6, 0.75, 0.8, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> 86 </ boost>87 < brake>95 </EffectContainer> 96 <EffectContainer condition="brake"> 88 97 <FadingBillboard mainstate=activity active=false scale=0.3 position=" 8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 89 98 <FadingBillboard mainstate=activity active=false scale=0.3 position="-8, 0, 6" colour="0.5, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 90 99 <FadingBillboard mainstate=activity active=false scale=0.15 position=" 8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 /> 91 100 <FadingBillboard mainstate=activity active=false scale=0.15 position="-8, 0, 6" colour="1.0, 0.0, 0.0, 1.0" material="Flares/backlightflare" turnontime=0.5 turnofftime=0.5 /> 92 </ brake>101 </EffectContainer> 93 102 </MultiStateEngine> 94 103 </Template> -
code/branches/pickup2/data/levels/templates/spaceship_ghost.oxt
- Property svn:eol-style set to native
r6105 r6412 12 12 initialhealth = 100 13 13 14 primaryThrust = 100;14 primaryThrust = 600; 15 15 auxilaryThrust = 30; 16 16 rotationThrust = 25; … … 33 33 <BoxCollisionShape position="0,0.1,-19" halfExtents="1.4, 1, 2" /> 34 34 </collisionShapes> 35 35 <?lua 36 include("includes/weaponsettings_ghost.oxi") 37 ?> 36 38 </SpaceShip> 37 39 </Template> … … 44 46 <CameraPosition position="0,50,200" drag=true mouselook=true /> 45 47 </camerapositions> 46 47 <?lua48 include("includes/weaponsettings_ghost.oxi")49 ?>50 51 48 </SpaceShip> 52 49 </Template> … … 56 53 boostfactor = 2 57 54 58 speedfront = 15055 speedfront = 600 59 56 speedback = 50 60 57 speedleftright = 50 61 58 speedupdown = 50 62 59 63 accelerationfront = 30060 accelerationfront = 700 64 61 accelerationbrake = 300 65 62 accelerationback = 100 … … 67 64 accelerationupdown = 100 68 65 > 69 70 71 <forward> 72 <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 6.06, 3.66, 9.6" colour="1, 1, 1, 0.4" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 73 <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-6.06, 3.66, 9.6" colour="1, 1, 1, 0.4" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 74 <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 6.06, 5.66, 9.6" colour="1, 1, 1, 0.4" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 75 <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-6.06, 5.66, 9.6" colour="1, 1, 1, 0.4" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 76 <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 6.86, 4.66, 9.6" colour="1, 1, 1, 0.4" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 77 <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-6.86, 4.66, 9.6" colour="1, 1, 1, 0.4" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 78 </forward> 79 <boost> 80 <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 6.06, 5.66, 11.6" colour="0.5, 0.85, 0.5, 0.1" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> 81 <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-6.06, 5.66, 11.6" colour="0.5, 0.85, 0.5, 0.1" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> 82 <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 6.06, 3.66, 11.6" colour="0.5, 0.85, 0.5, 0.1" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> 83 <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-6.06, 3.66, 11.6" colour="0.5, 0.85, 0.5, 0.1" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> 84 <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 6.86, 4.66, 11.6" colour="0.5, 0.85, 0.5, 0.1" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> 85 <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-6.86, 4.66, 11.6" colour="0.5, 0.85, 0.5, 0.1" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> 86 </boost> 87 </MultiStateEngine> 66 <EffectContainer condition="normal or boost"> 67 <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 3, 6" colour="0.0, 0.0, 0.0, 0.5" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 68 <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 3, 6" colour="0.0, 0.0, 0.0, 0.5" width=15 length=1500 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1" /> 69 </EffectContainer> 70 <EffectContainer condition="boost"> 71 <Backlight mainstate=activity active=false scale=0.4 name=bltest position=" 7.6, 3, 6" colour="0.0, 0.0, 0.0, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> 72 <Backlight mainstate=activity active=false scale=0.4 name=bltest position="-7.6, 3, 6" colour="0.0, 0.0, 0.0, 0.7" width=40 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" /> 73 </EffectContainer> 74 <EffectContainer condition="not idle"> 75 <Backlight mainstate=activity active=false scale=0.4 position="7.6, 3, 6" colour="1, 1, 1, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 76 <Backlight mainstate=activity active=false scale=0.4 position="-7.6, 3, 6" colour="1, 1, 1, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 77 </EffectContainer> 78 <EffectContainer condition="brake"> 79 <FadingBillboard mainstate=activity active=false scale=0.3 position=" 8, 0, 6" colour="0.2, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 80 <FadingBillboard mainstate=activity active=false scale=0.3 position="-8, 0, 6" colour="0.2, 0.0, 0.0, 0.3" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 /> 81 </EffectContainer> 82 </MultiStateEngine> 88 83 </Template> 89 84 -
code/branches/pickup2/data/levels/test_ghost.oxw
- Property svn:eol-style set to native
r6105 r6412 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 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) ?>"> 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) ?>"> 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 ?> 48 48 <?lua end ?> 49 49 <Planet position="0,0,0" scale=10000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f /> 50 50 51 51 </Scene> 52 52 </Level>
Note: See TracChangeset
for help on using the changeset viewer.