Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12339 was 12339, checked in by jeromela, 5 years ago

spielfeldgroesse

File size: 4.1 KB
RevLine 
[12215]1<LevelInfo
[12264]2 name = "OrxoBlox"
[12215]3 description = "A clone version of the BBTAN game."
4 tags = "minigame"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
[12256]9  include("HUDTemplates3.oxo")
[12215]10  include("stats.oxo")
[12268]11  include("OrxoBloxHUD.oxo")
[12215]12  include("templates/lodInformation.oxt")
13?>
14
[12314]15<?lua
16  include("templates/spaceshipAssff2.oxt")
17  include("templates/spaceshipPirate.oxt")
18  include("templates/spaceshipOrxoBlox.oxt")
19?>
20
[12268]21<Template name=OrxoBloxbatcameras defaults=0>
22  <OrxoBloxBat>
[12256]23    <camerapositions>
24      <CameraPosition position="0,150,0" pitch=-90 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>
[12268]29  </OrxoBloxBat>
[12256]30</Template>
[12215]31
[12268]32<Template name=OrxoBloxball>
33  <OrxoBloxBall
[12256]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>
[12268]47  </OrxoBloxBall>
[12256]48</Template>
49
[12328]50<Template name=OrxoBloxStonescameras defaults=0>
51    <OrxoBloxStones>
52      <camerapositions>
53        <CameraPosition position="55,75,200" absolute=true />
54      </camerapositions>
55    </OrxoBloxStones>
56  </Template>
57 
58  <Template name=OrxoBloxstone>
59    <OrxoBloxStones camerapositiontemplate=OrxoBloxStonescameras >
60      <attached>
61        <Model position="0,0,0" mesh="CuboidBody.mesh" scale=4.5 />
62        <Model position="0,0,0" mesh="cube_orange.mesh" scale=4.3 />
63      </attached>
64    </OrxoBloxStones>
65  </Template>
66 
67  <Template name=OrxoBloxWallcameras defaults=0>
68    <OrxoBloxWall>
69      <camerapositions>
70        <CameraPosition position="55,75,200" absolute=true />
71        <!--CameraPosition position="0,50,160" drag=true mouselook=true />
72        <CameraPosition position="0,50,0" pitch=-90 drag=true mouselook=true /-->
73      </camerapositions>
74    </OrxoBloxWall>
75  </Template>
76 
77  <Template name=OrxoBloxwall>
78    <OrxoBloxWall camerapositiontemplate=OrxoBloxWallcameras>
79    </OrxoBloxWall>
80  </Template>
[12307]81
82
[12264]83<Level
[12269]84  plugins = "OrxoBlox"
85 gametype = "OrxoBlox"
[12264]86>
[12256]87
88 <templates>
[12215]89    <Template link=lodtemplate_default />
90  </templates>
91  <?lua include("includes/notifications.oxi") ?>
92
[12256]93  <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
[12278]94 
[12256]95
[12215]96  <Scene
[12256]97   ambientlight = "0.5, 0.5, 0.5"
98   skybox       = "Orxonox/skyBoxBasic"
[12215]99  >
[12310]100    <!-- <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"/> -->
101    <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" />
[12336]102    <SpawnPoint team=0 position="0,150,0" lookat="0,0,0" spawnclass= Asteroids2DShip />
[12215]103
[12310]104    <!--<Model mesh="axes.mesh" scale=10 position="0,0,0" /> -->
[12215]105
[12310]106
[12328]107    <MovableEntity rotationrate=0 rotationaxis="0,0,1">
[12256]108      <attached>
[12339]109        <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="90,100" balltemplate=OrxoBloxball battemplate=OrxoBloxbat ballspeed=200 ballaccfactor=1.0 batspeed=130 batlength=0.25 StoneTemplate=OrxoBloxstone WallTemplate=OrxoBloxwall>
[12336]110       
[12256]111          <attached>
[12277]112            <!-- Balken die das Spielfeld begrenzen. -->
[12339]113            <Model position="0,0,-50" mesh="cube.mesh" scale3D="45,1,1" />
114            <Model position="45,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
115            <Model position="-45,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
[12256]116          </attached>
[12268]117        </OrxoBloxCenterpoint>
[12256]118      </attached>
[12310]119    </MovableEntity>   
[12215]120  </Scene>
121</Level>
122
Note: See TracBrowser for help on using the repository browser.