Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/resource2/media/levels/old/tutorial_hs08.oxw @ 5613

Last change on this file since 5613 was 5528, checked in by landauf, 15 years ago

Cleaned up level directory.

Levels (*.oxw): /levels/
Includes (*.oxi): /levels/includes/ (for example weaponsettings1.oxi)
Templates (*.oxt): /levels/templates/ (formerly spaceshiptemplates_*)
Huds (*.oxo): /overlay/ (moved from /levels/ to /overlay/)

Old level files and other stuff was moved to /levels/old/. This directory is not used, but serves as an archive.

For the weapons branch (and the trunk after weapons will be merged), change line 37 in /levels/templates/spaceship_assff.oxt from weaponsettings1 to weaponsettings2 to be able to shoot again.

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1<Ambient colourvalue="0.8, 0.8, 0.8" />
2<Skybox src="Orxonox/Starbox" />
3
4<!-- This is your own space ship. The complicated XML values are not important -->
5<TutorialShip
6    camera="true" position="0,0,0" scale="10" yawpitchroll="0,0,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0"
7
8SpecialEffects="true"
9
10/>
11
12<!-- A few models flying around -->
13<Model position="2000,0,0" scale="10" mesh="tomato.mesh" yawpitchroll="-40,30,0" rotationAxis="1,0,0" rotationRate="-30"/>
14<Model position="0,2000,0" scale="10" mesh="tomato.mesh" yawpitchroll="-50,60,0" rotationAxis="1,0,0" rotationRate="-30"/>
15<Model position="0,0,2000" scale="10" mesh="tomato.mesh" yawpitchroll="-50,-30,0" rotationAxis="1,0,0" rotationRate="-30"/>
16<Model position="10000,16000,0" scale="100" mesh="DuBall1.mesh"/>
17<Model position="11400,16000,0" scale="60" mesh="DuBall2.mesh"/>
18
19<!-- Embedded lua code (creates random asteroids) -->
20<?lua
21for i = 1, 226, 1
22do ?>
23  <Model position="<?lua print(math.random() * 40000 - 20000)?>, <?lua print(math.random() * 40000 - 20000) ?>, <?lua print(math.random() * 40000 - 20000) ?>" scale="<?lua print(math.random() * 250 + 20) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" rotationAxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationRate="<?lua print(math.random() * 30 + 15) ?>" />
24<?lua
25end
26?>
Note: See TracBrowser for help on using the repository browser.