Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/OrxoBlox_FS19/data/levels/orxoblox.oxw @ 12310

Last change on this file since 12310 was 12310, checked in by pomselj, 5 years ago

oxw file cleaned up

File size: 2.9 KB
Line 
1<LevelInfo
2 name = "OrxoBlox"
3 description = "A clone version of the BBTAN game."
4 tags = "minigame"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("HUDTemplates3.oxo")
10  include("stats.oxo")
11  include("OrxoBloxHUD.oxo")
12  include("templates/lodInformation.oxt")
13?>
14
15<Template name=OrxoBloxbatcameras defaults=0>
16  <OrxoBloxBat>
17    <camerapositions>
18      <CameraPosition position="0,150,0" pitch=-90 absolute=true />
19      <CameraPosition position="0,50,160" drag=true mouselook=true />
20      <CameraPosition position="0,40,125" drag=true mouselook=true />
21      <CameraPosition position="0,30, 90" drag=true mouselook=true />
22    </camerapositions>
23  </OrxoBloxBat>
24</Template>
25
26<Template name=OrxoBloxball>
27  <OrxoBloxBall
28   defScoreSound = "sounds/PlayerWinScore_cut.ogg"
29   defBatSound = "sounds/Button.ogg"
30   defBoundarySound = "sounds/Button.ogg">
31    <attached>
32      <Model mesh="sphere.mesh" scale=2 />
33      <!--Billboard scale=0.2 colour="1.0, 1.0, 0.5" material="Examples/Flare" /-->
34      <Backlight scale=0.2 colour="1.0, 1.0, 0.5" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" />
35      <Light type=point diffuse="1.0, 1.0, 0.5" specular="1.0, 1.0, 0.5" attenuation="1200, 1.0, 0.0035, 0.00005" />
36      <ParticleSpawner name=hiteffect position="0,0,0" source="Orxonox/sparks2" lifetime=0.01 autostart=0 mainstate=spawn />
37    </attached>
38    <eventlisteners>
39      <EventTarget target=hiteffect />
40    </eventlisteners>
41  </OrxoBloxBall>
42</Template>
43
44
45
46
47<Level
48  plugins = "OrxoBlox"
49 gametype = "OrxoBlox"
50>
51
52 <templates>
53    <Template link=lodtemplate_default />
54  </templates>
55  <?lua include("includes/notifications.oxi") ?>
56
57  <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
58 
59
60  <Scene
61   ambientlight = "0.5, 0.5, 0.5"
62   skybox       = "Orxonox/skyBoxBasic"
63  >
64    <!-- <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"/> -->
65    <Light type=directional position="-100, 10000, -700" lookat="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
66    <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass= Asteroids2DShip />
67
68    <!--<Model mesh="axes.mesh" scale=10 position="0,0,0" /> -->
69
70
71    <MovableEntity rotationrate=5 rotationaxis="0,0,1">
72      <attached>
73        <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="120,100" balltemplate=OrxoBloxball ballspeed=200 ballaccfactor=1.0>
74          <attached>
75            <!-- Balken die das Spielfeld begrenzen. -->
76            <Model position="0,0,-50" mesh="cube.mesh" scale3D="60,1,1" />
77            <Model position="60,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
78            <Model position="-60,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
79          </attached>
80        </OrxoBloxCenterpoint>
81      </attached>
82    </MovableEntity>   
83  </Scene>
84</Level>
85
Note: See TracBrowser for help on using the repository browser.