Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12081 was 12077, checked in by kunzro, 6 years ago

gameboard string fixed

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+1000, 2=1, 1000=1">
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
73  </Provinces>
74</WagnisGameboard>
75
76<!-->
77  <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)?>">
78    <attached>
79      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
80    </attached>
81 </WagnisProvince>
82
83  <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)?>">
84    <attached>
85      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
86    </attached>
87  </WagnisProvince>
88
89  <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)?>">
90    <attached>
91      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
92    </attached>
93  </WagnisProvince>
94
95  <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)?>">
96    <attached>
97      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
98    </attached>
99  </WagnisProvince>
100  -->
101
102<Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/>
103
104
105
106   
107  </Scene>
108</Level>
109
Note: See TracBrowser for help on using the repository browser.