Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/wagnis_HS18/data/levels/Wagnis_testlevel.oxw @ 12133

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

Wagnis now progresses through stages

File size: 3.4 KB
Line 
1<LevelInfo
2 name = "Wagnis_testlevel"
3 description = "A clone of the iconic Risk."
4 tags = ""
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("WagnisHUD.oxo")
12  include("templates/lodInformation.oxt")
13?>
14
15<?lua
16  include("templates/wagnisCursor.oxt")
17?>
18
19
20<Level plugins="wagnis" gametype="Wagnis">
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25
26  <Scene
27    ambientlight = "0.8, 0.8, 0.8"
28    skybox       = "Orxonox/skyBoxBasic"
29  >
30
31    <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"/>
32    <SpawnPoint position="-100, 45, 75" lookat="0,45,75" spawnclass=SpaceShip pawndesign=wagnisCursor />
33
34<WagnisGameboard position="20,20,20" connections_string="1=2+3, 2=1, 3=1">
35
36
37  <Provinces>
38
39    <WagnisProvince ID="1" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=dynamic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((70))?>" 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)?>">
40      <attached>
41        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
42      </attached>
43      <collisionShapes>
44        <SphereCollisionShape   position="0,0,0" radius="2" />
45      </collisionShapes>
46    </WagnisProvince>
47
48    <WagnisProvince ID="2" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=dynamic mass=100 continent="1" position="0,<?lua print((40))?>,<?lua print((70))?>" 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)?>">
49      <attached>
50        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
51      </attached>
52      <collisionShapes>
53        <SphereCollisionShape   position="0,0,0" radius="2" />
54      </collisionShapes>
55    </WagnisProvince>
56
57    <WagnisProvince ID="3" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=dynamic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((80))?>" 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)?>">
58      <attached>
59        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
60      </attached>
61      <collisionShapes>
62        <SphereCollisionShape   position="0,0,0" radius="2" />
63      </collisionShapes>
64    </WagnisProvince>
65
66    <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))?>" pitch=90 rotationrate="0" rotationaxis="0,0,0">
67      <attached>
68        <Model position="0,0,0" mesh="broke-satellite.mesh" scale3D="3,3,3" />
69      </attached>
70      <collisionShapes>
71        <SphereCollisionShape   position="0,0,0" radius="4" />
72      </collisionShapes>
73    </WagnisProvince>
74 
75
76  </Provinces>
77</WagnisGameboard>
78
79<Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/>
80<MovableEntity position="0,0,0">
81    <attached>
82        <Billboard position="100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/>
83    </attached>
84</MovableEntity>
85
86
87
88   
89  </Scene>
90</Level>
91
Note: See TracBrowser for help on using the repository browser.