Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12072 was 12072, checked in by stadlero, 5 years ago

Added connections-string parser in WagnisGameboard which still needs work

File size: 4.0 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" connections_string="1=2,2=1-1000,1000=2  ">
51
52  <Provinces>
53
54    <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)?>">
55      <attached>
56        <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
57      </attached>
58    </WagnisProvince>
59
60    <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)?>">
61      <attached>
62        <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
63      </attached>
64    </WagnisProvince>
65
66    <WagnisProvince ID="1000" continent="1" position="0,40,40" 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)?>">
67      <attached>
68        <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
69      </attached>
70    </WagnisProvince>
71
72  </Provinces>
73</WagnisGameboard>
74
75<!-->
76  <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)?>">
77    <attached>
78      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
79    </attached>
80 </WagnisProvince>
81
82  <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)?>">
83    <attached>
84      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
85    </attached>
86  </WagnisProvince>
87
88  <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)?>">
89    <attached>
90      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
91    </attached>
92  </WagnisProvince>
93
94  <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)?>">
95    <attached>
96      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
97    </attached>
98  </WagnisProvince>
99  -->
100
101<Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/>
102
103
104
105   
106  </Scene>
107</Level>
108
Note: See TracBrowser for help on using the repository browser.