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
RevLine 
[12052]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
[12067]14<!--
[12052]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" />
[12067]30      <-Model roll=180 mesh="pongbat.mesh" scale=0.045 /->
[12052]31    </attached>
32  </PongBat>
[12067]33</Template> -->
[12052]34
[12067]35
36<Level plugins="wagnis" gametype="Deathmatch">
[12052]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
[12077]50<WagnisGameboard position="0,0,0" connections_string="1=2+1000, 2=1, 1000=1">
[12072]51
52  <Provinces>
53
[12067]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>
[12052]59
[12067]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>
[12052]65
[12072]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>
[12052]71
[12077]72
[12067]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)?>">
[12052]78    <attached>
[12067]79      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
[12052]80    </attached>
[12067]81 </WagnisProvince>
[12052]82
[12067]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)?>">
[12052]84    <attached>
[12067]85      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
[12052]86    </attached>
[12067]87  </WagnisProvince>
[12052]88
[12067]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)?>">
[12052]90    <attached>
[12067]91      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
[12052]92    </attached>
[12067]93  </WagnisProvince>
[12052]94
[12067]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)?>">
[12052]96    <attached>
[12067]97      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
[12052]98    </attached>
[12067]99  </WagnisProvince>
100  -->
[12052]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.