Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

some stuff, going home tbh

File size: 3.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  include("templates/enemyInvader.oxt")
20  include("overlays/Asteroids2DHUD.oxo")
21  include("templates/asteroidsAsteroids2D.oxt")
22?>
23
[12268]24<Template name=OrxoBloxbatcameras defaults=0>
25  <OrxoBloxBat>
[12256]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>
[12268]32  </OrxoBloxBat>
[12256]33</Template>
[12215]34
[12268]35<Template name=OrxoBloxball>
36  <OrxoBloxBall
[12256]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>
[12268]50  </OrxoBloxBall>
[12256]51</Template>
52
[12307]53
54
55
[12264]56<Level
[12269]57  plugins = "OrxoBlox"
58 gametype = "OrxoBlox"
[12264]59>
[12256]60
61 <templates>
[12215]62    <Template link=lodtemplate_default />
63  </templates>
64  <?lua include("includes/notifications.oxi") ?>
65
[12256]66  <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true"/>
[12278]67 
[12256]68
[12215]69  <Scene
[12256]70   ambientlight = "0.5, 0.5, 0.5"
71   skybox       = "Orxonox/skyBoxBasic"
[12215]72  >
[12310]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 />
[12215]76
[12310]77    <!--<Model mesh="axes.mesh" scale=10 position="0,0,0" /> -->
[12215]78
[12310]79
[12256]80    <MovableEntity rotationrate=5 rotationaxis="0,0,1">
81      <attached>
[12310]82        <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="120,100" balltemplate=OrxoBloxball ballspeed=200 ballaccfactor=1.0>
[12256]83          <attached>
[12277]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"/>
[12256]88          </attached>
[12268]89        </OrxoBloxCenterpoint>
[12256]90      </attached>
[12310]91    </MovableEntity>   
[12215]92  </Scene>
93</Level>
94
Note: See TracBrowser for help on using the repository browser.