Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/newlevel2012/data/levels/towerDefense.oxw @ 9109

Last change on this file since 9109 was 9109, checked in by mentzerf, 12 years ago
  • Updated oxw once again
File size: 2.2 KB
Line 
1<LevelInfo
2 name = "Tower Defense"
3 description = "A level with not much in it."
4 tags = "test"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<!-- Specify the position of the camera -->
15<Template name=playfieldcameras defaults=0>
16  <ControllableEntity>
17    <camerapositions>
18      <CameraPosition position="0,30,0" pitch=-90 absolute=true />
19    </camerapositions>
20  </ControllableEntity>
21</Template>
22
23<!-- Loads the playfield mesh -->
24<Template name=playfield>
25  <ControllableEntity camerapositiontemplate=playfieldcameras>
26    <attached>
27      <Model position="0,0,0" mesh="Playfield_ME.mesh" scale3D="10,10,10" />
28    </attached>
29  </ControllableEntity>
30</Template>
31
32<Level gametype = "Deathmatch">
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=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        <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>
69
70
71<!--
72<Level gametype = "TowerDefense">
73  <templates>
74    <Template link=lodtemplate_default />
75  </templates>
76  <?lua include("includes/notifications.oxi") ?>
77
78
79  <Scene
80    ambientlight = "0.8, 0.8, 0.8"
81    skybox       = "Orxonox/Starbox"
82  >
83
84    <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>
92
93
94  </Scene>
95</Level>
96
97-->
98
99
Note: See TracBrowser for help on using the repository browser.