Changeset 9112 for code/branches/newlevel2012/data
- Timestamp:
- Apr 21, 2012, 11:47:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/newlevel2012/data/levels/towerDefense.oxw
r9109 r9112 1 <!-- TODO: Update the level's image--> 1 2 <LevelInfo 2 3 name = "Tower Defense" 3 description = " A level with not much in it."4 tags = " test"4 description = "Defend your Spacestation from incoming waves." 5 tags = "gametype" 5 6 screenshot = "emptylevel.png" 6 7 /> … … 12 13 ?> 13 14 15 <?lua 16 include("templates/spaceshipAssff.oxt") 17 include("templates/spaceshipPirate.oxt") 18 ?> 19 20 <!-- Hallo erstmal. 21 Ich habe das Grundgerüst des Levels mal zum Laufen gebracht. 22 Bei mir hat es das Playfield_ME.mesh allerdings nicht angezeigt; deswegen habe ich mit dem crate.mesh als testobjekt gearbeitet. 23 Das Level macht genau das was ihr vermutlich erreichen wolltet. Wahrscheinlich wird die Funktionalität der "statischen Kamera" aber 24 bloß in einer abgewandelten Art umgesetzt: In Pong und Tetris sind die Kameras nicht an das Spielfeld, sondern an ein ControllableEntity, 25 das vom Spieler gesteuert wird gekoppelt. 26 --> 27 14 28 <!-- Specify the position of the camera --> 15 29 <Template name=playfieldcameras defaults=0> 16 < ControllableEntity>30 <Pawn> 17 31 <camerapositions> 18 <CameraPosition position=" 0,30,0" pitch=-90absolute=true />32 <CameraPosition position="-200,0,600" absolute=true /> 19 33 </camerapositions> 20 </ ControllableEntity>34 </Pawn> 21 35 </Template> 22 36 23 37 <!-- Loads the playfield mesh --> 38 <!-- TODO: why don't you add Playfield_ME.mesh to the data repository ? : /orxonox/data_extern/models --> 39 24 40 <Template name=playfield> 25 < ControllableEntitycamerapositiontemplate=playfieldcameras>41 <Pawn camerapositiontemplate=playfieldcameras> 26 42 <attached> 27 <Model position="0,0,0" mesh="Playfield_ME.mesh" scale3D="10,10,10" /> 43 <Model position="0,0,0" mesh="Playfield_ME.mesh" scale3D="10,10,10" /> <!-- crate.mesh --> 28 44 </attached> 29 </ ControllableEntity>45 </Pawn> 30 46 </Template> 31 47 32 <Level gametype = "Deathmatch">33 <templates>34 <Template link=lodtemplate_default />35 </templates>36 37 <?lua include("includes/notifications.oxi") ?>38 39 <Scene40 ambientlight = "0.5, 0.5, 0.5"41 skybox = "Orxonox/skypanoramagen1"42 >43 44 <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" />45 46 <SpawnPoint spawnclass=SpaceShip pawndesign=playfield position="0, 10, 0" orientation="0, 0, 0" />47 <!--48 <MovableEntity rotationrate=5 rotationaxis="0,0,1">49 <attached>50 <!-- template wird im centerpoint verwendet (glaub?) -->51 <!--52 <TowerDefenseCenterpoint53 name=towerdefensecenter54 dimension="200,120"55 >56 57 <!--58 hier fehlt noch was:59 balltemplate=pongball60 -->61 <!--62 </PongCenterpoint>63 </attached>64 </MovableEntity>65 -->66 67 </Scene>68 </Level>69 48 70 49 71 <!-- 50 51 72 52 <Level gametype = "TowerDefense"> 73 53 <templates> … … 83 63 84 64 <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"/> 85 86 87 <StaticEntity position="0,0,0" direction="0,0,0" collistionType=static mass=100000> 88 <attached> 89 <Model position="0,0,0" mesh="Playfield_ME.mesh" scale3D="10,10,10" /> 90 </attached> 91 </StaticEntity> 65 <!--SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /--> 66 <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=Pawn pawndesign=playfield /> 67 92 68 69 <!--StaticEntity position="0,0,0" direction="0,0,0" collistionType=static mass=100000> 70 <attached> 71 <Model position="0,0,0" mesh="Playfield_ME.mesh" scale3D="10,10,10" /> 72 </attached> 73 </StaticEntity--> 93 74 94 75 </Scene> 95 76 </Level> 96 77 97 -->98 99
Note: See TracChangeset
for help on using the changeset viewer.