Changeset 11504 for code/branches/FlappyOrx_HS17/data/levels
- Timestamp:
- Oct 23, 2017, 3:22:13 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FlappyOrx_HS17/data/levels/Invaders.oxw
r11503 r11504 46 46 47 47 <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 /> 48 48 <Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/> 49 49 50 50 <InvaderCenterPoint name=invadercenter /> 51 51 52 52 <?lua 53 for i = 1, 30 0, 1 do53 for i = 1, 30, 1 do 54 54 j = math.random() 55 55 ?> 56 56 57 57 <MovableEntity 58 position = "<?lua print( math.random()* 40000 + 1000) ?>,-1000,<?lua print(math.random() * 4000 - 2000) ?>"58 position = "<?lua print(i* 3000) ?>,0, <?lua print(j* 200) ?>" 59 59 collisionType = dynamic 60 60 linearDamping = 0.8 61 61 angularDamping = 0 62 scale = "<?lua print( j * 150)?>"62 scale = "<?lua print(10)?>" 63 63 collisiondamage = 0 64 64 enablecollisiondamage = true 65 65 > 66 66 67 <attached> 67 <Model mass=" <?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" />68 <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 68 69 </attached> 69 70 <collisionShapes> 70 <SphereCollisionShape radius="<?lua print(j * 350) ?>" /> 71 <SphereCollisionShape radius="<?lua print(10) ?>" /> 72 </collisionShapes> 73 </MovableEntity> 74 75 <MovableEntity 76 position = "<?lua print(i* 3000) ?>,0,<?lua print(-150 + j* 200) ?>" 77 collisionType = dynamic 78 linearDamping = 0.8 79 angularDamping = 0 80 scale = "<?lua print(10)?>" 81 collisiondamage = 0 82 enablecollisiondamage = true 83 > 84 85 <attached> 86 <Model mass="1000" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 87 </attached> 88 <collisionShapes> 89 <SphereCollisionShape radius="<?lua print(10) ?>" /> 71 90 </collisionShapes> 72 91 </MovableEntity>
Note: See TracChangeset
for help on using the changeset viewer.