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+4+5, 2=1+3, 3=2+4, 4=3+1, 5=1+6, 6=7+5, 7=6+8, 8=7"> |
---|
35 | |
---|
36 | |
---|
37 | <Provinces> |
---|
38 | |
---|
39 | <WagnisProvince ID="1" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic 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 | <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" /> |
---|
45 | </collisionShapes> |
---|
46 | </WagnisProvince> |
---|
47 | |
---|
48 | <WagnisProvince ID="2" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic 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 | <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" /> |
---|
54 | </collisionShapes> |
---|
55 | </WagnisProvince> |
---|
56 | |
---|
57 | <WagnisProvince ID="3" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((40))?>,<?lua print((60))?>" 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 | <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" /> |
---|
63 | </collisionShapes> |
---|
64 | </WagnisProvince> |
---|
65 | |
---|
66 | <WagnisProvince ID="4" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((60))?>" 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="1.4,1.4,1.4" /> |
---|
69 | </attached> |
---|
70 | <collisionShapes> |
---|
71 | <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" /> |
---|
72 | </collisionShapes> |
---|
73 | </WagnisProvince> |
---|
74 | |
---|
75 | <WagnisProvince ID="5" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((100))?>" 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)?>"> |
---|
76 | <attached> |
---|
77 | <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" /> |
---|
78 | </attached> |
---|
79 | <collisionShapes> |
---|
80 | <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" /> |
---|
81 | </collisionShapes> |
---|
82 | </WagnisProvince> |
---|
83 | |
---|
84 | <WagnisProvince ID="6" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((110))?>" 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 | <collisionShapes> |
---|
89 | <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" /> |
---|
90 | </collisionShapes> |
---|
91 | </WagnisProvince> |
---|
92 | |
---|
93 | <WagnisProvince ID="7" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((120))?>" 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)?>"> |
---|
94 | <attached> |
---|
95 | <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" /> |
---|
96 | </attached> |
---|
97 | <collisionShapes> |
---|
98 | <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" /> |
---|
99 | </collisionShapes> |
---|
100 | </WagnisProvince> |
---|
101 | |
---|
102 | <WagnisProvince ID="8" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((40))?>,<?lua print((130))?>" 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)?>"> |
---|
103 | <attached> |
---|
104 | <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" /> |
---|
105 | </attached> |
---|
106 | <collisionShapes> |
---|
107 | <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" /> |
---|
108 | </collisionShapes> |
---|
109 | </WagnisProvince> |
---|
110 | |
---|
111 | <WagnisProvince ID="1000" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50+7))?>,<?lua print((135-6))?>" pitch=90 rotationrate="0" rotationaxis="0,0,0"> |
---|
112 | <attached> |
---|
113 | <Model position="0,0,0" mesh="broke-satellite.mesh" scale3D="3,3,3" /> |
---|
114 | </attached> |
---|
115 | <collisionShapes> |
---|
116 | <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" /> |
---|
117 | </collisionShapes> |
---|
118 | </WagnisProvince> |
---|
119 | |
---|
120 | |
---|
121 | </Provinces> |
---|
122 | </WagnisGameboard> |
---|
123 | |
---|
124 | <Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/> |
---|
125 | <MovableEntity position="0,0,0"> |
---|
126 | <attached> |
---|
127 | <Billboard position="100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
128 | </attached> |
---|
129 | </MovableEntity> |
---|
130 | |
---|
131 | |
---|
132 | |
---|
133 | |
---|
134 | </Scene> |
---|
135 | </Level> |
---|
136 | |
---|