Changeset 11627
- Timestamp:
- Dec 4, 2017, 3:25:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FlappyOrx_HS17/data/levels/Invaders.oxw
r11596 r11627 5 5 screenshot = "orxonoxArcade.png" 6 6 /> 7 8 7 <?lua 9 8 include("stats.oxo") … … 45 44 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=InvaderShip pawndesign=spaceshipinvader /> 46 45 47 < SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=FlappyOrxShip pawndesign=spaceshipFlappyOrx/>46 <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 /> 48 47 49 48 50 49 <InvaderCenterPoint name=invadercenter /> 51 50 52 <MovableEntity 53 position = "3000,0,0" 51 <?lua 52 for i = 1, 300, 1 do 53 j = math.random() 54 ?> 55 56 <MovableEntity 57 position = "<?lua print(math.random()* 40000 + 1000) ?>,-1000,<?lua print(math.random() * 4000 - 2000) ?>" 54 58 collisionType = dynamic 55 59 linearDamping = 0.8 56 60 angularDamping = 0 57 scale = " 10"61 scale = "<?lua print(j * 150)?>" 58 62 collisiondamage = 0 59 63 enablecollisiondamage = true 60 64 > 61 62 65 <attached> 63 <Model mass=" 1000" mesh="ast6.mesh" />66 <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 64 67 </attached> 65 68 <collisionShapes> 66 <SphereCollisionShape radius=" 10" />69 <SphereCollisionShape radius="<?lua print(j * 350) ?>" /> 67 70 </collisionShapes> 68 71 </MovableEntity> 69 72 70 73 <?lua 74 end 75 ?> 71 76 72 77 </Scene>
Note: See TracChangeset
for help on using the changeset viewer.