Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

some stuff, going home tbh

File size: 3.1 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<?lua
16  include("templates/spaceshipAssff2.oxt")
17  include("templates/spaceshipPirate.oxt")
18  include("templates/spaceshipOrxoBlox.oxt")
19  include("templates/enemyInvader.oxt")
20  include("overlays/Asteroids2DHUD.oxo")
21  include("templates/asteroidsAsteroids2D.oxt")
22?>
23
24<Template name=OrxoBloxbatcameras defaults=0>
25  <OrxoBloxBat>
26    <camerapositions>
27      <CameraPosition position="0,150,0" pitch=-90 absolute=true />
28      <CameraPosition position="0,50,160" drag=true mouselook=true />
29      <CameraPosition position="0,40,125" drag=true mouselook=true />
30      <CameraPosition position="0,30, 90" drag=true mouselook=true />
31    </camerapositions>
32  </OrxoBloxBat>
33</Template>
34
35<Template name=OrxoBloxball>
36  <OrxoBloxBall
37   defScoreSound = "sounds/PlayerWinScore_cut.ogg"
38   defBatSound = "sounds/Button.ogg"
39   defBoundarySound = "sounds/Button.ogg">
40    <attached>
41      <Model mesh="sphere.mesh" scale=2 />
42      <!--Billboard scale=0.2 colour="1.0, 1.0, 0.5" material="Examples/Flare" /-->
43      <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" />
44      <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" />
45      <ParticleSpawner name=hiteffect position="0,0,0" source="Orxonox/sparks2" lifetime=0.01 autostart=0 mainstate=spawn />
46    </attached>
47    <eventlisteners>
48      <EventTarget target=hiteffect />
49    </eventlisteners>
50  </OrxoBloxBall>
51</Template>
52
53
54
55
56<Level
57  plugins = "OrxoBlox"
58 gametype = "OrxoBlox"
59>
60
61 <templates>
62    <Template link=lodtemplate_default />
63  </templates>
64  <?lua include("includes/notifications.oxi") ?>
65
66  <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
67 
68
69  <Scene
70   ambientlight = "0.5, 0.5, 0.5"
71   skybox       = "Orxonox/skyBoxBasic"
72  >
73    <!-- <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"/> -->
74    <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" />
75    <SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass= Asteroids2DShip />
76
77    <!--<Model mesh="axes.mesh" scale=10 position="0,0,0" /> -->
78
79
80    <MovableEntity rotationrate=5 rotationaxis="0,0,1">
81      <attached>
82        <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="120,100" balltemplate=OrxoBloxball ballspeed=200 ballaccfactor=1.0>
83          <attached>
84            <!-- Balken die das Spielfeld begrenzen. -->
85            <Model position="0,0,-50" mesh="cube.mesh" scale3D="60,1,1" />
86            <Model position="60,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
87            <Model position="-60,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
88          </attached>
89        </OrxoBloxCenterpoint>
90      </attached>
91    </MovableEntity>   
92  </Scene>
93</Level>
94
Note: See TracBrowser for help on using the repository browser.