Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12157 was 12132, checked in by stadlero, 6 years ago

Wagnis runs without crashing on startup

File size: 5.7 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<?lua
15  include("templates/wagnisCursor.oxt")
16?>
17
18<!--
19<Template name=pongbatcameras defaults=0>
20  <PongBat>
21    <camerapositions>
22      <CameraPosition position="0,150,0" pitch=-90 absolute=true />
23      <CameraPosition position="0,50,160" drag=true mouselook=true />
24      <CameraPosition position="0,40,125" drag=true mouselook=true />
25      <CameraPosition position="0,30, 90" drag=true mouselook=true />
26    </camerapositions>
27  </PongBat>
28</Template>
29
30<Template name=pongbat>
31  <PongBat camerapositiontemplate=pongbatcameras>
32    <attached>
33      <Model position="0,0,3" mesh="cube.mesh" scale3D="14,2,2" />
34      <-Model roll=180 mesh="pongbat.mesh" scale=0.045 /->
35    </attached>
36  </PongBat>
37</Template> -->
38
39
40<Level plugins="wagnis" gametype="Wagnis">
41  <templates>
42    <Template link=lodtemplate_default />
43  </templates>
44  <?lua include("includes/notifications.oxi") ?>
45
46  <Scene
47    ambientlight = "0.8, 0.8, 0.8"
48    skybox       = "Orxonox/skyBoxBasic"
49  >
50
51    <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"/>
52    <SpawnPoint position="-100, 45, 75" lookat="0,45,75" spawnclass=SpaceShip pawndesign=wagnisCursor />
53
54<WagnisGameboard position="20,20,20" connections_string="1=2+1000, 2=1, 1000=1">
55
56
57  <Provinces>
58
59    <WagnisProvince ID="1" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=dynamic mass=100 continent="1" position="0,<?lua print((10+7))?>,<?lua print((135-6))?>" 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)?>">
60      <attached>
61        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
62      </attached>
63      <collisionShapes>
64        <SphereCollisionShape   position="0,0,0" radius="2" />
65      </collisionShapes>
66    </WagnisProvince>
67
68    <WagnisProvince ID="1000" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=dynamic mass=100 continent="1" position="0,<?lua print((50+7))?>,<?lua print((135-6))?>" 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)?>">
69      <attached>
70        <Model position="0,0,0" mesh="ast1.mesh" scale3D="3,3,3" />
71      </attached>
72      <collisionShapes>
73        <SphereCollisionShape   position="0,0,0" radius="2" />
74      </collisionShapes>
75    </WagnisProvince>
76 
77<!--
78    <WagnisProvince ID="2" continent="1" position="0,<?lua print((10-7))?>,<?lua print((135-10))?>" 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="1.4,1.4,1.4" />
81      </attached>
82    </WagnisProvince>
83
84    <WagnisProvince ID="3" continent="1" position="0,<?lua print((10+15))?>,<?lua print((135+7))?>" 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="1.4,1.4,1.4" />
87      </attached>
88    </WagnisProvince>
89
90    <WagnisProvince ID="4" continent="1" position="0,<?lua print((10+6))?>,<?lua print((135+14))?>" 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="1.4,1.4,1.4" />
93      </attached>
94    </WagnisProvince>
95
96    <WagnisProvince ID="5" continent="1" position="0,<?lua print((10))?>,<?lua print((135+6))?>" 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)?>">
97      <attached>
98        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
99      </attached>
100    </WagnisProvince>
101
102
103
104
105
106
107    <WagnisProvince ID="6" continent="2" position="0,<?lua print((40-15))?>,<?lua print((90+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)?>">
108      <attached>
109        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
110      </attached>
111    </WagnisProvince>
112
113    <WagnisProvince ID="7" continent="2" position="0,<?lua print((40-19))?>,<?lua print((90+19))?>" 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)?>">
114      <attached>
115        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
116      </attached>
117    </WagnisProvince>
118
119
120    <WagnisProvince ID="1000" continent="1" position="0,90,150" 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)?>">
121      <attached>
122        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
123      </attached>
124    </WagnisProvince>
125  -->
126  </Provinces>
127</WagnisGameboard>
128
129<Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/>
130<MovableEntity position="0,0,0">
131    <attached>
132        <Billboard position="100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/>
133    </attached>
134</MovableEntity>
135
136
137
138   
139  </Scene>
140</Level>
141
Note: See TracBrowser for help on using the repository browser.