Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/wagnis_HS18/data/levels/Wagnis.oxw @ 12069

Last change on this file since 12069 was 12067, checked in by kunzro, 6 years ago

XML and CMake updated, Gameboard is working

File size: 3.6 KB
Line 
1<LevelInfo
2 name = "Wagnis"
3 description = "A clone of the iconic Risk."
4 tags = "minigame"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<!--
15<Template name=pongbatcameras defaults=0>
16  <PongBat>
17    <camerapositions>
18      <CameraPosition position="0,150,0" pitch=-90 absolute=true />
19      <CameraPosition position="0,50,160" drag=true mouselook=true />
20      <CameraPosition position="0,40,125" drag=true mouselook=true />
21      <CameraPosition position="0,30, 90" drag=true mouselook=true />
22    </camerapositions>
23  </PongBat>
24</Template>
25
26<Template name=pongbat>
27  <PongBat camerapositiontemplate=pongbatcameras>
28    <attached>
29      <Model position="0,0,3" mesh="cube.mesh" scale3D="14,2,2" />
30      <-Model roll=180 mesh="pongbat.mesh" scale=0.045 /->
31    </attached>
32  </PongBat>
33</Template> -->
34
35
36<Level plugins="wagnis" gametype="Deathmatch">
37  <templates>
38    <Template link=lodtemplate_default />
39  </templates>
40  <?lua include("includes/notifications.oxi") ?>
41
42  <Scene
43    ambientlight = "0.8, 0.8, 0.8"
44    skybox       = "Orxonox/skyBoxBasic"
45  >
46
47    <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"/>
48    <SpawnPoint position="100, 45, 75" lookat="0, 45, 75" />
49
50<WagnisGameboard position="0,0,0">
51 <Provinces>
52    <WagnisProvince ID="1" continent="1" position="0,30,30" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
53      <attached>
54        <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
55      </attached>
56    </WagnisProvince>
57
58    <WagnisProvince ID="2" continent="1" position="0,40,30" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
59      <attached>
60        <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
61      </attached>
62    </WagnisProvince>
63
64
65
66
67
68  </Provinces>
69</WagnisGameboard>
70
71<!-->
72  <WagnisProvince ID="1" continent="1" position="0,30,30" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
73    <attached>
74      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
75    </attached>
76 </WagnisProvince>
77
78  <WagnisProvince ID="1" continent="1" position="0,43,33" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
79    <attached>
80      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
81    </attached>
82  </WagnisProvince>
83
84  <WagnisProvince ID="1" continent="1" position="0,22,28" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
85    <attached>
86      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
87    </attached>
88  </WagnisProvince>
89
90  <WagnisProvince ID="1" continent="1" position="0,41,22" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
91    <attached>
92      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
93    </attached>
94  </WagnisProvince>
95  -->
96
97<Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/>
98
99
100
101   
102  </Scene>
103</Level>
104
Note: See TracBrowser for help on using the repository browser.