1 | <LevelInfo |
---|
2 | name = "SOOOOOOOOOOOB" |
---|
3 | description = "Jump as high as you can. Use the mouse to guide the jumper." |
---|
4 | tags = "minigame" |
---|
5 | screenshot = "jump.png" |
---|
6 | /> |
---|
7 | |
---|
8 | <?lua |
---|
9 | include("HUDTemplates3.oxo") |
---|
10 | include("jumpHUD.oxo") |
---|
11 | include("stats.oxo") |
---|
12 | include("templates/lodInformation.oxt") |
---|
13 | ?> |
---|
14 | |
---|
15 | <Template name=sobfigurecameras defaults=0> |
---|
16 | <SOBFigure> |
---|
17 | <camerapositions> |
---|
18 | <CameraPosition position="0,-150,30" absolute=true mouselook=false drag=false direction="0,1,0"/> |
---|
19 | </camerapositions> |
---|
20 | </SOBFigure> |
---|
21 | </Template> |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | |
---|
26 | |
---|
27 | <Template name=sobFigureTemplate> |
---|
28 | <SOBFigure camerapositiontemplate=sobfigurecameras collisionType="dynamic" position="0,0,30"> |
---|
29 | <attached> |
---|
30 | <Model mesh="Orxo.mesh" scale=2.5 pitch=0 roll=90 yaw=90/> |
---|
31 | </attached> |
---|
32 | |
---|
33 | <collisionShapes> |
---|
34 | <BoxCollisionShape position="-2,0,2" halfExtents="3,1,10" /> |
---|
35 | <!-- <SphereCollisionShape yaw="20" pitch="20" roll="20" radius="10" position="0,0,10" /> --> |
---|
36 | </collisionShapes> |
---|
37 | |
---|
38 | |
---|
39 | </SOBFigure> |
---|
40 | </Template> |
---|
41 | |
---|
42 | <Level |
---|
43 | plugins = "superorxobros" |
---|
44 | gametype = "SOB" |
---|
45 | >- |
---|
46 | |
---|
47 | |
---|
48 | <templates> |
---|
49 | <Template link=lodtemplate_default /> |
---|
50 | </templates> |
---|
51 | <?lua include("includes/notifications.oxi") ?> |
---|
52 | |
---|
53 | <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/> |
---|
54 | |
---|
55 | |
---|
56 | <Scene ambientlight="1.0, 1.0, 1.0" skybox="Orxonox/skyBoxBasic"> |
---|
57 | <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" /> |
---|
58 | <SpawnPoint position="991.729, -110.11, 435.404" orientation="0.534038, 0.563456, 0.212168, 0.593553" /> |
---|
59 | |
---|
60 | |
---|
61 | |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | |
---|
66 | <MovableEntity > |
---|
67 | <attached> |
---|
68 | <SOBCenterpoint name=jumpcenter cameraOffset="10" figureTemplate=sobFigureTemplate> |
---|
69 | <attached> |
---|
70 | </attached> |
---|
71 | </SOBCenterpoint> |
---|
72 | |
---|
73 | </attached> |
---|
74 | </MovableEntity> |
---|
75 | |
---|
76 | |
---|
77 | |
---|
78 | |
---|
79 | |
---|
80 | <!-- <?lua |
---|
81 | for i = 0, 100, 1 |
---|
82 | do |
---|
83 | j = math.random() |
---|
84 | ?> |
---|
85 | |
---|
86 | <SOBItem position="<?lua print(i*10) ?>,0,-20" collisionType="static"> |
---|
87 | <attached> |
---|
88 | <Model mesh="MarioCube.mesh" scale="10" /> |
---|
89 | </attached> |
---|
90 | |
---|
91 | </SOBItem> |
---|
92 | |
---|
93 | <?lua |
---|
94 | end |
---|
95 | ?> |
---|
96 | --> |
---|
97 | |
---|
98 | |
---|
99 | //neu |
---|
100 | //neu Models eingefuegt |
---|
101 | |
---|
102 | |
---|
103 | //erster Boden |
---|
104 | <Model mesh="Cube2.12.mesh" position="0,0,-30" scale=10 Pitch=90/> |
---|
105 | <Model mesh="Cube2.12.mesh" position="120,0,-30" scale=10 Pitch=90/> |
---|
106 | <Model mesh="Cube2.12.mesh" position="240,0,-30" scale=10 Pitch=90/> |
---|
107 | <Model mesh="Cube2.6.mesh" position="360,0,-30" scale=10 Pitch=90/> |
---|
108 | |
---|
109 | //Luft1 |
---|
110 | <Model mesh="Cube1.1.mesh" position="320,0,-80" scale=20/> |
---|
111 | <Model mesh="Cube1.1.mesh" position="360,0,-80" scale=20/> |
---|
112 | <Model mesh="Cube1.1.mesh" position="400,0,-80" scale=20/> |
---|
113 | |
---|
114 | //Boden2 |
---|
115 | <Model mesh="Cube2.12.mesh" position="880,0,-30" scale=10 Pitch=90/> |
---|
116 | <Model mesh="Cube2.2.mesh" position="1120,0,-30" scale=10 Pitch=90/> |
---|
117 | |
---|
118 | //Luft2 |
---|
119 | <Model mesh="Cube1.1.mesh" position="1000,0,-80" scale=20/> |
---|
120 | <Model mesh="Cube1.1.mesh" position="1040,0,-80" scale=20/> |
---|
121 | <Model mesh="Cube1.6.mesh" position="1060,0,-160" scale=20/> |
---|
122 | <Model mesh="Cube1.1.mesh" position="1180,0,-160" scale=20/> |
---|
123 | <Model mesh="Cube1.1.mesh" position="1200,0,-160" scale=20/> |
---|
124 | |
---|
125 | //Luft3 |
---|
126 | <Model mesh="Cube1.3.mesh" position="1280,0,-160" scale=20/> |
---|
127 | <Model mesh="Cube1.1.mesh" position="1340,0,-80" scale=20/> |
---|
128 | //10er Block 1340??? |
---|
129 | <Model mesh="Cube1.1.mesh" position="1440,0,-80" scale=20/> |
---|
130 | //Stern 1460 |
---|
131 | // ? bei 1560 |
---|
132 | // ? bei 1600 |
---|
133 | // Whats that?? 1600 u -160 |
---|
134 | // ? bei 1660 |
---|
135 | <Model mesh="Cube1.1.mesh" position="1780,0,-80" scale=20/> |
---|
136 | <Model mesh="Cube1.3.mesh" position="1840,0,-160" scale=20/> |
---|
137 | <Model mesh="Cube1.1.mesh" position="1980,0,-160" scale=20/> |
---|
138 | <Model mesh="Cube1.1.mesh" position="2040,0,-160" scale=20/> |
---|
139 | <Model mesh="Cube1.1.mesh" position="2000,0,-80" scale=20/> |
---|
140 | <Model mesh="Cube1.1.mesh" position="2020,0,-80" scale=20/> |
---|
141 | //Dreieckklein 2100 |
---|
142 | //Dreieckklein 2220 |
---|
143 | //Dreickklein+1 2380 |
---|
144 | |
---|
145 | |
---|
146 | |
---|
147 | |
---|
148 | //Boden3 |
---|
149 | <Model mesh="Cube2.12.mesh" position="1240,0,-20" scale=20 Pitch=90/> |
---|
150 | <Model mesh="Cube2.12.mesh" position="1480,0,-20" scale=20 Pitch=90/> |
---|
151 | <Model mesh="Cube2.12.mesh" position="1720,0,0" scale=20 Pitch=90/> |
---|
152 | <Model mesh="Cube2.12.mesh" position="1960,0,0" scale=20 Pitch=90/> |
---|
153 | |
---|
154 | <Model mesh="Cube2.12.mesh" position="2200,0,0" scale=20 Pitch=90/> |
---|
155 | <Model mesh="Cube2.12.mesh" position="2440,0,0" scale=20 Pitch=90/> |
---|
156 | |
---|
157 | <Model mesh="Cube2.2.mesh" position="2680,0,0" scale=20 Pitch=90/> |
---|
158 | <Model mesh="Cube2.2.mesh" position="2720,0,0" scale=20 Pitch=90/> |
---|
159 | |
---|
160 | //Luft4 |
---|
161 | //Dreickklein 2800 |
---|
162 | |
---|
163 | //Boden4 |
---|
164 | <Model mesh="Cube2.12.mesh" position="2800,0,0" scale=20 Pitch=90/> |
---|
165 | <Model mesh="Cube2.12.mesh" position="3040,0,0" scale=20 Pitch=90/> |
---|
166 | <Model mesh="Cube2.12.mesh" position="3280,0,0" scale=20 Pitch=90/> |
---|
167 | <Model mesh="Cube2.12.mesh" position="3520,0,0" scale=20 Pitch=90/> |
---|
168 | <Model mesh="Cube2.12.mesh" position="3760,0,0" scale=20 Pitch=90/> |
---|
169 | |
---|
170 | |
---|
171 | |
---|
172 | |
---|
173 | |
---|
174 | |
---|
175 | <StaticEntity collisionType="static"> |
---|
176 | <collisionShapes> |
---|
177 | <BoxCollisionShape position="500,0,-20" halfExtents="500,5,5" /> |
---|
178 | </collisionShapes> |
---|
179 | </StaticEntity> |
---|
180 | |
---|
181 | |
---|
182 | </Scene> |
---|
183 | </Level> |
---|