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="Deathmatch"> |
---|
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=10000 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="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)?>"> |
---|
69 | <attached> |
---|
70 | <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" /> |
---|
71 | </attached> |
---|
72 | </WagnisProvince> |
---|
73 | |
---|
74 | <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)?>"> |
---|
75 | <attached> |
---|
76 | <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" /> |
---|
77 | </attached> |
---|
78 | </WagnisProvince> |
---|
79 | |
---|
80 | <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)?>"> |
---|
81 | <attached> |
---|
82 | <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" /> |
---|
83 | </attached> |
---|
84 | </WagnisProvince> |
---|
85 | |
---|
86 | <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)?>"> |
---|
87 | <attached> |
---|
88 | <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" /> |
---|
89 | </attached> |
---|
90 | </WagnisProvince> |
---|
91 | |
---|
92 | |
---|
93 | |
---|
94 | |
---|
95 | |
---|
96 | |
---|
97 | <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)?>"> |
---|
98 | <attached> |
---|
99 | <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" /> |
---|
100 | </attached> |
---|
101 | </WagnisProvince> |
---|
102 | |
---|
103 | <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)?>"> |
---|
104 | <attached> |
---|
105 | <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" /> |
---|
106 | </attached> |
---|
107 | </WagnisProvince> |
---|
108 | |
---|
109 | |
---|
110 | <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)?>"> |
---|
111 | <attached> |
---|
112 | <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" /> |
---|
113 | </attached> |
---|
114 | </WagnisProvince> |
---|
115 | --> |
---|
116 | </Provinces> |
---|
117 | </WagnisGameboard> |
---|
118 | |
---|
119 | <Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/> |
---|
120 | <MovableEntity position="0,0,0"> |
---|
121 | <attached> |
---|
122 | <Billboard position="100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/> |
---|
123 | </attached> |
---|
124 | </MovableEntity> |
---|
125 | |
---|
126 | |
---|
127 | |
---|
128 | |
---|
129 | </Scene> |
---|
130 | </Level> |
---|
131 | |
---|