Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Boxhead_FS19/data/levels/jump.oxw @ 12373

Last change on this file since 12373 was 10801, checked in by jo, 9 years ago

More straight forward jump level description.

  • Property svn:eol-style set to native
File size: 10.5 KB
Line 
1<LevelInfo
2 name = "Jump"
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=jumpfigurecameras defaults=0>
16  <JumpFigure>
17    <camerapositions>
18      <CameraPosition position="0,-150,0" absolute=true mouselook=false drag=false lookat="0,0,0"/>
19    </camerapositions>
20  </JumpFigure>
21</Template>
22
23<Template name=figureLeftHand defaults=0>
24  <Model position="4.0,0.0,5.0" mesh="JumpFigureLeftHand.mesh" scale=1 pitch=90>
25  </Model>
26</Template>
27
28<Template name=figureRightHand defaults=0>
29  <Model position="-4.0,0.0,5.0" mesh="JumpFigureRightHand.mesh" scale=1 pitch=90>
30  </Model>
31</Template>
32
33<Template name=jumpFigureTemplate>
34  <JumpFigure camerapositiontemplate=jumpfigurecameras mouseFactor="100.0" modelLefthand=figureLeftHand  modelRighthand=figureRightHand rocketPos=10.0 propellerPos=10.0 bootsPos=-5.2 jumpSpeed=250.0 handMinAngle=-20 handMaxAngle=75 handSpeed=250 rocketSpeed=250.0 propellerSpeed=150.0>
35    <attached>
36      <Model position="0,0,0" mesh="JumpFigure.mesh" scale=1 pitch=90/>
37    </attached>
38  </JumpFigure>
39</Template>
40
41<Template name=jumpProjectileTemplate>
42  <JumpProjectile>
43    <attached>
44      <Model mesh="JumpProjectile.mesh" scale=1  pitch=90/>
45      <ParticleEmitter scale=1 pitch=0 roll=0 position="0, 0, 0" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=0.0 />
46    </attached>
47  </JumpProjectile>
48</Template>
49
50<Template name=jumpPlatformStaticTemplate>
51  <JumpPlatformStatic height=3 width=19>
52    <attached>
53      <Model mesh="JumpPlatform01.mesh" scale=1  pitch=90/>
54      <Backlight scale=0.2 colour="0.9, 0.4, 0.0" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 />
55    </attached>
56  </JumpPlatformStatic>
57</Template>
58
59<Template name=jumpPlatformHMoveTemplate>
60  <JumpPlatformHMove height=3 width=19>
61    <attached>
62      <Model mesh="JumpPlatform02.mesh" scale=1  pitch=90/>
63      <Backlight scale=0.2 colour="0.1, 0.1, 1.0" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 />
64    </attached>
65  </JumpPlatformHMove>
66</Template>
67
68<Template name=jumpPlatformVMoveTemplate>
69  <JumpPlatformVMove height=3 width=19>
70    <attached>
71      <Model mesh="JumpPlatform03.mesh" scale=1  pitch=90/>
72      <Backlight scale=0.2 colour="1.0, 0.1, 1.0" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 />
73    </attached>
74  </JumpPlatformVMove>
75</Template>
76
77<Template name=jumpPlatformDisappearTemplate>
78  <JumpPlatformDisappear height=3 width=19>
79    <attached>
80      <Model mesh="JumpPlatform04.mesh" scale=1  pitch=90/>
81      <Backlight scale=0.2 colour="0.1, 1.0, 0.1" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 />
82    </attached>
83  </JumpPlatformDisappear>
84</Template>
85
86<Template name=jumpPlatformTimerTemplate>
87  <JumpPlatformTimer height=3 width=19 effectPath="Orxonox/BigExplosion1part2" effectStartTime="0.4">
88    <attached>
89      <Model mesh="JumpPlatform05.mesh" scale=1  pitch=90/>
90      <ParticleEmitter scaled3D="5.0, 1.0, 2.0" pitch=0 roll=0 position="-4, 0, -2.0" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=0.0 />
91      <ParticleEmitter scaled3D="5.0, 1.0, 2.0" pitch=0 roll=0 position="0, 0, -2.0" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=0.0 />
92      <ParticleEmitter scaled3D="5.0, 1.0, 2.0" pitch=0 roll=0 position="4, 0, -2.0" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=0.0 />     
93    </attached>
94  </JumpPlatformTimer>
95</Template>
96
97<Template name=jumpPlatformFakeTemplate>
98  <JumpPlatformFake height=3 width=19>
99    <attached>
100      <Model mesh="JumpPlatform06.mesh" scale=1  pitch=90/>
101      <ParticleEmitter scale3D="0.2,0.2,0.2" pitch=0 roll=0 position="0, 0, -2.5" source="Orxonox/sparks" lifetime=1.0 loop=1 startdelay=0.0 />
102    </attached>
103  </JumpPlatformFake>
104</Template>
105
106<Template name=jumpEnemy1Template>
107  <JumpEnemy height=7 width=18>
108    <attached>
109      <Model mesh="JumpEnemy1.mesh" scale=1  pitch=90/>
110      <FadingBillboard active=true scale=0.09 position="0, 0, 10" colour="0.2, 1.0, 0.65, 1.0" material="Examples/Flare" turnontime=0.5 turnofftime=0.5 />
111      <Backlight scale=0.33 name=bltest position="0, 0, -10" colour="0.6, 0.8, 0.75, 0.7" width=25 length=1000 lifetime=1 elements=30 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Examples/Flare" />           
112    </attached>
113  </JumpEnemy>
114</Template>
115
116<Template name=jumpEnemy2Template>
117  <JumpEnemy height=8 width=20>
118    <attached>
119      <Model mesh="JumpEnemy2.mesh" scale=1  pitch=90/>
120      <MovableEntity position="-17, 0, 4" rotationaxis="0, 1, 0" rotationrate=500 >
121        <attached>
122          <Model mesh="JumpEnemy2Wing.mesh" scale=1 pitch=90/>
123        </attached>
124      </MovableEntity>     
125      <MovableEntity position="17, 0, 4" rotationaxis="0, 1, 0" rotationrate=500 >
126        <attached>
127          <Model mesh="JumpEnemy2Wing.mesh" scale=1 pitch=90/>
128        </attached>
129      </MovableEntity>
130      <ParticleEmitter scale3D="1.0,1.0,1.0" pitch=0 roll=0 position="-1, 0, -3" source="Orxonox/laser" lifetime=1.0 loop=1 startdelay=0.0 />
131    </attached>
132  </JumpEnemy>
133</Template>
134
135<Template name=jumpEnemy3Template>
136  <JumpEnemy height=8.2 width=11.2>
137    <attached>
138      <Model mesh="JumpEnemy3.mesh" scale=1  pitch=90/>
139      <Backlight scale3D="0.1, 0.1, 1.0" position="0, -11, -4" colour="1.0, 0.0, 0.9, 1.0" width=1 length=1 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1"/>
140      <Backlight scale3D="0.1, 0.1, 1.0" position="6.32, 5.5, -4" colour="1.0, 0.0, 0.9, 1.0" width=1 length=1 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1"/>
141      <Backlight scale3D="0.1, 0.1, 1.0" position="-6.32, 5.5, -4" colour="1.0, 0.0, 0.9, 1.0" width=1 length=1 lifetime=2 elements=50 trailmaterial="Trail/backlighttrail" turnontime=1 turnofftime=1 material="Flares/ThrusterFlare1"/>           
142    </attached>
143  </JumpEnemy>
144</Template>
145
146<Template name=jumpEnemy4Template>
147  <JumpEnemy height=7.5 width=21.5 rotationaxis="0, 0, 1" rotationrate=40 >
148    <attached>
149      <Model mesh="JumpEnemy4.mesh" scale=1  pitch=90/>
150    </attached>
151  </JumpEnemy>
152</Template>
153
154<Template name=jumpSpringTemplate>
155  <JumpSpring height=6 width=9.25>
156    <attached>
157      <Model mesh="JumpSpring.mesh" scale=1  rotationaxis="0, 0, 1" pitch=90 position="0.0, 0.0, 0.0"/>
158    </attached>
159  </JumpSpring>
160</Template>
161
162<Template name=jumpRocketTemplate>
163  <JumpRocket height=8.5 width=13.5>
164    <attached>
165      <Model mesh="JumpRocket.mesh" scale=1  pitch=90 position="0.0, 0.0, 1.0"/>
166    </attached>
167  </JumpRocket>
168</Template>
169
170<Template name=jumpPropellerTemplate>
171  <JumpPropeller height=4 width=15.5>
172    <attached>
173      <Model mesh="JumpPropeller.mesh" scale=1  pitch=90 position="0.0, 0.0, 1.0"/>
174    </attached>
175  </JumpPropeller>
176</Template>
177
178<Template name=jumpBootsTemplate>
179  <JumpBoots height=5.2 width=3.5>
180    <attached>
181      <Model mesh="JumpBoots.mesh" scale=1  pitch=90 position="0.0, 0.0, 1.0"/>
182    </attached>
183  </JumpBoots>
184</Template>
185
186<Template name=jumpShieldTemplate>
187  <JumpShield height=1.55 width=15.5>
188    <attached>
189      <Model mesh="JumpShield.mesh" scale=1 pitch=90 position="0.0, 0.0, 1.0"/>
190    </attached>
191  </JumpShield>
192</Template>
193
194<Level
195 plugins = "jump"
196 gametype = "Jump"
197>
198  <templates>
199    <Template link=lodtemplate_default />
200  </templates>
201  <?lua include("includes/notifications.oxi") ?>
202
203  <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
204  <JumpBot />
205
206  <Scene ambientlight="1.0, 1.0, 1.0" skybox="Orxonox/skyBoxBasic">
207    <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" />
208
209    <SpawnPoint position="991.729, -110.11, 435.404" orientation="0.534038, 0.563456, 0.212168, 0.593553" />
210
211    <MovableEntity>
212      <attached>
213        <JumpCenterpoint
214          name=jumpcenter
215          dimension="120,80"
216          sectionLength="150"
217          platformSpeed="20"
218          cameraOffset="10"
219
220          platformStaticTemplate=jumpPlatformStaticTemplate
221          platformHMoveTemplate=jumpPlatformHMoveTemplate
222          platformVMoveTemplate=jumpPlatformVMoveTemplate
223          platformDisappearTemplate=jumpPlatformDisappearTemplate
224          platformTimerTemplate=jumpPlatformTimerTemplate
225          platformFakeTemplate=jumpPlatformFakeTemplate         
226          figureTemplate=jumpFigureTemplate
227          projectileTemplate=jumpProjectileTemplate
228          springTemplate=jumpSpringTemplate
229          rocketTemplate=jumpRocketTemplate
230          propellerTemplate=jumpPropellerTemplate
231          bootsTemplate=jumpBootsTemplate
232          shieldTemplate=jumpShieldTemplate
233          enemy1Template=jumpEnemy1Template
234          enemy2Template=jumpEnemy2Template
235          enemy3Template=jumpEnemy3Template
236          enemy4Template=jumpEnemy4Template
237          >
238
239          <attached>
240
241            <Model position="0,0,-1000" mesh="JumpPlatform01.mesh" scale="1" />
242            <Model position="0,0,-1000" mesh="JumpPlatform02.mesh" scale="1" />
243            <Model position="0,0,-1000" mesh="JumpPlatform03.mesh" scale="1" />
244            <Model position="0,0,-1000" mesh="JumpPlatform04.mesh" scale="1" />
245            <Model position="0,0,-1000" mesh="JumpPlatform05.mesh" scale="1" />
246            <Model position="0,0,-1000" mesh="JumpPlatform06.mesh" scale="1" />
247            <Model position="0,0,-1000" mesh="JumpProjectile.mesh" scale="1" />
248            <Model position="0,0,-1000" mesh="JumpEnemy1.mesh" scale="1" />
249            <Model position="0,0,-1000" mesh="JumpEnemy2.mesh" scale="1" />
250            <Model position="0,0,-1000" mesh="JumpEnemy3.mesh" scale="1" />
251            <Model position="0,0,-1000" mesh="JumpEnemy4.mesh" scale="1" />
252            <Model position="0,0,-1000" mesh="JumpSpring.mesh" scale="1" />
253            <Model position="0,0,-1000" mesh="JumpRocket.mesh" scale="1" />
254            <Model position="0,0,-1000" mesh="JumpPropeller.mesh" scale="1" />
255            <Model position="0,0,-1000" mesh="JumpBoots.mesh" scale="1" />
256            <Model position="0,0,-1000" mesh="JumpShield.mesh" scale="1" />
257          </attached>
258        </JumpCenterpoint>
259      </attached>
260    </MovableEntity>
261
262  </Scene>
263</Level>
Note: See TracBrowser for help on using the repository browser.