Changeset 5502 for data/media/levels/presentation_dm.oxw
- Timestamp:
- May 11, 2009, 4:02:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/media/levels/presentation_dm.oxw
r5484 r5502 32 32 </events> 33 33 </GlobalShader> 34 <Model position="0,0,0" scale=8 mesh="ast1.mesh" /> 35 <StaticEntity position="0,0,0" collisionType=static> 34 35 <?lua 36 for i = 1, 50, 1 37 do 38 j = math.random() 39 ?> 40 41 <MovableEntity position="<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000-2000) ?>,<?lua print(math.random() * 3000 - 2000) ?>" collisionType=dynamic linearDamping=0.8 angularDamping=0.8 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 <attached> 43 <Model position="0,0,0" scale=<?lua print(j * 10) ?> mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 44 </attached> 36 45 <collisionShapes> 37 <SphereCollisionShape radius=" 20" />46 <SphereCollisionShape radius="<?lua print(j * 70) ?>" /> 38 47 </collisionShapes> 39 </StaticEntity> 48 </MovableEntity> 49 <?lua 50 end 51 ?> 52 40 53 <!-- 41 54 <?lua
Note: See TracChangeset
for help on using the changeset viewer.