Changeset 5528 for data/media/levels/gametype_asteroids.oxw
- Timestamp:
- May 23, 2009, 3:44:34 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/media/levels/gametype_asteroids.oxw
- Property svn:eol-style set to native
r5521 r5528 1 1 <?lua 2 include(" levels/hudtemplates3.oxw")2 include("overlay/hudtemplates3.oxo") 3 3 include("overlay/stats.oxo") 4 include("levels/ spaceshiptemplates_presentation.oxw")4 include("levels/templates/spaceship_assff.oxt") 5 5 ?> 6 6 … … 23 23 <!-- 24 24 <?lua 25 for i = 1, 500, 1 25 for i = 1, 500, 1 26 26 do 27 27 j = math.random() 28 28 ?> 29 30 <MovableEntity position="<?lua print(math.random()* 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=<?lua print(j * 150 + 30) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() *100) ?>" > 29 30 <MovableEntity position="<?lua print(math.random()* 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=<?lua print(j * 150 + 30) ?> rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() *100) ?>" > 31 31 <attached> 32 32 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mass=<?lua print(j * 30) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> … … 36 36 </collisionShapes> 37 37 </MovableEntity> 38 <?lua 38 <?lua 39 39 end 40 40 ?> … … 42 42 43 43 44 <MovableEntity position="0,0,0" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=5 collisiondamage=1 enablecollisiondamage=true> 44 <MovableEntity position="0,0,0" collisionType=dynamic linearDamping=0.8 angularDamping=0 scale=5 collisiondamage=1 enablecollisiondamage=true> 45 45 <attached> 46 46 <Model position="0,0,0" scale=10 mass=100 mesh="ast1.mesh" /> … … 55 55 <attached> 56 56 <ParticleEmitter source="Orxonox/ForceFieldPurple" startdelay=0 /> 57 </attached> 57 </attached> 58 58 </ForceField> 59 59 60 60 61 61 <ForceField position="1000,-500,0" direction="0,1,1" diameter=500 velocity=30> 62 62 <attached> 63 63 <ParticleEmitter source="Orxonox/ForceFieldGreen" startdelay=0 /> 64 </attached> 64 </attached> 65 65 </ForceField> 66 66 67 67 <ForceField position="1800,-300,-300" direction="0,0,1" diameter=800 velocity=100> 68 68 <attached> 69 69 <ParticleEmitter source="Orxonox/ForceFieldBlue" startdelay=0 /> 70 </attached> 70 </attached> 71 71 </ForceField> 72 72
Note: See TracChangeset
for help on using the changeset viewer.