Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12393 was 12393, checked in by ahuwyler, 5 years ago

BOUNCE

File size: 3.7 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("stats.oxo")
10  include("OrxoBloxHUD.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<?lua
15  include("templates/spaceshipAssff2.oxt")
16  include("templates/spaceshipPirate.oxt")
17  include("templates/spaceshipOrxoBlox.oxt")
18  include("templates/spaceshipEscort.oxt")
19?>
20
21<!--Template name=OrxoBloxbatcameras defaults=0>
22  <OrxoBloxStones>
23    <camerapositions>
24      <CameraPosition position="0,150,0"  absolute=true />
25      <CameraPosition position="0,50,160" drag=true mouselook=true />
26      <CameraPosition position="0,40,125" drag=true mouselook=true />
27      <CameraPosition position="0,30, 90" drag=true mouselook=true />
28    </camerapositions>
29  </OrxoBloxStones>
30</Template-->
31
32<Template name=OrxoBloxball>
33  <OrxoBloxBall
34   defScoreSound = "sounds/PlayerWinScore_cut.ogg"
35   defBatSound = "sounds/Button.ogg"
36   defBoundarySound = "sounds/Button.ogg">
37    <attached>
38      <Model mesh="sphere.mesh" scale=2 />
39      <!--Billboard scale=0.2 colour="1.0, 1.0, 0.5" material="Examples/Flare" /-->
40      <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" />
41      <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" />
42      <ParticleSpawner name=hiteffect position="0,0,0" source="Orxonox/sparks2" lifetime=0.01 autostart=0 mainstate=spawn />
43    </attached>
44    <eventlisteners>
45      <EventTarget target=hiteffect />
46    </eventlisteners>
47  </OrxoBloxBall>
48</Template>
49
50
51 
52  <!-- <Template name=OrxoBloxstone>
53    <OrxoBloxStones collisionType=static>
54      <attached>
55        <Model position="0,0,0" mesh="CuboidBody.mesh" scale3D="4.5,4.5,4.5" />
56        <Model position="0,0,0" mesh="cube_orange.mesh" scale=4.3 />
57      </attached>
58      <collisionShapes>
59        <BoxCollisionShape position="0,0,0" halfExtents="2,2,2" />
60      </collisionShapes>
61    </OrxoBloxStones>
62  </Template> -->
63
64  <!-- <StaticEntity position="0,-10000,0" direction="0,-1,0" collisionType=static mass=100000 friction=0.01 > -->
65   
66 
67 
68 
69  <Template name=OrxoBloxwall>
70    <OrxoBloxWall>
71    </OrxoBloxWall>
72  </Template>
73
74   
75<Level
76  plugins = "OrxoBlox"
77 gametype = "OrxoBlox"
78>
79
80 <templates>
81    <Template link=lodtemplate_default />
82  </templates>
83  <?lua include("includes/notifications.oxi") ?>
84
85
86  <Scene
87   ambientlight = "0.5, 0.5, 0.5"
88   skybox       = "Orxonox/skyBoxBasic"
89  >
90
91    <!-- <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"/> -->
92    <Light type=directional position="-100, 10000, -700" direction="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
93    <SpawnPoint team=0 position="0,-4.5,49" lookat="0,0,0" spawnclass= SpaceShip pawndesign=spaceshipOrxoBlox/>
94
95    <!--SpawnPoint team=0 position="0,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /--->
96
97    <!--<Model mesh="axes.mesh" scale=10 position="0,0,0" /> -->
98
99
100    <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="90,100" balltemplate=OrxoBloxball  ballspeed=200 ballaccfactor=1.0  StoneTemplate=OrxoBloxstone WallTemplate=OrxoBloxwall >
101       
102      <attached>
103            <!-- Balken die das Spielfeld begrenzen. -->
104          <Model position="0,0,-49" mesh="cube.mesh" scale3D="45,1,1" />
105          <Model position="46,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
106          <Model position="-46,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
107      </attached>
108    </OrxoBloxCenterpoint>
109     
110 
111
112  </Scene>
113</Level>
114
Note: See TracBrowser for help on using the repository browser.