Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9103


Ignore:
Timestamp:
Apr 20, 2012, 4:26:03 PM (12 years ago)
Author:
mentzerf
Message:
  • Changed TowerDefense superclass to DeathMatch
  • Updated oxw
Location:
code/branches/newlevel2012
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/newlevel2012/data/levels/towerDefense.oxw

    r9098 r9103  
    1212?>
    1313
     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>
    1469
    1570
    16 <Level
    17         gametype = "Deathmatch"
    18         >
    19 
     71<!--
     72<Level gametype = "TowerDefense">
    2073  <templates>
    2174    <Template link=lodtemplate_default />
     
    4295</Level>
    4396
     97-->
     98
     99
  • code/branches/newlevel2012/src/modules/towerdefense/TowerDefense.h

    r9098 r9103  
    1111#include <Gametype.h>
    1212
    13 class TowerDefense: public orxonox::Gametype {
     13class TowerDefense: public orxonox::Deathmatch {
    1414public:
    1515        TowerDefense();
Note: See TracChangeset for help on using the changeset viewer.