Changeset 9133
- Timestamp:
- Apr 29, 2012, 10:06:09 AM (13 years ago)
- Location:
- code/branches/newlevel2012
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/newlevel2012/data/levels/towerDefense.oxw
r9129 r9133 30 30 <Pawn> 31 31 <camerapositions> 32 <CameraPosition position=" 200,0,350" absolute=true />32 <CameraPosition position="0,0,20" absolute=true /> 33 33 </camerapositions> 34 34 </Pawn> … … 41 41 <Pawn camerapositiontemplate=playfieldcameras> 42 42 <attached> 43 <Model position="0,0,0" orientation="1,1,1,1" mesh=" Playfield_ME.mesh" scale3D="10,10,10" /> <!-- crate.mesh-->43 <Model position="0,0,0" orientation="1,1,1,1" mesh="crate.mesh" scale3D="1,1,1" /> <!-- the camera is attached to this --> 44 44 </attached> 45 45 </Pawn> … … 65 65 <!--SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /--> 66 66 67 <SpawnPoint team=0 position="200,0,0" lookat="0,0,0" spawnclass=Pawn pawndesign=playfield /> 67 <!-- Spawns the camera, attached to a crate --> 68 <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=Pawn pawndesign=playfield /> 68 69 69 70 <!--SpawnPoint team=1 position="0,0,30" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /--> … … 71 72 72 73 73 < SpaceShip position="-10,0,20" lookat="0,0,0">74 <!--SpaceShip position="-10,0,20" lookat="0,0,0"> 74 75 <templates> 75 76 <Template link=spaceshipassff /> … … 85 86 </WaypointController> 86 87 </controller> 87 </SpaceShip >88 </SpaceShip--> 88 89 89 90 90 < !--StaticEntity position="0,0,0" direction="0,0,0" collistionType=static mass=100000>91 <StaticEntity position="0,0,0" direction="1,0,0" collistionType=static mass=100000> 91 92 <attached> 92 <Model position="0,0,0" mesh="Playfield_ME.mesh" scale3D="10,10,10" />93 <Model position="0,0,0" orientation="1,1,1,1" mesh="Playfield_ME.mesh" scale3D="1,1,1" /> 93 94 </attached> 94 </StaticEntity -->95 </StaticEntity> 95 96 96 97 </Scene> -
code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.cc
r9129 r9133 103 103 void TowerDefense::spawnEnemy() 104 104 { 105 SpawnPoint *sp = *this->spawnpoints_.begin();105 //SpawnPoint *sp = *this->spawnpoints_.begin(); 106 106 107 Pawn* p = sp->spawn();107 //Pawn* p = sp->spawn(); 108 108 } 109 109
Note: See TracChangeset
for help on using the changeset viewer.