Changeset 9724 for code/branches/invaders/data
- Timestamp:
- Oct 28, 2013, 4:58:58 PM (11 years ago)
- Location:
- code/branches/invaders/data/levels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/invaders/data/levels/Invaders.oxw
r9709 r9724 31 31 <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"/> 32 32 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=InvaderShip pawndesign=spaceshipinvader /> 33 <MovableEntity 34 position = "-200,0,0" 35 velocity = "975.7, 0, 0" 36 > 37 <events> 38 <activity> 39 <EventListener event="start" /> 40 </activity> 41 </events> 42 <attached> 43 44 <Model mass="1000" mesh="ast1.mesh" /> 45 </attached> 46 <camerapositions> 47 <CameraPosition position="0,300,-100" direction="0, -1, 0" drag=false mouselook=true /> 48 </camerapositions> 49 </MovableEntity> 50 51 <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 /> 52 33 53 34 54 <InvaderCenterPoint name=invadercenter /> 55 56 <?lua 57 for i = 1, 250, 1 58 do 59 j = math.random() 60 ?> 61 62 <MovableEntity 63 position = "<?lua print(math.random()* 15000 - 1000) ?>,-1000,<?lua print(math.random() * 12000 - 4000) ?>" 64 collisionType = dynamic 65 linearDamping = 0.8 66 angularDamping = 0 67 scale = "<?lua print(j * 150)?>" 68 collisiondamage = 1 69 enablecollisiondamage = true 70 > 71 <attached> 72 <Model mass="<?lua print(j * 1000) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" /> 73 </attached> 74 <collisionShapes> 75 <SphereCollisionShape radius="<?lua print(j * 350) ?>" /> 76 </collisionShapes> 77 </MovableEntity> 78 79 <?lua 80 end 81 ?> 35 82 36 83 </Scene> -
code/branches/invaders/data/levels/templates/spaceshipInvader.oxt
r9709 r9724 68 68 <CameraPosition position="0,20, 90" drag=true mouselook=true /> 69 69 <CameraPosition position="0,30,120" drag=true mouselook=true /> --> 70 <CameraPosition position="0,300,-100" direction="0, -1, 0" drag= true mouselook=true />70 <CameraPosition position="0,300,-100" direction="0, -1, 0" drag=false mouselook=true /> 71 71 </camerapositions> 72 72 </InvaderShip>
Note: See TracChangeset
for help on using the changeset viewer.