- Timestamp:
- Apr 20, 2012, 4:26:03 PM (13 years ago)
- Location:
- code/branches/newlevel2012
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/newlevel2012/data/levels/towerDefense.oxw
r9098 r9103 12 12 ?> 13 13 14 <!-- Specify the position of the camera --> 15 <Template name=playfieldcameras defaults=0> 16 <PongBat> 17 <camerapositions> 18 <CameraPosition position="0,30,0" pitch=-90 absolute=true /> 19 </camerapositions> 20 </PongBat> 21 </Template> 22 23 <!-- Loads the playfield mesh --> 24 <Template name=playfield> 25 <PongBat camerapositiontemplate=playfieldcameras> 26 <attached> 27 <Model position="0,0,0" mesh="Playfield_ME.mesh" scale3D="10,10,10" /> 28 </attached> 29 </PongBat> 30 </Template> 31 32 <Level gametype = "TowerDefense"> 33 <templates> 34 <Template link=lodtemplate_default /> 35 </templates> 36 37 <?lua include("includes/notifications.oxi") ?> 38 39 <Scene 40 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="PongBat" 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 <TowerDefenseCenterpoint 53 name=towerdefensecenter 54 dimension="200,120" 55 > 56 57 <!-- 58 hier fehlt noch was: 59 balltemplate=pongball 60 --> 61 <!-- 62 </PongCenterpoint> 63 </attached> 64 </MovableEntity> 65 --> 66 67 </Scene> 68 </Level> 14 69 15 70 16 <Level 17 gametype = "Deathmatch" 18 > 19 71 <!-- 72 <Level gametype = "TowerDefense"> 20 73 <templates> 21 74 <Template link=lodtemplate_default /> … … 42 95 </Level> 43 96 97 --> 98 99 -
code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.h
r9098 r9103 11 11 #include <Gametype.h> 12 12 13 class TowerDefense: public orxonox:: Gametype{13 class TowerDefense: public orxonox::Deathmatch { 14 14 public: 15 15 TowerDefense();
Note: See TracChangeset
for help on using the changeset viewer.